Beispiel #1
0
 public ResultStatus UnFreeze(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.UnFreeze(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus CreateMaintenanceStatuses(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.CreateMaintenanceStatuses(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus CheckAssignedReqs(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.CheckAssignedReqs(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus SaveAs(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.SaveAs(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus ResetResourceUOM(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.ResetResourceUOM(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #6
0
 public ResultStatus NewCopy(
     ResourceMaint resourceMaint,
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.NewCopy(resourceMaint, (ResourceMaint_Parameters)null, request, out result));
 }
Beispiel #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));
 }
Beispiel #8
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));
     }
 }
Beispiel #9
0
 public ResultStatus CommitTransaction(
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     result = (ResourceMaint_Result)null;
     try
     {
         ResourceMaintMethod[] methods = new ResourceMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #10
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);
        }
Beispiel #11
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);
        }
Beispiel #12
0
 public ResultStatus ExecuteTransaction(
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.ExecuteTransaction((ResourceMaint)null, request, out result));
 }
Beispiel #13
0
 public ResultStatus GetEnvironment(
     ResourceMaint_Request request,
     out ResourceMaint_Result result)
 {
     return(this.GetEnvironment((ResourceMaint)null, request, out result));
 }