using GPSBusiness.Helper; namespace GPSBusiness.BBGPSStandard { /// /// 文本信息下发 /// public class Data_8300 { /// /// 标志 /// public byte TextSign; /// /// 文本信息 /// public string TextInformation; public byte[] GetBytes(DataHead model) { ByteBuilder bb = new ByteBuilder(); bb.Append(this.TextSign); bb.Append(ByteConvert.ToBytes(this.TextInformation)); model.DataContent = bb.GetBytes(); byte[] bModel = ByteConvert.Zy(model.GetBytes()); return bModel; } } }