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.

29 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;
}
}
}