@page "/clusters/{ClusterId}/draft/{GenerationId:long}/diff" @using ZB.MOM.WW.OtOpcUa.Admin.Services @using ZB.MOM.WW.OtOpcUa.Configuration.Entities @using ZB.MOM.WW.OtOpcUa.Configuration.Enums @inject GenerationService GenerationSvc
@ClusterId — from last published (@(_fromLabel)) → to draft @GenerationId
Computing diff…
} else if (_error is not null) {No differences — draft is structurally identical to the last published generation.
} else {| Table | LogicalId | ChangeKind |
|---|---|---|
| @r.TableName | @r.LogicalId |
@switch (r.ChangeKind) { case "Added": @r.ChangeKind break; case "Removed": @r.ChangeKind break; case "Modified": @r.ChangeKind break; default: @r.ChangeKind break; } |