Loading…
Loading…
Method Name: MthReadGdcObject
Method ID: 0x462F
Method Label: Read GDC Object
Method Help: Generic method for reading a GDC object
- {
- int itransaction;
- char achCmdStatus[3];
- long ai32VariableIds[4];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _get_dev_var_value(literal_string(1872),0,17131);
- _get_dev_var_value(literal_string(1873),0,17132);
- _get_dev_var_value(literal_string(1874),0,17968);
- itransaction = _ivar_value(17968);
- send_trans(180,itransaction,achCmdStatus);
- if (achCmdStatus[0] != 0)
- {
- display_response_status(180,achCmdStatus[0]);
- }
- else
- {
- ai32VariableIds[0] = 17131;
- ai32VariableIds[1] = 17132;
- switch (_ivar_value(17968))
Please login for more