Asset attribute is used to display the value/data related to the asset element, it can be static value or dynamic value from asset device etc. There are multiple attribute types with different configurable items descripted on below:
i. Static – Attribute type to display a static value for asset element e.g., Name, Asset Installed Date etc.
ii. Dynamic – Attribute type to display real time device metric data from devices transmit.
iii. Runtime – Attribute type to perform data calculation and aggregation, user can configure custom formula and display the calculated result. This asset attribute can used to store Block Execution result as well by disable the option “Use Expression”. It supports “double”, “int”, “bool” and “text” data type. The formula can be construct and calculate by using “@” character to call up other asset attribute and use it in expression formula box. Key in “Math.” Inside the formula box can call up the calculation method. Please refer to Microsoft Math Class for the calculation methods supported by DM runtime attribute.
iv. Alias – Attribute type to map and display the asset attribute value from another asset element.
v. Integration – Attribute type to display real time device metric data from integration data source. Like dynamic type but the values of the devices and metrics are taken from the external system (such as Yokogawa Cloud Platform).
vi. Command – Asset attribute type for sending calculated result or value back to cloud device e.g. IoT Hub device.
SEE Also: Detail of Microsoft Math Class, please refer to https://learn.microsoft.com/en-us/dotnet/api/system.math?view=net-7.0
| Configurable Items | Description | Available For Attribute Type | |
|---|---|---|---|
| Name | Name of asset attribute | Static, Dynamic, Runtime, Alias, Integration, Command | |
| UoM | UoM of asset attribute value, it listed the available UoM from UoM entity | Static, Dynamic, Runtime, Integration | |
| Value | Default value of asset attribute, only available for static attribute type | Static | |
| Device ID | Device ID of Data Management device, it listed the available device id from Device entity or Integration entity | Dynamic, Integration, Command | |
| Metric | The real-time metric value of selected device id for asset attribute | Dynamic, Integration, Command | |
| Expression | For user configure custom formula and display the calculated result, use @ symbol to call up attribute and use “Math.” to call up math method to construct the expression formula | Runtime | |
| Asset | Asset element to map | Alias | |
| Attribute | Asset attribute of mapped asset element | Alias | |
| Channel | The integration channel, it listed the available integration name from Integration entity. | Integration | |
| Data Type | Data type of asset attribute | Runtime, Integration, Static | |
| Decimal Places | The decimal places of attribute values displayed on APIs, dashboard modules, and third-party applications | Static, Dynamic, Runtime, Integration | |
| Use 1000 Separator | Use commas as thousands of separators for attribute values displayed on APIs, dashboard modules, and third-party applications | Static, Dynamic, Runtime, Integration | |
| Trigger Attribute | The asset attribute to trigger runtime attribute expression while new value received | Runtime | |