Package jmri.jmrix.loconet
Class SlotMapEntry
- java.lang.Object
-
- jmri.jmrix.loconet.SlotMapEntry
-
public class SlotMapEntry extends java.lang.Object
slotMapEntry - a from to pair of slot numbers defining a valid range of loco/system slots TODO add slottype, eg systemslot, std slot, expanded slot etc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SlotMapEntry.SlotType
-
Field Summary
Fields Modifier and Type Field Description (package private) int
fromSlot
(package private) SlotMapEntry.SlotType
slotType
(package private) int
toSlot
-
Constructor Summary
Constructors Constructor Description SlotMapEntry(int from, int to, SlotMapEntry.SlotType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getFrom()
protected SlotMapEntry.SlotType
getSlotType()
protected int
getTo()
-
-
-
Field Detail
-
fromSlot
int fromSlot
-
toSlot
int toSlot
-
slotType
SlotMapEntry.SlotType slotType
-
-
Constructor Detail
-
SlotMapEntry
public SlotMapEntry(int from, int to, SlotMapEntry.SlotType type)
-
-
Method Detail
-
getFrom
protected int getFrom()
-
getTo
protected int getTo()
-
getSlotType
protected SlotMapEntry.SlotType getSlotType()
-
-