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

24 lines
478 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
{
[StructLayoutAttribute(LayoutKind.Sequential, Pack = 1)]
public struct DeviceHeader
{
/// 目标模块设备, 0是主控器其它的模块按地址拨码开关
public byte NodeAddr;
/// 命令类型
public ushort CmdType;
/// unsigned char
public byte AskAck;
public HostNumber RoomNumber;
}
}