From 26c0da279603788fa5249f6373d0ba64fb58e62b Mon Sep 17 00:00:00 2001 From: qinjie <463333974@qq.com> Date: Wed, 4 Dec 2024 00:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vo/command/scss/SimpleLogicMode.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/isu/gaswellwatch/vo/command/scss/SimpleLogicMode.java b/src/main/java/com/isu/gaswellwatch/vo/command/scss/SimpleLogicMode.java index 4cdc06d..468ecdf 100644 --- a/src/main/java/com/isu/gaswellwatch/vo/command/scss/SimpleLogicMode.java +++ b/src/main/java/com/isu/gaswellwatch/vo/command/scss/SimpleLogicMode.java @@ -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());