| | |
| | | import org.apache.logging.log4j.Level;
|
| | | import org.apache.logging.log4j.LogManager;
|
| | | import org.apache.logging.log4j.Logger;
|
| | | import org.openmuc.openiec61850.BdaBitString;
|
| | | import org.openmuc.openiec61850.BdaBoolean;
|
| | | import org.openmuc.openiec61850.BdaFloat32;
|
| | | import org.openmuc.openiec61850.BdaInt64;
|
| | |
| | | m_Association.getDataValues(fcModelNode);
|
| | | m_FBS_VCData.m_SysState.resetErrCommCount();
|
| | | ModelNode fc_mode = fcModelNode;
|
| | | String a[]= null;
|
| | | a = new String[5];
|
| | | a = (fc_mode.toString()).split(":");
|
| | | res_val = a[2];
|
| | | //System.out.println(a[3]);
|
| | | String split[]= null;
|
| | | split = new String[5];
|
| | | split = (res_val.toString()).split(", ");
|
| | | String result[]= null;
|
| | | result = new String[2];
|
| | | result[0] = split[0];
|
| | | result[1] = a[3];
|
| | | |
| | | resul = String.format("%s,%s", result);
|
| | | if(fc_mode instanceof BdaVisibleString) {
|
| | | resul = new String(((BdaVisibleString)fc_mode).getValue());
|
| | | }
|
| | | } catch (ServiceError e) {
|
| | | System.out.println("Service error: " + e.getMessage());
|
| | | m_FBS_VCData.m_SysState.addErrCommCount();
|