Ejemplo n.º 1
0
 public ResultStatus Freeze(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.Freeze(failureModeMaint, (FailureModeMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus LoadESigDetails(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.LoadESigDetails(failureModeMaint, (FailureModeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Ejemplo n.º 3
0
 public ResultStatus GetWIPMsgs(
     FailureModeMaint failureModeMaint,
     FailureModeMaint_Request request,
     out FailureModeMaint_Result result)
 {
     return(this.GetWIPMsgs(failureModeMaint, (FailureModeMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 4
0
 public FailureModeMaintMethod(
     FailureModeMaint Cdo,
     FailureModeMaintMethods Method,
     FailureModeMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 5
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));
     }
 }
Ejemplo n.º 6
0
        public ResultStatus AddDataTransaction(FailureModeMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new FailureModeMaintMethod(cdo, FailureModeMaintMethods.AddDataTransaction, (FailureModeMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Ejemplo n.º 7
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);
        }
Ejemplo n.º 8
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);
        }
Ejemplo n.º 9
0
 public ResultStatus ExecuteTransaction(FailureModeMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (FailureModeMaint_Request)null, out FailureModeMaint_Result _));
 }
Ejemplo n.º 10
0
 public ResultStatus Delete(FailureModeMaint failureModeMaint)
 {
     return(this.Delete(failureModeMaint, (FailureModeMaint_Parameters)null, (FailureModeMaint_Request)null, out FailureModeMaint_Result _));
 }