Loading…
Loading…
Method Name: api_setup
Method ID: 0x41EB
Method Label: Configurar medições de petróleo
Method Help: This method will step the user through setting up the API parameters.
- {
- char status[3];
- int numberChoice;
- int letterChoice;
- int enableApi;
- long var_id[1];
- char disp_string[100];
- char disp_string1[100];
- int slen;
- int slen1;
- int deviceChoice;
- int loop_choice;
- deviceChoice = 0;
- slen1 = 100;
- slen = 100;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- send_command(15);
- send_command(76);
- if (_ivar_value(167) == 1 && lock_device_status_code & 0x08)
- {
- ACKNOWLEDGE(literal_string(1873));
- process_abort();
- }
- if (_ivar_value(167) == 1)
- {
- ACKNOWLEDGE(literal_string(1874));
- process_abort();
- }
- if (lock_device_status_code & 0x08)
- {
- ACKNOWLEDGE(literal_string(1875));
Please login for more