whyczh
2021-03-29 9d175aec573808196f738db730edd67db393ecc7
字段对应调整
2个文件已修改
22 ■■■■ 已修改文件
src/main/java/com/whyc/controller/TestConfigController.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/DeviceInf.java 19 ●●●● 补丁 | 查看 | 原始文档 | 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() {