
public class InclinometerModule
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
InclinometerModule(String plutoGatewayName,
int byteNumero)
Build an InclinometerModule with the numero of byte read on the device.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getInclinaison()
Returns inclinaison value in degrees.
|
void |
initModule() |
double |
readInclinaison()
Read new value for inclinometer on plutoGateway and return inclinaison.
|
void |
updateInclinaison(String[] hexaValues)
Updates inclinaison from array of hexaValues.
|
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, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, postStart, startpublic InclinometerModule(String plutoGatewayName, int byteNumero)
plutoGatewayName - byteNumero - @Command(type=QUERY, level=1, description="Returns inclinaison value in degrees. Doesn\'t read again CANopen device.") public double getInclinaison()
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void updateInclinaison(String[] hexaValues)
hexaValues - FcsHardwareException@Command(type=QUERY, level=1, description="Reads new value for inclinometer and returns inclinaison.") public double readInclinaison()
Copyright © 2017 LSST. All rights reserved.