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.
171 lines
4.9 KiB
171 lines
4.9 KiB
package com.mh.user.dto; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
import lombok.Getter; |
|
import lombok.Setter; |
|
|
|
import java.math.BigDecimal; |
|
import java.util.StringJoiner; |
|
|
|
/** |
|
* @author LJF |
|
* @version 1.0 |
|
* @project EEMCS |
|
* @description 电磁阀控制界面VO |
|
* @date 2025-03-14 09:00:37 |
|
*/ |
|
@Setter |
|
@Getter |
|
public class SolenoidValveControlVO implements TimeControlVO { |
|
|
|
private String id; |
|
|
|
private String name; |
|
|
|
private int orderNum; |
|
|
|
// 定时_时开1 |
|
private int oneHourTimeOpenSetOne; |
|
private String oneHourTimeOpenSetOneId; |
|
|
|
// 定时_分开1 |
|
private int oneMinTimeOpenSetOne; |
|
private String oneMinTimeOpenSetOneId; |
|
|
|
// 定时_时关1 |
|
private int oneHourTimeCloseSetOne; |
|
private String oneHourTimeCloseSetOneId; |
|
|
|
// 定时_分关1 |
|
private int oneMinTimeCloseSetOne; |
|
private String oneMinTimeCloseSetOneId; |
|
|
|
// 定时_时分开1 |
|
private String oneHourMinTimeOpenSetOneStr; |
|
// 定时_时分关1 |
|
private String oneHourMinTimeCloseSetOneStr; |
|
|
|
// 定时_时开2 |
|
private int oneHourTimeOpenSetTwo; |
|
private String oneHourTimeOpenSetTwoId; |
|
|
|
// 定时_分开2 |
|
private int oneMinTimeOpenSetTwo; |
|
private String oneMinTimeOpenSetTwoId; |
|
|
|
// 定时_时关2 |
|
private int oneHourTimeCloseSetTwo; |
|
private String oneHourTimeCloseSetTwoId; |
|
|
|
// 定时_分关2 |
|
private int oneMinTimeCloseSetTwo; |
|
private String oneMinTimeCloseSetTwoId; |
|
|
|
// 定时_时分开2 |
|
private String oneHourMinTimeOpenSetTwoStr; |
|
// 定时_时分关2 |
|
private String oneHourMinTimeCloseSetTwoStr; |
|
|
|
// 定时_时开3 |
|
private int oneHourTimeOpenSetThree; |
|
private String oneHourTimeOpenSetThreeId; |
|
|
|
// 定时_分开3 |
|
private int oneMinTimeOpenSetThree; |
|
private String oneMinTimeOpenSetThreeId; |
|
|
|
// 定时_时关3 |
|
private int oneHourTimeCloseSetThree; |
|
private String oneHourTimeCloseSetThreeId; |
|
|
|
// 定时_分关3 |
|
private int oneMinTimeCloseSetThree; |
|
private String oneMinTimeCloseSetThreeId; |
|
|
|
// 定时_时分开3 |
|
private String oneHourMinTimeOpenSetThreeStr; |
|
// 定时_时分关3 |
|
private String oneHourMinTimeCloseSetThreeStr; |
|
|
|
// 开延时 |
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "0") |
|
private int openDelayTime; |
|
private String openDelayTimeId; |
|
|
|
// 温差 |
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "0") |
|
private BigDecimal tempDiff; |
|
private String tempDiffId; |
|
|
|
// 温差设置 |
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "0") |
|
private BigDecimal tempDiffSet; |
|
private String tempDiffSetId; |
|
|
|
// 累计运行时间 |
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "0") |
|
private BigDecimal runTime; |
|
private String runTimeId; |
|
|
|
// 运行状态 |
|
private int runState; |
|
private String runStateId; |
|
|
|
// 启停控制 |
|
private int startStopControl; |
|
private String startStopControlId; |
|
|
|
// 故障 |
|
private int fault; |
|
private String faultId; |
|
|
|
// 一键启动 |
|
private int startOneKey; |
|
private String startOneKeyId; |
|
|
|
// 手自动切换 |
|
private int manualAutoSwitch; |
|
private String manualAutoSwitchId; |
|
|
|
// 温度设置上限 |
|
private BigDecimal setUpperLimit; |
|
private String setUpperLimitId; |
|
|
|
// 温度设置下限 |
|
private BigDecimal setLowerLimit; |
|
private String setLowerLimitId; |
|
|
|
// 控制模式 |
|
private int controlMode; |
|
private String controlModeId; |
|
|
|
@Override |
|
public String toString() { |
|
return new StringJoiner(", ", SolenoidValveControlVO.class.getSimpleName() + "[", "]") |
|
.add("id='" + id + "'") |
|
.add("name='" + name + "'") |
|
.add("orderNum=" + orderNum) |
|
.add("oneHourTimeOpenSetOne=" + oneHourTimeOpenSetOne) |
|
.add("oneHourTimeOpenSetOneId='" + oneHourTimeOpenSetOneId + "'") |
|
.add("oneMinTimeOpenSetOne=" + oneMinTimeOpenSetOne) |
|
.add("oneMinTimeOpenSetOneId='" + oneMinTimeOpenSetOneId + "'") |
|
.add("oneHourTimeCloseSetOne=" + oneHourTimeCloseSetOne) |
|
.add("oneHourTimeCloseSetOneId='" + oneHourTimeCloseSetOneId + "'") |
|
.add("oneMinTimeCloseSetOne=" + oneMinTimeCloseSetOne) |
|
.add("oneMinTimeCloseSetOneId='" + oneMinTimeCloseSetOneId + "'") |
|
.add("tempDiff=" + tempDiff) |
|
.add("tempDiffId='" + tempDiffId + "'") |
|
.add("tempDiffSet=" + tempDiffSet) |
|
.add("tempDiffSetId='" + tempDiffSetId + "'") |
|
.add("runTime=" + runTime) |
|
.add("runTimeId='" + runTimeId + "'") |
|
.add("runState=" + runState) |
|
.add("runStateId='" + runStateId + "'") |
|
.add("startStopControl=" + startStopControl) |
|
.add("startStopControlId='" + startStopControlId + "'") |
|
.add("fault=" + fault) |
|
.add("faultId='" + faultId + "'") |
|
.toString(); |
|
} |
|
|
|
}
|
|
|