Пример #1
0
 public ResultStatus LoadESigDetails(
     FailureModeGroupMaint failureModeGroupMaint,
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     return(this.LoadESigDetails(failureModeGroupMaint, (FailureModeGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     FailureModeGroupMaint failureModeGroupMaint,
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     return(this.Freeze(failureModeGroupMaint, (FailureModeGroupMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     FailureModeGroupMaint failureModeGroupMaint,
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     return(this.GetWIPMsgs(failureModeGroupMaint, (FailureModeGroupMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     FailureModeGroupMaint cdo,
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     result = (FailureModeGroupMaint_Result)null;
     try
     {
         return(((IFailureModeGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     result = (FailureModeGroupMaint_Result)null;
     try
     {
         FailureModeGroupMaintMethod[] methods = new FailureModeGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IFailureModeGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            FailureModeGroupMaint cdo,
            FailureModeGroupMaint_Request request,
            out FailureModeGroupMaint_Result result)
        {
            result = (FailureModeGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureModeGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new FailureModeGroupMaintMethod(cdo, FailureModeGroupMaintMethods.ExecuteTransaction, (FailureModeGroupMaint_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(
            FailureModeGroupMaint failureModeGroupMaint,
            FailureModeGroupMaint_Parameters parameters,
            FailureModeGroupMaint_Request request,
            out FailureModeGroupMaint_Result result)
        {
            result = (FailureModeGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)failureModeGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureModeGroupMaintService)this._Channel).Freeze(this._UserProfile, failureModeGroupMaint, parameters, request, out result) : this.AddMethod((Method) new FailureModeGroupMaintMethod(failureModeGroupMaint, FailureModeGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)failureModeGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((FailureModeGroupMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     FailureModeGroupMaint_Request request,
     out FailureModeGroupMaint_Result result)
 {
     return(this.GetEnvironment((FailureModeGroupMaint)null, request, out result));
 }