public class Inclinometer extends Object implements SensorPluggedOnDevice, AlertRaiser
alertSeparator| Constructor and Description |
|---|
Inclinometer() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.services.alert.AlertService |
getAlertService()
return alertService
|
int |
getByteNumero() |
String |
getDeviceName() |
double |
getInclinaison()
Returns inclinaison value in degrees.
|
String |
getName()
methods overriden from interface SensorPLuggedOnDevice
|
org.lsst.ccs.Subsystem |
getSubsystem() |
double |
getVoltage() |
void |
publishData() |
void |
updateValue(int newValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearAlarm, getAlertSeparator, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningpublic String getName()
getName in interface AlertRaisergetName in interface SensorPluggedOnDevicepublic String getDeviceName()
getDeviceName in interface SensorPluggedOnDevicepublic int getByteNumero()
getByteNumero in interface SensorPluggedOnDevicepublic void updateValue(int newValue)
updateValue in interface SensorPluggedOnDevice@Command(type=QUERY,
level=1,
description="Returns inclinaison value in degrees. Doesn\'t read again CANopen device.")
public double getInclinaison()
@Command(type=QUERY,
level=1,
description="return raw voltage read on AC PlutoGateway unit=0.1Volt")
public double getVoltage()
public void publishData()
public org.lsst.ccs.Subsystem getSubsystem()
getSubsystem in interface AlertRaiserpublic org.lsst.ccs.services.alert.AlertService getAlertService()
AlertRaisergetAlertService in interface AlertRaiserCopyright © 2019 LSST. All rights reserved.