Skip to content

VirtualSensor should support threshold/condition for use by all children #34

Description

@KyleBenson

A lot of the PhysicalSensor implementations make use of a 'threshold' parameter that's used for conditionally reporting events when they're sampled from the sensor. Instead of each class implementing this logic on its own, we could easily have this be a configurable parameter in VirtualSensor so that all the others can inherit it. Furthermore, it could easily support different conditional operators other than just a 'greater than threshold' one that most use.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions