Beispiel #1
0
 public ResultStatus LoadESigDetails(
     ScaleFamilyMaint scaleFamilyMaint,
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     return(this.LoadESigDetails(scaleFamilyMaint, (ScaleFamilyMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     ScaleFamilyMaint scaleFamilyMaint,
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     return(this.Freeze(scaleFamilyMaint, (ScaleFamilyMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     ScaleFamilyMaint scaleFamilyMaint,
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     return(this.GetWIPMsgs(scaleFamilyMaint, (ScaleFamilyMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     ScaleFamilyMaint cdo,
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     result = (ScaleFamilyMaint_Result)null;
     try
     {
         return(((IScaleFamilyMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     result = (ScaleFamilyMaint_Result)null;
     try
     {
         ScaleFamilyMaintMethod[] methods = new ScaleFamilyMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IScaleFamilyMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            ScaleFamilyMaint cdo,
            ScaleFamilyMaint_Request request,
            out ScaleFamilyMaint_Result result)
        {
            result = (ScaleFamilyMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleFamilyMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ScaleFamilyMaintMethod(cdo, ScaleFamilyMaintMethods.ExecuteTransaction, (ScaleFamilyMaint_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(
            ScaleFamilyMaint scaleFamilyMaint,
            ScaleFamilyMaint_Parameters parameters,
            ScaleFamilyMaint_Request request,
            out ScaleFamilyMaint_Result result)
        {
            result = (ScaleFamilyMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)scaleFamilyMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScaleFamilyMaintService)this._Channel).Freeze(this._UserProfile, scaleFamilyMaint, parameters, request, out result) : this.AddMethod((Method) new ScaleFamilyMaintMethod(scaleFamilyMaint, ScaleFamilyMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)scaleFamilyMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     return(this.ExecuteTransaction((ScaleFamilyMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     ScaleFamilyMaint_Request request,
     out ScaleFamilyMaint_Result result)
 {
     return(this.GetEnvironment((ScaleFamilyMaint)null, request, out result));
 }