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.
33 lines
865 B
33 lines
865 B
2 years ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|