Fix ISensor interface

This commit is contained in:
Denis-Cosmin Nutiu 2020-04-20 13:20:12 +03:00
parent a05d724734
commit efe6c945b0

View file

@ -1,8 +1,8 @@
using NucuCar.Domain.Telemetry; using NucuCar.Domain.Sensors;
namespace NucuCar.Sensors namespace NucuCar.Sensors
{ {
public interface ISensor<out TSensor> where TSensor : class, ITelemeter public interface ISensor<out TSensor> where TSensor : GenericTelemeterSensor
{ {
TSensor Object { get; } TSensor Object { get; }
} }