public Hygrometre(string name, Unite unite) { SensorID = name; SensorValue = 0; SensorUnity = unite; typeCapteur = TypeCapteur.humidite; }
public Thermometre(string id, Unite unite) { SensorID = id; SensorUnity = unite; SensorValue = 0; typeCapteur = TypeCapteur.temperature; }