Skip to main content

Rule Param

Rule Param DTOs are used by the following service API:

  • Event Service API - Uses Rule Param structures for defining and managing device monitoring rules

Table of Contents

Reading Visitor

FieldTypeLabelDescription
operator()(int i)string
operator()(double f)string

Top

RULE

FieldTypeLabelDescription
TYPEenum
SEVERITYenum

Top

Rule Event

FieldTypeLabelDescription
mridstring
eventstring
ruleIdstring
ruleNamestring
severityuint32_t

Top

Rule Value (Class)

FieldTypeLabelDescription
timestampuint64_t
valuegeneric(T)

Top

Rule Set Map

FieldTypeLabelDescription
ruleIdstring
equipmentIdstring

Top

Rule Param (Class)

FieldTypeLabelDescription
hasMetCriteria()bool
compare(int idx)bool
addReading(RuleValue<reading_t> reading)void
idstring
enabledbooltrue
namestring
mridstring
jsonPathstring
opstring//operator
commentstring
ruleTypeuint32_t
severityuint32_t
hasTriggeredboolfalse
durationuint64_t
countuint64_t
openfmbProfilestring
eventstring
customEventstring
readin\g\svector<RuleValue<reading_t>>
compareValuereading_t
ruleSetIdstring
ruleSetMapvector<RuleSetMap>

Top

Rule Holder

FieldTypeLabelDescription
rulesvector<RuleParam>

Top

Rules Response

FieldTypeLabelDescription
successvector<string>
failedvector<string>

Top

Enable Request

FieldTypeLabelDescription
enablevector<string>
disablevector<string>