|
@@ -99,6 +99,9 @@ public class PLCService {
|
|
|
CommandBO commandBO = JSONUtil.toBean(data, CommandBO.class);
|
|
|
LedOptions options = new LedOptions().setLine("04").setShowType("00");
|
|
|
int code = jsonObject.getInt("code");
|
|
|
+ if (code == 200) {
|
|
|
+ eventBus.startEvent(ModuleEnum.PLC_MODULE.getModuleEn() + "." + PLCEvent.RAILING_RISE);
|
|
|
+ }
|
|
|
options.setColor(code == 200 ? "02" : "01");
|
|
|
SystemObject.ledFactory.handler(SysConfig.serialSetting.getLed().getBrand())
|
|
|
.sendMsg(commandBO.getCommand().getExtra(), options);
|