| | |
| | | bool_rand_data = (int_rand_data%2==0)?true:false;
|
| | | rand_index++;
|
| | | */
|
| | | if(pwrDev_rtData.PowerDevProtocolName.contains("DDPS")) { |
| | | if(pwrDev_rtData.PowerDevProtocolName.contains("DDPS")) {
|
| | | //DDPS电源
|
| | | if(devIndex%3 == 0) {
|
| | | if(pwrDev_rtData.PowerDevProtocolName.contains("G10")) {
|
| | | //云鑫为DCDC电源
|
| | |
| | | DataSet ds = null;
|
| | | //************ 遥测量 **************
|
| | | //---------------------------------Log Level.TRACE-------------------------------------//
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsMeasure1)", dcdcDeviceName);
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsMeasure1)", dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex);
|
| | | ///-------------------------------------------------------------------------------------//
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + "/LLN0.dsMeasure1");
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex + "/LLN0.dsMeasure1");
|
| | | if(null == ds) {
|
| | | setErrCommCountInc(0);
|
| | | return;
|
| | |
| | | DataSet ds = null;
|
| | | //************ 遥信量 **************
|
| | | //---------------------------------Log Level.TRACE-------------------------------------//
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsState1)", dcdcDeviceName);
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsState1)", dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex);
|
| | | //-------------------------------------------------------------------------------------//
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + "/LLN0.dsState1");
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex + "/LLN0.dsState1");
|
| | | if(null == ds) {
|
| | | setErrCommCountInc(0);
|
| | | return;
|
| | |
| | | DataSet ds = null;
|
| | | //************ 告警量 **************
|
| | | //---------------------------------Log Level.TRACE-------------------------------------//
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsAlm1)", dcdcDeviceName);
|
| | | logger.printf(Level.TRACE, "m_ServerModel.getDataSet(%s/LLN0.dsAlm1)", dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex);
|
| | | //-------------------------------------------------------------------------------------//
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + "/LLN0.dsAlm1");
|
| | | ds = m_ServerModel.getDataSet(dcdcDeviceName + pwrDev_rtData.PowerDevProtocolIndex + "/LLN0.dsAlm1");
|
| | | if(null == ds) {
|
| | | setErrCommCountInc(0);
|
| | | return;
|