Interface INCT_Register
interface, which is returned by the function interpreter, INCT_RegisterList.Get_Item. The interface provides work with the parameters of the selected interpreter register
Namespace: STNCInterpreter
Assembly: STNCInterpreter.dll
Syntax
[Guid("47F76EBC-1A36-4E0E-968D-488C15BC012D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INCT_Register
Properties
Addr
Returns the register address (string) used in the CAM system. No input parameters
Declaration
string Addr { get; }
Property Value
| Type | Description |
|---|---|
| string |
AfterPoint
Returns the number of characters following the register point (integer) in the CAM system. No input parameters
Declaration
int AfterPoint { get; }
Property Value
| Type | Description |
|---|---|
| int |
BeforePoint
Returns the register point type (TNCPoint) used in the CAM system, indicating whether points are absent, optional, or always present. No input parameters
Declaration
int BeforePoint { get; }
Property Value
| Type | Description |
|---|---|
| int |
Comment
Returns the comment associated with the register (string) in the CAM system. No input parameters
Declaration
string Comment { get; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Returns the register identifier (string) in the machine kinematic diagram used by the CAM system. No input parameters
Declaration
string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
LeadingZeros
Returns a boolean indicating whether leading zeros are preserved in the register (true if leading zeros are present, false otherwise). No input parameters
Declaration
bool LeadingZeros { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Modal
Returns a boolean indicating the register modality in the CAM system. No input parameters
Declaration
bool Modal { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Returns the register name (string) used in the CAM system. No input parameters
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Point
Returns the register point type (TNCPoint) used in the CAM system, which can be pntNoPoint (no point), pntPoint (point may or may not be present), or pntAlwaysPoint (point is always present). No input parameters
Declaration
TNCPoint Point { get; }
Property Value
| Type | Description |
|---|---|
| TNCPoint |
Sign
Returns the register character type (TNCSign) used in the CAM system, which can be sgnNoSign (no sign), sgnMinus (minus sign only), or sgnPlusAndMinus (plus and minus signs). No input parameters
Declaration
TNCSign Sign { get; }
Property Value
| Type | Description |
|---|---|
| TNCSign |
TrailingZeroes
Returns a boolean indicating whether non-significant zeros are preserved in the register (true if zeros are preserved, false otherwise). No input parameters
Declaration
bool TrailingZeroes { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ValueAvail
Returns the register type (TNCValueAvailType) used in the CAM system, which can be vatValue (address and value), vatOnlyAddr (only address), or vatBoth (both address and value). No input parameters
Declaration
TNCValueAvailType ValueAvail { get; }
Property Value
| Type | Description |
|---|---|
| TNCValueAvailType |
Values
Returns the list of register values (interface INCT_RegisterValues) used in the CAM system. No input parameters
Declaration
INCT_RegisterValues Values { get; }
Property Value
| Type | Description |
|---|---|
| INCT_RegisterValues |