using XFEEDToolBox.Core.Galaxy; namespace XFEEDToolBox.Controls; public sealed partial class GalaxyMapView { public static readonly DependencyProperty CurrentTradeFlowsProperty=DependencyProperty.Register(nameof(CurrentTradeFlows),typeof(IReadOnlyList),typeof(GalaxyMapView),new PropertyMetadata(null,Changed)); public IReadOnlyList? CurrentTradeFlows {get=>(IReadOnlyList?)GetValue(CurrentTradeFlowsProperty);set=>SetValue(CurrentTradeFlowsProperty,value);} // Original current-cache routes stay separate from the historical layer. internal bool OriginalCurrentTradeGeometryRestoredForProbe=>graphics?.OriginalCurrentTradeGeometryRestored==true; internal int SubmittedCurrentTradeRoutesForProbe=>graphics?.SubmittedCurrentTradeRoutes??0; internal int SubmittedCurrentTradeHotspotsForProbe=>graphics?.SubmittedCurrentTradeHotspots??0; internal bool HasOriginalCurrentTradeAnimationForProbe=>graphics?.HasOriginalCurrentTradeAnimation==true; }