feat(lmxproxy): phase 1 — v2 protocol types and domain model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZB.MOM.WW.LmxProxy.Host.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// Subscription statistics for all clients and tags.
|
||||
/// </summary>
|
||||
public class SubscriptionStats
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the total number of clients.
|
||||
/// </summary>
|
||||
public int TotalClients { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the total number of tags.
|
||||
/// </summary>
|
||||
public int TotalTags { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the mapping of tag addresses to client counts.
|
||||
/// </summary>
|
||||
public Dictionary<string, int> TagClientCounts { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the mapping of client IDs to their statistics.
|
||||
/// </summary>
|
||||
public Dictionary<string, ClientStats> ClientStats { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user