
public class MovementHistoryStatus extends Object implements Serializable
Carrying out a command might require several blade set movements so there are two boolean flags defined to mark the first and last movements required for the command. If a command requires just a single movement then both flags will be set.
| Constructor and Description |
|---|
MovementHistoryStatus(boolean firstMovement,
boolean lastMovement,
MovementHistory history)
Constructs an instance from flags and a MovementHistory.
|
| Modifier and Type | Method and Description |
|---|---|
MovementHistory |
getHistory()
Get the embedded MovementHistory object.
|
ShutterSide |
getSide()
Gets the blade set that was moved.
|
boolean |
isFirstMovement()
Is this the first movement performed for whatever command was issued?
|
boolean |
isLastMovement()
Is this the last movement performed for whatever command was issued?
|
public MovementHistoryStatus(boolean firstMovement,
boolean lastMovement,
MovementHistory history)
firstMovement - true if this is the first movement of a serieslastMovement - true if this is the last movement of a serieshistory - the movement historypublic ShutterSide getSide()
public MovementHistory getHistory()
public boolean isFirstMovement()
public boolean isLastMovement()
Copyright © 2016 LSST. All rights reserved.