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
774 B
28 lines
774 B
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;
|
|
}
|
|
}
|
|
}
|
|
|