Loading…

方法名称: ClearEventLogsMethod

方法ID: 0x4280

方法标签: Clear Event Logs

方法描述: This method is used to clear an event log for sensor1, sensor2, the network module or the sc200.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wChoice;
  • int slen1;
  • slen1 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • iOneHighUnsignedIntegerIndexSC200 = 21;
  • wChoice = SELECT_FROM_LIST(literal_string(1479),literal_string(1480));
  • if (wChoice == 0)
  • {
  • DELAY(2,literal_string(1481));
  • process_abort();
  • }
  • eClearEventLogs = wChoice;
  • send(203,acStatus);
  • if (acStatus[0] != 0)
  • {


请登录以获得完整内容