You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
654 B

using System;
using GPSBusiness.Helper;
namespace GPSBusiness.BBGPSStandard
{
/// <summary>
/// 客户的平台下发LED显示的内容通过透传指令0x8900下发
/// </summary>
public class Data_8900
{
/// <summary>
/// 要显示的消息内容
/// </summary>
public byte[] data;
public byte[] GetBytes(DataHead model)
{
ByteBuilder bb = new ByteBuilder();
bb.Append(ByteConvert.HexStringToByte("7E"));
bb.Append(data);
model.DataContent = bb.GetBytes();
byte[] bModel = ByteConvert.Zy(model.GetBytes());
return bModel;
}
}
}