/// <summary> /// Write a command to the controller /// </summary> /// <param name="aCommand">The command to be written. It is the <i>generic axis</i> command</param> protected void SendCommand(AxisCommands aCommand) { Debug.Assert(CommandRegister.ContainsKey(aCommand)); Controller.Commands theCommand = CommandRegister[aCommand]; WriteCommand(theCommand); }