Raritan PX2/PX3 JSON-RPC API

PowerQualitySensor.idl
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3 * Copyright 2013 Raritan Inc. All rights reserved.
4 */
5
6 #ifndef __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
7 #define __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
8
9 #include <StateSensor.idl>
10
11 /**
12 * PDU Model
13 */
14 module pdumodel {
15
16 /** Power quality sensor interface */
17 interface PowerQualitySensor_2_0_3 extends sensors.StateSensor_4_0_3 {
18
19 constant int STATE_NORMAL = 0; ///< Power quality is normal
20 constant int STATE_WARNING = 1; ///< Power quality is warning
21 constant int STATE_CRITICAL = 2; ///< Power quality is critical
22
23 };
24
25 }
26
27 #endif
sensors
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
pdumodel
PDU Model.
Definition: Ade.idl:12
pdumodel::PowerQualitySensor_2_0_3
Power quality sensor interface.
Definition: PowerQualitySensor.idl:17