Power Monitoring Console (#7849)

This commit is contained in:
20kdc
2022-05-04 18:59:40 +01:00
committed by GitHub
parent 3d606f4316
commit 70cd3d18ca
9 changed files with 299 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<DefaultWindow
xmlns="https://spacestation14.io"
Title="{Loc 'power-monitoring-window-title'}">
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<GridContainer Columns="2">
<!-- Grid is used here to align things. -->
<Label Text="{Loc 'power-monitoring-window-total-sources'}"/><Label Name="TotalSourcesNum" Text="?"/>
<Label Text="{Loc 'power-monitoring-window-total-loads'}"/><Label Name="TotalLoadsNum" Text="?"/>
</GridContainer>
<TabContainer Name="MasterTabContainer" VerticalExpand="True">
<ItemList Name="SourcesList" VerticalExpand="True">
</ItemList>
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<CheckBox Margin="8 8" Name="ShowInactiveConsumersCheckBox" Text="{Loc 'power-monitoring-window-show-inactive-consumers'}" />
<ItemList Name="LoadsList" VerticalExpand="True">
</ItemList>
</BoxContainer>
</TabContainer>
</BoxContainer>
</DefaultWindow>