Reading function
getAllReadingFieldsForAssetCategory#
The getAllReadingFieldsForAssetCategory function retrieves all reading fields from a specified asset category.
Syntax:
new NameSpace("readings").getAllReadingFieldsForAssetCategory(
StringassetCategory);
Parameters:
| Param | Data type | Description |
|---|---|---|
| assetCategory | String | The category names inside the asset. |
Returns: Map
Example:
log new NameSpace("readings").getAllReadingFieldsForAssetCategory("Chiller");getAllReadingFieldsForSpaceCategory#
The getAllReadingFieldsForSpaceCategory function retrieves all reading fields from a specified space category.
Syntax:
new NameSpace("readings").getAllReadingFieldsForSpaceCategory(
StringspaceCategory);
Parameters:
| Param | Data type | Description |
|---|---|---|
| spaceCategory | String | The category names inside the Space. |
Returns: Map
Example:
log new NameSpace("readings").getAllReadingFieldsForSpaceCategory("building");