NucuCar/NucuCar.Sensors/Abstractions/GenericTelemeterSensor.cs

19 lines
682 B
C#
Raw Normal View History

using System.Collections.Generic;
2020-08-01 15:07:13 +00:00
using NucuCar.Telemetry.Abstractions;
2020-08-01 15:07:13 +00:00
namespace NucuCar.Sensors.Abstractions
{
/// <summary>
/// The GenericSensor is an abstract class, which provides a base for abstracting hardware sensors
/// with telemetry support.
/// See: <see cref="ITelemeter"/>
2020-08-01 15:07:13 +00:00
/// See: <see cref="NucuCar.Sensors.GenericSensor"/>
/// </summary>
public abstract class GenericTelemeterSensor : GenericSensor, ITelemeter
{
protected bool TelemetryEnabled;
public abstract string GetIdentifier();
public abstract Dictionary<string, object> GetTelemetryData();
public abstract bool IsTelemetryEnabled();
}
}