修改字段名称

This commit is contained in:
qinjie 2024-12-04 00:23:37 +08:00
parent 552192772f
commit 26c0da2796
1 changed files with 12 additions and 12 deletions

View File

@ -65,27 +65,27 @@ public class SimpleLogicMode extends Command {
/**
* 最小开井时间
*/
private int inWellOpenTimeDuration;
private int minWellOpenTimeDuration;
/**
* 最大开井时间
*/
private int axWellOpenTimeDuration;
private int maxWellOpenTimeDuration;
/**
* 最小关井时间
*/
private int inWellCloseTimeDuration;
private int minWellCloseTimeDuration;
/**
* 最大关井时间
*/
private int axWellCloseTimeDuration;
private int maxWellCloseTimeDuration;
/**
* 压力稳定时间
*/
private int ressureStabilizationDuration;
private int pressureStabilizationDuration;
/**
* 流量稳定时间
*/
private int lowStabilizationDuration;
private int flowStabilizationDuration;
/**
* 载荷因子稳定时间
*/
@ -127,12 +127,12 @@ public class SimpleLogicMode extends Command {
command.append(StringUtils.leftPad(Integer.toHexString(this.wellClosePressureValue), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.wellCloseOilPressureValue), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.wellCloseFlowValue), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.inWellOpenTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.axWellOpenTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.inWellCloseTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.axWellCloseTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.ressureStabilizationDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.lowStabilizationDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.minWellOpenTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.maxWellOpenTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.minWellCloseTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.maxWellCloseTimeDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.pressureStabilizationDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.flowStabilizationDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.loadFactorStabilizationDuration), 8, "0"));
command.append(StringUtils.leftPad(Integer.toHexString(this.plungerDelayDuration), 8, "0"));
return List.of(ModbusCommandDto.builder().command(command.toString()).length(16).build());