Loading…
Loading…
Method Name: method_ack_event_notification
Method ID: 0x41FB
Method Label: acknowledge Event
Method Help: Acknowledge Event Notification
- {
- char status[3];
- int switch_trans;
- char is_found_active_bit;
- int check_bit;
- int result_st;
- {
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- }
- ;
- do {
- is_found_active_bit = 0;
- send_command(115);
- if (_ivar_value(2265) == 0)
- {
- ACKNOWLEDGE(literal_string(1776));
- process_abort();
- }
- switch_trans = 0;
- send_trans(119,switch_trans,status);
- if (status[0] != 0)
- {
- if (status[0] == 8 || status[0] == 14 || status[0] == 30)
- {
- ACKNOWLEDGE(literal_string(1579));
- display_response_status(119,status[0]);
- }
- else
- {
- ACKNOWLEDGE(literal_string(1580));
- display_response_status(119,status[0]);
- process_abort();
- }
- }
- ;
- {
- if (device_status_latched_value != 0x00)
- {
- if (is_found_active_bit != 1)
- {
- is_found_active_bit = 1;
- ACKNOWLEDGE(literal_string(1683));
- }
- for (check_bit = 0x0001; check_bit < 0x0100; check_bit <<= 1)
- {
- if ((device_status_latched_value & check_bit) != 0x0000)
- {
- _display_xmtr_status(151,check_bit);
- }
- }
- }
- }
- ;
- {
- if (device_specific_status_0_latched_value != 0x00)
Please login for more