예제 #1
0
 public ResultStatus GetWIPMsgs(
     ComponentReplaceInquiry componentReplaceInquiry,
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     return(this.GetWIPMsgs(componentReplaceInquiry, (ComponentReplaceInquiry_Parameters)null, request, out result));
 }
예제 #2
0
 public ComponentReplaceInquiryMethod(
     ComponentReplaceInquiry Cdo,
     ComponentReplaceInquiryMethods Method,
     ComponentReplaceInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #3
0
 public ResultStatus GetEnvironment(
     ComponentReplaceInquiry cdo,
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     result = (ComponentReplaceInquiry_Result)null;
     try
     {
         return(((IComponentReplaceInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
        public ResultStatus AddDataTransaction(ComponentReplaceInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ComponentReplaceInquiryMethod(cdo, ComponentReplaceInquiryMethods.AddDataTransaction, (ComponentReplaceInquiry_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);
        }
예제 #5
0
        public ResultStatus ExecuteTransaction(
            ComponentReplaceInquiry cdo,
            ComponentReplaceInquiry_Request request,
            out ComponentReplaceInquiry_Result result)
        {
            result = (ComponentReplaceInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentReplaceInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComponentReplaceInquiryMethod(cdo, ComponentReplaceInquiryMethods.ExecuteTransaction, (ComponentReplaceInquiry_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);
        }
예제 #6
0
        public ResultStatus GetWIPMsgs(
            ComponentReplaceInquiry componentReplaceInquiry,
            ComponentReplaceInquiry_Parameters parameters,
            ComponentReplaceInquiry_Request request,
            out ComponentReplaceInquiry_Result result)
        {
            result = (ComponentReplaceInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)componentReplaceInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentReplaceInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, componentReplaceInquiry, parameters, request, out result) : this.AddMethod((Method) new ComponentReplaceInquiryMethod(componentReplaceInquiry, ComponentReplaceInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)componentReplaceInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #7
0
 public ResultStatus GetAllIssueDetails(
     ComponentReplaceInquiry componentReplaceInquiry)
 {
     return(this.GetAllIssueDetails(componentReplaceInquiry, (ComponentReplaceInquiry_Parameters)null, (ComponentReplaceInquiry_Request)null, out ComponentReplaceInquiry_Result _));
 }
예제 #8
0
 public ResultStatus ExecuteTransaction(ComponentReplaceInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (ComponentReplaceInquiry_Request)null, out ComponentReplaceInquiry_Result _));
 }