Exemple #1
0
 public ResultStatus GetWIPMsgs(
     QualityObjectHistoryInquiry qualityObjectHistoryInquiry,
     QualityObjectHistoryInquiry_Request request,
     out QualityObjectHistoryInquiry_Result result)
 {
     return(this.GetWIPMsgs(qualityObjectHistoryInquiry, (QualityObjectHistoryInquiry_Parameters)null, request, out result));
 }
Exemple #2
0
 public QualityObjectHistoryInquiryMethod(
     QualityObjectHistoryInquiry Cdo,
     QualityObjectHistoryInquiryMethods Method,
     QualityObjectHistoryInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Exemple #3
0
 public ResultStatus GetEnvironment(
     QualityObjectHistoryInquiry cdo,
     QualityObjectHistoryInquiry_Request request,
     out QualityObjectHistoryInquiry_Result result)
 {
     result = (QualityObjectHistoryInquiry_Result)null;
     try
     {
         return(((IQualityObjectHistoryInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus AddDataTransaction(QualityObjectHistoryInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new QualityObjectHistoryInquiryMethod(cdo, QualityObjectHistoryInquiryMethods.AddDataTransaction, (QualityObjectHistoryInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Exemple #5
0
        public ResultStatus ExecuteTransaction(
            QualityObjectHistoryInquiry cdo,
            QualityObjectHistoryInquiry_Request request,
            out QualityObjectHistoryInquiry_Result result)
        {
            result = (QualityObjectHistoryInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQualityObjectHistoryInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new QualityObjectHistoryInquiryMethod(cdo, QualityObjectHistoryInquiryMethods.ExecuteTransaction, (QualityObjectHistoryInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
        public ResultStatus GetWIPMsgs(
            QualityObjectHistoryInquiry qualityObjectHistoryInquiry,
            QualityObjectHistoryInquiry_Parameters parameters,
            QualityObjectHistoryInquiry_Request request,
            out QualityObjectHistoryInquiry_Result result)
        {
            result = (QualityObjectHistoryInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)qualityObjectHistoryInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQualityObjectHistoryInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, qualityObjectHistoryInquiry, parameters, request, out result) : this.AddMethod((Method) new QualityObjectHistoryInquiryMethod(qualityObjectHistoryInquiry, QualityObjectHistoryInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)qualityObjectHistoryInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #7
0
 public ResultStatus ExecuteTransaction(QualityObjectHistoryInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (QualityObjectHistoryInquiry_Request)null, out QualityObjectHistoryInquiry_Result _));
 }