com.openxc.measurements.TurnSignalStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openxc-it Show documentation
Show all versions of openxc-it Show documentation
Instrumentation test suite for OpenXC library
The newest version!
package com.openxc.measurements;
import com.openxc.units.State;
public class TurnSignalStatus extends
BaseMeasurement> {
public final static String ID = "turn_signal_status";
public enum TurnSignalPosition {
OFF,
LEFT,
RIGHT
}
public TurnSignalStatus(State value) {
super(value);
}
public TurnSignalStatus(TurnSignalPosition value) {
this(new State(value));
}
public TurnSignalStatus(String value) {
this(TurnSignalPosition.valueOf(value));
}
@Override
public String getGenericName() {
return ID;
}
}