feat(lmxproxy): add Connected Since and Reconnect Count to status page

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-03-24 13:32:46 -04:00
parent 73fe618953
commit 488a7b534b
8 changed files with 29 additions and 2 deletions

View File

@@ -16,6 +16,12 @@ namespace ZB.MOM.WW.LmxProxy.Host.Domain
/// <summary>Gets the current connection state.</summary>
ConnectionState ConnectionState { get; }
/// <summary>Gets the UTC time when the current connection was established.</summary>
DateTime ConnectedSince { get; }
/// <summary>Gets the number of times the client has reconnected since startup.</summary>
int ReconnectCount { get; }
/// <summary>Occurs when the connection state changes.</summary>
event EventHandler<ConnectionStateChangedEventArgs> ConnectionStateChanged;