示例#1
0
 public ResultStatus LoadESigDetails(
     FailureActionTypeMaint failureActionTypeMaint,
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     return(this.LoadESigDetails(failureActionTypeMaint, (FailureActionTypeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     FailureActionTypeMaint failureActionTypeMaint,
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     return(this.Freeze(failureActionTypeMaint, (FailureActionTypeMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     FailureActionTypeMaint failureActionTypeMaint,
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     return(this.GetWIPMsgs(failureActionTypeMaint, (FailureActionTypeMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     FailureActionTypeMaint cdo,
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     result = (FailureActionTypeMaint_Result)null;
     try
     {
         return(((IFailureActionTypeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     result = (FailureActionTypeMaint_Result)null;
     try
     {
         FailureActionTypeMaintMethod[] methods = new FailureActionTypeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IFailureActionTypeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            FailureActionTypeMaint cdo,
            FailureActionTypeMaint_Request request,
            out FailureActionTypeMaint_Result result)
        {
            result = (FailureActionTypeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureActionTypeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new FailureActionTypeMaintMethod(cdo, FailureActionTypeMaintMethods.ExecuteTransaction, (FailureActionTypeMaint_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(
            FailureActionTypeMaint failureActionTypeMaint,
            FailureActionTypeMaint_Parameters parameters,
            FailureActionTypeMaint_Request request,
            out FailureActionTypeMaint_Result result)
        {
            result = (FailureActionTypeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)failureActionTypeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFailureActionTypeMaintService)this._Channel).Freeze(this._UserProfile, failureActionTypeMaint, parameters, request, out result) : this.AddMethod((Method) new FailureActionTypeMaintMethod(failureActionTypeMaint, FailureActionTypeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)failureActionTypeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     return(this.ExecuteTransaction((FailureActionTypeMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     FailureActionTypeMaint_Request request,
     out FailureActionTypeMaint_Result result)
 {
     return(this.GetEnvironment((FailureActionTypeMaint)null, request, out result));
 }