Beispiel #1
0
 public ResultStatus LoadESigDetails(
     WorkCenterMaint workCenterMaint,
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     return(this.LoadESigDetails(workCenterMaint, (WorkCenterMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     WorkCenterMaint workCenterMaint,
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     return(this.Freeze(workCenterMaint, (WorkCenterMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     WorkCenterMaint workCenterMaint,
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     return(this.GetWIPMsgs(workCenterMaint, (WorkCenterMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     WorkCenterMaint cdo,
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     result = (WorkCenterMaint_Result)null;
     try
     {
         return(((IWorkCenterMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     result = (WorkCenterMaint_Result)null;
     try
     {
         WorkCenterMaintMethod[] methods = new WorkCenterMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IWorkCenterMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            WorkCenterMaint cdo,
            WorkCenterMaint_Request request,
            out WorkCenterMaint_Result result)
        {
            result = (WorkCenterMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWorkCenterMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new WorkCenterMaintMethod(cdo, WorkCenterMaintMethods.ExecuteTransaction, (WorkCenterMaint_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(
            WorkCenterMaint workCenterMaint,
            WorkCenterMaint_Parameters parameters,
            WorkCenterMaint_Request request,
            out WorkCenterMaint_Result result)
        {
            result = (WorkCenterMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)workCenterMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWorkCenterMaintService)this._Channel).Freeze(this._UserProfile, workCenterMaint, parameters, request, out result) : this.AddMethod((Method) new WorkCenterMaintMethod(workCenterMaint, WorkCenterMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)workCenterMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     return(this.ExecuteTransaction((WorkCenterMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     WorkCenterMaint_Request request,
     out WorkCenterMaint_Result result)
 {
     return(this.GetEnvironment((WorkCenterMaint)null, request, out result));
 }