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.
27 lines
715 B
27 lines
715 B
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;
|
|
}
|
|
}
|
|
}
|
|
|