添加水电双计设备在线状态维护,以及下发修改设备地址码指令接口等

This commit is contained in:
蒾酒
2024-12-24 01:53:17 +08:00
parent 16b2d0e242
commit 39dafad29c
6 changed files with 87 additions and 10 deletions

View File

@ -154,4 +154,6 @@ public class DeviceReportInfo extends BaseEntity
@ApiModelProperty("设备类型1.水电双计 2.流量计")
private Integer type;
private Integer onLine;//0离线1在线
}

View File

@ -12,4 +12,16 @@ public class DeviceOperationDTO {
private String operationType;
private Integer operationCode;
private String operationValue;
private Integer addr;
@lombok.Data
private class CMDData {
// 设备操作类型
public Integer addr =123 ;
}
}