|
@@ -100,6 +100,7 @@ public class DeviceController {
|
|
|
|
|
|
/**
|
|
|
* 设备管理-通信设备-新增
|
|
|
+ *
|
|
|
* @param correspondDeviceVOT
|
|
|
* @return
|
|
|
*/
|
|
@@ -111,6 +112,7 @@ public class DeviceController {
|
|
|
|
|
|
/**
|
|
|
* 设备管理-通信设备-修改
|
|
|
+ *
|
|
|
* @param correspondDeviceVOT
|
|
|
* @return
|
|
|
*/
|
|
@@ -122,6 +124,7 @@ public class DeviceController {
|
|
|
|
|
|
/**
|
|
|
* 设备管理-通信设备-注销
|
|
|
+ *
|
|
|
* @param id
|
|
|
* @return
|
|
|
*/
|
|
@@ -133,9 +136,10 @@ public class DeviceController {
|
|
|
|
|
|
/**
|
|
|
* 设备管理-通信设备-查询
|
|
|
+ *
|
|
|
* @param deviceName 设备名称
|
|
|
- * @param size 页数
|
|
|
- * @param current 条数
|
|
|
+ * @param size 页数
|
|
|
+ * @param current 条数
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("correspondDeviceList")
|
|
@@ -147,6 +151,7 @@ public class DeviceController {
|
|
|
|
|
|
/**
|
|
|
* 设备管理-通信设备-修改回显
|
|
|
+ *
|
|
|
* @param id 通信设备表主键ID
|
|
|
* @return
|
|
|
*/
|
|
@@ -154,5 +159,24 @@ public class DeviceController {
|
|
|
public ApiResult<List<CorrespondDeviceListVO>> correspondDeviceListEcho(@RequestParam int id) {
|
|
|
return ApiResult.success(deviceService.correspondDeviceListEcho(id));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设备管理-视频监测-列表查询
|
|
|
+ * @param siteId 站点ID
|
|
|
+ * @param deviceName 设备名称
|
|
|
+ * @param size 页数
|
|
|
+ * @param current 条数
|
|
|
+ * @param deviceType 1:183用电设备,2:视频监控设备,3:171用电设备,4:173用电设备,5:158智能网关,6:其他 0:所有
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("videoMonitoringDeviceList")
|
|
|
+ public ApiResult<CommonPage<Device>> videoMonitoringDeviceList(@RequestParam Integer siteId,
|
|
|
+ @RequestParam(required = false) String deviceName,
|
|
|
+ @RequestParam(value = "size", required = false, defaultValue = "1") Integer size,
|
|
|
+ @RequestParam(value = "current", required = false, defaultValue = "10") Integer current,
|
|
|
+ @RequestParam(value = "deviceType", required = false, defaultValue = "2") Integer deviceType
|
|
|
+ ) {
|
|
|
+ return ApiResult.success(deviceService.videoMonitoringDeviceList(deviceName, deviceType, siteId, size, current));
|
|
|
+ }
|
|
|
}
|
|
|
|