Class ActDelay
Represents a delay action in machining operations. This class implements a simple time delay in the machining process.
public class ActDelay : IActDuration, IAct
- Inheritance
-
ActDelay
- Implements
- Inherited Members
- Extension Methods
Remarks
Use this class when you need to:
- Insert a pause in the machining process
- Implement dwell operations
- Synchronize timing between operations
- Allow for cooldown or settling time
The delay is implemented as a passive wait without active control.
Constructors
ActDelay()
Initializes a new instance of the ActDelay class with default duration. The default duration is set to TimeSpan.Zero.
public ActDelay()
ActDelay(TimeSpan)
Initializes a new instance of the ActDelay class with the specified delay duration.
public ActDelay(TimeSpan delay)
Parameters
delay
TimeSpanThe duration of the delay. This value represents:
- The time to pause the operation
- Should be non-negative
- Typically used for dwells or synchronization
Properties
ActDuration
Gets or sets the duration of the action.
public TimeSpan ActDuration { get; set; }
Property Value
Remarks
The duration represents:
- The time required to complete the action
- Should be positive and finite
- Zero duration indicates an instantaneous action
- Used for scheduling and timing calculations