GQIColumn<T> class
Definition
- Namespace:
Skyline.DataMiner.Core.GQI.Extensions - Assembly:
Skyline.DataMiner.Core.GQI.Extensions.dll
Provides the typed base class for a column in GQI. It provides increased type safety compared to the non-generic GQIColumn.
Inherits from GQIColumn.
Note
This is an abstract base class. To create a new column, use one of the derived types provided by the framework.
Type parameters
T: the type of cell values in this column.
Properties
| Property | Type | Description | Version |
|---|---|---|---|
| DiscreteOptions | GQIDiscreteOptions<T> | The discrete value options configured for this column, or null if no discrete values are defined. |
DataMiner Web 10.5.0 [CU16]/10.6.0 [CU4]/10.6.7 |
Derived types
Each derived type has two constructors: one that accepts only a name (backward compatible), and one that also accepts a GQIDiscreteOptions<T> parameter (available from DataMiner Web 10.5.0 [CU16]/10.6.0 [CU4]/10.6.7 onwards).
| Type | Value type | Example |
|---|---|---|
GQIBooleanColumn |
bool |
new GQIBooleanColumn("Active", discreteOptions) |
GQIDateTimeColumn |
DateTime |
new GQIDateTimeColumn("Timestamp", discreteOptions) |
GQIDoubleColumn |
double |
new GQIDoubleColumn("Temperature", discreteOptions) |
GQIIntColumn |
int |
new GQIIntColumn("Count", discreteOptions) |
GQIStringColumn |
string |
new GQIStringColumn("Status", discreteOptions) |
GQITimeSpanColumn |
TimeSpan |
new GQITimeSpanColumn("Duration", discreteOptions) |