public class OCSStateEventConverter extends Object
| Constructor and Description |
|---|
OCSStateEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.sal.camera.CameraStateChangeEvent |
convert(Enum ccsEnum,
int priority)
Convert a CCS Enum into the equivalent CameraStateChangeEvent
|
public org.lsst.sal.camera.CameraStateChangeEvent convert(Enum ccsEnum, int priority) throws RuntimeException
ccsEnum - The input CCS Enumpriority - The priority to assign to the returned CameraStateChangeEvent.null if the input Enum is unknown.RuntimeException - If an error occurs during the conversion process.Copyright © 2021 LSST. All rights reserved.