using System;
using GPSBusiness.Helper;
namespace GPSBusiness.BBGPSStandard
{
///
/// 查询终端参数应答
///
public class Data_0104
{
///
/// 应答流水号
///
public UInt16 PT_SerialNo;
///
/// 应答参数个数
///
public byte ReturnSum;
///
/// 应答的值
///
public byte[] RetrunValue;
public void FromBytes(Data_0104 model, byte[] buffer)
{
model.PT_SerialNo = ByteConvert.ToUInt16(buffer, 0);
model.ReturnSum = buffer[2];
model.RetrunValue = ByteConvert.ToBytes(buffer, 3, buffer.Length - 3);
}
}
}