V2/CMS Tutorial/User Tools/Creating Content/Automation/Expression/Node

From Senfi Docs
Revision as of 14:50, 7 June 2022 by Huiyan (talk | contribs)
Jump to: navigation, search

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 zone 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

Note: Attributes are case sensitive. Using the wrong case invalidates the Expression and it will not be evaluated.

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:

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:

Note: When used with one Location Node, the input value should be the location's BBL ID.

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

Note: This event refers to an event created within the CMS. See Add Event to learn how to add an event in the CMS.