Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 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));
     }
 }
Esempio n. 4
0
        public ResultStatus AddDataTransaction(Camstar.WCF.ObjectStack.GetMaintenanceStatuses cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new GetMaintenanceStatusesMethod(cdo, GetMaintenanceStatusesMethods.AddDataTransaction, (GetMaintenanceStatuses_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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 7
0
 public ResultStatus FilterDateReq(Camstar.WCF.ObjectStack.GetMaintenanceStatuses getMaintenanceStatuses)
 {
     return(this.FilterDateReq(getMaintenanceStatuses, (GetMaintenanceStatuses_FilterDateReq_Parameters)null, (GetMaintenanceStatuses_Request)null, out GetMaintenanceStatuses_Result _));
 }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(Camstar.WCF.ObjectStack.GetMaintenanceStatuses cdo)
 {
     return(this.ExecuteTransaction(cdo, (GetMaintenanceStatuses_Request)null, out GetMaintenanceStatuses_Result _));
 }