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.
Definition: VoltageMonitoringSensor.idl:19
vector< Event > getRecentEvents()
Get all events that were observed so far, ordered from most recent to least recent event.
DipSwellThresholds getDipSwellThresholds()
Retrieve the dip/swell thresholds.
int setDipSwellThresholds(in DipSwellThresholds thresholds)
Change the dip/swell thresholds.
void clearRecentEvents()
Clear list of observed events.
Basic IDL definitions.
Definition: Event.idl:10
PDU Model.
Definition: Ade.idl:12
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Common base for all events.
Definition: Event.idl:13
Event: Dip/swell thresholds were changed.
Definition: VoltageMonitoringSensor.idl:56
Definition: VoltageMonitoringSensor.idl:27
float deassertionHysteresis
Deassertion hysteresis.
Definition: VoltageMonitoringSensor.idl:32
boolean swellActive
true if swell events should be monitored
Definition: VoltageMonitoringSensor.idl:30
double swellThreshold
Swell event threshold.
Definition: VoltageMonitoringSensor.idl:31
boolean dipActive
true if dip events should be monitored
Definition: VoltageMonitoringSensor.idl:28
double dipThreshold
Dip event threshold.
Definition: VoltageMonitoringSensor.idl:29
Event: The list of observed events was cleared.
Definition: VoltageMonitoringSensor.idl:52
Event: A new dip/swell event occurred.
Definition: VoltageMonitoringSensor.idl:47
Event event
Event that was observed.
Definition: VoltageMonitoringSensor.idl:48
Definition of a voltage fluctuation event observed by this sensor.
Definition: VoltageMonitoringSensor.idl:36
Waveform waveform
Waveform of event.
Definition: VoltageMonitoringSensor.idl:43
time timestamp
Time of event occurrence.
Definition: VoltageMonitoringSensor.idl:38
int duration
Event duration in milliseconds.
Definition: VoltageMonitoringSensor.idl:39
EventType type
Type of event.
Definition: VoltageMonitoringSensor.idl:37
double voltage
Voltage level observed during the event:
Definition: VoltageMonitoringSensor.idl:40