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.

43 lines
1.1 KiB

using GPSBusiness.Helper;
namespace GPSBusiness.BBGPSStandard
{
/// <summary>
/// �¼�����
/// </summary>
public class Data_8301
{
/// <summary>
/// ��������
/// </summary>
public byte SetType;
/// <summary>
/// ��������
/// </summary>
public byte SetSum;
/// <summary>
/// �¼�ID
/// </summary>
public byte SetID;
/// <summary>
/// �¼����ݳ���
/// </summary>
public byte Setength;
/// <summary>
/// �¼�����
/// </summary>
public string SetContent;
public byte[] GetBytes(DataHead model)
{
ByteBuilder bb = new ByteBuilder();
bb.Append(this.SetType);
bb.Append(this.SetSum);
bb.Append(this.SetID);
bb.Append(this.Setength);
bb.Append(ByteConvert.ToBytes(this.SetContent));
model.DataContent = bb.GetBytes();
byte[] bModel = ByteConvert.Zy(model.GetBytes());
return bModel;
}
}
}