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