Loading…
Loading…
方法名称: enter_range_for_current
方法ID: 0x4069
方法标签: Range I
方法描述:
- {
- char status[3];
- char xmtr_status[6];
- char cmd_status;
- long ids[3];
- int icurrent_range;
- int i0;
- int i100;
- int imax;
- int choice;
- int changes_made;
- icurrent_range = _ivar_value(16421);
- i0 = _ivar_value(16422);
- i100 = _ivar_value(16423);
- imax = _ivar_value(16424);
- changes_made = 0;
- _get_dev_var_value(literal_string(66),0,16421);
- if (icurrent_range != _ivar_value(16421))
- changes_made++;
- if (_ivar_value(16421) != 2)
- {
- if (changes_made)
- {
- send(143,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);
- if (status[0] == 68 || status[0] == 6)
- {
请登录以获得完整内容