初始化CRICS

This commit is contained in:
2025-12-11 09:17:16 +08:00
commit 83247ec0a2
2735 changed files with 787765 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
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;
}
}