public class OCSStateChangeToEventConverter extends Object
| Constructor and Description |
|---|
OCSStateChangeToEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.sal.camera.CameraEvent |
convert(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(Enum oldState, Enum newState, int eventPriority)
oldState - The original statenewState - The new stateeventPriority - The priority for the created state change eventnull if no equivalent
event existsCopyright © 2021 LSST. All rights reserved.