Beispiel #1
0
 public ResultStatus CreateParametricData(
     Camstar.WCF.ObjectStack.CompleteActivity completeActivity,
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.CreateParametricData(completeActivity, (CompleteActivity_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus ProcessComputation(
     Camstar.WCF.ObjectStack.CompleteActivity completeActivity,
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.ProcessComputation(completeActivity, (CompleteActivity_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus LoadESigDetails(
     Camstar.WCF.ObjectStack.CompleteActivity completeActivity,
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.LoadESigDetails(completeActivity, (CompleteActivity_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetWIPMsgs(
     Camstar.WCF.ObjectStack.CompleteActivity completeActivity,
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.GetWIPMsgs(completeActivity, (CompleteActivity_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus GetEnvironment(
     Camstar.WCF.ObjectStack.CompleteActivity cdo,
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     result = (CompleteActivity_Result)null;
     try
     {
         return(((ICompleteActivityService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
 public ResultStatus CommitTransaction(
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     result = (CompleteActivity_Result)null;
     try
     {
         CompleteActivityMethod[] methods = new CompleteActivityMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ICompleteActivityService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #7
0
        public ResultStatus ExecuteTransaction(
            Camstar.WCF.ObjectStack.CompleteActivity cdo,
            CompleteActivity_Request request,
            out CompleteActivity_Result result)
        {
            result = (CompleteActivity_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICompleteActivityService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new CompleteActivityMethod(cdo, CompleteActivityMethods.ExecuteTransaction, (CompleteActivity_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 #8
0
        public ResultStatus CreateParametricData(
            Camstar.WCF.ObjectStack.CompleteActivity completeActivity,
            CompleteActivity_Parameters parameters,
            CompleteActivity_Request request,
            out CompleteActivity_Result result)
        {
            result = (CompleteActivity_Result)null;
            this.OnBeforeCall(nameof(CreateParametricData), (DCObject)completeActivity, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICompleteActivityService)this._Channel).CreateParametricData(this._UserProfile, completeActivity, parameters, request, out result) : this.AddMethod((Method) new CompleteActivityMethod(completeActivity, CompleteActivityMethods.CreateParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CreateParametricData), res, (DCObject)completeActivity, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #9
0
 public ResultStatus ExecuteTransaction(
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.ExecuteTransaction((Camstar.WCF.ObjectStack.CompleteActivity)null, request, out result));
 }
Beispiel #10
0
 public ResultStatus GetEnvironment(
     CompleteActivity_Request request,
     out CompleteActivity_Result result)
 {
     return(this.GetEnvironment((Camstar.WCF.ObjectStack.CompleteActivity)null, request, out result));
 }