convert enum TrillType into enum class