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.
24 lines
615 B
24 lines
615 B
using System;
|
|
using GPSBusiness.Helper;
|
|
namespace GPSBusiness.BBGPSStandard
|
|
{
|
|
/// <summary>
|
|
/// 车辆控制应答
|
|
/// </summary>
|
|
public class Data_0500
|
|
{
|
|
/// <summary>
|
|
/// 应答流水号
|
|
/// </summary>
|
|
public UInt16 PT_SerialNo;
|
|
/// <summary>
|
|
/// 位置信息汇报消息体
|
|
/// </summary>
|
|
public byte[] GPS_Data;
|
|
public void FromBytes(Data_0500 model, byte[] buffer)
|
|
{
|
|
model.PT_SerialNo = ByteConvert.ToUInt16(buffer, 0);
|
|
model.GPS_Data = ByteConvert.ToBytes(buffer, 1, buffer.Length - 1);
|
|
}
|
|
}
|
|
}
|
|
|