| | |
| | | if (CollectionUtils.isEmpty(loadedGlassIds)) { |
| | | missingDependencies.add("大车设备未完成,缺少玻璃ID列表"); |
| | | } |
| | | } else if (DeviceConfig.DeviceType.GLASS_STORAGE.equals(deviceType)) { |
| | | // 玻璃存储设备需要大理片设备先完成(优先),或大车设备完成 |
| | | List<String> processedGlassIds = context.getSafeProcessedGlassIds(); |
| | | List<String> loadedGlassIds = context.getSafeLoadedGlassIds(); |
| | | if (CollectionUtils.isEmpty(processedGlassIds) && CollectionUtils.isEmpty(loadedGlassIds)) { |
| | | missingDependencies.add("前置设备未完成,缺少玻璃ID列表"); |
| | | } |
| | | } |
| | | // 其他设备类型暂不需要依赖检查 |
| | | |
| | | // 检查设备配置中的依赖关系(从extraParams中读取) |
| | | Map<String, Object> deviceDependencies = getDeviceDependencies(device); |