| | |
| | | import cn.stylefeng.guns.modular.dq.materialTraceability.service.MaterialTraceabilityService; |
| | | import cn.stylefeng.guns.modular.em.equipmentAlarm.service.EquipmentAlarmService; |
| | | import cn.stylefeng.guns.modular.em.equipmentStatus.service.EquipmentStatusService; |
| | | import cn.stylefeng.guns.modular.gm.greaseManage.service.GreaseManageService; |
| | | import cn.stylefeng.guns.modular.om.productionOrdeInfo.model.params.ProductionOrdeInfoParam; |
| | | import cn.stylefeng.guns.modular.om.productionOrdeInfo.model.result.ProductionOrdeInfoResult; |
| | | import cn.stylefeng.guns.modular.om.productionOrdeInfo.service.ProductionOrdeInfoService; |
| | |
| | | @Autowired |
| | | private LocationInfoService locationInfoService; |
| | | |
| | | @Autowired |
| | | private GreaseManageService greaseManageService; |
| | | |
| | | @Override |
| | | public void run(String... args) throws Exception { |
| | | if(GlobalVariable.TERMINATED) { |
| | | opc.init(productionOrdeInfoService,passingStationCollectionService,paramCollectionService,collectionParamConfService,serialNumbersConfService, |
| | | equipmentStatusService,equipmentAlarmService,materialTraceabilityService,equipmentInfoService, |
| | | repairManageInfoService,locationInfoService); |
| | | repairManageInfoService,locationInfoService,greaseManageService); |
| | | |
| | | GlobalVariable.PRODUCT_TYPE_MAP.put("191.220001-01","1"); |
| | | GlobalVariable.PRODUCT_TYPE_MAP.put("191.220003-01","2"); |
| | |
| | | cachedThreadPool.execute(new OP130TaskThreadPool()); |
| | | cachedThreadPool.execute(new OP130BTaskThreadPool()); |
| | | cachedThreadPool.execute(new OP140TaskThreadPool()); |
| | | /* cachedThreadPool.execute(new OP150TaskThreadPool());*/ |
| | | /* cachedThreadPool.execute(new OP150TaskThreadPool());*/ |
| | | cachedThreadPool.execute(new OP160TaskThreadPool()); |
| | | cachedThreadPool.execute(new OP170TaskThreadPool()); |
| | | |
| | |
| | | |
| | | //DOP |
| | | cachedThreadPool.execute(new DOP010TaskThreadPool()); |
| | | cachedThreadPool.execute(new DOP020TaskThreadPool()); |
| | | /*cachedThreadPool.execute(new DOP020TaskThreadPool());*/ |
| | | |
| | | //EOP |
| | | cachedThreadPool.execute(new EOP010TaskThreadPool()); |