From 4cd80bbec5a5d7ef4274a1f1f21e56d60e50cb15 Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Mon, 29 Jul 2024 13:43:06 +0800 Subject: [PATCH] =?UTF-8?q?[bug]=E6=88=90=E9=83=BD=E5=B7=A5=E4=B8=9A?= =?UTF-8?q?=E5=AE=9E=E4=BD=93=E4=BF=A1=E5=8F=B7=E6=9C=BA=E9=BB=84=E7=81=AF?= =?UTF-8?q?=E3=80=81=E7=BB=BF=E7=81=AF=E6=8E=A7=E5=88=B6=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cbtc/device/real/modbustcp/cgy/CgySignalServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/device/real/modbustcp/cgy/CgySignalServiceImpl.java b/src/main/java/club/joylink/rtss/simulation/cbtc/device/real/modbustcp/cgy/CgySignalServiceImpl.java index 6ca537226..a77f9c451 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/device/real/modbustcp/cgy/CgySignalServiceImpl.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/device/real/modbustcp/cgy/CgySignalServiceImpl.java @@ -138,7 +138,8 @@ public class CgySignalServiceImpl implements RealDeviceService { channel); break; case G: - plcGatewayService.checkEqualAndWriteSingleCoil(baseAddr, configVO.getW_ddj(), w_ddj, true, + plcGatewayService.checkEqualAndWriteSingleCoil(baseAddr, configVO.getW_ddj(), w_ddj, + false, channel); plcGatewayService.checkEqualAndWriteSingleCoil(baseAddr, configVO.getW_lxj(), w_lxj, true, channel); @@ -150,7 +151,7 @@ public class CgySignalServiceImpl implements RealDeviceService { break; case Y: plcGatewayService.checkEqualAndWriteSingleCoil(baseAddr, configVO.getW_ddj(), w_ddj, - true, + false, channel); plcGatewayService.checkEqualAndWriteSingleCoil(baseAddr, configVO.getW_lxj(), w_lxj, true, channel);