InfoPage消息接收显示

This commit is contained in:
Administrator committed 2026-05-12 01:28:35 +08:00
commit b3b42d129f
6 files changed
+48 -20

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ namespace SunlightAggregationTerminal.Models
[ObservableProperty]
public partial bool MessageNotificationMode { get; set; }
public class RefreshUISignal { }
public static List<Dictionary<string, object>> Info_data = new List<Dictionary<string, object>>();
}
}
+2 -4
View File
@@ -25,11 +25,9 @@ namespace SunlightAggregationTerminal.Models
public DateTime Time { get; set; }
public MsgType Type { get; set; }
}
public partial class InfoItem : ObservableObject
public partial class InfoItem
{
[ObservableProperty]
public string _name;
// public string? Name { get; set; }
public string? Name { get; set; }
public string? State { get; set; }
public string? MachineName { get; set; }
public string? Machine { get; set; }