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.
32 lines
865 B
32 lines
865 B
using GPSBusiness.Helper;
|
|
namespace GPSBusiness.BBGPSStandard
|
|
{
|
|
/// <summary>
|
|
/// 提问下发
|
|
/// </summary>
|
|
public class Data_8302
|
|
{
|
|
/// <summary>
|
|
/// 标志
|
|
/// </summary>
|
|
public byte QuestionSign;
|
|
/// <summary>
|
|
/// 问题内容长度
|
|
/// </summary>
|
|
public byte QuestionLength;
|
|
/// <summary>
|
|
/// 问题
|
|
/// </summary>
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|