Files
ENIG/AGVLogic/EnigProtocol/enigprotocol/Packet.cs
ChiKyun Kim 58ca67150d 파일정리
2026-01-29 14:03:17 +09:00

20 lines
481 B
C#

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