whyclj
2020-10-14 8461637e95df93dca243c3b81209a73814f0673c
WaterSystem_MonitorServer/src/com/watersystem/monitor/Water_brach.java
@@ -359,25 +359,25 @@
         this.Branch_flow_8 = MyModbusUtils.readShortToFloat(res.getValue(7))/100;      
         this.Branch_flow_9 = MyModbusUtils.readShortToFloat(res.getValue(8))/100;            
         
         this.Branch_tmp_1 = MyModbusUtils.readShortToFloat(res.getValue(9))/10;
         this.Branch_tmp_2 = MyModbusUtils.readShortToFloat(res.getValue(10))/10;
         this.Branch_tmp_3 = MyModbusUtils.readShortToFloat(res.getValue(11))/10;
         this.Branch_tmp_4 = MyModbusUtils.readShortToFloat(res.getValue(12))/10;
         this.Branch_tmp_5 = MyModbusUtils.readShortToFloat(res.getValue(13))/10;
         this.Branch_tmp_6 = MyModbusUtils.readShortToFloat(res.getValue(14))/10;
         this.Branch_tmp_7 = MyModbusUtils.readShortToFloat(res.getValue(15))/10;
         this.Branch_tmp_8 = MyModbusUtils.readShortToFloat(res.getValue(16))/10;
         this.Branch_tmp_9 = MyModbusUtils.readShortToFloat(res.getValue(17))/10;
         this.Branch_tmp_1 = MyModbusUtils.readShortToFloat(res.getValue(9),true)/10;
         this.Branch_tmp_2 = MyModbusUtils.readShortToFloat(res.getValue(10),true)/10;
         this.Branch_tmp_3 = MyModbusUtils.readShortToFloat(res.getValue(11),true)/10;
         this.Branch_tmp_4 = MyModbusUtils.readShortToFloat(res.getValue(12),true)/10;
         this.Branch_tmp_5 = MyModbusUtils.readShortToFloat(res.getValue(13),true)/10;
         this.Branch_tmp_6 = MyModbusUtils.readShortToFloat(res.getValue(14),true)/10;
         this.Branch_tmp_7 = MyModbusUtils.readShortToFloat(res.getValue(15),true)/10;
         this.Branch_tmp_8 = MyModbusUtils.readShortToFloat(res.getValue(16),true)/10;
         this.Branch_tmp_9 = MyModbusUtils.readShortToFloat(res.getValue(17),true)/10;
         
         this.Branch_pre_1 = MyModbusUtils.readShortToFloat(res.getValue(18))/100;
         this.Branch_pre_2 = MyModbusUtils.readShortToFloat(res.getValue(19))/100;
         this.Branch_pre_3 = MyModbusUtils.readShortToFloat(res.getValue(20))/100;
         this.Branch_pre_4 = MyModbusUtils.readShortToFloat(res.getValue(21))/100;
         this.Branch_pre_5 = MyModbusUtils.readShortToFloat(res.getValue(22))/100;
         this.Branch_pre_6 = MyModbusUtils.readShortToFloat(res.getValue(23))/100;
         this.Branch_pre_7 = MyModbusUtils.readShortToFloat(res.getValue(24))/100;
         this.Branch_pre_8 = MyModbusUtils.readShortToFloat(res.getValue(25))/100;
         this.Branch_pre_9 = MyModbusUtils.readShortToFloat(res.getValue(26))/100;
         this.Branch_pre_1 = MyModbusUtils.readShortToFloat(res.getValue(18),true)/100;
         this.Branch_pre_2 = MyModbusUtils.readShortToFloat(res.getValue(19),true)/100;
         this.Branch_pre_3 = MyModbusUtils.readShortToFloat(res.getValue(20),true)/100;
         this.Branch_pre_4 = MyModbusUtils.readShortToFloat(res.getValue(21),true)/100;
         this.Branch_pre_5 = MyModbusUtils.readShortToFloat(res.getValue(22),true)/100;
         this.Branch_pre_6 = MyModbusUtils.readShortToFloat(res.getValue(23),true)/100;
         this.Branch_pre_7 = MyModbusUtils.readShortToFloat(res.getValue(24),true)/100;
         this.Branch_pre_8 = MyModbusUtils.readShortToFloat(res.getValue(25),true)/100;
         this.Branch_pre_9 = MyModbusUtils.readShortToFloat(res.getValue(26),true)/100;
         //System.out.println(this.Branch_pre_9+"*****");
      }
   }