| | |
| | | |
| | | import com.dy.common.webUtil.QueryConditionVo; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | | import lombok.*; |
| | | |
| | | /** |
| | |
| | | |
| | | @Schema(description = "地址") |
| | | public String address; |
| | | |
| | | @Schema(description = "控制器地址") |
| | | private String rtuAddr; |
| | | |
| | | /** |
| | | * 中间件返回的RTU在线情况对象数组 |
| | | */ |
| | | private String onLineMap; |
| | | |
| | | /** |
| | | * 是否在线 |
| | | */ |
| | | @Max(value = 1,message = "是否在线仅允许为真或假") |
| | | @Min(value = 0,message = "是否在线仅允许为真或假") |
| | | private Boolean isOnLine; |
| | | |
| | | @Schema(description = "通信协议") |
| | | private String protocol; |
| | | |
| | | @Schema(description = "绑定次数") |
| | | public Integer bindNumber; |
| | | } |