Class SimCANPump
java.lang.Object
com.tccc.kos.ext.freestyle.sim.can.subnode.SimCANSubNode
com.tccc.kos.ext.freestyle.sim.can.subnode.pump.SimCANPump
- Direct Known Subclasses:
SimLFCVPump
Base class for mock CAN pumps.
- Version:
- 2023-12-18
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimCANPump
(SimCANBoard board, int subNodeId) Create a mock pump with the specified CANOpen subNodeId. -
Method Summary
Modifier and TypeMethodDescriptionint
void
setCriticalDataOffset
(int offset) void
writeShortCriticalData
(int data) Methods inherited from class com.tccc.kos.ext.freestyle.sim.can.subnode.SimCANSubNode
activate, getBoard, getNodeId, getRpdoId, getSim, getSubNodeId, reset, setRpdoId, toString
-
Field Details
-
essential
public boolean essential
-
-
Constructor Details
-
SimCANPump
Create a mock pump with the specified CANOpen subNodeId.- Parameters:
board
- the board this sub-node is associated withsubNodeId
- the CAN bus sub-node for this pump
-
-
Method Details
-
setCriticalDataOffset
public void setCriticalDataOffset(int offset) -
writeShortCriticalData
public void writeShortCriticalData(int data) -
readShortCriticalData
public int readShortCriticalData()
-