Loading…
Loading…
Method Name: MthReadGdcObject
Method ID: 0x4727
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(2005),0,17446);
- _get_dev_var_value(literal_string(2006),0,17447);
- _get_dev_var_value(literal_string(2007),0,17520);
- itransaction = _ivar_value(17520);
- send_trans(180,itransaction,achCmdStatus);
- if (achCmdStatus[0] != 0)
- {
- display_response_status(180,achCmdStatus[0]);
- }
- else
- {
- ai32VariableIds[0] = 17446;
- ai32VariableIds[1] = 17447;
- switch (_ivar_value(17520))
Please login for more