Пример #1
0
 public ResultStatus LoadESigDetails(
     ScaleStatusReasonMaint scaleStatusReasonMaint,
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     return(this.LoadESigDetails(scaleStatusReasonMaint, (ScaleStatusReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     ScaleStatusReasonMaint scaleStatusReasonMaint,
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     return(this.Freeze(scaleStatusReasonMaint, (ScaleStatusReasonMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     ScaleStatusReasonMaint scaleStatusReasonMaint,
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(scaleStatusReasonMaint, (ScaleStatusReasonMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     ScaleStatusReasonMaint cdo,
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     result = (ScaleStatusReasonMaint_Result)null;
     try
     {
         return(((IScaleStatusReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     result = (ScaleStatusReasonMaint_Result)null;
     try
     {
         ScaleStatusReasonMaintMethod[] methods = new ScaleStatusReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IScaleStatusReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            ScaleStatusReasonMaint cdo,
            ScaleStatusReasonMaint_Request request,
            out ScaleStatusReasonMaint_Result result)
        {
            result = (ScaleStatusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleStatusReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ScaleStatusReasonMaintMethod(cdo, ScaleStatusReasonMaintMethods.ExecuteTransaction, (ScaleStatusReasonMaint_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(
            ScaleStatusReasonMaint scaleStatusReasonMaint,
            ScaleStatusReasonMaint_Parameters parameters,
            ScaleStatusReasonMaint_Request request,
            out ScaleStatusReasonMaint_Result result)
        {
            result = (ScaleStatusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)scaleStatusReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleStatusReasonMaintService)this._Channel).Freeze(this._UserProfile, scaleStatusReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ScaleStatusReasonMaintMethod(scaleStatusReasonMaint, ScaleStatusReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)scaleStatusReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ScaleStatusReasonMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     ScaleStatusReasonMaint_Request request,
     out ScaleStatusReasonMaint_Result result)
 {
     return(this.GetEnvironment((ScaleStatusReasonMaint)null, request, out result));
 }