Loading…

Method Name: SZAlarmReset_method

Method ID: 0x492A

Method Label: Zerar Alarme ZS

Method Help: Reconhece um Alarme de Zona Segura


  • {
  • char status[3];
  • int result;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _add_abort_method(4118);
  • result = SELECT_FROM_LIST(literal_string(1184),literal_string(1185));
  • if (result == 0)
  • {
  • send_trans(253,2,status);
  • if (status[0] == 16)
  • {
  • _get_dev_var_value(literal_string(1186),0,16404);
  • send_trans(150,2,status);
  • send_trans(253,2,status);
  • if (status[0] == 16)


Please login for more