using HybirdFrameworkCore.Autofac.Attribute; using HybirdFrameworkCore.Utils; using HybirdFrameworkDriver.Common; namespace Service.WaterCool.Msg; public class BaseMsg: IToBytes { [Property(0, 32)] public UInt32 Id { get; set; } public byte[] ToBytes() { return ModelConvert.Encode(this); } }