convert enum DynamicRange to enum class