Loading…
Loading…
Method Name: simulate_status_meth
Method ID: 0x1327
Method Label: Simulate Status Conditions
Method Help:
- {
- char status[3];
- unsigned int simulFlag;
- DD_STRING promptStr;
- DD_STRING OptionStr;
- DD_STRING SelectedStr;
- DD_STRING LabelStr;
- DD_STRING strSearch;
- unsigned int bitVal;
- unsigned int byteVal;
- unsigned int SimulatedItem;
- unsigned int ItemValue[25];
- int result;
- int CheckMax;
- int Count;
- int bitPos;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- switch (SELECT_FROM_LIST(literal_string(661),literal_string(662)))
- {
- case 0:
- _add_abort_method(4904);
- status_simulate_mode = 1;
- send(526,status);
- if (status[0] != 0)
- {
- display_response_status(526,status[0]);
- }
Please login for more