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:
com.tccc.kos.commons.core.service.handle.HandleAware
,com.tccc.kos.commons.util.ready.Ready
,com.tccc.kos.core.service.assembly.AssemblyAware
,com.tccc.kos.core.service.firmware.FirmwareUpdater
,com.tccc.kos.core.service.hardware.BoardIdentifier
public class CalCupBoard
extends com.tccc.kos.core.service.hardware.UpdatableBoard
implements com.tccc.kos.core.service.firmware.FirmwareUpdater
Board for a calibration cup
- Version:
- 2024-05-15
-
Constructor Summary
ConstructorsConstructorDescriptionCalCupBoard
(com.tccc.kos.core.service.assembly.Assembly assembly, String name) Create a new calibration cup board -
Method Summary
Modifier and TypeMethodDescriptioncom.tccc.kos.core.service.firmware.UpdateTask
checkForUpdate
(com.tccc.kos.core.service.firmware.FirmwareService service, com.tccc.kos.core.service.firmware.FirmwareUpdatableDevice device) getType()
com.tccc.kos.core.service.firmware.FirmwareUpdater
void
onLink
(com.tccc.kos.core.service.hardware.HardwareLink link) void
onUnlink
(com.tccc.kos.core.service.hardware.HardwareLink link) com.tccc.kos.commons.util.concurrent.future.FutureWork
update
(com.tccc.kos.core.service.firmware.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, isReady, onBoardReady, removeListener, 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
Methods inherited from interface com.tccc.kos.commons.util.ready.Ready
getReady, isReady, setReady
-
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 interfacecom.tccc.kos.core.service.hardware.BoardIdentifier
-
getInstanceId
- Specified by:
getInstanceId
in interfacecom.tccc.kos.core.service.hardware.BoardIdentifier
-
onLink
public void onLink(com.tccc.kos.core.service.hardware.HardwareLink link) - Overrides:
onLink
in classcom.tccc.kos.core.service.hardware.Board
-
onUnlink
public void onUnlink(com.tccc.kos.core.service.hardware.HardwareLink link) - Overrides:
onUnlink
in classcom.tccc.kos.core.service.hardware.Board
-
getUpdater
public com.tccc.kos.core.service.firmware.FirmwareUpdater getUpdater()- Specified by:
getUpdater
in classcom.tccc.kos.core.service.hardware.UpdatableBoard
-
checkForUpdate
public com.tccc.kos.core.service.firmware.UpdateTask checkForUpdate(com.tccc.kos.core.service.firmware.FirmwareService service, com.tccc.kos.core.service.firmware.FirmwareUpdatableDevice device) throws Exception - Specified by:
checkForUpdate
in interfacecom.tccc.kos.core.service.firmware.FirmwareUpdater
- Throws:
Exception
-
update
public com.tccc.kos.commons.util.concurrent.future.FutureWork update(com.tccc.kos.core.service.firmware.UpdateTask task) throws Exception - Specified by:
update
in interfacecom.tccc.kos.core.service.firmware.FirmwareUpdater
- Throws:
Exception
-