Loading…

Method Name: method_login

Method ID: 0x42F8

Method Label: LogIn / LogOut

Method Help:


  • {
  • long psw;
  • long lPswd;
  • char sPswd[6];
  • long DigitValue1;
  • long DigitValue2;
  • long DigitValue3;
  • long DigitValue4;
  • long DigitValue5;
  • long DigitValue6;
  • int DigitValue;
  • int index;
  • char cmd_status[3];
  • int reqaccess;
  • int logout_quest;
  • long ids[3];
  • DD_STRING LocalPswd;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • ids[0] = 16686;
  • put_message(literal_string(1137),ids);
  • reqaccess = SELECT_FROM_LIST(literal_string(188),literal_string(1138));
  • _iassign(16738,reqaccess);
  • if (reqaccess == 0)
  • {
  • _lassign(16739,0);
  • logout_quest = SELECT_FROM_LIST(literal_string(1139),literal_string(1140));
  • if (logout_quest == 0)
  • return;


Please login for more