初始化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>
[StructLayoutAttribute(LayoutKind.Sequential, Pack = 1)]
public struct PowerSupplyPacketReply
{
#region Status Const
/// <summary>
/// 电源开启
/// </summary>
public const byte Open = 0x00;
/// <summary>
/// 电源关闭
/// </summary>
public const byte Close = 0x01;
#endregion
/// <summary>
/// 状态
/// </summary>
public byte Status;
/// <summary>
/// CRC16
/// </summary>
public ushort CRC;
}
}