mirror of
https://github.com/DarthAffe/OBD.NET.git
synced 2025-12-12 08:48:30 +00:00
28 lines
509 B
C#
28 lines
509 B
C#
using OBD.NET.Common.DataTypes;
|
|
|
|
namespace OBD.NET.Common.OBDData
|
|
{
|
|
public class MAFAirFlowRate : AbstractOBDData
|
|
{
|
|
#region Properties & Fields
|
|
|
|
public GramPerSec Rate => new GramPerSec(((256 * A) + B) / 100.0, 0, 655.35);
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public MAFAirFlowRate()
|
|
: base(0x10, 2)
|
|
{ }
|
|
|
|
#endregion
|
|
|
|
#region Methods
|
|
|
|
public override string ToString() => Rate.ToString();
|
|
|
|
#endregion
|
|
}
|
|
}
|