|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.subsystems.shutter.common.MovementHistoryImpl
public class MovementHistoryImpl
Class containing the data produced by a move
| Constructor Summary | |
|---|---|
MovementHistoryImpl()
|
|
MovementHistoryImpl(int index,
float startPosition)
|
|
MovementHistoryImpl(int index,
int status,
long startTime,
float startPosition,
long endTime,
float endPosition,
ArrayList<BladePosition> positions,
ArrayList<HallTransition> transitions)
|
|
| Method Summary | |
|---|---|
void |
addHallTransition(HallTransition transition)
|
int |
getBladeSetIndex()
Get BladeSet Index that produced the movement. |
float |
getEndPosition()
Get the position at the end of the movement. |
long |
getEndTime()
Get the end time of the movement in Epoch microseconds. |
List<HallTransition> |
getHallTransitions()
Get the list of Hall Sensor transitions corresponding to this movement. |
List<BladePosition> |
getMovementProfile()
Get the profile of the movement. |
float |
getStartPosition()
Get the position at the beginning of the movement. |
long |
getStartTime()
Get the start time of the movement in Epoch microseconds. |
int |
getStatus()
Get the movement completion status |
void |
setBladeSetIndex(int index)
|
void |
setEndPosition(float endPosition)
|
void |
setEndTime(long endTime)
|
void |
setHallTransitions(List<HallTransition> transitions)
|
void |
setMovementProfile(List<BladePosition> positions)
|
void |
setStartPosition(float startPosition)
|
void |
setStartTime(long startTime)
|
void |
setStatus(int status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovementHistoryImpl()
public MovementHistoryImpl(int index,
float startPosition)
public MovementHistoryImpl(int index,
int status,
long startTime,
float startPosition,
long endTime,
float endPosition,
ArrayList<BladePosition> positions,
ArrayList<HallTransition> transitions)
| Method Detail |
|---|
public void setBladeSetIndex(int index)
public void setStatus(int status)
public void setStartTime(long startTime)
public void setStartPosition(float startPosition)
public void setEndTime(long endTime)
public void setEndPosition(float endPosition)
public void setMovementProfile(List<BladePosition> positions)
public void setHallTransitions(List<HallTransition> transitions)
public void addHallTransition(HallTransition transition)
public int getBladeSetIndex()
getBladeSetIndex in interface MovementHistorypublic int getStatus()
getStatus in interface MovementHistorypublic long getStartTime()
getStartTime in interface MovementHistorypublic long getEndTime()
getEndTime in interface MovementHistorypublic float getStartPosition()
getStartPosition in interface MovementHistorypublic float getEndPosition()
getEndPosition in interface MovementHistorypublic List<BladePosition> getMovementProfile()
getMovementProfile in interface MovementHistorypublic List<HallTransition> getHallTransitions()
getHallTransitions in interface MovementHistory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||