namespace ZB.MOM.WW.LmxOpcUa.Client.Shared.Models;
///
/// Redundancy information read from the server.
///
public sealed class RedundancyInfo
{
public RedundancyInfo(string mode, byte serviceLevel, string[] serverUris, string applicationUri)
{
Mode = mode;
ServiceLevel = serviceLevel;
ServerUris = serverUris;
ApplicationUri = applicationUri;
}
/// The redundancy mode (e.g., "None", "Cold", "Warm", "Hot").
public string Mode { get; }
/// The server's current service level (0-255).
public byte ServiceLevel { get; }
/// URIs of all servers in the redundant set.
public string[] ServerUris { get; }
/// The application URI of the connected server.
public string ApplicationUri { get; }
}