using System; using GPSBusiness.Helper; namespace GPSBusiness.BBGPSStandard { /// /// 客户的平台下发LED显示的内容通过透传指令0x8900下发 /// public class Data_8900 { /// /// 要显示的消息内容 /// 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; } } }