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-examples Show documentation
Show all versions of openxc-examples Show documentation
Example Vehicle Dashboard application using OpenXC
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy