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 LightStatusPacket { /// /// 灯光状态 /// [MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 8)] public byte[] Status; /// /// CRC16 /// public ushort CRC; } }