Loading…
Loading…
Method Name: ne107_alert_method
Method ID: 0x47A5
Method Label:
Method Help:
- {
- float qa;
- float qb;
- float qc;
- float qd;
- float qe;
- float mpp;
- int q;
- int q0;
- int q1;
- int q2;
- int q3;
- int q4;
- int q5;
- int q6;
- int q7;
- int q8;
- char S[3];
- char qq[3];
- long ids[4];
- int select;
- int i;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code(8,0);
- ids[1] = 17895;
- send_command_trans(523,0);
- send_command_trans(523,1);
- save_values();
- switch (tab_id)
- {
- case 1:
- if (inst_level & 0x0100 && !(inst_level & 0x0040) && 0 == output_function && 1 == option_module_installed)
- {
- i = SELECT_FROM_LIST(literal_string(2978),literal_string(3023));
- }
- else
- if (inst_level & 0x0100 && !(inst_level & 0x0040))
- {
- i = SELECT_FROM_LIST(literal_string(2978),literal_string(3024));
- if (i == 7)
- i++;
- }
- else
- if (0 == output_function && 1 == option_module_installed)
- {
- i = SELECT_FROM_LIST(literal_string(2978),literal_string(3025));
- }
- else
- {
- i = SELECT_FROM_LIST(literal_string(2978),literal_string(3026));
- }
- switch (i)
- {
- case 0:
- q = 0;
- local_alert_strings = 4;
- _get_dev_var_value(literal_string(3027),ids,2462);
- break;
- case 1:
- q = 0;
- local_alert_strings = 40;
- _get_dev_var_value(literal_string(3027),ids,2490);
- break;
- case 2:
- q = 0;
- local_alert_strings = 3;
- _get_dev_var_value(literal_string(3027),ids,2461);
- break;
- case 3:
- q = 0;
- local_alert_strings = 26;
Please login for more