コード例 #1
0
 public ResultStatus GetWIPMsgs(
     GetMfgData getMfgData,
     GetMfgData_Request request,
     out GetMfgData_Result result)
 {
     return(this.GetWIPMsgs(getMfgData, (GetMfgData_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus GetEnvironment(
     GetMfgData cdo,
     GetMfgData_Request request,
     out GetMfgData_Result result)
 {
     result = (GetMfgData_Result)null;
     try
     {
         return(((IGetMfgDataService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #3
0
 public ResultStatus CommitTransaction(
     GetMfgData_Request request,
     out GetMfgData_Result result)
 {
     result = (GetMfgData_Result)null;
     try
     {
         GetMfgDataMethod[] methods = new GetMfgDataMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGetMfgDataService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
        public ResultStatus ExecuteTransaction(
            GetMfgData cdo,
            GetMfgData_Request request,
            out GetMfgData_Result result)
        {
            result = (GetMfgData_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetMfgDataService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GetMfgDataMethod(cdo, GetMfgDataMethods.ExecuteTransaction, (GetMfgData_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);
        }
コード例 #5
0
        public ResultStatus GetWIPMsgs(
            GetMfgData getMfgData,
            GetMfgData_Parameters parameters,
            GetMfgData_Request request,
            out GetMfgData_Result result)
        {
            result = (GetMfgData_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)getMfgData, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetMfgDataService)this._Channel).GetWIPMsgs(this._UserProfile, getMfgData, parameters, request, out result) : this.AddMethod((Method) new GetMfgDataMethod(getMfgData, GetMfgDataMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)getMfgData, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #6
0
 public ResultStatus ExecuteTransaction(
     GetMfgData_Request request,
     out GetMfgData_Result result)
 {
     return(this.ExecuteTransaction((GetMfgData)null, request, out result));
 }
コード例 #7
0
 public ResultStatus GetEnvironment(
     GetMfgData_Request request,
     out GetMfgData_Result result)
 {
     return(this.GetEnvironment((GetMfgData)null, request, out result));
 }