void Function_CallError_Received(string Message) { if (ERROR_RESPONSE_RECEIVED != null) { TempDataResponse = new ERROR_DATA_RESPONSE(); TempDataResponse.ParamName1 = "Error"; TempDataResponse.ParamValue1 = Message; ERROR_RESPONSE_RECEIVED(TempDataResponse); } }
void decoder_Timeout_Received() { if (TEMP_RESPONSE_ARRAY != null) { TempDataResponse = new Library.ERROR_DATA_RESPONSE(); TempDataResponse.ParamName1 = "Error"; TempDataResponse.ParamValue1 = "Timeout"; TEMP_RESPONSE_ARRAY(Encoding.ASCII.GetBytes("Timeout Error")); } if (TIMEOUT_RESPONSE_RECEIVED != null) { TIMEOUT_RESPONSE_RECEIVED(); } }