Loading…

Method Name: mthimpReset

Method ID: 0x4063

Method Label: Reset?

Method Help:


  • {
  • 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;


Please login for more