示例#1
0
 public ResultStatus DeleteAllRevisions(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.DeleteAllRevisions(productionProcessMaint, (ProductionProcessMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus SaveAsRev(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.SaveAsRev(productionProcessMaint, (ProductionProcessMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus UnFreeze(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.UnFreeze(productionProcessMaint, (ProductionProcessMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus NewRevCopy(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.NewRevCopy(productionProcessMaint, (ProductionProcessMaint_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus LoadESigDetails(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.LoadESigDetails(productionProcessMaint, (ProductionProcessMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#6
0
 public ResultStatus GetWIPMsgs(
     ProductionProcessMaint productionProcessMaint,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     return(this.GetWIPMsgs(productionProcessMaint, (ProductionProcessMaint_Parameters)null, request, out result));
 }
示例#7
0
 public ProductionProcessMaintMethod(
     ProductionProcessMaint Cdo,
     ProductionProcessMaintMethods Method,
     ProductionProcessMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#8
0
 public ResultStatus GetEnvironment(
     ProductionProcessMaint cdo,
     ProductionProcessMaint_Request request,
     out ProductionProcessMaint_Result result)
 {
     result = (ProductionProcessMaint_Result)null;
     try
     {
         return(((IProductionProcessMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#9
0
        public ResultStatus AddDataTransaction(ProductionProcessMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ProductionProcessMaintMethod(cdo, ProductionProcessMaintMethods.AddDataTransaction, (ProductionProcessMaint_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);
        }
示例#10
0
        public ResultStatus ExecuteTransaction(
            ProductionProcessMaint cdo,
            ProductionProcessMaint_Request request,
            out ProductionProcessMaint_Result result)
        {
            result = (ProductionProcessMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IProductionProcessMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ProductionProcessMaintMethod(cdo, ProductionProcessMaintMethods.ExecuteTransaction, (ProductionProcessMaint_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 DeleteAllRevisions(
            ProductionProcessMaint productionProcessMaint,
            ProductionProcessMaint_Parameters parameters,
            ProductionProcessMaint_Request request,
            out ProductionProcessMaint_Result result)
        {
            result = (ProductionProcessMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)productionProcessMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IProductionProcessMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, productionProcessMaint, parameters, request, out result) : this.AddMethod((Method) new ProductionProcessMaintMethod(productionProcessMaint, ProductionProcessMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)productionProcessMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#12
0
 public ResultStatus ExecuteTransaction(ProductionProcessMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (ProductionProcessMaint_Request)null, out ProductionProcessMaint_Result _));
 }
示例#13
0
 public ResultStatus Delete(ProductionProcessMaint productionProcessMaint)
 {
     return(this.Delete(productionProcessMaint, (ProductionProcessMaint_Parameters)null, (ProductionProcessMaint_Request)null, out ProductionProcessMaint_Result _));
 }