namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns; /// /// Outcome of a UNS structural mutation (create/update/delete of an area or line). /// On success is true and is null; /// on a guarded or concurrency failure is false and /// carries the operator-facing message the caller should surface. /// /// Whether the mutation was applied. /// The operator-facing failure message, or null on success. /// On a successful create, the new entity's system id (e.g. the generated /// EQ-… equipment id) so the caller can navigate to it; null for updates/deletes/failures. public readonly record struct UnsMutationResult(bool Ok, string? Error, string? CreatedId = null);