using DotNetty.Buffers; using HybirdFrameworkCore.Utils; using Service.Fire.Common; namespace Service.Ups.Msg; public class ASDU:APCI { public override byte[] GetBytes() { var list = new List(); list.AddRange(ModelConvert.Encode(this)); return list.ToArray(); } public static void ParseHeader(byte[] data, ASDU asdu) { IByteBuffer byteBuffer = Unpooled.WrappedBuffer(data); try { } catch (Exception e) { throw e; } finally { byteBuffer.Release(); } } }