using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Socket
{
public class MessagePack
{
///
/// 帧开始
///
public byte m_BeginChar = 0x68;
///
/// 采集类型
///
public byte m_EnergyType;
///
/// 终端地址
///
public byte[] m_Meteraddr = new byte[2];
///
/// 命令号/token值
///
public byte[] m_MstaOrToken = new byte[2];
///
/// 起始符
///
public byte m_StartFlag;
///
/// 控制码
///
public byte m_MessageType;
///
/// 数据长度
///
public byte[] m_PackLen = new byte[2];
///
/// CS校验
///
public byte m_Verify;
///
/// 帧结尾
///
public byte m_EndChar = 0x16;
}
}