| | |
| | | //---------------------------------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;
|
| | |
| | | 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;
|
| | | |
| | | 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();
|