Class ActTooling
Represents a tooling operation act in numerical control operations. This class handles tool changes and related operations in the machining process.
public class ActTooling : IActDuration, IActMachineStep, IAct
- Inheritance
-
ActTooling
- Implements
- Inherited Members
- Extension Methods
Remarks
This class is used for:
- Tool change operations
- Tool selection and management
- Tracking tool usage time
- Managing tool-specific operations
The tooling operation includes:
- Tool identification
- Change duration tracking
- Operation validation
Constructors
ActTooling(int, TimeSpan)
Initializes a new instance of the ActTooling class with the specified tool ID and duration.
public ActTooling(int toolId, TimeSpan actDuration)
Parameters
toolId
intThe identifier of the tool to use. This value:
- Must be a valid tool magazine position
- Should correspond to an existing tool
- Is used for tool selection and validation
actDuration
TimeSpanThe duration of the tooling operation. This represents:
- Time needed for tool change
- Should include safety margins
- Must be non-negative
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
ToolId
Gets or sets the tool identifier.
public int ToolId { get; set; }
Property Value
Remarks
The tool ID:
- Uniquely identifies a specific tool
- Used for tool selection and validation
- Corresponds to the machine's tool magazine positions
- Should be positive and valid for the machine configuration
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.