示例#1
0
 public ResultStatus Freeze(
     HistoryViewMaint historyViewMaint,
     HistoryViewMaint_Request request,
     out HistoryViewMaint_Result result)
 {
     return(this.Freeze(historyViewMaint, (HistoryViewMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     HistoryViewMaint historyViewMaint,
     HistoryViewMaint_Request request,
     out HistoryViewMaint_Result result)
 {
     return(this.LoadESigDetails(historyViewMaint, (HistoryViewMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     HistoryViewMaint historyViewMaint,
     HistoryViewMaint_Request request,
     out HistoryViewMaint_Result result)
 {
     return(this.GetWIPMsgs(historyViewMaint, (HistoryViewMaint_Parameters)null, request, out result));
 }
示例#4
0
 public HistoryViewMaintMethod(
     HistoryViewMaint Cdo,
     HistoryViewMaintMethods Method,
     HistoryViewMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#5
0
 public ResultStatus GetEnvironment(
     HistoryViewMaint cdo,
     HistoryViewMaint_Request request,
     out HistoryViewMaint_Result result)
 {
     result = (HistoryViewMaint_Result)null;
     try
     {
         return(((IHistoryViewMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus AddDataTransaction(HistoryViewMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new HistoryViewMaintMethod(cdo, HistoryViewMaintMethods.AddDataTransaction, (HistoryViewMaint_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);
        }
示例#7
0
        public ResultStatus ExecuteTransaction(
            HistoryViewMaint cdo,
            HistoryViewMaint_Request request,
            out HistoryViewMaint_Result result)
        {
            result = (HistoryViewMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHistoryViewMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new HistoryViewMaintMethod(cdo, HistoryViewMaintMethods.ExecuteTransaction, (HistoryViewMaint_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);
        }
示例#8
0
        public ResultStatus Freeze(
            HistoryViewMaint historyViewMaint,
            HistoryViewMaint_Parameters parameters,
            HistoryViewMaint_Request request,
            out HistoryViewMaint_Result result)
        {
            result = (HistoryViewMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)historyViewMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHistoryViewMaintService)this._Channel).Freeze(this._UserProfile, historyViewMaint, parameters, request, out result) : this.AddMethod((Method) new HistoryViewMaintMethod(historyViewMaint, HistoryViewMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)historyViewMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(HistoryViewMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (HistoryViewMaint_Request)null, out HistoryViewMaint_Result _));
 }
示例#10
0
 public ResultStatus Delete(HistoryViewMaint historyViewMaint)
 {
     return(this.Delete(historyViewMaint, (HistoryViewMaint_Parameters)null, (HistoryViewMaint_Request)null, out HistoryViewMaint_Result _));
 }
示例#11
0
 public ResultStatus NewCopy(HistoryViewMaint historyViewMaint)
 {
     return(this.NewCopy(historyViewMaint, (HistoryViewMaint_Parameters)null, (HistoryViewMaint_Request)null, out HistoryViewMaint_Result _));
 }