src/main/java/com/whyc/controller/TestConfigController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/DeviceInf.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/controller/TestConfigController.java
@@ -32,7 +32,8 @@ DeviceInf deviceInf = deviceInfService.getOneByDeviceId(deviceId); DeviceType deviceType = deviceTypeService.getOneByDeviceTypeId(deviceInf.getSystemId()); deviceInf.setLoadStartType(deviceType.getLoadStartType()); deviceInf.setLoadRuntime(deviceType.getLoadRuntime()); deviceInf.setLoadRuntimeHour(deviceType.getLoadRuntimeHour()); deviceInf.setLoadRuntimeMin(deviceType.getLoadRuntimeMin()); deviceInf.setLoadCurrStd(deviceType.getLoadCurrStd()); deviceInf.setLoadVolStd(deviceType.getLoadVolStd()); deviceInf.setLoadRpm(deviceType.getLoadRpm()); src/main/java/com/whyc/pojo/DeviceInf.java
@@ -31,7 +31,8 @@ /**负载电机-启动方式:1-自启动,2-手动启动*/ private Integer loadStartType; /**负载电机-运行时长*/ private Float loadRuntime; private Integer loadRuntimeHour; private Integer loadRuntimeMin; /**负载电机-电流标准*/ private Float loadCurrStd; /**负载电机--电压标准*/ @@ -132,12 +133,20 @@ this.loadStartType = loadStartType; } public Float getLoadRuntime() { return loadRuntime; public Integer getLoadRuntimeHour() { return loadRuntimeHour; } public void setLoadRuntime(Float loadRuntime) { this.loadRuntime = loadRuntime; public void setLoadRuntimeHour(Integer loadRuntimeHour) { this.loadRuntimeHour = loadRuntimeHour; } public Integer getLoadRuntimeMin() { return loadRuntimeMin; } public void setLoadRuntimeMin(Integer loadRuntimeMin) { this.loadRuntimeMin = loadRuntimeMin; } public Float getLoadCurrStd() {