using OBD.NET.DataTypes;

namespace OBD.NET.OBDData._40_5F;

public class AbsoluteThrottlePositionC : AbstractOBDData
{
    #region Properties & Fields

    public Percent Position => new(A / 2.55, 0, 100);

    #endregion

    #region Constructors

    public AbsoluteThrottlePositionC()
        : base(0x48, 1)
    { }

    #endregion

    #region Methods

    public override string ToString() => Position.ToString();

    #endregion
}