6#ifndef __PDUMODEL_VOLTAGE_MONITORING_SENSOR_IDL__
7#define __PDUMODEL_VOLTAGE_MONITORING_SENSOR_IDL__
9#include <NumericSensor.idl>
10#include <UserEvent.idl>
11#include <Waveform.idl>
20 [unknown_fallback(
"UNKNOWN")]
21 enumeration EventType {
Interface of a voltage sensor with extended monitoring capabilities.
DipSwellThresholds getDipSwellThresholds()
Retrieve the dip/swell thresholds.
int setDipSwellThresholds(in DipSwellThresholds thresholds)
Change the dip/swell thresholds.
void clearRecentEvents()
Clear list of observed events.
vector< Event > getRecentEvents()
Get all events that were observed so far, ordered from most recent to least recent event.
Common base for all events.
Event: Dip/swell thresholds were changed.
float deassertionHysteresis
Deassertion hysteresis.
boolean swellActive
true if swell events should be monitored
double swellThreshold
Swell event threshold.
boolean dipActive
true if dip events should be monitored
double dipThreshold
Dip event threshold.
Event: The list of observed events was cleared.
Event: A new dip/swell event occurred.
Event event
Event that was observed.
Definition of a voltage fluctuation event observed by this sensor.
Waveform waveform
Waveform of event.
time timestamp
Time of event occurrence.
int duration
Event duration in milliseconds.
EventType type
Type of event.
double voltage
Voltage level observed during the event: