Loading…
Loading…
方法名称: DOTestMethod
方法ID: 0x4546
方法标签: Digital Output Test
方法描述:
- {
- char status[3];
- int selection;
- long var_id1[1];
- long var_id2[1];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- ACKNOWLEDGE(literal_string(1917));
- _add_abort_method(17735);
- do {
- selection = DOTestSelectionMethod();
- switch (selection)
- {
- case 0:
- _get_dev_var_value(literal_string(2068),0,17332);
- send(200,status);
- if (status[0])
- {
- display_response_status(200,status[0]);
- }
- break;
- case 1:
- var_id1[0] = 17736;
- _iassign(16394,0);
- _iassign(17737,1);
- _iassign(17738,0);
- _get_dev_var_value(literal_string(2078),0,17739);
请登录以获得完整内容