Пример #1
0
 public ResultStatus GetActions(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.GetActions(batchDispense, (BatchDispense_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus CreateParametricData(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.CreateParametricData(batchDispense, (BatchDispense_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus ValidateUOM(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.ValidateUOM(batchDispense, (BatchDispense_ValidateUOM_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus ProcessComputation(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.ProcessComputation(batchDispense, (BatchDispense_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus LoadESigDetails(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.LoadESigDetails(batchDispense, (BatchDispense_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetMaterialSelectionValues(
     BatchDispense batchDispense,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.GetMaterialSelectionValues(batchDispense, (BatchDispense_GetMaterialSelectionValues_Parameters)null, request, out result));
 }
Пример #7
0
 public ResultStatus GetEnvironment(
     BatchDispense cdo,
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     result = (BatchDispense_Result)null;
     try
     {
         return(((IBatchDispenseService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #8
0
 public ResultStatus CommitTransaction(
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     result = (BatchDispense_Result)null;
     try
     {
         BatchDispenseMethod[] methods = new BatchDispenseMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBatchDispenseService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #9
0
        public ResultStatus ExecuteTransaction(
            BatchDispense cdo,
            BatchDispense_Request request,
            out BatchDispense_Result result)
        {
            result = (BatchDispense_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBatchDispenseService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BatchDispenseMethod(cdo, BatchDispenseMethods.ExecuteTransaction, (BatchDispense_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);
        }
Пример #10
0
        public ResultStatus GetActions(
            BatchDispense batchDispense,
            BatchDispense_Parameters parameters,
            BatchDispense_Request request,
            out BatchDispense_Result result)
        {
            result = (BatchDispense_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)batchDispense, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBatchDispenseService)this._Channel).GetActions(this._UserProfile, batchDispense, parameters, request, out result) : this.AddMethod((Method) new BatchDispenseMethod(batchDispense, BatchDispenseMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)batchDispense, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #11
0
 public ResultStatus ExecuteTransaction(
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.ExecuteTransaction((BatchDispense)null, request, out result));
 }
Пример #12
0
 public ResultStatus GetEnvironment(
     BatchDispense_Request request,
     out BatchDispense_Result result)
 {
     return(this.GetEnvironment((BatchDispense)null, request, out result));
 }