IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java
@@ -1724,6 +1724,10 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsCpssYc)", acdcDeviceName);
            ///-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(acdcDeviceName + "/LLN0.dsCpssYc");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(acdcDeviceName + "/LLN0.dsCPSS" + pwrDev_rtData.PowerDevProtocolIndex + "Ain1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);
@@ -1968,6 +1972,11 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsCpssYx)", acdcDeviceName);
            //-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(acdcDeviceName + "/LLN0.dsCpssYx");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(acdcDeviceName + "/LLN0.dsCPSS" + pwrDev_rtData.PowerDevProtocolIndex + "Din1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);
@@ -2599,7 +2608,20 @@
                     
                     PowerData_RT_SQL.make_TimeOutTag(m_ConnPool, pwrDev_rtData.PowerDevDeviceId, PwrDeviceAlarm_Data.ALM_TYPE_PWRDEV_CommErr_ID, 0, timeout_tag,dt);
                  }
               } if(fc_model_str.contains("/gdsGGIO1.IntIn.stVal")) {
               }else if(fc_model_str.contains("/calmGGIO1.Alm99.stVal")) {
                  //协转与高频开关柜通信故障
                  origin_val = pwrDev_rtData.m_acdcData.is_comm_err;
                  pwrDev_rtData.m_acdcData.is_comm_err = ((BdaBoolean)fc_mode).getValue();
                  //System.out.println("is_comm_err:"+pwrDev_rtData.m_acdcData.is_comm_err);
                  if(origin_val==false && pwrDev_rtData.m_acdcData.is_battgroup1_fuse==true) {
                     Date dt = ((BdaTimestamp)fc_mode_t).getDate();
                     //Date dt = readNodeTimeStamp(acdcDeviceName + "/gswGGIO4.Alm.t", Fc.ST);
                     timeout_tag = checkIfBoolNodeTimeOut(dt);
                     PowerData_RT_SQL.make_TimeOutTag(m_ConnPool, pwrDev_rtData.PowerDevDeviceId, PwrDeviceAlarm_Data.ALM_TYPE_PWRDEV_CommErr_ID, 0, timeout_tag,dt);
                  }
               }
               if(fc_model_str.contains("/gdsGGIO1.IntIn.stVal")) {
                  if(fc_mode instanceof BdaBoolean) {
                     pwrDev_rtData.m_acdcData.acInUseCount = ((BdaBoolean)fc_mode).getValue()?1:0;      
                  }else if(fc_mode instanceof BdaInt32) {
@@ -2868,6 +2890,10 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsAcswibYc)", acDeviceName);
            //-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(acDeviceName + "/LLN0.dsAcswibYc");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(acDeviceName + "/LLN0.dsACSWIB" + pwrDev_rtData.PowerDevProtocolIndex + "Ain1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);
@@ -2962,6 +2988,10 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsAcswibYx)", acDeviceName);
            //-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(acDeviceName + "/LLN0.dsAcswibYx");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(acDeviceName + "/LLN0.dsACSWIB" + pwrDev_rtData.PowerDevProtocolIndex + "Din1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);
@@ -3521,6 +3551,10 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsDcswibYc)", dcDeviceName);
            //-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(dcDeviceName + "/LLN0.dsDcswibYc");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(dcDeviceName + "/LLN0.dsDCSWIB" + pwrDev_rtData.PowerDevProtocolIndex + "Ain1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);
@@ -3597,6 +3631,10 @@
            logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsDcswibYx)", dcDeviceName);
            //-------------------------------------------------------------------------------------//
            ds = m_ServerModel.getDataSet(dcDeviceName + "/LLN0.dsDcswibYx");
            if(null == ds && pwrDev_rtData.PowerDevProtocolName.contains("TEMPLATE")) {
               //兼容泰科设备
               ds = m_ServerModel.getDataSet(dcDeviceName + "/LLN0.dsDCSWIB" + pwrDev_rtData.PowerDevProtocolIndex + "Din1");
            }
         }
         if(null == ds) {
            setErrCommCountInc(0);