public class AusfallFahrStreifen extends Object implements de.bsvrz.dav.daf.main.ClientReceiverInterface
Modifier and Type | Field and Description |
---|---|
private static de.bsvrz.sys.funclib.debug.Debug |
_debug |
private Instant |
_lastCheckTime
Zeitpunkt der letzen Prüfung (damit das Prüfintervall eingehalten wird)
|
private de.bsvrz.dav.daf.main.config.SystemObject |
_mq
Messquerschnitt-Objekt dieses FS
|
private de.bsvrz.dav.daf.main.config.SystemObject |
_objekt
das Fahrstreifen-Objekt.
|
private AtgVerkehrsDatenKurzZeitIntervallPlLogisch |
_parameter
Aktueller Parameter-Datensatz oder null falls nicht vorhanden
|
private de.bsvrz.sys.funclib.bitctrl.dua.schnittstellen.IVerwaltung |
_verwaltung
Verbindung zum Verwaltungsmodul.
|
static DateTimeFormatter |
DATE_TIME_FORMATTER
Format der Zeitangabe innerhalb der Betriebsmeldung.
|
private AusfallPuffer |
gleitenderTag
Datensaetze mit Ausfallinformationen der letzten 24h.
|
private static de.bsvrz.sys.funclib.operatingMessage.MessageTemplate |
TEMPLATE
Vorlage für die Betriebsmeldung
|
Modifier | Constructor and Description |
---|---|
protected |
AusfallFahrStreifen(de.bsvrz.sys.funclib.bitctrl.dua.schnittstellen.IVerwaltung verwaltung,
de.bsvrz.dav.daf.main.config.SystemObject obj,
de.bsvrz.dav.daf.main.config.SystemObject mq)
Standardkonstruktor.
|
Modifier and Type | Method and Description |
---|---|
static String |
formatDate(Instant dateTime)
Formatiert ein Datum
|
static String |
formatDuration(long tmp)
Formatiert ein Zeitbereich
|
protected void |
plausibilisiere(de.bsvrz.dav.daf.main.ResultData resultat)
Fuehrt die Plausibilisierung durch.
|
private void |
pruefeAusfall(Instant fromTime,
Instant checkTime)
Prüft den Fahrstreifen auf Ausfall und sendet eine Betriebsmeldung wenn ein Ausfall erkannt wurde
|
String |
toString() |
void |
update(de.bsvrz.dav.daf.main.ResultData[] parameterFeld) |
private static final de.bsvrz.sys.funclib.debug.Debug _debug
public static final DateTimeFormatter DATE_TIME_FORMATTER
private de.bsvrz.sys.funclib.bitctrl.dua.schnittstellen.IVerwaltung _verwaltung
private final de.bsvrz.dav.daf.main.config.SystemObject _mq
private final AusfallPuffer gleitenderTag
private final de.bsvrz.dav.daf.main.config.SystemObject _objekt
private AtgVerkehrsDatenKurzZeitIntervallPlLogisch _parameter
private Instant _lastCheckTime
private static final de.bsvrz.sys.funclib.operatingMessage.MessageTemplate TEMPLATE
protected AusfallFahrStreifen(de.bsvrz.sys.funclib.bitctrl.dua.schnittstellen.IVerwaltung verwaltung, de.bsvrz.dav.daf.main.config.SystemObject obj, de.bsvrz.dav.daf.main.config.SystemObject mq)
verwaltung
- Verbindung zum Verwaltungsmodulobj
- mq
- protected final void plausibilisiere(de.bsvrz.dav.daf.main.ResultData resultat)
resultat
- ein Fahrstreifendatum (KZD)private void pruefeAusfall(Instant fromTime, Instant checkTime)
fromTime
- Startzeitpunkt des PrüfintervallscheckTime
- Endzeitpunkt des Prüfintervallspublic static String formatDate(Instant dateTime)
dateTime
- Zeitpunktpublic static String formatDuration(long tmp)
tmp
- Dauer in Millisekundenpublic void update(de.bsvrz.dav.daf.main.ResultData[] parameterFeld)
update
in interface de.bsvrz.dav.daf.main.ClientReceiverInterface
Copyright © 2016 BitCtrl Systems GmbH. All rights reserved.