namespace ZB.MOM.WW.ScadaBridge.Communication.Grpc;
///
/// The six domain groups the 28 migrated central→site commands are partitioned
/// into — one group per SiteCommandService RPC.
///
///
/// The partition is not cosmetic: every command inside a group shares a
/// DEADLINE class today (the CommunicationOptions timeout the central
/// Ask uses), so one RPC per group keeps the deadline decision in one
/// place on the client and one dispatch switch on the server, while the
/// oneof envelope keeps each command individually typed.
///
public enum SiteCommandGroup
{
/// Deployment refresh, instance enable/disable/delete, deployment-state query, artifact deployment.
Lifecycle,
/// Interactive OPC UA / MxGateway design-time commands: browse, search, read, verify, cert trust, write tag.
OpcUa,
/// Read-only remote queries: site event log and debug view snapshot/subscribe/unsubscribe.
Query,
/// Parked store-and-forward message actions and parked cached-operation retry/discard relays.
Parked,
/// Inbound-API Route.To() relays: call, get/set attributes, wait for attribute.
Route,
/// Operator-initiated manual site-pair failover.
Failover
}