using System; using GPSBusiness.Helper; namespace GPSBusiness.BBGPSStandard { /// /// 车辆控制应答 /// public class Data_0500 { /// /// 应答流水号 /// public UInt16 PT_SerialNo; /// /// 位置信息汇报消息体 /// 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); } } }