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 RestartMsg : BaseMsg
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// "0:无指令 1:重启指令"
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(32, 2)]
|
|
|
|
|
public byte Restart { 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 RestartMsg(byte restart)
|
|
|
|
|
{
|
|
|
|
|
Id = 0x18FFF8A8;
|
|
|
|
|
Restart = restart;
|
|
|
|
|
}
|
|
|
|
|
}
|