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.
29 lines
774 B
29 lines
774 B
2 years ago
|
using System;
|
||
|
using GPSBusiness.Helper;
|
||
|
namespace GPSBusiness.BBGPSStandard
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ������gps������������ʱ��Ӧ��
|
||
|
/// </summary>
|
||
|
public class Data_B003
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Ӧ����ˮ��--��Ӧ���ն�ע����Ϣ����ˮ��
|
||
|
/// </summary>
|
||
|
public UInt16 Mdt_SerialNo;
|
||
|
/// <summary>
|
||
|
/// ϵͳʱ��
|
||
|
/// </summary>
|
||
|
public byte[] SysTime;
|
||
|
public byte[] GetBytes(DataHead model)
|
||
|
{
|
||
|
ByteBuilder bb = new ByteBuilder();
|
||
|
bb.Append(ByteConvert.ToBytes(this.Mdt_SerialNo));
|
||
|
bb.Append(this.SysTime);
|
||
|
model.DataContent = bb.GetBytes();
|
||
|
byte[] bModel = ByteConvert.Zy(model.GetBytes());
|
||
|
return bModel;
|
||
|
}
|
||
|
}
|
||
|
}
|