コード例 #1
0
        public override void SendCommand(HefnyCopterCommand HefnyCopterCommand)
        {
            byte[] Command = HefnyCopterCommand.CommandBytes;

            if (Command.Length != 9) return;
            mSerialPort.Write(Command,0,Command.Length);
        }
コード例 #2
0
 /// <summary>
 /// Send Command -either CMD or SETVALUE- to vehicle.
 /// </summary>
 /// <param name="HefnyCopterCommand"></param>
 public virtual void SendCommand(HefnyCopterCommand HefnyCopterCommand)
 {
     return;
 }