| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.jcdm.main.constant.Constants; |
| | | import com.jcdm.main.da.cellData.service.IDaCellDataService; |
| | | import com.jcdm.main.da.collectionParamConf.service.IDaCollectionParamConfService; |
| | | import com.jcdm.main.da.opcuaconfig.domain.DaOpcuaConfig; |
| | | import com.jcdm.main.da.opcuaconfig.service.IDaOpcuaConfigService; |
| | |
| | | @Autowired |
| | | private IDaTestDeviceInterfaceTempService daTestDeviceInterfaceTempService; |
| | | |
| | | @Autowired |
| | | private IDaCellDataService daCellDataService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) throws Exception { |
| | | //分段010-065段 |
| | | Constants.OP020_OP065.add(Constants.OP020); |
| | | Constants.OP020_OP065.add(Constants.OP030); |
| | | Constants.OP020_OP065.add(Constants.OP040); |
| | | Constants.OP020_OP065.add(Constants.OP050); |
| | | Constants.OP020_OP065.add(Constants.OP060); |
| | | Constants.OP020_OP065.add(Constants.OP065); |
| | | |
| | | //PLC到MES物料转换 |
| | | Constants.materialMap.put("1","9900199052A"); |
| | | Constants.materialMap.put("2","9900199053B"); |
| | | |
| | | //分段010-090段 电芯工位 |
| | | Constants.OP020_OP090.add(Constants.OP020); |
| | | Constants.OP020_OP090.add(Constants.OP030); |
| | | Constants.OP020_OP090.add(Constants.OP040); |
| | | Constants.OP020_OP090.add(Constants.OP050); |
| | | Constants.OP020_OP090.add(Constants.OP060); |
| | | Constants.OP020_OP090.add(Constants.OP090); |
| | | |
| | | //人工工位 |
| | | Constants.OP100_OP150.add(Constants.OP100_1); |
| | | Constants.OP100_OP150.add(Constants.OP100_2); |
| | | Constants.OP100_OP150.add(Constants.OP150); |
| | | |
| | | //模组工位List |
| | | Constants.ModuleList.add(Constants.OP110); |
| | | Constants.ModuleList.add(Constants.OP120); |
| | | Constants.ModuleList.add(Constants.OP130); |
| | | Constants.ModuleList.add(Constants.OP140); |
| | | //Constants.ModuleList.add(Constants.OP150); |
| | | Constants.ModuleList.add(Constants.OP160); |
| | | Constants.ModuleList.add(Constants.OP170); |
| | | Constants.ModuleList.add(Constants.OP180); |
| | | Constants.ModuleList.add(Constants.OP210); |
| | | Constants.ModuleList.add(Constants.OP220); |
| | | |
| | | OPCUaSubscription opcUaSubscription = new OPCUaSubscription( |
| | | miloService, |
| | |
| | | collectionParamConfService, |
| | | daParamCollectionService, |
| | | omProductionOrdeInfoService, |
| | | daTestDeviceInterfaceTempService); |
| | | daTestDeviceInterfaceTempService, |
| | | daCellDataService); |
| | | |
| | | List<String> lists = getSubList(); |
| | | System.out.println("订阅内容:"+lists); |