Ejemplo n.º 1
0
 public ResultStatus CreateMaintenanceStatuses(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.CreateMaintenanceStatuses(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus UnFreeze(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.UnFreeze(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 3
0
 public ResultStatus SaveAs(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.SaveAs(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 4
0
 public ResultStatus CheckAssignedReqs(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.CheckAssignedReqs(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 5
0
 public ResultStatus NewCopy(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.NewCopy(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 6
0
 public ResultStatus ResetResourceUOM(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.ResetResourceUOM(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 7
0
 public ResultStatus LoadESigDetails(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.LoadESigDetails(resourceMaint, (ResourceMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Ejemplo n.º 8
0
 public ResourceMaintMethod(
     ResourceMaint Cdo,
     ResourceMaintMethods Method,
     ResourceMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 9
0
 public ResultStatus GetEnvironment(
     ResourceMaint cdo,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     result = (ResourceMaint_Result)null;
     try
     {
         return(((IResourceMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 10
0
        public ResultStatus AddDataTransaction(ResourceMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ResourceMaintMethod(cdo, ResourceMaintMethods.AddDataTransaction, (ResourceMaint_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);
        }
Ejemplo n.º 11
0
        public ResultStatus ExecuteTransaction(
            ResourceMaint cdo,
            ResourceMaint_Request request,
            out ResourceMaint_Result result)
        {
            result = (ResourceMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceMaintMethod(cdo, ResourceMaintMethods.ExecuteTransaction, (ResourceMaint_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);
        }
Ejemplo n.º 12
0
        public ResultStatus CreateMaintenanceStatuses(
            ResourceMaint resourceMaint,
            ResourceMaint_Parameters parameters,
            ResourceMaint_Request request,
            out ResourceMaint_Result result)
        {
            result = (ResourceMaint_Result)null;
            this.OnBeforeCall(nameof(CreateMaintenanceStatuses), (DCObject)resourceMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceMaintService)this._Channel).CreateMaintenanceStatuses(this._UserProfile, resourceMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceMaintMethod(resourceMaint, ResourceMaintMethods.CreateMaintenanceStatuses, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CreateMaintenanceStatuses), res, (DCObject)resourceMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 13
0
 public ResultStatus ExecuteTransaction(ResourceMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (ResourceMaint_Request)null, out ResourceMaint_Result _));
 }
Ejemplo n.º 14
0
 public ResultStatus RemoveMaintenanceStatuses(ResourceMaint resourceMaint)
 {
     return(this.RemoveMaintenanceStatuses(resourceMaint, (ResourceMaint_Parameters)null, (ResourceMaint_Request)null, out ResourceMaint_Result _));
 }
Ejemplo n.º 15
0
 public ResultStatus New(ResourceMaint resourceMaint)
 {
     return(this.New(resourceMaint, (ResourceMaint_Parameters)null, (ResourceMaint_Request)null, out ResourceMaint_Result _));
 }
Ejemplo n.º 16
0
 public ResultStatus GetWIPMsgs(ResourceMaint resourceMaint)
 {
     return(this.GetWIPMsgs(resourceMaint, (ResourceMaint_Parameters)null, (ResourceMaint_Request)null, out ResourceMaint_Result _));
 }