Class CbusSlotMonitorSession
- java.lang.Object
-
- jmri.jmrix.can.cbus.swing.cbusslotmonitor.CbusSlotMonitorSession
-
public class CbusSlotMonitorSession extends java.lang.Object
Class to represent a session in the MERG CBUS Command Station Session Slot Monitor- See Also:
CbusSlotMonitorDataModel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CbusSlotMonitorSession(DccLocoAddress locoAddr)
The table provides and maintains 1 row per loco address
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getCommandedSpeed()
protected int
getConsistId()
protected java.lang.String
getDirection()
protected java.lang.String
getFlagString()
protected java.lang.String
getFunctionString()
protected DccLocoAddress
getLocoAddr()
protected int
getSessionId()
protected java.lang.String
getSpeedSteps()
protected void
setConsistId(int consistid)
protected void
setDccSpeed(int speed)
protected void
setFlags(int flags)
protected void
setFunction(int fn, boolean tof)
protected void
setSessionId(int session)
protected void
setSpeedSteps(java.lang.String steps)
-
-
-
Constructor Detail
-
CbusSlotMonitorSession
protected CbusSlotMonitorSession(DccLocoAddress locoAddr)
The table provides and maintains 1 row per loco address- Parameters:
locoAddr
- Loco Address to be monitored
-
-
Method Detail
-
getLocoAddr
protected DccLocoAddress getLocoAddr()
-
setSessionId
protected void setSessionId(int session)
-
getSessionId
protected int getSessionId()
-
setDccSpeed
protected void setDccSpeed(int speed)
-
getCommandedSpeed
protected java.lang.String getCommandedSpeed()
-
getDirection
protected java.lang.String getDirection()
-
setSpeedSteps
protected void setSpeedSteps(java.lang.String steps)
-
getSpeedSteps
protected java.lang.String getSpeedSteps()
-
setFunction
protected void setFunction(int fn, boolean tof)
-
getFunctionString
protected java.lang.String getFunctionString()
-
setFlags
protected void setFlags(int flags)
-
getFlagString
protected java.lang.String getFlagString()
-
setConsistId
protected void setConsistId(int consistid)
-
getConsistId
protected int getConsistId()
-
-