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.
30 lines
757 B
30 lines
757 B
2 years ago
|
using System;
|
||
|
using GPSBusiness.Helper;
|
||
|
namespace GPSBusiness.BBGPSStandard
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ��ѯ�ն˲���Ӧ��
|
||
|
/// </summary>
|
||
|
public class Data_0104
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Ӧ����ˮ��
|
||
|
/// </summary>
|
||
|
public UInt16 PT_SerialNo;
|
||
|
/// <summary>
|
||
|
/// Ӧ����������
|
||
|
/// </summary>
|
||
|
public byte ReturnSum;
|
||
|
/// <summary>
|
||
|
/// Ӧ����ֵ
|
||
|
/// </summary>
|
||
|
public byte[] RetrunValue;
|
||
|
public void FromBytes(Data_0104 model, byte[] buffer)
|
||
|
{
|
||
|
model.PT_SerialNo = ByteConvert.ToUInt16(buffer, 0);
|
||
|
model.ReturnSum = buffer[2];
|
||
|
model.RetrunValue = ByteConvert.ToBytes(buffer, 3, buffer.Length - 3);
|
||
|
}
|
||
|
}
|
||
|
}
|