public class Gleissperrsignal extends Signal
Signal.SignalCommand
command, log, nominalState
count, ctrl_id, elapsed, elapsedCount, pin, unit_no
name
Constructor and Description |
---|
Gleissperrsignal(Abschnitt segment,
java.lang.String number,
boolean aIsHigh)
Dieser Konstruktor initialisiert ein Gleissperrsignal.
|
Modifier and Type | Method and Description |
---|---|
protected Command |
getConfigCode()
Diese Methode gibt den Kommando-Code zum Konfigurieren der Microcontroller zurück.
|
protected Signal.SignalCommand |
setSignalCommand(Signal.SignalCommand sc,
boolean shunting)
Diese Methode berechnet aus einem Signalkommando das richtige Signalbild abhängig von diesem
Signal und ob rangiert oder gefahren werden soll.
|
addData, buildName, correctState, createConfigMessage, getCommand, getNominalState, getNumber, getSegment, getSignalState, isDirection, off, setSignal, setState, test, toString
addCommand, addElapsed, addPinConfig, clearBatchElement, compareTo, createMsg, equals, findDeviceUnit, getBatchElement, getDeviceUnitNumber, getMicroControllerId, getModell, getSwitchTime, hashCode, isProcessing, setBatchElement, setMicroControllerId, setPinConfiguration
getLayoutInfo, getLogX, getLogY, getName, parseLayoutInfo, setLogX, setLogY
public Gleissperrsignal(Abschnitt segment, java.lang.String number, boolean aIsHigh)
segment
- Der dazugehörende Gleisabschnitt.number
- Die Signalnummer.aIsHigh
- Die Zählrichtung.protected Signal.SignalCommand setSignalCommand(Signal.SignalCommand sc, boolean shunting)
Signal
setSignalCommand
in class Signal
sc
- Das zu interpretierende Signalkommando.shunting
- Das Rangierflag.protected Command getConfigCode()
Signal
getConfigCode
in class Signal
Copyright © 2011 all committers of this modelrailway project