Kaynağa Gözat

根据事件编码查询设备

李进 1 yıl önce
ebeveyn
işleme
a63935cc81

+ 29 - 0
device-api/src/main/java/com/xy/dto/DeviceInfoDto.java

@@ -1110,4 +1110,33 @@ public class DeviceInfoDto {
         private Integer num;
     }
 
+    @Data
+    @Accessors(chain = true)
+    public static class MyDeviceInfo {
+        @ApiModelProperty("商户ID")
+        private Long mercId;
+
+        @ApiModelProperty("设备id")
+        private Long deviceId;
+
+        @ApiModelProperty("设备名称")
+        private String deviceName;
+
+        @ApiModelProperty("设备类型")
+        private Integer deviceType;
+
+        @ApiModelProperty("算法类型")
+        private Long algorithmId;
+
+
+    }
+
+    @Data
+    @Accessors(chain = true)
+    public static class EventListVo extends Vo {
+
+        @ApiModelProperty("事件发生次数")
+        private Integer size;
+
+    }
 }