Loading…
Loading…
方法名称: mthimpReset
方法ID: 0x4063
方法标签: Reset?
方法描述:
- {
- char status[3];
- int running;
- int resetType, result;
- DD_STRING list;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- send_trans(134,15,status);;
- if(!((varSilState==1) ||(varSilState==4) ||(varSilState==3)))
- {
- list ="|en|Restore delivery status;Restore basic settings;Cancel|de|Auslieferungszustand wiederherstellen;Basiseinstellungen wiederherstellen;Abbrechen" ;
- result = SELECT_FROM_LIST("|en|Activity to be carried out|de|Auszuf�hrende Aktion" , list);
- switch(result)
- {
- case 0: resetType = 4; break;
- case 1: resetType = 2; break;
- default: resetType = 0; break;
请登录以获得完整内容