namespace MiGu.Server.Configs; public record IntersectionPolicy(string Id, List SiteIds, string Mode); public record ZoneMutex(string Id, List ZoneIds); public record DynamicYield(string Id, string From, string To, string Condition); public record TrafficRule( List Intersections, List Mutex, List Yields) { public static TrafficRule Default() => new( Intersections: new List { new("IX1", new List { "S006", "S007" }, "mutex") }, Mutex: new List { new("MZ1", new List { "Z-CROSS" }) }, Yields: new List { new("YD1", "A 区", "B 区", "priority