| | |
| | | if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){ |
| | | int loadIngCount = basDevpService.selectCount(new EntityWrapper<BasDevp>().ge("dev_no", 160).le("dev_no", devNo).eq("loading", "Y")); |
| | | int count = 10; |
| | | if (loadIngCount<=count){ |
| | | if (loadIngCount<count){ |
| | | bareBoardHandler.startYx(devNo,count); |
| | | } |
| | | } |
| | |
| | | if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){ |
| | | int loadIngCount = basDevpService.selectCount(new EntityWrapper<BasDevp>().ge("dev_no", 421).le("dev_no", devNo).eq("loading", "Y")); |
| | | int count = 25; |
| | | if (loadIngCount<=count){ |
| | | if (loadIngCount<count){ |
| | | bareBoardHandler.startYx(devNo,count); |
| | | } |
| | | } |
| | |
| | | crns.add(7); |
| | | boolean sign = true; |
| | | for (Integer crnNo : crns){ |
| | | // 检测路径 |
| | | Wrapper<StaDesc> wrapper = new EntityWrapper<StaDesc>() |
| | | .eq("type_no", 110) |
| | | .eq("stn_no", staNo) |
| | | .eq("crn_no", crnNo); |
| | | StaDesc staDesc = staDescService.selectOne(wrapper); |
| | | if (Cools.isEmpty(staDesc)){ |
| | | continue; |
| | | } |
| | | BasCrnp basCrnp = basCrnpService.selectById(crnNo); |
| | | if (basCrnp.getCrnSts()!=3 || !basCrnp.getOutEnable().equals("Y")){ |
| | | continue; |