2024-09-22 20:12:46 +00:00
|
|
|
<UserControl xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:vm="using:StarsAssistant.ViewModels"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
|
x:Class="StarsAssistant.Views.BuColView"
|
|
|
|
x:DataType="vm:BuColViewModel">
|
|
|
|
|
|
|
|
|
|
|
|
<DataGrid x:Name="PlanetsGrid"
|
2024-09-25 20:27:35 +00:00
|
|
|
ItemsSource="{Binding PlayerPlanets}"
|
2024-09-22 20:12:46 +00:00
|
|
|
GridLinesVisibility="All"
|
|
|
|
FrozenColumnCount="1"
|
2024-09-25 20:27:35 +00:00
|
|
|
|
2024-09-22 20:12:46 +00:00
|
|
|
BorderThickness="1" BorderBrush="Gray">
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGridTextColumn Header="Planet" Binding="{Binding Name}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Class -->
|
|
|
|
<!-- Info -->
|
|
|
|
<DataGridTextColumn Header="Pop" Binding="{Binding Population}" />
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Pop to Ship" Binding="{Binding PopulationToShip}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<DataGridTextColumn Header="Growth" Binding="{Binding PopulationGrowth}" />
|
|
|
|
<!-- Pop en route -->
|
2024-09-25 20:27:35 +00:00
|
|
|
<DataGridTextColumn Header="Pop T%" Binding="{Binding PopulationTargetPercent}" IsReadOnly="false"/>
|
|
|
|
<DataGridTextColumn Header="Pop %" Binding="{Binding CapacityPercent}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Terra Delta assumed -->
|
2024-09-22 20:12:46 +00:00
|
|
|
<DataGridTextColumn Header="Value" Binding="{Binding Value}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Effective Value including Terra Delta -->
|
|
|
|
<DataGridTextColumn Header="Max Val" Binding="{Binding MaxTerraforming}" />
|
|
|
|
<!-- Cargo Cap T1 -->
|
|
|
|
<!-- Cargo Cap T0 -->
|
|
|
|
<!-- Iro MRE including Shipping -->
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Iro Avl" Binding="{Binding AvailableIronium}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Iro Shipping including MRE -->
|
|
|
|
<!-- Bor MRE including Shipping -->
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Bor Avl" Binding="{Binding AvailableBoranium}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Bor Shipping including MRE -->
|
|
|
|
<!-- Ger MRE including Shipping -->
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Ger Avl" Binding="{Binding AvailableGermanium}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Bor Shipping including MRE -->
|
|
|
|
<!-- Shipbuilding Columns -->
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Fact Rem" Binding="{Binding RemainingFactories}" />
|
|
|
|
<DataGridTextColumn Header="Fact Tgt" Binding="{Binding TargetFactories}" />
|
|
|
|
<DataGridTextColumn Header="Fact Ger Delta" Binding="{Binding FactoryGermaniumDelta}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<!-- Factory production per turn -->
|
2024-09-26 20:18:50 +00:00
|
|
|
<DataGridTextColumn Header="Mines Rem" Binding="{Binding RemainingMines}" />
|
2024-09-24 20:32:13 +00:00
|
|
|
<DataGridTextColumn Header="Mines" Binding="{Binding Mines}" />
|
|
|
|
<DataGridTextColumn Header="Fact" Binding="{Binding Factories}" />
|
|
|
|
<DataGridTextColumn Header="Res" Binding="{Binding Resources}" />
|
|
|
|
<!-- Overcrowding Rate -->
|
2024-09-25 17:01:49 +00:00
|
|
|
<DataGridTextColumn Header="Pop Tgt" Binding="{Binding PopulationTarget}" />
|
2024-09-22 20:12:46 +00:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
</UserControl>
|