Interface ICodeParametersOfCLDCommand
The list of parameters of the CLData command using which you can get the parameter value by its unique numerical code.
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public interface ICodeParametersOfCLDCommand
Properties
Bol
An indexer, which allows to get the value of the parameter of CLData command by its numerical code in the form of boolean.
Declaration
ICodeParametersOfCLDCommandBooleanIndexer Bol { get; }
Property Value
| Type | Description |
|---|---|
| ICodeParametersOfCLDCommandBooleanIndexer |
Flt
An indexer, which allows to get the value of the parameter of CLData command by its numerical code in the form of floating point number.
Declaration
ICodeParametersOfCLDCommandFloatIndexer Flt { get; }
Property Value
| Type | Description |
|---|---|
| ICodeParametersOfCLDCommandFloatIndexer |
Int
An indexer, which allows to get the value of the parameter of CLData command by its numerical code in the form of integer number.
Declaration
ICodeParametersOfCLDCommandIntegerIndexer Int { get; }
Property Value
| Type | Description |
|---|---|
| ICodeParametersOfCLDCommandIntegerIndexer |
ParamCount
The count of parameters in the list.
Declaration
int ParamCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Str
An indexer, which allows to get the value of the parameter of CLData command by its numerical code in the form of textual string.
Declaration
ICodeParametersOfCLDCommandStringIndexer Str { get; }
Property Value
| Type | Description |
|---|---|
| ICodeParametersOfCLDCommandStringIndexer |
Methods
AsBoolean(Int32)
Allows to get the value of the parameter by its index in this local list in the form of boolean.
Declaration
bool AsBoolean(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns the boolean value of the parameter. |
AsFloat(Int32)
Allows to get the value of the parameter by its index in this local list in the form of floating point number.
Declaration
double AsFloat(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| System.Double | Returns the numerical value of the parameter. |
AsInteger(Int32)
Allows to get the value of the parameter by its index in this local list in the form of integer number.
Declaration
int AsInteger(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns the numerical value of the parameter. |
AsString(Int32)
Allows to get the value of the parameter by its index in this local list in the form of textual string.
Declaration
string AsString(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| System.String | Returns the string value of the parameter. |
Code(Int32)
Indicates the unique numerical code of the parameter with a given index. This code defines the meaning of the parameter.
Declaration
int Code(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns the numerical code of parameter. |
IndexOfCode(Int32)
Returns the index in this list of a parameter with the given code. It returns "-1" if there is no parameter with the given code in this list.
Declaration
int IndexOfCode(int paramCode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramCode | Unique numerical code of the parameter you want to get. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns the index of parameter in this local list. |
ParamType(Int32)
The type of parameter with a given index (floating point number, integer number, boolean or string).
Declaration
CodeParamType ParamType(int paramIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | paramIndex | The index of parameter in the list [0..ParamCount-1]. |
Returns
| Type | Description |
|---|---|
| CodeParamType | Returns the type of parameter. |