Пример #1
0
        public ResultStatus GetDataPoints(
            OpenCPStatuses openCPStatuses,
            OpenCPStatuses_Parameters parameters,
            OpenCPStatuses_Request request,
            out OpenCPStatuses_Result result)
        {
            result = (OpenCPStatuses_Result)null;
            this.OnBeforeCall(nameof(GetDataPoints), (DCObject)openCPStatuses, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOpenCPStatusesService)this._Channel).GetDataPoints(this._UserProfile, openCPStatuses, parameters, request, out result) : this.AddMethod((Method) new OpenCPStatusesMethod(openCPStatuses, OpenCPStatusesMethods.GetDataPoints, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetDataPoints), res, (DCObject)openCPStatuses, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #2
0
 public ResultStatus ExecuteTransaction(
     OpenCPStatuses_Request request,
     out OpenCPStatuses_Result result)
 {
     return(this.ExecuteTransaction((OpenCPStatuses)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetEnvironment(
     OpenCPStatuses_Request request,
     out OpenCPStatuses_Result result)
 {
     return(this.GetEnvironment((OpenCPStatuses)null, request, out result));
 }