using HybirdFrameworkCore.Autofac.Attribute; namespace Service.TBox.Msg.Host; public class LockMsg : BaseMsg { /// /// 0:断开连接 1:加锁 2:解锁 3:无效 /// [Property(32, 2)] public byte Lock { get; set; } [Property(40, 8)] public byte B2 { get; set; } [Property(48, 8)] public byte B3 { get; set; } [Property(56, 8)] public byte B4 { get; set; } [Property(64, 8)] public byte B5 { get; set; } [Property(72, 8)] public byte B6 { get; set; } [Property(80, 8)] public byte B7 { get; set; } [Property(88, 8)] public byte B8 { get; set; } public LockMsg(byte @lock) { Id = 0x1880D0F3; Lock = @lock; } }