mirror of https://github.com/ArduPilot/ardupilot
21 lines
447 B
C#
21 lines
447 B
C#
|
using System;
|
||
|
|
||
|
namespace ArducopterConfigurator
|
||
|
{
|
||
|
public interface ItalksToApm
|
||
|
{
|
||
|
void handleLineOfText(string strRx);
|
||
|
event EventHandler<sendTextToApmEventArgs> sendTextToApm;
|
||
|
|
||
|
}
|
||
|
|
||
|
public class sendTextToApmEventArgs : EventArgs
|
||
|
{
|
||
|
public string textToSend;
|
||
|
|
||
|
public sendTextToApmEventArgs(string textToSend)
|
||
|
{
|
||
|
this.textToSend = textToSend;
|
||
|
}
|
||
|
}
|
||
|
}
|