Custom data¶
Additional information about stations can be specified. This is done making custom data types.
Create new custom data types by clicking the New button.
Clicking the Details button on a row will bring up the Details view of the custom data type.
- Active
Activate the custom data type by checking this field.
- Id
Id of the custom data type. The id is used as reference.
- Name
Name of the custom data type column.
- Description
Description of the custom data type.
- Parent Type
Optional parent custom data type. If a parent custom data type is specified, the custom data type will be shown on the parent custom data type and not in the root.
Columns¶
Columns of a custom data type is configured clicking the Columns button of the custom data type.
Create new columns on a custom data type by clicking the New button.
To configure the column, click the Details button of the column.
- Active
Activate the column by checking this field.
- Id
Id of the column. The id is used as reference.
- Name
Name of the custom data column.
- Description
Description of the column.
- Column Type
The type of the custom data column.
A custom data column can have the following types:- String: A simple string field.
- Note: A note field is a string filed with more lines.
- Double: A double value.
- Integer: An integer field.
- Enum: An Enum. Enum values are specified in the Enum Values field, separated by a semicolon.
- Date: A date field.
- Time: A time field.
- Url: An URl shown as a field with a link to web page.
- Boolean: A Boolean field shown as a check box.
- Color: A color field, shown as a field with a color picker control.
- Expression: A calculated expression. The expression is specified in the Expression filed.
- Spreadsheet Link: A link to a spreadsheet. The spreadsheet can be selected and opened.
- Document link: A link to a document. The documents can be selected and opened using an associated program.
- Enum Values
For columns of type Enum, the Enum values must be specified.
Possible values are separated by a semicolon.
-
Expression
Expressions are C# expressions. The expression must return a single object (double, int, bool, string).
Columns as placeholders are supported. Use [ColumnName]. The [Parent] placeholder can be used for specifying that a Column place holder should be taken from the Parent custom data type.Some samples:
[MyDoubleColumn]*3 + [MyIntColumn]
"[MyStringColumn]" == "Test" ? "Testing" : "Not Testing"
[MyIntColumn] > 5 ? "Large value" : "Small value"
[Parent.MyCountryColumn] == "Denmark" ? true : false
If any placeholder value (column value) is NULL, the expression is not evaluated.
If the evaluation fails due to errors, an error message is shown in the field.
- Row selection
Select if the column should be shown in the Navigation Panel.
Row selection is only supported for column types: integer, double, date and time. - None (Default): The columns will not be shown. - Min. value: The custom data row with the minimum value will be shown. - Max. value: The custom data row with the maximum value will be shown.
- Value column
Select the column to be displayed instead of the actual column.