Files
Web_CRICS_Server_VS2010_Prod/RCUHost/Protocols/AlarmPacket.cs
2025-12-11 09:17:16 +08:00

41 lines
667 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace RCUHost.Protocols
{
/// <summary>
/// 报警状态 Packet RCU -> 服务器
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AlarmPacket
{
/// <summary>
/// SOS
/// </summary>
public byte SOS;
/// <summary>
/// 门磁
/// </summary>
public byte Door;
/// <summary>
/// 取电卡类型
/// 1 无卡
/// 2经理卡
/// 3客人卡
/// 4服务卡
/// </summary>
public byte Card;
/// <summary>
/// CRC16
/// </summary>
public ushort CRC;
}
}