fromOrdinal

Converts an ordinal value back to a FeatureState.

Return

The corresponding FeatureState

Parameters

ordinal

The ordinal value to convert (0 = REMOTE, 1 = LOCAL_OFF, 2 = LOCAL_ON)

Throws

if the ordinal is not valid