Files
effector.plugin.fivelakes/Supervisor.Plugin.FiveLakes/MainMenu/MainMenuV.xaml
T
Emmanuele Sassi 7f031691bb - aggiunti backup dir e resources dir
- aggiunti flag di debug per nascondere grafica di debug
- aggiunti bottoni per verificare porte e resettare coda di produzione
- aggiunto stato di produzione e tempi a lista porte
- aggiunto stato lua a plugin
- aggiunta gestione tabella di tabella in alcune funzioni lua
- aggiunte funzioni che gestiscono esecuzione sincrona ed asincrona dell' eseguibile
- migliorato mainmenu ora funzionante
- aggiunta pagina statistiche
- aggiunto in pagina macchina disegno macchina con variabili di debug e lista circolare porte
2024-09-03 11:19:57 +02:00

33 lines
1.4 KiB
XML

<Grid x:Class="MainMenuV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
DataContext="{StaticResource MainMenuVM}"
WindowChrome.IsHitTestVisibleInChrome="True">
<Grid.Resources>
<sys:Int32 x:Key="Door_List">0</sys:Int32>
<sys:Int32 x:Key="Machine_State">1</sys:Int32>
<sys:Int32 x:Key="Statistics">2</sys:Int32>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<RadioButton Content="Door List"
Command="{Binding Page_Command}"
CommandParameter="{StaticResource Door_List}"
IsChecked="True"
Style="{StaticResource {x:Type ToggleButton}}"/>
<RadioButton Grid.Column="1"
Content="Machine Status"
Command="{Binding Page_Command}"
CommandParameter="{StaticResource Machine_State}"
Style="{StaticResource {x:Type ToggleButton}}"/>
<RadioButton Grid.Column="2"
Content="Statistics"
Command="{Binding Page_Command}"
CommandParameter="{StaticResource Statistics}"
Style="{StaticResource {x:Type ToggleButton}}"/>
</Grid>