public class OCSStateChangeToEventConverter extends Object
| Constructor and Description |
|---|
OCSStateChangeToEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.sal.camera.CameraEvent |
convert(org.lsst.ccs.utilities.taitime.CCSTimeStamp when,
Enum oldState,
Enum newState,
int eventPriority)
Convert a CCS state change (represented by Enums) into the equivalent SAL
event.
|
public org.lsst.sal.camera.CameraEvent convert(org.lsst.ccs.utilities.taitime.CCSTimeStamp when,
Enum oldState,
Enum newState,
int eventPriority)
when - The time when the state change occurred.oldState - The original statenewState - The new stateeventPriority - The priority for the created state change eventnull if no equivalent
event existsCopyright © 2022 LSST. All rights reserved.