
public interface PieceOfHardware extends EmergencyMessageListener, AlertRaiser
alertSeparator| Modifier and Type | Method and Description |
|---|---|
default void |
checkBooted() |
default boolean |
checkId(String id) |
default void |
checkInitialized() |
default StatusDataPublishedByHardware |
createStatusDataPublishedByHardware()
Creates an object to be published on the STATUS bus by a PieceOfHardware.
|
void |
doInitializePDOs()
Initialize canOpenInterface in order to be able to retrieve PDOs if this
PieceOfHardware sends PDOS.
|
String |
getName() |
int |
getNodeID() |
String |
getSerialNB() |
void |
initializeAndCheckHardware()
This methods write some configuration data on the hardware CPU.
|
default void |
initializePDOs()
Initialize PDOs if device is booted.
|
boolean |
isBooted() |
boolean |
isInitialized() |
default String |
printState() |
default void |
publishData()
Publish Data on status bus for trending data base and GUIs.
|
default void |
raiseAlarmIfMissing()
raise an ALARM if this device is not booted.
|
void |
setBooted(boolean isBooted)
set boolean isBooted in INITIALIZATION phase.
|
void |
updateFromPDO(org.lsst.ccs.drivers.canopenjni.PDOData pdo) |
onEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningString getName()
getName in interface AlertRaiserString getSerialNB()
int getNodeID()
boolean isBooted()
void setBooted(boolean isBooted)
isBooted - boolean isInitialized()
void initializeAndCheckHardware()
FcsHardwareExceptiondefault void checkBooted()
default void checkInitialized()
default void raiseAlarmIfMissing()
default boolean checkId(String id)
void doInitializePDOs()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionvoid updateFromPDO(org.lsst.ccs.drivers.canopenjni.PDOData pdo)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptiondefault void initializePDOs()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptiondefault StatusDataPublishedByHardware createStatusDataPublishedByHardware()
default void publishData()
default String printState()
Copyright © 2019 LSST. All rights reserved.