Loading…
Loading…
方法名称: load_standard_config
方法ID: 0x4025
方法标签: Load Std Config
方法描述: Load Standard Configuration - Instructs the transmitter to change all the configuration variables in the transmitter's memory to the standard values set by the manufacturer. This puts the transmitter into a known good state. Existing user defined values will be lost but can be re-entered.
- {
- char status[3];
- char disp_string1[60];
- 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);
- _get_dictionary_string(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- switch (SELECT_FROM_LIST(literal_string(161),literal_string(162)))
- {
- case 0:
- process_abort();
- case 1:
- send(139,status);
- if (status[0])
- {
- display_response_status(139,status[0]);
- _get_dictionary_string(19726342,disp_string1,slen1);
- DELAY(2,disp_string1);
请登录以获得完整内容