Loading…

Method Name: read_alarm_severity_meth

Method ID: 0x42F9

Method Label: Read Severity

Method Help: Reports the severity level of the selected alarm. The alarms are represented by their alarm number. For example, A26 is 26 and A102 is 102.


  • {
  • char status[3];
  • long var_id[1];
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • int alarmNum;
  • slen1 = 100;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • alarmNum = 1;
  • _get_dictionary_string(858587223,disp_string,slen);
  • _get_local_var_value(disp_string,0,literal_string(81));
  • if (alarmNum > 39 && alarmNum < 100 || alarmNum > 140)
  • {
  • _get_dictionary_string(858783850,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • }


Please login for more