using XFEEDToolBox.Core.Galaxy;
namespace XFEEDToolBox.Controls;
public sealed partial class GalaxyMapView
{
public static readonly DependencyProperty CurrentTradeFlowsProperty=DependencyProperty.Register(nameof(CurrentTradeFlows),typeof(IReadOnlyList<GalaxyCurrentTradeRenderFlow>),typeof(GalaxyMapView),new PropertyMetadata(null,Changed));
public IReadOnlyList<GalaxyCurrentTradeRenderFlow>? CurrentTradeFlows
{get=>(IReadOnlyList<GalaxyCurrentTradeRenderFlow>?)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;
}
using XFEEDToolBox.Core.Galaxy;
namespace XFEEDToolBox.Controls;
public sealed partial class GalaxyMapView
{
public static readonly DependencyProperty CurrentTradeFlowsProperty=DependencyProperty.Register(nameof(CurrentTradeFlows),typeof(IReadOnlyList<GalaxyCurrentTradeRenderFlow>),typeof(GalaxyMapView),new PropertyMetadata(null,Changed));
public IReadOnlyList<GalaxyCurrentTradeRenderFlow>? CurrentTradeFlows
{get=>(IReadOnlyList<GalaxyCurrentTradeRenderFlow>?)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;
}