Пример #1
0
 public ResultStatus AddHistoryCrossRefs(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.AddHistoryCrossRefs(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus CreateParametricData(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.CreateParametricData(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus ProcessComputation(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.ProcessComputation(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus LoadESigDetails(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.LoadESigDetails(nCRCreate, (NCRCreate_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus GetWIPMsgs(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.GetWIPMsgs(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetNonconformanceName(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.GetNonconformanceName(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #7
0
 public ResultStatus GetIssueActualsHistory(
     NCRCreate nCRCreate,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.GetIssueActualsHistory(nCRCreate, (NCRCreate_Parameters)null, request, out result));
 }
Пример #8
0
 public ResultStatus GetEnvironment(
     NCRCreate cdo,
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     result = (NCRCreate_Result)null;
     try
     {
         return(((INCRCreateService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #9
0
 public ResultStatus CommitTransaction(
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     result = (NCRCreate_Result)null;
     try
     {
         NCRCreateMethod[] methods = new NCRCreateMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((INCRCreateService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #10
0
        public ResultStatus ExecuteTransaction(
            NCRCreate cdo,
            NCRCreate_Request request,
            out NCRCreate_Result result)
        {
            result = (NCRCreate_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INCRCreateService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new NCRCreateMethod(cdo, NCRCreateMethods.ExecuteTransaction, (NCRCreate_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);
        }
Пример #11
0
        public ResultStatus CreateParametricData(
            NCRCreate nCRCreate,
            NCRCreate_Parameters parameters,
            NCRCreate_Request request,
            out NCRCreate_Result result)
        {
            result = (NCRCreate_Result)null;
            this.OnBeforeCall(nameof(CreateParametricData), (DCObject)nCRCreate, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INCRCreateService)this._Channel).CreateParametricData(this._UserProfile, nCRCreate, parameters, request, out result) : this.AddMethod((Method) new NCRCreateMethod(nCRCreate, NCRCreateMethods.CreateParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CreateParametricData), res, (DCObject)nCRCreate, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #12
0
 public ResultStatus ExecuteTransaction(
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.ExecuteTransaction((NCRCreate)null, request, out result));
 }
Пример #13
0
 public ResultStatus GetEnvironment(
     NCRCreate_Request request,
     out NCRCreate_Result result)
 {
     return(this.GetEnvironment((NCRCreate)null, request, out result));
 }