西铁院屏蔽门
This commit is contained in:
parent
ebfb324072
commit
d57c2f6c58
@ -69,7 +69,7 @@ public class XtyPsdServiceImpl implements RealDeviceService {
|
||||
this.plcGatewayService.checkEqualAndWriteSingleRegister(plcGateway.getConfig().getAddr(),
|
||||
configVO.getWbi(), cv, wvgm, plcGateway.getChannel());
|
||||
this.plcGatewayService.checkEqualAndWriteSingleRegister(plcGateway.getConfig().getAddr(),
|
||||
configVO.getWbi(), cv, wvkm, plcGateway.getChannel());
|
||||
configVO.getWbi(), cv -1 , wvkm, plcGateway.getChannel());
|
||||
}
|
||||
} else if(autoMode && !vrPsd.isCommandOpen() && (cv & wvgm) != wvgm){ // 关门
|
||||
if ((cv & wvgm) != wvgm) {
|
||||
@ -79,7 +79,7 @@ public class XtyPsdServiceImpl implements RealDeviceService {
|
||||
this.plcGatewayService.checkEqualAndWriteSingleRegister(plcGateway.getConfig().getAddr(),
|
||||
configVO.getWbi(), cv, wvkm, plcGateway.getChannel());
|
||||
this.plcGatewayService.checkEqualAndWriteSingleRegister(plcGateway.getConfig().getAddr(),
|
||||
configVO.getWbi(), cv, wvgm, plcGateway.getChannel());
|
||||
configVO.getWbi(), cv -1, wvgm, plcGateway.getChannel());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user