Class CLDCmdTypeExtensions
Extention to add more convenient methods for CLDCmdType enumeration.
Inheritance
System.Object
CLDCmdTypeExtensions
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 static class CLDCmdTypeExtensions
Methods
IsMovement(CLDCmdType)
Returns "True" if the cpecified cmdType is a movement command type (GOTO, MULTIGOTO, CIRCLE, etc.). Otherwise returns "False".
Declaration
public static bool IsMovement(this CLDCmdType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CLDCmdType | cmdType | Command type value to check. |
Returns
Type | Description |
---|---|
System.Boolean | Returns "True" for a movements only. |
IsMoveVelocity(CLDCmdType)
Returns "True" if the cpecified cmdType is a movement velocity command type (FEDRAT or RAPID). Otherwise returns "False".
Declaration
public static bool IsMoveVelocity(this CLDCmdType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CLDCmdType | cmdType | Command type value to check. |
Returns
Type | Description |
---|---|
System.Boolean | Returns "True" for a movements velocity commands only. |