Class BrakeAxesEnumerator
Auxiliary object that implements enumerator for the AXESBRAKE's axes states list and allows to use foreach syntax.
Inheritance
System.Object
BrakeAxesEnumerator
Implements
System.Collections.IEnumerator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public class BrakeAxesEnumerator : IEnumerator
Constructors
BrakeAxesEnumerator(ICLDAxesBrakeCommand)
Creates a new axes brake states enumerator object for the specified command.
Declaration
public BrakeAxesEnumerator(ICLDAxesBrakeCommand Cmd)
Parameters
Type | Name | Description |
---|---|---|
ICLDAxesBrakeCommand | Cmd | AXESBRAKE command to enumerate the axes |
Methods
MoveNext()
Makes the next axis in the list current if the end of the list has not yet been reached.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | Returns "false" if it is impossible to change the current position of the enumerator, since the end of the list has already been reached. |
Reset()
Reset current position of the enumerator to the initial state.
Declaration
public void Reset()
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.IEnumerator