public class OCSStateEventConverter extends Object
| Constructor and Description |
|---|
OCSStateEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.sal.camera.CameraStateChangeEvent |
convert(org.lsst.ccs.utilities.taitime.CCSTimeStamp when,
Enum ccsEnum)
Convert a CCS Enum into the equivalent CameraStateChangeEvent
|
public org.lsst.sal.camera.CameraStateChangeEvent convert(org.lsst.ccs.utilities.taitime.CCSTimeStamp when,
Enum ccsEnum)
throws RuntimeException
when - When the state change occurredccsEnum - The input CCS Enumnull if the input Enum is unknown.RuntimeException - If an error occurs during the conversion process.Copyright © 2023 LSST. All rights reserved.