using System; using GPSBusiness.Helper; namespace GPSBusiness.BBGPSStandard { /// /// 沃瑞特gps:请求服务器时间应答 /// public class Data_B003 { /// /// 应答流水号--对应的终端注册消息的流水号 /// public UInt16 Mdt_SerialNo; /// /// 系统时间 /// 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; } } }