
public class FilterIdentificator
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
FilterIdentificator(String gwName)
Build a FilterIdentificator with its 6 hall effect sensors.
|
| Modifier and Type | Method and Description |
|---|---|
List<DigitalSensor> |
getFilterIDSensors()
Return the list of filterID sensors.
|
void |
initModule() |
int |
readFilterIdentifier()
Read the 6 hall effect sensors, compute the number given by the magnets and returns it.
|
String |
toString() |
void |
updateSensorsValues()
Read filter ID sensors and update values.
|
void |
updateSensorsValues(String[] readHexaValues)
Update sensors values from hexavalues read from gateway.
|
getNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, setNObserverThreads, setObservables, setTickMillis, shutdownNow, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, postStart, startpublic FilterIdentificator(String gwName)
gwName - public List<DigitalSensor> getFilterIDSensors()
public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=QUERY, level=1, description="Read hall effect sensors, compute filter number and return it.") public int readFilterIdentifier()
@Command(type=QUERY, level=1, description="Read filter ID sensors and update values.") public void updateSensorsValues()
public void updateSensorsValues(String[] readHexaValues)
readHexaValues - Copyright © 2017 LSST. All rights reserved.