Search in sources :

Example 1 with NamedEventType

use of org.codice.alliance.nsili.common.GIAS.NamedEventType in project alliance by codice.

the class StandingQueryMgrImpl method init.

protected void init() {
    NamedEventType startEventType = NamedEventType.from_int(NamedEventType._START_EVENT);
    Event startEvent = new Event("START_EVENT", startEventType, "");
    NamedEventType stopEventType = NamedEventType.from_int(NamedEventType._STOP_EVENT);
    Event stopEvent = new Event("STOP_EVENT", stopEventType, "");
    NamedEventType frequencyEventType = NamedEventType.from_int(NamedEventType._FREQUENCY_EVENT);
    Event frequencyEvent = new Event("FREQUENCY_EVENT", frequencyEventType, "");
    eventTypes = new Event[] { startEvent, stopEvent, frequencyEvent };
}
Also used : NamedEventType(org.codice.alliance.nsili.common.GIAS.NamedEventType) Event(org.codice.alliance.nsili.common.GIAS.Event)

Aggregations

Event (org.codice.alliance.nsili.common.GIAS.Event)1 NamedEventType (org.codice.alliance.nsili.common.GIAS.NamedEventType)1