DELL
2025-05-13 f9b5693cf3aaae3087e0372827d85f3fe8208ee6
iec61850_forFoShanAES_Model/src/com/battdata_rt/BattData_RT_Array.java
@@ -83,7 +83,7 @@
         sql.sqlMysqlUseDB(Sql_Mysql.DB_BATT_INF);
         
         String sql_str = "SELECT DISTINCT "
                     + " FBSDeviceId,FBSDeviceIp,BattGroupName6,GroupIndexInFBSDevice,FBSDeviceName,sign_type,KeyID,"
                     + " StationId,FBSDeviceId,FBSDeviceIp,BattGroupName6,GroupIndexInFBSDevice,FBSDeviceName,sign_type,KeyID,"
                     + " BattGroupId,BattGroupNum,MonCount,BattFloatCurrent,FloatVolLevel,MonCapStd,MonVolStd"
                     + " FROM " + Sql_Mysql.BattInf_Table
                     + " WHERE FLOOR(FBSDeviceId/10000)=61850"
@@ -102,7 +102,10 @@
            }
            boolean batt_group_exist = false;
            //String reg_code = res.getString("BattGroupName6").trim();
            String ukeyID = res.getString("KeyID").trim();
            String station_id = res.getString("StationId").trim();
            float float_vol_lev = res.getFloat("FloatVolLevel");
            float float_curr_lev = res.getFloat("BattFloatCurrent");
            int GroupIndexInFBSDevice = res.getInt("GroupIndexInFBSDevice");
@@ -177,7 +180,7 @@
               if(rtdata.GroupIndexInFBSDevice < 0) {
                  rtdata.GroupIndexInFBSDevice = 0;
               }
               rtdata.StationId = station_id;
               rtdata.BattGroupId = res.getInt("BattGroupId");
               rtdata.BattGroupNum = res.getInt("BattGroupNum");