public interface ISensor { T GetValue(); SensorType GetSensorType(); }