You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.4 KiB
55 lines
2.4 KiB
package com.mh.user.model; |
|
|
|
import lombok.Getter; |
|
import lombok.Setter; |
|
|
|
import java.util.StringJoiner; |
|
|
|
/** |
|
* @author LJF |
|
* @version 1.0 |
|
* @project CHWS |
|
* @description 多路控制响应实体类 |
|
* @date 2025-11-20 08:46:22 |
|
*/ |
|
@Setter |
|
@Getter |
|
public class MultiControlModel { |
|
|
|
private String curDate; //日期 |
|
private String buildingId; //楼栋编号 |
|
private String buildingName; //楼栋名称 |
|
|
|
private int upPumpRunStateOne; //1号供水泵运行状态 1:运行;0:停止 |
|
private int upPumpIsFaultOne; //1号供水泵故障状态 1:有故障;0:无故障 |
|
private int upPumpRunStateTwo; //2号供水泵运行状态 1:运行;0:停止 |
|
private int upPumpIsFaultTwo; //2号供水泵故障状态 1:有故障;0:无故障 |
|
|
|
private int suctionPumpRunStateOne; //1号抽水泵运行状态 1:运行;0:停止 |
|
private int suctionPumpIsFaultOne; //1号抽水泵故障状态 1:有故障;0:无故障 |
|
private int suctionPumpRunStateTwo; //2号抽水泵运行状态 1:运行;0:停止 |
|
private int suctionPumpIsFaultTwo; //2号抽水泵故障状态 1:有故障;0:无故障 |
|
|
|
private int upValveRunState; //补水电磁阀运行状态 1:运行;0:停止 |
|
|
|
private int gwRunState; // 网关运行状态 标志位(连接状态) 0:正常;1:不在线;2:异常 |
|
|
|
@Override |
|
public String toString() { |
|
return new StringJoiner(", ", MultiControlModel.class.getSimpleName() + "[", "]") |
|
.add("curDate='" + curDate + "'") |
|
.add("buildingId='" + buildingId + "'") |
|
.add("buildingName='" + buildingName + "'") |
|
.add("upPumpRunStateOne=" + upPumpRunStateOne) |
|
.add("upPumpIsFaultOne=" + upPumpIsFaultOne) |
|
.add("upPumpRunStateTwo=" + upPumpRunStateTwo) |
|
.add("upPumpIsFaultTwo=" + upPumpIsFaultTwo) |
|
.add("suctionPumpRunStateOne=" + suctionPumpRunStateOne) |
|
.add("suctionPumpIsFaultOne=" + suctionPumpIsFaultOne) |
|
.add("suctionPumpRunStateTwo=" + suctionPumpRunStateTwo) |
|
.add("suctionPumpIsFaultTwo=" + suctionPumpIsFaultTwo) |
|
.add("upValveRunState=" + upValveRunState) |
|
.add("gwRunState=" + gwRunState) |
|
.toString(); |
|
} |
|
}
|
|
|