Class SimCANSubNode
java.lang.Object
com.tccc.kos.ext.freestyle.sim.can.subnode.SimCANSubNode
- Direct Known Subclasses:
SimCANPump
Base implementation of a subNode.
- Version:
- 2023-12-18
-
Constructor Summary
ConstructorsConstructorDescriptionSimCANSubNode
(SimCANBoard board, int subNodeId) Create a new mock sub node with the specified board and CANOpen subNodeId. -
Method Summary
-
Constructor Details
-
SimCANSubNode
Create a new mock sub node with the specified board and CANOpen subNodeId.- Parameters:
board
- the board the sub-node is associated withsubNodeId
- the subNodeId for this node
-
-
Method Details
-
getSim
Return the CANSimulator. -
getNodeId
public int getNodeId()Return the nodeId of the associated board -
activate
public void activate()Called when the associated board is activated. -
reset
public void reset()Called when the associated board is reset. -
toString
-
getBoard
-
getSubNodeId
public int getSubNodeId() -
getRpdoId
-
setRpdoId
-