NucuCar/NucuCar.Domain/Sensors/GenericTelemeterSensor.cs

19 lines
654 B
C#
Raw Normal View History

using System.Collections.Generic;
using NucuCar.Domain.Telemetry;
namespace NucuCar.Domain.Sensors
{
/// <summary>
/// The GenericSensor is an abstract class, which provides a base for abstracting hardware sensors
/// with telemetry support.
/// See: <see cref="ITelemeter"/>
/// See: <see cref="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();
}
}