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
770 B

using System;
using GPSBusiness.Helper;
namespace GPSBusiness.BBGPSStandard
{
/// <summary>
/// 临时位置跟踪控制
/// </summary>
public class Data_8202
{
/// <summary>
/// 时间间隔
/// </summary>
public UInt16 TimeIntermission;
/// <summary>
/// 位置跟踪有效期
/// </summary>
public UInt32 TimeValid;
public byte[] GetBytes(DataHead model)
{
ByteBuilder bb = new ByteBuilder();
bb.Append(ByteConvert.ToBytes(this.TimeIntermission));
bb.Append(ByteConvert.ToBytes(this.TimeValid));
model.DataContent = bb.GetBytes();
byte[] bModel = ByteConvert.Zy(model.GetBytes());
return bModel;
}
}
}