package net.littlebigisland.droidibus.ibus;

public enum IBusCommands {
	
	IKEGetFuel(DeviceAddress.InstrumentClusterElectronics.toByte(), 0);
	
	private final byte targetSystem;
	private final int functionID;
	
	IBusCommands(byte ts, int fid){
		targetSystem = ts;
		functionID = fid;
	}
	
	public byte getTargetSystem(){
		return targetSystem;
	}
	
	public int getFunctionID(){
		return functionID;
	}
}

@@ -68,19 +68,16 @@
 ands %7B%0D%0A
-%09%0D%0A
 %09IKEGetF
@@ -83,342 +83,59 @@
 Fuel
-(DeviceAddress.InstrumentClusterElectronics.toByte(), 0);%0D%0A%09%0D%0A%09private final byte targetSystem;%0D%0A%09private final int functionID;%0D%0A%09%0D%0A%09IBusCommands(byte ts, int fid)%7B%0D%0A%09%09targetSystem = ts;%0D%0A%09%09functionID = fid;%0D%0A%09%7D%0D%0A%09%0D%0A%09public byte getTargetSystem()%7B%0D%0A%09%09return targetSystem;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getFunctionID()%7B%0D%0A%09%09return functionID;%0D%0A%09%7D
+1,%0D%0A%09IKEResetFuel1,%0D%0A%09IKEGetFuel2,%0D%0A%09IKEResetFuel2;
 %0D%0A%7D%0D

Revert to regular ENums