public class FilterIdentificator extends Object
| Constructor and Description |
|---|
FilterIdentificator(PlutoGatewayInterface plutoGateway)
Build a FilterIdentificator with its 6 hall effect sensors.
|
| Modifier and Type | Method and Description |
|---|---|
List<DigitalSensor> |
getFilterIDSensors()
Return the list of filterID sensors.
|
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(int[] readHexaValues)
Update sensors values from hexavalues read from gateway.
|
public FilterIdentificator(PlutoGatewayInterface plutoGateway)
plutoGateway - public List<DigitalSensor> getFilterIDSensors()
@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(int[] readHexaValues)
readHexaValues - Copyright © 2017 LSST. All rights reserved.