Class AcceleratorDuration

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.property.PropertyValueObject
com.highmobility.autoapi.value.AcceleratorDuration
All Implemented Interfaces:
Iterable<Byte>, Collection<Byte>, List<Byte>

public class AcceleratorDuration extends PropertyValueObject
  • Field Details

  • Constructor Details

    • AcceleratorDuration

      public AcceleratorDuration(Double pedalPositionThreshold, com.highmobility.autoapi.value.measurement.Duration duration)
    • AcceleratorDuration

      public AcceleratorDuration(com.highmobility.value.Bytes valueBytes) throws CommandParseException
      Throws:
      CommandParseException
  • Method Details

    • getPedalPositionThreshold

      public Double getPedalPositionThreshold()
      Returns:
      The accelerator pedal position threshold percentage.
    • getDuration

      public com.highmobility.autoapi.value.measurement.Duration getDuration()
      Returns:
      The duration of the accelerator pedal position.
    • getLength

      public int getLength()
      Overrides:
      getLength in class com.highmobility.value.Bytes