Overview
The Units Conversion interface helps convert different metrics, units, and measurement systems. This functionality has already the includes conversion tables for both MetricToImperial and ImperialToMetricMetric to Imperial and Imperial to Metric, but you can extend and modify acceding them according to your requirements.
This feature allows that two or more Client Displays connected with to the same server , will to see the values and units on his their own computer computers according to the metric currently selected currently to for that operator station.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
To configure a tag for unit conversion:
- Set the tag’s Units property. You can do this through the Unified Namespace / Tags table. You can also change it via CodeBehind or Scripts, by assigning a value to
Tag.<TagName>.Units
. - To apply unit conversions to your solution, assign the name of the desired conversion table to the
Client.Units
property. - All tags with units affected by the conversion table will have their values changed. To display the tag’s unit after conversion, use
Tag.<TagName>.DisplayUnits
.
Units Conversion Table Columns
Property | Description |
ID | Identifies each unit conversion entry uniquely. |
VersionID | Tracks the version of the unit conversion entry. |
BaseUnit | Represents the original unit of measurement before conversion. |
NewUnit | Represents the unit of measurement after conversion. |
Div | Indicates the division factor used in the conversion process. |
Add | Indicates the addition factor used in the conversion process. |
BaseName | Names the base unit. |
NewName | Names the new unit after conversion. |
DateCreated | Records the creation date and time of the unit conversion entry. |
DateModified | Records the last modification date and time of the unit conversion entry. |
MeasurementType | Specifies the type of measurement for the units involved, such as length or weight. |
In this section:
Page Tree | ||||
---|---|---|---|---|
|