指令调整

This commit is contained in:
wangshilong 2024-12-11 20:25:01 +08:00
parent ebe6bfc0ab
commit a32a910873
1 changed files with 6 additions and 6 deletions

View File

@ -92,7 +92,7 @@ public class TimingMode extends Command implements Timing {
// 100
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 0064 0003 06
command.append("011000640000306");
command.append("01100064000306");
command.append(this.toHexString(this.minCloseWellTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
@ -100,7 +100,7 @@ public class TimingMode extends Command implements Timing {
// 106
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 006A 0003 06
command.append("0110006A0000306");
command.append("0110006A000306");
command.append(this.toHexString(this.plungerRiseTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
@ -108,7 +108,7 @@ public class TimingMode extends Command implements Timing {
// 121
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 0079 0003 06
command.append("0110006A0000306");
command.append("01100079000306");
command.append(this.toHexString(this.minOpenWellTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
@ -116,7 +116,7 @@ public class TimingMode extends Command implements Timing {
// 130
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 0082 0003 06
command.append("011000820000306");
command.append("01100082000306");
command.append(this.toHexString(this.maxOpenWellTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
@ -124,7 +124,7 @@ public class TimingMode extends Command implements Timing {
// 136
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 0088 0006 0C
command.append("01100088000060C");
command.append("0110008800060C");
command.append(this.toHexString(this.maxCloseWellTime));
command.append(this.toHexString(this.arrivalSensorDelayTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
@ -133,7 +133,7 @@ public class TimingMode extends Command implements Timing {
// 142
// 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 008E 0006 0C
command.append("0110008E000060C");
command.append("0110008E00060C");
command.append(this.toHexString(this.wellShutInTime));
command.append(this.toHexString(this.afterFlowTime));
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());