public interface PVAlarm
structure alarm int severity int status string messageThis interface converts betweeen the integer severity and the enum alarmSeverity.
Modifier and Type | Method and Description |
---|---|
boolean |
attach(PVField pvField)
Attempt to attach to the alarm field.
|
void |
detach()
Remove attachment to alarm field.
|
void |
get(Alarm alarm)
Get the alarm.
|
boolean |
isAttached()
Is this attached to an alarm structure.
|
boolean |
set(Alarm alarm)
Set the alarm.
|
boolean attach(PVField pvField)
pvField
- The field for which to find an alarm field,void detach()
boolean isAttached()
void get(Alarm alarm)
boolean set(Alarm alarm)
alarm
- The new value.Copyright © 2014. All Rights Reserved.