Пример #1
0
 public ResultStatus GetWIPMsgs(
     QualityObjectInquiry qualityObjectInquiry,
     QualityObjectInquiry_Request request,
     out QualityObjectInquiry_Result result)
 {
     return(this.GetWIPMsgs(qualityObjectInquiry, (QualityObjectInquiry_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetEnvironment(
     QualityObjectInquiry cdo,
     QualityObjectInquiry_Request request,
     out QualityObjectInquiry_Result result)
 {
     result = (QualityObjectInquiry_Result)null;
     try
     {
         return(((IQualityObjectInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #3
0
 public ResultStatus CommitTransaction(
     QualityObjectInquiry_Request request,
     out QualityObjectInquiry_Result result)
 {
     result = (QualityObjectInquiry_Result)null;
     try
     {
         QualityObjectInquiryMethod[] methods = new QualityObjectInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IQualityObjectInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
        public ResultStatus ExecuteTransaction(
            QualityObjectInquiry cdo,
            QualityObjectInquiry_Request request,
            out QualityObjectInquiry_Result result)
        {
            result = (QualityObjectInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQualityObjectInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new QualityObjectInquiryMethod(cdo, QualityObjectInquiryMethods.ExecuteTransaction, (QualityObjectInquiry_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);
        }
Пример #5
0
        public ResultStatus GetWIPMsgs(
            QualityObjectInquiry qualityObjectInquiry,
            QualityObjectInquiry_Parameters parameters,
            QualityObjectInquiry_Request request,
            out QualityObjectInquiry_Result result)
        {
            result = (QualityObjectInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)qualityObjectInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQualityObjectInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, qualityObjectInquiry, parameters, request, out result) : this.AddMethod((Method) new QualityObjectInquiryMethod(qualityObjectInquiry, QualityObjectInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)qualityObjectInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #6
0
 public ResultStatus ExecuteTransaction(
     QualityObjectInquiry_Request request,
     out QualityObjectInquiry_Result result)
 {
     return(this.ExecuteTransaction((QualityObjectInquiry)null, request, out result));
 }
Пример #7
0
 public ResultStatus GetEnvironment(
     QualityObjectInquiry_Request request,
     out QualityObjectInquiry_Result result)
 {
     return(this.GetEnvironment((QualityObjectInquiry)null, request, out result));
 }