Raritan / Server Technology Xerus™ PDU 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 extends sensors.StateSensor {
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
Power quality sensor interface.
Definition: PowerQualitySensor.idl:17
PDU Model.
Definition: Ade.idl:12
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13