示例#1
0
 public ResultStatus LoadESigDetails(
     ScaleStatusCodeMaint scaleStatusCodeMaint,
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     return(this.LoadESigDetails(scaleStatusCodeMaint, (ScaleStatusCodeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     ScaleStatusCodeMaint scaleStatusCodeMaint,
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     return(this.Freeze(scaleStatusCodeMaint, (ScaleStatusCodeMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     ScaleStatusCodeMaint scaleStatusCodeMaint,
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     return(this.GetWIPMsgs(scaleStatusCodeMaint, (ScaleStatusCodeMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     ScaleStatusCodeMaint cdo,
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     result = (ScaleStatusCodeMaint_Result)null;
     try
     {
         return(((IScaleStatusCodeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     result = (ScaleStatusCodeMaint_Result)null;
     try
     {
         ScaleStatusCodeMaintMethod[] methods = new ScaleStatusCodeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IScaleStatusCodeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            ScaleStatusCodeMaint cdo,
            ScaleStatusCodeMaint_Request request,
            out ScaleStatusCodeMaint_Result result)
        {
            result = (ScaleStatusCodeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleStatusCodeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ScaleStatusCodeMaintMethod(cdo, ScaleStatusCodeMaintMethods.ExecuteTransaction, (ScaleStatusCodeMaint_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);
        }
示例#7
0
        public ResultStatus Freeze(
            ScaleStatusCodeMaint scaleStatusCodeMaint,
            ScaleStatusCodeMaint_Parameters parameters,
            ScaleStatusCodeMaint_Request request,
            out ScaleStatusCodeMaint_Result result)
        {
            result = (ScaleStatusCodeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)scaleStatusCodeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleStatusCodeMaintService)this._Channel).Freeze(this._UserProfile, scaleStatusCodeMaint, parameters, request, out result) : this.AddMethod((Method) new ScaleStatusCodeMaintMethod(scaleStatusCodeMaint, ScaleStatusCodeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)scaleStatusCodeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     return(this.ExecuteTransaction((ScaleStatusCodeMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     ScaleStatusCodeMaint_Request request,
     out ScaleStatusCodeMaint_Result result)
 {
     return(this.GetEnvironment((ScaleStatusCodeMaint)null, request, out result));
 }