mirror of
https://github.com/DarthAffe/OBD.NET.git
synced 2025-12-12 16:58:30 +00:00
24 lines
525 B
C#
24 lines
525 B
C#
using OBD.NET.Common.DataTypes;
|
|
|
|
namespace OBD.NET.Common.OBDData
|
|
{
|
|
public class OxygenSensor6FuelTrim : AbstractOBDData
|
|
{
|
|
#region Properties & Fields
|
|
|
|
public Volt Voltage => new Volt(A / 200.0, 0, 1.275);
|
|
public Percent ShortTermFuelTrim => new Percent((B / 1.28) - 100, -100, 99.2);
|
|
public bool IsSensorUsed => B != 0xFF;
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public OxygenSensor6FuelTrim()
|
|
: base(0x19, 2)
|
|
{ }
|
|
|
|
#endregion
|
|
}
|
|
}
|