using GPSBusiness.Helper; namespace GPSBusiness.BBGPSStandard { /// /// 提问下发 /// public class Data_8302 { /// /// 标志 /// public byte QuestionSign; /// /// 问题内容长度 /// public byte QuestionLength; /// /// 问题 /// public string QuestionContent; public byte[] GetBytes(DataHead model) { ByteBuilder bb = new ByteBuilder(); bb.Append(this.QuestionSign); bb.Append(this.QuestionLength); bb.Append(ByteConvert.ToBytes(this.QuestionContent)); model.DataContent = bb.GetBytes(); byte[] bModel = ByteConvert.Zy(model.GetBytes()); return bModel; } } }