..
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
namespace ENIG
|
||||
namespace ENIG
|
||||
{
|
||||
// 패킷 구조체
|
||||
public class Packet
|
||||
{
|
||||
public const byte STX = 0x02;
|
||||
public const byte ETX = 0x03;
|
||||
public byte Length { get; set; }
|
||||
public byte ID { get; set; }
|
||||
public byte Command { get; set; }
|
||||
public byte[] Data { get; set; }
|
||||
public ushort CRC16 { get; set; }
|
||||
|
||||
public byte[] RawData { get; set; }
|
||||
public Packet()
|
||||
{
|
||||
Data = new byte[0];
|
||||
}
|
||||
}
|
||||
public class Packet
|
||||
{
|
||||
public const byte STX = 0x02;
|
||||
public const byte ETX = 0x03;
|
||||
public byte Length { get; set; }
|
||||
public byte ID { get; set; }
|
||||
public byte Command { get; set; }
|
||||
public byte[] Data { get; set; }
|
||||
public ushort CRC16 { get; set; }
|
||||
|
||||
public byte[] RawData { get; set; }
|
||||
public Packet()
|
||||
{
|
||||
Data = new byte[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user