Beispiel #1
0
 public ResultStatus LoadESigDetails(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.LoadESigDetails(failureModeMaint, (FailureModeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.Freeze(failureModeMaint, (FailureModeMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.GetWIPMsgs(failureModeMaint, (FailureModeMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     FailureModeMaint cdo,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     result = (FailureModeMaint_Result)null;
     try
     {
         return(((IFailureModeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     result = (FailureModeMaint_Result)null;
     try
     {
         FailureModeMaintMethod[] methods = new FailureModeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IFailureModeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            FailureModeMaint cdo,
            FailureModeMaint_Request request,
            out FailureModeMaint_Result result)
        {
            result = (FailureModeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureModeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new FailureModeMaintMethod(cdo, FailureModeMaintMethods.ExecuteTransaction, (FailureModeMaint_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(
            FailureModeMaint failureModeMaint,
            FailureModeMaint_Parameters parameters,
            FailureModeMaint_Request request,
            out FailureModeMaint_Result result)
        {
            result = (FailureModeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)failureModeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureModeMaintService)this._Channel).Freeze(this._UserProfile, failureModeMaint, parameters, request, out result) : this.AddMethod((Method) new FailureModeMaintMethod(failureModeMaint, FailureModeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)failureModeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.ExecuteTransaction((FailureModeMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.GetEnvironment((FailureModeMaint)null, request, out result));
 }