You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
611 B
C#
18 lines
611 B
C#
//using System.Threading.Tasks;
|
|
|
|
namespace Mesnac.DeviceAdapter.HWKC_81600
|
|
{
|
|
public class MessagePack
|
|
{
|
|
public byte m_BeginChar = 0X01; //设备地址
|
|
public byte m_FunctionCode = 0X00; //功能码
|
|
public byte m_Channel1 = 0X00; //通道号地址低
|
|
public byte m_Channel2 = 0X00; //通道号地址高
|
|
//public byte m_Data1 = 0X00; //数据位1
|
|
public byte[] m_Data1 = null; //数据位1
|
|
public byte[] m_Data2 = null; //数据位2
|
|
//public byte m_Data2 = 0X00; //数据位2
|
|
public byte[] m_CRC = null; // 校验和
|
|
}
|
|
}
|