using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace RCUHost.Protocols
{
///
/// 报警状态 Packet RCU -> 服务器
///
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AlarmPacket
{
///
/// SOS
///
public byte SOS;
///
/// 门磁
///
public byte Door;
///
/// 取电卡类型
/// 1: 无卡
/// 2:经理卡
/// 3:客人卡
/// 4:服务卡
///
public byte Card;
///
/// CRC16
///
public ushort CRC;
}
}