| | |
| | | import com.ard.sample.manage.model.dto.DeviceDTO; |
| | | import com.ard.sample.manage.model.dto.DeviceFirmwareUpgradeDTO; |
| | | import com.ard.sample.manage.model.dto.TopologyDeviceDTO; |
| | | import com.ard.sample.manage.model.entity.DeviceEntity; |
| | | import com.ard.sample.manage.model.enums.DeviceSetPropertyEnum; |
| | | import com.ard.sample.manage.model.param.DeviceQueryParam; |
| | | import com.ard.sample.manage.model.receiver.FirmwareVersionReceiver; |
| | | import com.ard.sample.manage.model.receiver.StatusGatewayReceiver; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.fasterxml.jackson.databind.JsonNode; |
| | | import org.springframework.messaging.Message; |
| | | import org.springframework.messaging.MessageHeaders; |
| | |
| | | */ |
| | | Boolean updateDevice(DeviceDTO deviceDTO); |
| | | |
| | | Boolean updateWorkType(String sn, Long workType); |
| | | |
| | | /** |
| | | * Bind devices to organizations and people. |
| | | * @param device |
| | |
| | | * @param domain |
| | | * @return |
| | | */ |
| | | PaginationData<DeviceDTO> getBoundDevicesWithDomain(Long page, Long pageSize, Integer domain); |
| | | PaginationData<DeviceDTO> getBoundDevicesWithDomain(Long page, Long pageSize, Integer domain, Long deptId); |
| | | |
| | | /** |
| | | * Unbind device base on device's sn. |
| | |
| | | * @return |
| | | */ |
| | | Boolean checkDeviceOnline(String sn); |
| | | |
| | | |
| | | public List<DeviceEntity> selectList(Wrapper<DeviceEntity> queryWrapper); |
| | | } |