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"
|
|
|
|
ItemsSource="{Binding Planets}"
|
|
|
|
IsReadOnly="True"
|
|
|
|
GridLinesVisibility="All"
|
|
|
|
FrozenColumnCount="1"
|
|
|
|
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 -->
|
|
|
|
<!-- Pop Target % -->
|
|
|
|
<DataGridTextColumn Header="Pop%" Binding="{Binding CapacityPercent}" />
|
|
|
|
<!-- 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 -->
|
|
|
|
<!-- Target population absolute -->
|
2024-09-22 20:12:46 +00:00
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
</UserControl>
|