예제 #1
0
 public ResultStatus GetActions(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.GetActions(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus CreateParametricData(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.CreateParametricData(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus ProcessComputation(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.ProcessComputation(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus LoadESigDetails(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.LoadESigDetails(resourceThruput, (ResourceThruput_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #5
0
 public ResourceThruputMethod(
     ResourceThruput Cdo,
     ResourceThruputMethods Method,
     ResourceThruput_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #6
0
        public void T20_ResourceThruput_WD01()
        {
            ResourceThruput s = new ResourceThruput();

            s.Resource_Name = "WD-01";

            s.Qty = 10;
            Assert.IsTrue(s.ExecuteService(), s.CompletionMessage);
        }
예제 #7
0
 public ResultStatus GetEnvironment(
     ResourceThruput cdo,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     result = (ResourceThruput_Result)null;
     try
     {
         return(((IResourceThruputService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #8
0
        public ResultStatus AddDataTransaction(ResourceThruput cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ResourceThruputMethod(cdo, ResourceThruputMethods.AddDataTransaction, (ResourceThruput_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);
        }
예제 #9
0
        public ResultStatus ExecuteTransaction(
            ResourceThruput cdo,
            ResourceThruput_Request request,
            out ResourceThruput_Result result)
        {
            result = (ResourceThruput_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceThruputService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceThruputMethod(cdo, ResourceThruputMethods.ExecuteTransaction, (ResourceThruput_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(
            ResourceThruput resourceThruput,
            ResourceThruput_Parameters parameters,
            ResourceThruput_Request request,
            out ResourceThruput_Result result)
        {
            result = (ResourceThruput_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)resourceThruput, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceThruputService)this._Channel).GetActions(this._UserProfile, resourceThruput, parameters, request, out result) : this.AddMethod((Method) new ResourceThruputMethod(resourceThruput, ResourceThruputMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)resourceThruput, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #11
0
 public ResultStatus ExecuteTransaction(ResourceThruput cdo)
 {
     return(this.ExecuteTransaction(cdo, (ResourceThruput_Request)null, out ResourceThruput_Result _));
 }
예제 #12
0
 public ResultStatus ResolveParametricData(ResourceThruput resourceThruput)
 {
     return(this.ResolveParametricData(resourceThruput, (ResourceThruput_Parameters)null, (ResourceThruput_Request)null, out ResourceThruput_Result _));
 }
예제 #13
0
 public ResultStatus Load(ResourceThruput resourceThruput)
 {
     return(this.Load(resourceThruput, (ResourceThruput_Parameters)null, (ResourceThruput_Request)null, out ResourceThruput_Result _));
 }
예제 #14
0
 public ResultStatus GetWIPMsgs(ResourceThruput resourceThruput)
 {
     return(this.GetWIPMsgs(resourceThruput, (ResourceThruput_Parameters)null, (ResourceThruput_Request)null, out ResourceThruput_Result _));
 }