Plane.Sdk3/PlaneGcsSdk_Shared/CommunicationManagement/CommunicationReceiveCopterInfoEventArgs.cs
zxd 4ffa68c99a 上传通信模块
修改了多网卡同时使用时的连接判断
2018-09-05 11:24:03 +08:00

41 lines
1009 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Plane.CommunicationManagement
{
public class CommunicationReceiveCopterInfoEventArgs
{
public CommunicationReceiveCopterInfoEventArgs(int id, byte[] package, byte commModuleVersion)
{
this.Id = id;
this.Package = package;
this.CommModuleVersion = commModuleVersion;
}
public int Id { get; private set; }
public byte[] Package { get; private set; }
public byte CommModuleVersion { get; private set; }
}
public class CommunicationConnectEventArgs
{
public CommunicationConnectEventArgs(int id)
{
this.Id = id;
}
public int Id { get; private set; }
}
public class CommunicationCopterDisconnectEventArgs
{
public CommunicationCopterDisconnectEventArgs(int id)
{
this.Id = id;
}
public int Id { get; private set; }
}
}