public override void SendCommand(HefnyCopterCommand HefnyCopterCommand) { byte[] Command = HefnyCopterCommand.CommandBytes; if (Command.Length != 9) return; mSerialPort.Write(Command,0,Command.Length); }
/// <summary> /// Send Command -either CMD or SETVALUE- to vehicle. /// </summary> /// <param name="HefnyCopterCommand"></param> public virtual void SendCommand(HefnyCopterCommand HefnyCopterCommand) { return; }