zzgtfwq
20 小时以前 fe94feb60561eb7571fe781de975b12288925a15
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -342,8 +342,8 @@
             if (devpThread == null) continue;
             
             // 检查该PLC是否管理该站点
             if (devpThread.getStation().containsKey(sourceStaNo.shortValue())) {
                 StaProtocol staProtocol = devpThread.getStation().get(sourceStaNo.shortValue());
             if (devpThread.getStation().containsKey(sourceStaNo)) {
                 StaProtocol staProtocol = devpThread.getStation().get(sourceStaNo);
                 if (staProtocol == null) {
                     continue;
                 } else {
@@ -353,7 +353,7 @@
                     staProtocol.setWorkNo(wrkMast.getWrkNo());
                     if (wrkMast.getStaNo() != null) {
                        staProtocol.setStaNo(wrkMast.getStaNo().shortValue());
                        staProtocol.setStaNo((short)(wrkMast.getSourceStaNo()- 1));
                     }
                     
                     // 下发PLC指令