00001 namespace PlatformController {
00002 public static class PlatformCommands {
00003 public static readonly PlatformCommand[] cmdArray = {
00004 new PlatformCommand('y', 1, "Set Steering"),
00005 new PlatformCommand('x', 2, "Set Throttle"),
00006 };
00007
00008
00009 public enum commands {
00010 setSteering,
00011 setThrottle
00012 }
00013 }
00014
00015 public class PlatformCommand {
00016 public readonly char command = 'y';
00017 public readonly int commandIndex = 0;
00018 public readonly string commandName = "Set Steering";
00019
00020 public PlatformCommand(char cmd, int cmdIndex, string cmdName) {
00021 command = cmd;
00022 commandIndex = cmdIndex;
00023 commandName = cmdName;
00024 }
00025 }
00026 }