Beispiel #1
0
 public ResultStatus LoadESigDetails(
     SPCChartDefMaint sPCChartDefMaint,
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     return(this.LoadESigDetails(sPCChartDefMaint, (SPCChartDefMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     SPCChartDefMaint sPCChartDefMaint,
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     return(this.Freeze(sPCChartDefMaint, (SPCChartDefMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     SPCChartDefMaint sPCChartDefMaint,
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     return(this.GetWIPMsgs(sPCChartDefMaint, (SPCChartDefMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     SPCChartDefMaint cdo,
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     result = (SPCChartDefMaint_Result)null;
     try
     {
         return(((ISPCChartDefMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     result = (SPCChartDefMaint_Result)null;
     try
     {
         SPCChartDefMaintMethod[] methods = new SPCChartDefMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISPCChartDefMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            SPCChartDefMaint cdo,
            SPCChartDefMaint_Request request,
            out SPCChartDefMaint_Result result)
        {
            result = (SPCChartDefMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISPCChartDefMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SPCChartDefMaintMethod(cdo, SPCChartDefMaintMethods.ExecuteTransaction, (SPCChartDefMaint_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);
        }
Beispiel #7
0
        public ResultStatus Freeze(
            SPCChartDefMaint sPCChartDefMaint,
            SPCChartDefMaint_Parameters parameters,
            SPCChartDefMaint_Request request,
            out SPCChartDefMaint_Result result)
        {
            result = (SPCChartDefMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)sPCChartDefMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISPCChartDefMaintService)this._Channel).Freeze(this._UserProfile, sPCChartDefMaint, parameters, request, out result) : this.AddMethod((Method) new SPCChartDefMaintMethod(sPCChartDefMaint, SPCChartDefMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)sPCChartDefMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     return(this.ExecuteTransaction((SPCChartDefMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     SPCChartDefMaint_Request request,
     out SPCChartDefMaint_Result result)
 {
     return(this.GetEnvironment((SPCChartDefMaint)null, request, out result));
 }