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}" />
|
|
|
|
<!-- Pop To Ship -->
|
|
|
|
<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 -->
|
|
|
|
<!-- Iro Avl including MRE -->
|
|
|
|
<!-- Iro Shipping including MRE -->
|
|
|
|
<!-- Bor MRE including Shipping -->
|
|
|
|
<!-- Bor Avl including MRE -->
|
|
|
|
<!-- Bor Shipping including MRE -->
|
|
|
|
<!-- Ger MRE including Shipping -->
|
|
|
|
<!-- Ger Avl including MRE -->
|
|
|
|
<!-- Bor Shipping including MRE -->
|
|
|
|
<!-- Shipbuilding Columns -->
|
|
|
|
<!-- Factories remaining to pop target -->
|
|
|
|
<!-- Factories Germanium Delta for target -->
|
|
|
|
<!-- Factory production per turn -->
|
|
|
|
<!-- Mines remaining to pop target -->
|
|
|
|
<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>
|