示例#1
0
        /// forward the method call
        public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation)
        {
            if (RemoteObject == null)
            {
                InitRemoteObject();
            }

            RemoteObject.ProgressCombinedInfo(out ProgressState, out ProgressPercentage, out ProgressInformation);
        }
示例#2
0
        /// <summary>
        /// Call this method from the 'Listener' object to signal the 'Instantiator' that the execution should be stopped
        /// </summary>
        /// <returns>void</returns>
        public void Cancel()
        {
            TLogging.LogAtLevel(6, "TAsynchronousExecutionProgress.Cancel called!");
            FCancelExecution = true;
            FProgressState   = TAsyncExecProgressState.Aeps_Stopping;

            // Fire event
            if (StopAsyncronousExecution != null)
            {
                StopAsyncronousExecution(this, new System.EventArgs());
            }
        }
示例#3
0
        /// forward the method call
        public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation)
        {
            if (RemoteObject == null)
            {
                InitRemoteObject();
            }

            RemoteObject.ProgressCombinedInfo(out ProgressState, out ProgressPercentage, out ProgressInformation);
        }
示例#4
0
 /// <summary>
 /// Returns ProgressState, ProgressPercentage and ProgressInformation properties
 /// in one call. This saves considerable bandwidth over calling these properties
 /// seperately!
 ///
 /// </summary>
 /// <param name="ProgressState">See ProgressState property</param>
 /// <param name="ProgressPercentage">See ProgressPercentage property</param>
 /// <param name="ProgressInformation">See ProgressInformation property
 /// </param>
 /// <returns>void</returns>
 public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation)
 {
     ProgressState       = FProgressState;
     ProgressPercentage  = FProgressPercentage;
     ProgressInformation = FProgressInformation;
 }
示例#5
0
 /// <summary>
 /// constructor
 /// </summary>
 public TAsynchronousExecutionProgress() : base()
 {
     FProgressState = TAsyncExecProgressState.Aeps_ReadyToStart;
 }
示例#6
0
        /// <summary>
        /// Call this method from the 'Listener' object to signal the 'Instantiator' that the execution should be stopped
        /// </summary>
        /// <returns>void</returns>
        public void Cancel()
        {
            TLogging.LogAtLevel(6, "TAsynchronousExecutionProgress.Cancel called!");
            FCancelExecution = true;
            FProgressState = TAsyncExecProgressState.Aeps_Stopping;

            // Fire event
            if (StopAsyncronousExecution != null)
            {
                StopAsyncronousExecution(this, new System.EventArgs());
            }
        }
示例#7
0
 /// <summary>
 /// Returns ProgressState, ProgressPercentage and ProgressInformation properties
 /// in one call. This saves considerable bandwidth over calling these properties
 /// seperately!
 ///
 /// </summary>
 /// <param name="ProgressState">See ProgressState property</param>
 /// <param name="ProgressPercentage">See ProgressPercentage property</param>
 /// <param name="ProgressInformation">See ProgressInformation property
 /// </param>
 /// <returns>void</returns>
 public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation)
 {
     ProgressState = FProgressState;
     ProgressPercentage = FProgressPercentage;
     ProgressInformation = FProgressInformation;
 }
示例#8
0
 /// <summary>
 /// constructor
 /// </summary>
 public TAsynchronousExecutionProgress() : base()
 {
     FProgressState = TAsyncExecProgressState.Aeps_ReadyToStart;
 }