using OBD.NET.DataTypes;

namespace OBD.NET.OBDData._00_1F;

public class RunTimeSinceEngineStart : AbstractOBDData
{
    #region Properties & Fields

    public Second Runtime => new((256 * A) + B, 0, 65535);

    #endregion

    #region Constructors

    public RunTimeSinceEngineStart()
        : base(0x1F, 2)
    { }

    #endregion

    #region Methods

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

    #endregion
}