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.
28 lines
715 B
28 lines
715 B
2 years ago
|
using GPSBusiness.Helper;
|
||
|
namespace GPSBusiness.BBGPSStandard
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// �ı���Ϣ�·�
|
||
|
/// </summary>
|
||
|
public class Data_8300
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ��־
|
||
|
/// </summary>
|
||
|
public byte TextSign;
|
||
|
/// <summary>
|
||
|
/// �ı���Ϣ
|
||
|
/// </summary>
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|