max value
This commit is contained in:
parent
55d1a0a139
commit
789833f729
|
@ -26,7 +26,7 @@ public class PlungerTimer extends Command implements Timing {
|
|||
private static final long serialVersionUID = 888739283997908251L;
|
||||
|
||||
/**
|
||||
* 柱塞上升时间。[0-999]:[0-59]:[0-59]
|
||||
* 柱塞上升时间。000:00:00 – 499:59:59
|
||||
*/
|
||||
@NotBlank(message = "柱塞上升时间不能为空")
|
||||
private String plungerRiseTime;
|
||||
|
@ -53,7 +53,7 @@ public class PlungerTimer extends Command implements Timing {
|
|||
}
|
||||
|
||||
public void setPlungerRiseTime(String plungerRiseTime) {
|
||||
this.plungerRiseTime = this.timingValidate(plungerRiseTime, "plungerRiseTime");
|
||||
this.plungerRiseTime = this.timeValidate(plungerRiseTime, "plungerRiseTime", 499);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -25,17 +25,17 @@ public class SensorDelay extends Command implements Timing {
|
|||
@Serial
|
||||
private static final long serialVersionUID = -126267138442242492L;
|
||||
/**
|
||||
* 到达传感器延时时间。[0-999]:[0-59]:[0-59]
|
||||
* 到达传感器延时时间。000:00:00 – 499:59:57
|
||||
*/
|
||||
@NotBlank(message = "到达传感器延时时间不能为空")
|
||||
private String arrivalSensorDelayTime;
|
||||
/**
|
||||
* 关井时间。[0-999]:[0-59]:[0-59]
|
||||
* 关井时间。000:00:00 – 500:00:00
|
||||
*/
|
||||
@NotBlank(message = "关井时间不能为空")
|
||||
private String wellShutInTime;
|
||||
/**
|
||||
* 续流时间。[0-999]:[0-59]:[0-59]
|
||||
* 续流时间。000:00:00 – 500:00:00
|
||||
*/
|
||||
@NotBlank(message = "续流时间不能为空")
|
||||
private String afterFlowTime;
|
||||
|
@ -66,15 +66,15 @@ public class SensorDelay extends Command implements Timing {
|
|||
}
|
||||
|
||||
public void setAfterFlowTime(String afterFlowTime) {
|
||||
this.afterFlowTime = this.timingValidate(afterFlowTime, "afterFlowTime");
|
||||
this.afterFlowTime = this.timeValidate(afterFlowTime, "afterFlowTime", 500);
|
||||
}
|
||||
|
||||
public void setWellShutInTime(String wellShutInTime) {
|
||||
this.wellShutInTime = this.timingValidate(wellShutInTime, "wellShutInTime");
|
||||
this.wellShutInTime = this.timeValidate(wellShutInTime, "wellShutInTime", 500);
|
||||
}
|
||||
|
||||
public void setArrivalSensorDelayTime(String arrivalSensorDelayTime) {
|
||||
this.arrivalSensorDelayTime = this.timingValidate(arrivalSensorDelayTime, "arrivalSensorDelayTime");
|
||||
this.arrivalSensorDelayTime = this.timeValidate(arrivalSensorDelayTime, "arrivalSensorDelayTime", 499);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue