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 voidadd(CANBoardType type) static CANModeladd(CANBoardType type, int modelNum) static CANModeladd(CANBoardType type, int modelNum, CANModelSettings settings) static CANModeladd(CANBoardType type, int modelNum, CANModelSettings settings, CANBoardInstanceIdType instanceIdType) static CANBoardTypegetBoardType(String name) Return the CANBoardType with the specified name.static CANModelgetModel(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
-