Loading…
Loading…
Method Name: Mth_menu_input_conc
Method ID: 0x408B
Method Label: Input
Method Help:
- {
- long select;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- send_command (1);
- send_command (139);
- send_command_trans (157, 1);
- send_command_trans (157, 2);
- send_command_trans (157, 3);
- send_command_trans (157, 4);
- send_command_trans (159, 1);
- send_command_trans (159, 2);
- send_command_trans (159, 3);
- send_command_trans (159, 4);
- if (pv_unit == 0x43)
- {
- if (range1_max_input <= 501.0 )
- {
- range1_loc = 0;
- }
- else
- {
- if (range1_max_input <= 1001.0 )
- {
- range1_loc = 1;
- }
- else
- {
- if (range1_max_input <= 2001.0)
- {
- range1_loc = 2;
- }
- else
- {
- if (range1_max_input <= 3001.0)
- {
- range1_loc = 3;
- }
- else
- {
- if (range1_max_input <= 5001.0)
- {
- range1_loc = 4;
- }
- else
- {
- if (range1_max_input <= 10001.0)
- {
- range1_loc = 5;
- }
- else
- {
- if (range1_max_input <= 20001.0)
- {
- range1_loc = 6;
- }
- else
- {
- if (range1_max_input <= 30001.0)
- {
- range1_loc = 7;
- }
- else
- {
- if (range1_max_input <= 50001.0)
- {
- range1_loc = 8;
- }
- else
- {
- if (range1_max_input <= 100001.0)
- {
- range1_loc = 9;
- }
- else
- {
- if (range1_max_input <= 200001.0)
- {
- range1_loc = 10;
- }
- else
- {
- if (range1_max_input <= 300001.0)
- {
- range1_loc = 11;
- }
- else
- {
- if (range1_max_input <= 500001.0)
- {
- range1_loc = 12;
- }
- else
- {
- if (range1_max_input <= 1000001.0)
- {
- range1_loc = 13;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- if (range2_max_input <= 501.0 )
- {
- range2_loc = 0;
- }
- else
- {
- if (range2_max_input <= 1001.0 )
- {
- range2_loc = 1;
- }
- else
- {
- if (range2_max_input <= 2001.0)
- {
- range2_loc = 2;
- }
- else
- {
- if (range2_max_input <= 3001.0)
- {
- range2_loc = 3;
- }
- else
- {
- if (range2_max_input <= 5001.0)
- {
- range2_loc = 4;
- }
- else
- {
- if (range2_max_input <= 10001.0)
- {
- range2_loc = 5;
- }
- else
- {
- if (range2_max_input <= 20001.0)
- {
- range2_loc = 6;
- }
- else
- {
- if (range2_max_input <= 30001.0)
Please login for more