Interface INCT_BaseReg
the interface provides work with the base register
Namespace: STNCInterpreter
Assembly: STNCInterpreter.dll
Syntax
[Guid("35127D7B-BA81-49B2-A5AE-D18098C4D835")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INCT_BaseReg
Properties
Addr
The function returns the address of the base register as a string. No input parameters.
Declaration
string Addr { get; }
Property Value
Type | Description |
---|---|
string |
Flt
The function returns the integer value of the base register. No input parameters.
Declaration
double Flt { get; }
Property Value
Type | Description |
---|---|
double |
Id
The function returns the base register's identifier in the machine's kinematic scheme as a string. No input parameters.
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
string |
Idx
The function returns the index of the base register in the register list (integer). No input parameters.
Declaration
int Idx { get; }
Property Value
Type | Description |
---|---|
int |
Int
The function returns the numeric (integer) value of the base register. No input parameters.
Declaration
int Int { get; }
Property Value
Type | Description |
---|---|
int |
Name
The function returns the name of the base register as a string. No input parameters.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Str
The function returns the string value of the base register. No input parameters.
Declaration
string Str { get; }
Property Value
Type | Description |
---|---|
string |
Methods
SetValue(string)
The method sets a new value to the base register. If the value is not empty, it updates the string field and converts it to update the integer and fractional fields. Input: Value (string).
Declaration
void SetValue(string Value)
Parameters
Type | Name | Description |
---|---|---|
string | Value |