namespace ZB.MOM.WW.OtOpcUa.Configuration.Enums;

/// <summary>
///     Persisted mirror of <c>Core.Abstractions.HostState</c> — the lifecycle state each
///     <c>IHostConnectivityProbe</c>-capable driver reports for its per-host topology
///     (Galaxy Platforms / AppEngines, Modbus PLC endpoints, future OPC UA gateway upstreams).
///     Defined here instead of re-using <c>Core.Abstractions.HostState</c> so the
///     Configuration project stays free of driver-runtime dependencies.
/// </summary>
/// <remarks>
///     The server-side publisher (follow-up PR) translates
///     <c>HostStatusChangedEventArgs.NewState</c> to this enum on every transition and
///     upserts into <see cref="Entities.DriverHostStatus"/>. Admin UI reads from the DB.
/// </remarks>
public enum DriverHostState
{
    Unknown,
    Running,
    Stopped,
    Faulted,
}
