13 lines
339 B
Markdown
13 lines
339 B
Markdown
# Working with Units
|
|
|
|
The DSL strictly types physical units to prevent conversion errors between OTX and ODX.
|
|
|
|
## Defining a Unit
|
|
Use the `Unit` keyword followed by the display symbol.
|
|
|
|
Example:
|
|
`Unit Speed [km/h]`
|
|
|
|
## Common Errors
|
|
Never use string literals for units in a `DiagnosticService`. Always reference the typed Unit definition.
|