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 protectedCbusSlotMonitorSession(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.StringgetCommandedSpeed()protected intgetConsistId()protected java.lang.StringgetDirection()protected java.lang.StringgetFlagString()protected java.lang.StringgetFunctionString()protected DccLocoAddressgetLocoAddr()protected intgetSessionId()protected java.lang.StringgetSpeedSteps()protected voidsetConsistId(int consistid)protected voidsetDccSpeed(int speed)protected voidsetFlags(int flags)protected voidsetFunction(int fn, boolean tof)protected voidsetSessionId(int session)protected voidsetSpeedSteps(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()
-
-