Loading…
Loading…
Method Name: enter_password
Method ID: 0x4001
Method Label: Ввести пароль
Method Help:
- {
- char status[3];
- unsigned int d1, d2, d3, d4;
- unsigned int PAS;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- remove_all_abort();
- PAS = 1234;
- _get_local_var_value(("|en|Password: \n|ru|Пароль: \n"),0,"|en|PAS");
- if(PAS < 1000)
- {
- ACKNOWLEDGE("|en|Password is too short!|ru|Пароль слишком короткий!");
- process_abort();
- }
- if(PAS > 9999)
- {
- ACKNOWLEDGE("|en|Password is too large!|ru|Пароль слишком длинный!");
- process_abort();
- }
- d1 = PAS/1000;
Please login for more