Files

24 lines
478 B
C#
Raw Permalink Normal View History

2025-12-11 09:17:16 +08:00
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;
}
}