DELL
2024-06-26 65ff6cbca071027f564ebb8fb5c713534c8bfca7
实时告警调试
4个文件已修改
16 ■■■■ 已修改文件
iec61850_forFoShanAES_Model/bin/com/dec/fbs9100/BTS_61850_SocketClient.class 补丁 | 查看 | 原始文档 | blame | 历史
iec61850_forFoShanAES_Model/bin/com/dec/fbs9100/MysqlConnPool.class 补丁 | 查看 | 原始文档 | blame | 历史
iec61850_forFoShanAES_Model/src/com/dec/fbs9100/BTS_61850_SocketClient.java 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iec61850_forFoShanAES_Model/src/com/dec/fbs9100/MysqlConnPool.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iec61850_forFoShanAES_Model/bin/com/dec/fbs9100/BTS_61850_SocketClient.class
Binary files differ
iec61850_forFoShanAES_Model/bin/com/dec/fbs9100/MysqlConnPool.class
Binary files differ
iec61850_forFoShanAES_Model/src/com/dec/fbs9100/BTS_61850_SocketClient.java
@@ -1038,7 +1038,6 @@
                    //---------------------------------Log Level.TRACE-------------------------------------//
                    logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsDevAlarm)", FBSDeviceName);
                    //-------------------------------------------------------------------------------------//
                    String c[] = null;
                    DataSet tmp_ds_stat = m_ServerModel.getDataSet(FBSDeviceName + "/LLN0.dsDevAlarm");
                    if(null == tmp_ds_stat) {
                        return false;
@@ -1046,22 +1045,18 @@
                    DataSet ds_stat = tmp_ds_stat.copy();
                    boolean[] alm  = new boolean[] {false,false,false,false,false};
                    int size_cnt_stat = ds_stat.getMembers().size();
                    c = new String[size_cnt_stat];
                    String[] split = null;
                    split = new String[2];
                    m_Association.getDataSetValues(ds_stat);
                    int mon_alm_idx = 0;
                    int mon_alm_idx = 0;
                    for (int n = 0; n < size_cnt_stat; n++) {
                        if(null == ds_stat.getMembers().get(n).getChild("stVal")) {
                            //System.err.println(ds.getMembers().get(n).getChild("mag").toString1());
                            System.err.println(ds_stat.getMembers().get(n).getChild("mag").toString1());
                            continue;
                        }
                        FcModelNode fc_mode = (FcModelNode) ds_stat.getMembers().get(n).getChild("stVal");
                        if(fc_mode instanceof BdaBoolean) {
                            //JTextField tf_t = (JTextField) data.getValueField();
                            //System.out.println("n:"+n+" "+fc_mode.toString1());
                            String fc_mode_str = fc_mode.toString1();
                            System.out.println("n:"+n+" "+fc_mode_str+"=="+((BdaBoolean)fc_mode).getValue());
                            if(fc_mode_str.contains(FBSDeviceName + "/ncdGGIO1.Alm1")){
                                //通信蓄电池远程核容装置常闭接触器K1告警
                                alm[0] = ((BdaBoolean)fc_mode).getValue();
iec61850_forFoShanAES_Model/src/com/dec/fbs9100/MysqlConnPool.java
@@ -66,4 +66,9 @@
    public void setMaxPoolSize(int size) {
        mysql_ds.setMaxPoolSize(size);
    }
    public static void main(String[] args) {
        MysqlConnPool pool = new  MysqlConnPool("127.0.0.1", 3360, 50);
        System.out.println(pool.getConn());
    }
}