Class CalCupBoard
java.lang.Object
com.tccc.kos.core.service.hardware.Board
com.tccc.kos.core.service.hardware.UpdatableBoard
com.tccc.kos.ext.freestyle.hardware.calcup.CalCupBoard
- All Implemented Interfaces:
HandleAware
,Ready
,AssemblyAware
,FirmwareUpdater
,BoardIdentifier
Board for a calibration cup
- Version:
- 2024-05-15
-
Constructor Summary
ConstructorsConstructorDescriptionCalCupBoard
(Assembly assembly, String name) Create a new calibration cup board -
Method Summary
Modifier and TypeMethodDescriptioncheckForUpdate
(FirmwareService service, FirmwareUpdatableDevice device) getType()
void
onLink
(HardwareLink link) void
onUnlink
(HardwareLink link) update
(UpdateTask task) Methods inherited from class com.tccc.kos.core.service.hardware.UpdatableBoard
getFirmwareLink, getReady, onUpdateFailed
Methods inherited from class com.tccc.kos.core.service.hardware.Board
addLinkListener, addReadyListener, boardReady, getAssembly, getHandle, getLink, getLinkCount, isLinked, isOptional, isReady, isSticky, onBoardReady, removeListener, setOptional, setSticky, verifyLinked
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.core.service.assembly.AssemblyAware
getAssemblyName
Methods inherited from interface com.tccc.kos.core.service.firmware.FirmwareUpdater
getCheckForUpdateRetryCount, getCheckForUpdateRetryDelayMs
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
-
Constructor Details
-
CalCupBoard
Create a new calibration cup board- Parameters:
assembly
- the assembly the board is part ofname
- name of the board
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBoardIdentifier
-
getInstanceId
- Specified by:
getInstanceId
in interfaceBoardIdentifier
-
onLink
-
onUnlink
-
getUpdater
- Specified by:
getUpdater
in classUpdatableBoard
-
checkForUpdate
public UpdateTask checkForUpdate(FirmwareService service, FirmwareUpdatableDevice device) throws Exception - Specified by:
checkForUpdate
in interfaceFirmwareUpdater
- Throws:
Exception
-
update
- Specified by:
update
in interfaceFirmwareUpdater
- Throws:
Exception
-