Пример #1
0
 public override bool Equals(object obj)
 {
     if (obj == null)
     {
         return(false);
     }
     else
     {
         if (GetType() != obj.GetType())
         {
             return(false);
         }
         else
         {
             Ca.Infoway.Messagebuilder.Error.Hl7Error that = (Ca.Infoway.Messagebuilder.Error.Hl7Error)obj;
             return(new EqualsBuilder().Append(this.hl7ErrorCode, that.hl7ErrorCode).Append(this.hl7ErrorLevel, that.hl7ErrorLevel).Append
                        (this.message, that.message).Append(this.path, that.path).IsEquals());
         }
     }
 }
Пример #2
0
 public TransformError(Hl7Error error)
 {
     this.error     = error;
     this.errorCode = Ca.Infoway.Messagebuilder.Error.TransformError.TransformCode(error.GetHl7ErrorCode());
 }