org.yamcs.alarms.ParameterAlarmStreamer Maven / Gradle / Ivy
package org.yamcs.alarms;
import java.util.ArrayList;
import org.yamcs.StandardTupleDefinitions;
import org.yamcs.parameter.ParameterValue;
import org.yamcs.yarch.DataType;
import org.yamcs.yarch.Stream;
public class ParameterAlarmStreamer extends AlarmStreamer {
static public final String CNAME_LAST_EVENT = "alarmEvent";
static public final String CNAME_TRIGGER = "triggerPV";
static public final String CNAME_CLEAR = "clearPV";
static public final String CNAME_SEVERITY_INCREASED = "severityIncreasedPV";
public ParameterAlarmStreamer(Stream s) {
super(s, DataType.PARAMETER_VALUE, StandardTupleDefinitions.PARAMETER_ALARM);
}
@Override
protected ArrayList