Class CANModelMgr
java.lang.Object
com.tccc.kos.ext.freestyle.hardware.can.model.CANModelMgr
Manager for all known CAN boards and model numbers.
- Version:
- 2025-05-23
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
add
(CANBoardType type) static CANModel
add
(CANBoardType type, int modelNum) static CANModel
add
(CANBoardType type, int modelNum, CANModelSettings settings) static CANModel
add
(CANBoardType type, int modelNum, CANModelSettings settings, CANBoardInstanceIdType instanceIdType) static CANBoardType
getBoardType
(String name) Return the CANBoardType with the specified name.static CANModel
getModel
(int modelNumber) Return the CANModel that corresponds to the specified model number.
-
Constructor Details
-
CANModelMgr
public CANModelMgr()
-
-
Method Details
-
add
-
add
-
add
-
add
public static CANModel add(CANBoardType type, int modelNum, CANModelSettings settings, CANBoardInstanceIdType instanceIdType) -
getBoardType
Return the CANBoardType with the specified name. -
getModel
Return the CANModel that corresponds to the specified model number.- Parameters:
modelNumber
- the board model number- Returns:
- the corresponding model
-