| edition = "2023"; |
| |
| package milotic_tlbmc; |
| |
| import "entity_common_config.proto"; |
| import "reading_range_config.proto"; |
| import "threshold_config.proto"; |
| import "sensor.proto"; |
| |
| // Config for a virtual sensor. |
| // A virtual sensor is a sensor that is not physically present on the system. |
| // It is a virtual sensor that is created by combining the readings of multiple |
| // sensors. |
| message VirtualSensorConfig { |
| // The expression that is used to combine the readings of the sensors. |
| string expression = 1; |
| // The unit of the virtual sensor. |
| SensorUnit unit = 2; |
| // The thresholds that we want to monitor for the sensor. |
| ThresholdConfigs thresholds = 3; |
| // Specifies the reading range of the sensor. |
| ReadingRangeConfigs reading_ranges = 4; |
| EntityCommonConfig entity_common_config = 5; |
| // The name of the virtual sensor. |
| string name = 6; |
| } |