添加日志
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user