state_from_string


Description:

public static SensorState state_from_string (string sensor_state)

Gets the sensor stateability as a enumerated value.

Parameters:

sensor_state

the sensor stateability, e.g. 'measuring'.

Returns:

a SensorState