Loading…
Loading…
方法名称: SetOpMode
方法ID: 0x4186
方法标签: SetOpMode
方法描述:
- {
- char status[3];
- int mode;
- int totunit;
- int old_assign;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- mode = _ivar_value(16451);
- _iassign(16775,0x0683);
- send_command_trans(174,1);
- _iassign(16775,0x0365);
- send_command_trans(174,1);
- _iassign(16775,0x0367);
- send_command_trans(174,1);
- _iassign(16775,0x2067);
- send_command_trans(174,1);
- _iassign(16775,0x1364);
- send_command_trans(174,1);
- _iassign(16775,0x2064);
- send_command_trans(174,1);
- _iassign(16775,0x266E);
- send_command_trans(174,1);
- if (mode == 2)
- {
- _iassign(16430,1);
- old_assign = _ivar_value(16431);
- switch (old_assign)
- {
- case 4:
- _iassign(16431,2);
- break;
- case 12:
- _iassign(16431,11);
- break;
- default:
请登录以获得完整内容