예제 #1
0
 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);
     }
 }
예제 #2
0
        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();
            }
        }
예제 #3
0
 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);
     }
 }
예제 #4
0
        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();
            }
        }