Loading…
Loading…
方法名称: reverse_scale
方法ID: 0x4053
方法标签: Reverse Scale
方法描述:
- {
- char status[3];
- char xmtr_status[6];
- int reverse_scale_status;
- int choice;
- char cmd_status;
- int current_unit;
- int entered_unit;
- int correct_input;
- float f;
- float edited;
- float scaling;
- long ids[1];
- reverse_scale_status = _ivar_value(16409);
- _get_dev_var_value(literal_string(371),0,16409);
- if (_ivar_value(16409))
- {
- if (reverse_scale_status)
- return;
- send(141,status);
- _set_xmtr_comm_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- if ((cmd_status = status[0]) == 0)
- {
- do {
- get_more_status(status,xmtr_status);
- DELAY(2,literal_string(370));
- }
- while ((xmtr_status[4] & (0x40 | 0x20 | 0x01)) == 0 && status[0] != 6 && status[0] != 68);
请登录以获得完整内容