指令错误
This commit is contained in:
parent
b656b86725
commit
1601ac38cd
|
@ -82,7 +82,7 @@ public class CasingMode extends Command implements Timing {
|
|||
command.setLength(0);
|
||||
// 地址码 功能码 起始地址 连续长度 连续字长
|
||||
// 01 10 00AA 0004 08
|
||||
command.append("011000AA000204");
|
||||
command.append("011000AA000408");
|
||||
command.append(StringUtils.leftPad(Long.toHexString(this.toSeconds(this.minWellCloseTimeDuration)), 8, "0"));
|
||||
command.append(StringUtils.leftPad(Long.toHexString(this.toSeconds(this.maxWellCloseTimeDuration)), 8, "0"));
|
||||
resultList.add(ModbusCommandDto.builder().command(command.toString()).length(16).build());
|
||||
|
|
Loading…
Reference in New Issue