namespace Zcbot.WindowsNode;

internal enum NodeState
{
    NotRegistered,
    Connecting,
    Online,
    Offline,
    AuthenticationRequired,
    Stopped,
}

internal sealed record NodeStatus(NodeState State, string Message, DateTimeOffset ChangedAt)
{
    internal static NodeStatus Create(NodeState state, string message) =>
        new(state, message, DateTimeOffset.Now);
}
