public abstract class CompactIOModule extends org.lsst.ccs.framework.Module implements Sensor
| Constructor and Description |
|---|
CompactIOModule() |
| Modifier and Type | Method and Description |
|---|---|
static String |
binaryToHex(String bin) |
String |
getHexaValue() |
int |
getValue() |
static String |
hexToBinary(String Hex)
The String argument represents an integer in hexa.
|
void |
initModule() |
abstract String |
readNewHexaValue() |
void |
updateValue()
This method reads the current value, controls if this current value
is correct depending on the type of the sensor (this value could
be between a minimum and a maximum) and if the value is correct, updates the
Sensor.value field.
|
alias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadNewValuepublic String hexaValue
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic abstract String readNewHexaValue()
public String getHexaValue()
public int getValue()
public void updateValue()
SensorupdateValue in interface Sensorpublic static String hexToBinary(String Hex)
Hex - Copyright © 2013 LSST. All Rights Reserved.