Package jmri.jmrix.can.cbus.simulator
Class CbusDummyNode
- java.lang.Object
-
- jmri.jmrix.can.cbus.node.CbusBasicNode
-
- jmri.jmrix.can.cbus.node.CbusBasicNodeWithManagers
-
- jmri.jmrix.can.cbus.node.CbusBasicNodeWithMgrsCommandStation
-
- jmri.jmrix.can.cbus.node.CbusNode
-
- jmri.jmrix.can.cbus.simulator.CbusDummyNode
-
public class CbusDummyNode extends CbusNode
Simulating a MERG CBUS Node.- Since:
- 4.15.2
- See Also:
CbusSimulator
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.can.cbus.node.CbusNode
BOOT_LONG_TIMEOUT_TIME, BOOT_PROG_TIMEOUT_FAST, BOOT_PROG_TIMEOUT_SLOW, SINGLE_MESSAGE_TIMEOUT_TIME
-
Fields inherited from class jmri.jmrix.can.cbus.node.CbusBasicNodeWithManagers
_fwBuild, _fwMaj, _fwMin
-
Fields inherited from class jmri.jmrix.can.cbus.node.CbusBasicNode
_listeners, _memo, send
-
-
Constructor Summary
Constructors Constructor Description CbusDummyNode(CanSystemConnectionMemo sysmemo, int nodenumber)
Create a new CbusDummyNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flimButton()
CbusNodeCanListener
getNewCanListener()
Uses in-class CanListenerprotected void
sendCMDERR(int errorId)
protected void
sendENRSP()
protected void
sendNEVAL(int index, int varIndex)
protected void
sendNUMEV()
protected void
sendNVANS(int index)
protected void
sendPARAMS()
protected void
sendPARAN(int index)
protected void
sendPNN()
protected void
sendWRACK()
protected void
setDNN(int nn)
protected void
setDummyNV(int index, int newval)
void
setPane(NdPane pane)
-
Methods inherited from class jmri.jmrix.can.cbus.node.CbusNode
getliveUpdate, getName, getNodeFlags, getNodeNameFromName, getnvWriteInLearnOnly, getResyncName, getsendsWRACKonNVSET, getUserComment, nodeOnNetwork, resetNodeAll, saveForResync, setliveUpdate, setNameIfNoName, setNodeFlags, setNodeNameFromName, setnvWriteInLearnOnly, setsendsWRACKonNVSET, setUserComment, toString
-
Methods inherited from class jmri.jmrix.can.cbus.node.CbusBasicNodeWithMgrsCommandStation
getCsNum, getStatResponseFlagsAccurate, setCsFlags, setCsNum, setStatResponseFlagsAccurate
-
Methods inherited from class jmri.jmrix.can.cbus.node.CbusBasicNodeWithManagers
dispose, getCanListener, getNodeBackupManager, getNodeEventManager, getNodeNvManager, getNodeParamManager, getNodeStats, getNodeTimerManager, getPnnManufacturer, getPnnModule, getTableModel, getUserName, setFW, setManuModule, setTableModel, setUserName
-
Methods inherited from class jmri.jmrix.can.cbus.node.CbusBasicNode
addPropertyChangeListener, getMemo, getNodeCanId, getNodeInFLiMMode, getNodeInLearnMode, getNodeInSetupMode, getNodeNumber, notifyPropertyChangeListener, removePropertyChangeListener, setCanId, setCanId, setNodeInFLiMMode, setNodeInLearnMode, setNodeInSetupMode, setNodeNumber
-
-
-
-
Constructor Detail
-
CbusDummyNode
public CbusDummyNode(@CheckForNull CanSystemConnectionMemo sysmemo, int nodenumber)
Create a new CbusDummyNode.- Parameters:
sysmemo
- System Connection to use, can be null.nodenumber
- the initial Node Number.
-
-
Method Detail
-
getNewCanListener
public CbusNodeCanListener getNewCanListener()
Uses in-class CanListener- Overrides:
getNewCanListener
in classCbusBasicNodeWithManagers
-
sendNUMEV
protected void sendNUMEV()
-
sendENRSP
protected void sendENRSP()
-
sendNEVAL
protected void sendNEVAL(int index, int varIndex)
-
sendPARAMS
protected void sendPARAMS()
-
sendPNN
protected void sendPNN()
-
sendPARAN
protected void sendPARAN(int index)
-
sendNVANS
protected void sendNVANS(int index)
-
setDummyNV
protected void setDummyNV(int index, int newval)
-
sendCMDERR
protected void sendCMDERR(int errorId)
-
sendWRACK
protected void sendWRACK()
-
flimButton
public void flimButton()
-
setDNN
protected void setDNN(int nn)
-
-