using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace RCUHost.Protocols
{
	/// <summary>
	/// 心跳 Packet RCU -> 服务器
	/// </summary>
	[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
	public struct HeartPacket
	{
		/// <summary>
		/// MAC地址
		/// </summary>
		[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 6)]
		public byte[] MAC;
        
		/// <summary>
		/// CRC16
		/// </summary>
		public ushort CRC;
	}
}
