Loading…
Loading…
方法名称: in_service_prompt_SUBROUTINE
方法ID: 0x46E5
方法标签: Device Setup
方法描述: Prompts the user for pressure information and to select subsequent menu items for instrument setup. Note: All items on the Auto Setup menu must be selected in order for basic setup.
- {
- int q;
- int q0;
- int q1;
- int q2;
- int q3;
- float qa;
- char S[3];
- long ids[5];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code(8,0);
- send(151,S);
- if (_ivar_value(16804) > 2)
- {
- ACKNOWLEDGE(literal_string(2015));
- return;
- }
- ;
- _vassign(16452,16427);
- save_values();
- _get_dev_var_value(literal_string(2261),0,16452);
- save_values();
- remove_all_abort();
- if (_ivar_value(16452) > 0)
- {
- send_trans(136,2,S);
- if (!_ivar_value(16784))
- send_trans(136,0,S);
- if (_ivar_value(16784) != 16)
- {
- if (_ivar_value(16784) != 0)
- {
- if (SELECT_FROM_LIST(literal_string(2225),literal_string(2226)))
- {
- DELAY(2,literal_string(2227));
- process_abort();
- }
- }
- send_trans(136,1,S);
- send_trans(136,0,S);
- }
- q = 1;
- send_trans(129,35,S);
- if ((_ivar_value(16496) & 0x01) > 0 && _ivar_value(171) == 0)
- {
- q = 0;
- ACKNOWLEDGE(literal_string(2228));
- }
- if (_ivar_value(158) < 5 && _ivar_value(16508))
- {
- send_trans(129,2,S);
- send_trans(129,12,S);
- if (_fvar_value(16507) > 0.0 || _fvar_value(16506) > 0.0 || 0 != _ivar_value(16555))
- {
- ACKNOWLEDGE(literal_string(2229));
- if (_ivar_value(167) == 1)
- {
- q = 1 - SELECT_FROM_LIST(literal_string(2230),literal_string(2231));
请登录以获得完整内容