You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using HybirdFrameworkCore.Autofac.Attribute;
|
|
|
|
|
|
|
|
|
|
namespace Service.TBox.Msg.Host;
|
|
|
|
|
|
|
|
|
|
public class LockMsg : BaseMsg
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0:断开连接 1:加锁 2:解锁 3:无效
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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;
|
|
|
|
|
}
|
|
|
|
|
}
|