|
@@ -60,31 +60,31 @@ public class DeviceCache {
|
|
|
DeviceStatus.Device capture = new DeviceStatus.Device(caputreSetting.getHost(),
|
|
|
caputreSetting.getPort(),
|
|
|
LedBrandType.getBrandByCode(caputreSetting.getBrand()),
|
|
|
- ModuleEnum.CAPTURE_MODULE.getModuleEn());
|
|
|
+ ModuleEnum.CAPTURE_MODULE.getModuleZh());
|
|
|
deviceStatus.getDeviceList().add(capture);
|
|
|
|
|
|
DeviceStatus.Device plc = new DeviceStatus.Device(serialSetting.getHost(),
|
|
|
serialSetting.getPlc().getPort(),
|
|
|
"",
|
|
|
- ModuleEnum.PLC_MODULE.getModuleEn());
|
|
|
+ ModuleEnum.PLC_MODULE.getModuleZh());
|
|
|
deviceStatus.getDeviceList().add(plc);
|
|
|
|
|
|
DeviceStatus.Device led = new DeviceStatus.Device(serialSetting.getHost(),
|
|
|
serialSetting.getLed().getPort(),
|
|
|
LedBrandType.getBrandByCode(serialSetting.getLed().getBrand()),
|
|
|
- ModuleEnum.LED_MODULE.getModuleEn());
|
|
|
+ ModuleEnum.LED_MODULE.getModuleZh());
|
|
|
deviceStatus.getDeviceList().add(led);
|
|
|
|
|
|
DeviceStatus.Device weighbridge = new DeviceStatus.Device(serialSetting.getHost(),
|
|
|
serialSetting.getWeighbridge().getPort(),
|
|
|
WeighbridgeBrandType.getBrandByCode(serialSetting.getWeighbridge().getBrand()),
|
|
|
- ModuleEnum.WEIGHBRIDGE_MODULE.getModuleEn());
|
|
|
+ ModuleEnum.WEIGHBRIDGE_MODULE.getModuleZh());
|
|
|
deviceStatus.getDeviceList().add(weighbridge);
|
|
|
|
|
|
DeviceStatus.Device electron = new DeviceStatus.Device(serialSetting.getHost(),
|
|
|
serialSetting.getElectron().getPort(),
|
|
|
ElectronBrandType.getBrandByCode(serialSetting.getElectron().getBrand()),
|
|
|
- ModuleEnum.ELECTRON_MODULE.getModuleEn());
|
|
|
+ ModuleEnum.ELECTRON_MODULE.getModuleZh());
|
|
|
deviceStatus.getDeviceList().add(electron);
|
|
|
}
|
|
|
|