namespace ZB.MOM.WW.ScadaBridge.Host;
public class NodeOptions
{
/// Gets or sets the node role (e.g. Central or Site).
public string Role { get; set; } = string.Empty;
/// Gets or sets the hostname or IP address this node advertises to the Akka cluster.
public string NodeHostname { get; set; } = string.Empty;
///
/// Operator-configured semantic node name used to stamp the SourceNode
/// column on audit rows. Conventional values are node-a/node-b
/// on site nodes and central-a/central-b on central nodes,
/// but the value is a free-form label — no validation is enforced.
///
public string NodeName { get; set; } = string.Empty;
/// Gets or sets the site identifier for site nodes; null for central nodes.
public string? SiteId { get; set; }
/// Gets or sets the Akka.NET remoting port for cluster communication.
public int RemotingPort { get; set; } = 8081;
/// Gets or sets the gRPC port for the site stream server.
public int GrpcPort { get; set; } = 8083;
}