添加日志

This commit is contained in:
2026-02-04 18:06:18 +08:00
parent 3de5990573
commit b9ef94a671
28 changed files with 134 additions and 54 deletions

View File

@@ -72,6 +72,12 @@ namespace CommonEntity
public string? DeviceAddress { get; set; }
}
public class RestartIOTData:OnOffLineData
{
public byte[]? LauncherVersion { get; set; }
public byte[]? RebootReason { get; set; }
}
[GenerateSerializer()]
[MessagePackObject()]
public class OnOffLineData

View File

@@ -31,6 +31,21 @@ namespace CommonEntity
[Key(6)]
public DateTime CurrentTime { get; set; }
[Key(7)]
public string? MAC { get; set; }
[Key(8)]
public string? CurrentStatus { get; set; }
[Key(9)]
public long? UnixTime { get; set; }
[Key(10)]
public byte[]? LauncherVersion { get; set; }
[Key(11)]
public byte[]? RebootReason { get; set; }
}

View File

@@ -35,7 +35,7 @@ namespace CommonEntity
/// 心跳包
/// </summary>
public static string BLWLog4NodeJs_RCU_Topic = "blwlog4Nodejs-rcu-heartbeat-topic";
public static string BLWLog4NodeJs_RCU_OnOffLine_Topic = "blwlog4Nodejs-rcu-onoffline-topic";
public static string BLWLog4NodeJs_RCU_OnOffLine_Topic = "blwlog4Nodejs-rcu-onoffline-topic-0";
public static string BLWLog4NodeJs_RCU_Action_Topic = "blwlog4Nodejs-rcu-action-topic";
#endregion