Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
AccumulatingNumericSensor.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2013 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __SENSORMODEL_ACCUMULATING_NUMERIC_SENSOR_IDL__
7#define __SENSORMODEL_ACCUMULATING_NUMERIC_SENSOR_IDL__
8
9#include <NumericSensor.idl>
10#include <UserEvent.idl>
11
12/** Sensors Model */
13module sensors {
14
15 /** A sensor which accumulates numeric readings (e.g. energy counter) */
17
18 /** Event: Accumulated value has been reset */
19 valueobject ResetEvent extends event.UserEvent {
20 NumericSensor.Reading oldReading; ///< Value before reset
21 NumericSensor.Reading newReading; ///< Value after reset
22 };
23
24 /**
25 * Resets the accumulated value of the sensor
26 */
27 void resetValue();
28
29 };
30
31}
32
33#endif
A sensor which accumulates numeric readings (e.g.
void resetValue()
Resets the accumulated value of the sensor.
A sensor with numeric readings.
Sensors Model.
Event: Accumulated value has been reset.
NumericSensor::Reading oldReading
Value before reset.
NumericSensor::Reading newReading
Value after reset.
Numeric sensor reading.