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.
25 lines
654 B
25 lines
654 B
2 years ago
|
using System;
|
||
|
using GPSBusiness.Helper;
|
||
|
namespace GPSBusiness.BBGPSStandard
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// �ͻ���ƽ̨�·�LED��ʾ������ͨ����ָ��0x8900�·�
|
||
|
/// </summary>
|
||
|
public class Data_8900
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Ҫ��ʾ����Ϣ����
|
||
|
/// </summary>
|
||
|
public byte[] data;
|
||
|
public byte[] GetBytes(DataHead model)
|
||
|
{
|
||
|
ByteBuilder bb = new ByteBuilder();
|
||
|
bb.Append(ByteConvert.HexStringToByte("7E"));
|
||
|
bb.Append(data);
|
||
|
model.DataContent = bb.GetBytes();
|
||
|
byte[] bModel = ByteConvert.Zy(model.GetBytes());
|
||
|
return bModel;
|
||
|
}
|
||
|
}
|
||
|
}
|