V1.113 2025-06-15 lijun
1.兼容泰科电源信息采集。
2.修复读取电源信息时,通信故障告警延迟较高。
3个文件已修改
51 ■■■■■ 已修改文件
IEC61850_ForPowerSupply_ForNW/src/com/main/main_PowerDev_IEC61850.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
IEC61850_ForPowerSupply_ForNW/src/com/version_inf/version_inf.txt 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
IEC61850_ForPowerSupply_ForNW/src/com/main/main_PowerDev_IEC61850.java
@@ -19,7 +19,7 @@
public class main_PowerDev_IEC61850 {
    
    public final static boolean app_debug = false;
    public final static double m_VersionNum = 1.112;
    public final static double m_VersionNum = 1.113;
    public final static String m_Version = "Welcome To Use Monitor_PowerDev_IEC61850 V" 
                                            + m_VersionNum + " RC_20210621";
    
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);
IEC61850_ForPowerSupply_ForNW/src/com/version_inf/version_inf.txt
@@ -5,8 +5,10 @@
                第二套协议名称:ZJDY2
            共济协转
                第一套协议名称:TEMPLATE
            泰科协转
                第一套协议名称:TEMPLATE
                第二套协议名称:TEMPLATE2
        DCDC电源
            紫晶协转
                第一套协议名称:ZJDYDDPS
@@ -30,6 +32,9 @@
        
        
        高频开关柜
V1.113 2025-06-15 lijun
    1.兼容泰科电源信息采集。
    2.修复读取电源信息时,通信故障告警延迟较高。
        
V1.112 2025-06-15 lijun
    1.修复紫晶第二套DCDC电源读取的是第一套点位bug