def enumValue(self):
        """
        returns: (str) Enum state value
        """
        try:
            return self.properties.units_state[int(self.lastValue) - 1]
        except IndexError:
            value = "unknown"
        except ValueError:
            value = "NaN"
        return value
returns: (str) Enum state value