Can we make this an IntEnum inner class of the NewportESP301 class?