Пример #1
0
 public Error_Message(Error_Type error_type1, string Str_Current_Funtion, string Str_Current_Message, string Str_Current_solution)
 {
     error_type   = error_type1;
     Str_Function = Str_Current_Funtion;
     Str_Message  = Str_Current_Message;
     Str_solution = Str_Current_solution;
 }
Пример #2
0
        public Error_Message(Error_Type error_type1, string Str_Current_Equpment_name, string Str_Current_Funtion, string Str_Current_Message, string Str_Current_solution)
        {
            Str_Equpment_name = Str_Current_Equpment_name;
            Str_Function      = Str_Current_Funtion;

            Str_Message  = Str_Current_Message;
            Str_solution = Str_Current_solution;
        }
Пример #3
0
 public Error_Message(Error_Type error_type1, string Str_Current_Equpment_name, string Str_Current_Funtion, int iCurrent_Addr, EQUIP_IO_Type IO_Type1, string Str_Set_Value1, string Str_Current_Message, string Str_Current_solution)
 {
     Str_Equpment_name = Str_Current_Equpment_name;
     Str_Function      = Str_Current_Funtion;
     iAddr             = iCurrent_Addr;
     IO_Type           = IO_Type1;
     Str_Set_Value     = Str_Set_Value1;
     Str_Message       = Str_Current_Message;
     Str_solution      = Str_Current_solution;
 }
 public void ReportError(ErrorType error)
 {
     Error_Type type = new Error_Type
     {
         UserID        = error.UserID,
         Err_Message   = error.Err_Message,
         Err_Subject   = error.Err_Subject,
         ErrorID       = error.ErrorID,
         LiteralDesc   = error.LiteralDesc,
         Page          = error.Page,
         Process       = error.Process,
         SQL           = error.SQL,
         Time_Of_Error = error.Time_Of_Error
     };
 }
Пример #5
0
 public Error_Message(Error_Type error_type1, string STR_Message)
 {
     error_type  = error_type1;
     Str_Message = STR_Message;
 }