@@ -0,0 +1,1393 @@
+package com.openxc.measurements;%0A%0Aimport com.openxc.units.State;%0A%0A/**%0A * The IgnitionStatus is the current status of the vehicle's ignition.%0A */%0Apublic class IgnitionStatus%0A        extends Measurement%3CState%3CIgnitionStatus.IgnitionPosition%3E%3E%0A        implements VehicleMeasurement %7B%0A    public final static String ID = %22ignition_status%22;%0A%0A    public enum IgnitionPosition %7B%0A        OFF,%0A        ACCESSORY,%0A        RUN,%0A        START;%0A%0A        private final int mHashCode;%0A%0A        private IgnitionPosition() %7B%0A            mHashCode = toString().hashCode();%0A        %7D%0A%0A        public int getHashCode() %7B%0A            return mHashCode;%0A        %7D%0A%0A        public static IgnitionPosition fromHashCode(int hashCode) %7B%0A            for(IgnitionPosition position : IgnitionPosition.values()) %7B%0A                if(hashCode == position.getHashCode()) %7B%0A                    return position;%0A                %7D%0A            %7D%0A            throw new IllegalArgumentException(%0A                    %22No valid ignition position for hash code %22 + hashCode);%0A        %7D%0A    %7D%0A%0A    public IgnitionStatus() %7B%7D%0A%0A    public IgnitionStatus(State%3CIgnitionPosition%3E value) %7B%0A        super(value);%0A    %7D%0A%0A    public IgnitionStatus(IgnitionPosition value) %7B%0A        this(new State%3CIgnitionPosition%3E(value));%0A    %7D%0A%0A    public IgnitionStatus(Double value) %7B%0A        this(IgnitionPosition.fromHashCode(value.intValue()));%0A    %7D%0A%7D%0A

Add ignition status measurement.