Пример #1
0
 public ResultStatus FilterRecurringDateReq(
     Camstar.WCF.ObjectStack.GetMaintenanceStatuses getMaintenanceStatuses,
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     return(this.FilterRecurringDateReq(getMaintenanceStatuses, (GetMaintenanceStatuses_FilterRecurringDateReq_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetWIPMsgs(
     Camstar.WCF.ObjectStack.GetMaintenanceStatuses getMaintenanceStatuses,
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     return(this.GetWIPMsgs(getMaintenanceStatuses, (GetMaintenanceStatuses_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetEnvironment(
     Camstar.WCF.ObjectStack.GetMaintenanceStatuses cdo,
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     result = (GetMaintenanceStatuses_Result)null;
     try
     {
         return(((IGetMaintenanceStatusesService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
 public ResultStatus CommitTransaction(
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     result = (GetMaintenanceStatuses_Result)null;
     try
     {
         GetMaintenanceStatusesMethod[] methods = new GetMaintenanceStatusesMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGetMaintenanceStatusesService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
        public ResultStatus ExecuteTransaction(
            Camstar.WCF.ObjectStack.GetMaintenanceStatuses cdo,
            GetMaintenanceStatuses_Request request,
            out GetMaintenanceStatuses_Result result)
        {
            result = (GetMaintenanceStatuses_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetMaintenanceStatusesService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GetMaintenanceStatusesMethod(cdo, GetMaintenanceStatusesMethods.ExecuteTransaction, (GetMaintenanceStatuses_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);
        }
Пример #6
0
        public ResultStatus FilterRecurringDateReq(
            Camstar.WCF.ObjectStack.GetMaintenanceStatuses getMaintenanceStatuses,
            GetMaintenanceStatuses_FilterRecurringDateReq_Parameters parameters,
            GetMaintenanceStatuses_Request request,
            out GetMaintenanceStatuses_Result result)
        {
            result = (GetMaintenanceStatuses_Result)null;
            this.OnBeforeCall(nameof(FilterRecurringDateReq), (DCObject)getMaintenanceStatuses, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetMaintenanceStatusesService)this._Channel).FilterRecurringDateReq(this._UserProfile, getMaintenanceStatuses, parameters, request, out result) : this.AddMethod((Method) new GetMaintenanceStatusesMethod(getMaintenanceStatuses, GetMaintenanceStatusesMethods.FilterRecurringDateReq, (GetMaintenanceStatuses_Parameters)parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(FilterRecurringDateReq), res, (DCObject)getMaintenanceStatuses, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #7
0
 public ResultStatus ExecuteTransaction(
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     return(this.ExecuteTransaction((Camstar.WCF.ObjectStack.GetMaintenanceStatuses)null, request, out result));
 }
Пример #8
0
 public ResultStatus GetEnvironment(
     GetMaintenanceStatuses_Request request,
     out GetMaintenanceStatuses_Result result)
 {
     return(this.GetEnvironment((Camstar.WCF.ObjectStack.GetMaintenanceStatuses)null, request, out result));
 }