| | |
| | | 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; |
| | |
| | | void pushDeviceOnlineTopo(Collection<ConcurrentWebSocketSession> sessions, String sn, String gatewaySn); |
| | | |
| | | /** |
| | | * 根据部门权限获取机场列表 |
| | | * */ |
| | | List<DeviceDTO> getDockList(); |
| | | |
| | | void spliceDeviceTopoPer(DeviceDTO gateway); |
| | | |
| | | // @DataScope(deptAlias = "d") |
| | | List<DeviceDTO> getDockListByParams(DeviceQueryParam param); |
| | | |
| | | /** |
| | | * Query the information of the device according to the sn of the device. |
| | | * @param sn device sn |
| | | * @return |
| | |
| | | * @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); |
| | | } |