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.

26 lines
722 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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;
}
}