Difference between revisions of "V2/CMS Tutorial/User Tools/Creating Content/Automation/Expression/Node"
Elysia.Tan (talk | contribs) |
Elysia.Tan (talk | contribs) |
||
Line 33: | Line 33: | ||
'''Outgoing Nodes:''' [[#Compare|Compare]] | '''Outgoing Nodes:''' [[#Compare|Compare]] | ||
+ | |||
+ | <div class="important">Note: Attributes are case sensitive. Using the wrong case invalidates the Expression and it will not be evaluated. </div> | ||
===Input=== | ===Input=== | ||
Line 120: | Line 122: | ||
* [[#Logic|Logic]] | * [[#Logic|Logic]] | ||
* [[#Result|Result]] | * [[#Result|Result]] | ||
+ | |||
+ | <div class="important">Note: When used with one Location Node, the input value should be the location's BBL ID. </div> | ||
====Logic==== | ====Logic==== |
Revision as of 10:33, 23 July 2021
Contents
Node Types
Each Node falls into one of the following categories:
Asset Identifier
Asset
Used to identify the asset to be monitored based on its configured site, the chosen measurement and tag values.
Incoming Nodes: NIL
Outgoing Nodes:
Location
Used to capture Building, Block or Level information about the asset that triggered the expression.
Incoming Nodes: Asset
Outgoing Nodes: Compare
Attribute
Used to differentiate assets based on their attribute value.
Incoming Nodes: Asset
Outgoing Nodes: Compare
Input
Metric
Outputs the value/s of a chosen metric. It can be set to output the last known value, or a range of values.
Incoming Nodes: Asset (Only one)
Outgoing Nodes:
Data Transformation
Function
Does value-wise transformations:
- Get absolute value
- Round to nearest integer
- Round up
- Round down
- Custom Transformation
- Add
- Subtract
- Multiply
- Divide
- Modulo
Incoming Nodes:
Outgoing Nodes:
Filter
Filters a range of values and outputs a subset.
Incoming Nodes: Metric if range of values is chosen
Outgoing Nodes:
Aggregate
Aggregates a range of values into a single value:
- Sum
- Count
- Average
- Median
- Max
- Min
- Mode
- Range
- Stddev
- Percentile
- Every
- Any
Incoming Nodes:
Outgoing Nodes:
Logic
Compare
Does value comparisons:
- Equal
- Greater than (equal)
- Less than (equal)
- Not Equal
Incoming Nodes:
Outgoing Nodes:
Logic
Does logical comparisons between 2 or more boolean values:
- AND
- OR
Incoming Nodes:
Outgoing Nodes:
Result
Result
Represents the result of a Logic Graph.
Incoming Nodes:
Outgoing Nodes: Event
Event
Event
Specifies the event to be triggered when result of expression changes from True to False or False to True.
Incoming Nodes: Result
Outgoing Nodes: NIL