public final class HallTransition extends Object implements Serializable, TimeOrdered
| Constructor and Description |
|---|
HallTransition(org.lsst.ccs.utilities.taitime.CCSTimeStamp time,
int sensor,
double position,
boolean on)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPosition()
Gets the absolute position of the transition.
|
int |
getSensorId()
Gets the Hall sensor ID number.
|
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getTime()
Gets the time of the transition.
|
boolean |
isOn()
Gets the polarity of the Hall transition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, timeDiff, timeDiffpublic HallTransition(org.lsst.ccs.utilities.taitime.CCSTimeStamp time,
int sensor,
double position,
boolean on)
time - The time of the transition.sensor - The ID number of the sensor.position - The encoder position in mm assigned to the transition, derived from
the last calibration of the Hall sensor readout.on - True if the transition left the Hall switch in the "on" state.public org.lsst.ccs.utilities.taitime.CCSTimeStamp getTime()
getTime in interface TimeOrderedpublic int getSensorId()
public double getPosition()
public boolean isOn()
Copyright © 2020 LSST. All rights reserved.