12345678910111213141516171819 |
- using Core.Communication.Transport;
- using PLC.Siemens.Protocol.Common;
- namespace PLC.Siemens.Protocol.ListBlocks
- {
- public class BotItem
- {
- public ushort BlockNum { get; set; }
- public byte Unknown { get; set; }
- public BlockLangType BlockLang { get; set; }
- public void Build(ByteBuffer buffer)
- {
- BlockNum = buffer.PopUshort();
- Unknown = buffer.PopByte();
- BlockLang = (BlockLangType)buffer.PopByte();
- }
- }
- }
|