public Sensor(SensorName sensorName, string unit = "", int persistenceInterval = 900) : base((int)sensorName, unit) { PersistenceInterval = persistenceInterval; Name = sensorName.ToString(); }