
public class Inclinometer extends Object implements SensorPluggedOnDevice, AlertRaiser, org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected org.lsst.ccs.services.DataProviderDictionaryService |
dataProviderDictionaryService |
alertSeparator| Constructor and Description |
|---|
Inclinometer() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
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, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNew@LookupField(strategy=TREE) protected org.lsst.ccs.services.DataProviderDictionaryService dataProviderDictionaryService
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic String getName()
getName 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 is 0.1 Volt") 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 © 2021 LSST. All rights reserved.