namespace ZB.MOM.WW.OtOpcUa.Host.Configuration { /// /// Galaxy repository database configuration. (SVC-003, GR-005) /// public class GalaxyRepositoryConfiguration { /// /// Gets or sets the database connection string used to read Galaxy hierarchy and attribute metadata. /// public string ConnectionString { get; set; } = "Server=localhost;Database=ZB;Integrated Security=true;"; /// /// Gets or sets how often, in seconds, the service polls for Galaxy deploy changes that require an address-space /// rebuild. /// public int ChangeDetectionIntervalSeconds { get; set; } = 30; /// /// Gets or sets the SQL command timeout, in seconds, for repository queries against the Galaxy catalog. /// public int CommandTimeoutSeconds { get; set; } = 30; /// /// Gets or sets a value indicating whether extended Galaxy attribute metadata should be loaded into the OPC UA model. /// public bool ExtendedAttributes { get; set; } = false; /// /// Gets or sets the scope of Galaxy objects loaded into the OPC UA address space. /// Galaxy loads all deployed objects (default). LocalPlatform loads only /// objects hosted by the platform deployed on this machine. /// public GalaxyScope Scope { get; set; } = GalaxyScope.Galaxy; /// /// Gets or sets an explicit platform node name for filtering. /// When , the local machine name (Environment.MachineName) is used. /// public string? PlatformName { get; set; } } }