Loading…
Loading…
方法名称: load_defaults
方法ID: 0x4074
方法标签: Load Defaults
方法描述: Load Defaults - restores the transmitter user parameters to default settings in the selected Base Units.
- {
- char status[3];
- char disp_string[60];
- int len;
- int ival;
- int select;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- len = 60;
- SET_NUMBER_OF_RETRIES(2);
- ACKNOWLEDGE(literal_string(640));
- _add_abort_method(4118);
- ACKNOWLEDGE(literal_string(641));
- select = SELECT_FROM_LIST(literal_string(642),literal_string(643));
- if (select == 1)
- {
- ACKNOWLEDGE(literal_string(644));
- process_abort();
- }
- PUT_MESSAGE(literal_string(645));
- send(42,status);
- if (status[0])
- {
- display_response_status(42,status[0]);
- }
- DELAY_TIME(20);
- DELAY_TIME(4);
请登录以获得完整内容