check only InitDE70 to continue
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<!-- Top Bar -->
|
||||
<RowDefinition Height="*"/>
|
||||
<!-- Main Content Area -->
|
||||
<RowDefinition Height="50"/>
|
||||
<RowDefinition Height="150"/>
|
||||
<!-- Footer -->
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
@@ -86,7 +86,10 @@
|
||||
<!-- Footer -->
|
||||
<StackPanel Grid.Row="2" Grid.ColumnSpan="2" Orientation="Horizontal" Background="LightGray">
|
||||
<TextBlock Text="Admin Panel" VerticalAlignment="Center" Margin="10" Foreground="White" FontSize="14"/>
|
||||
<TextBlock x:Name="lblStatus" Text="{Binding CDMStatus}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Foreground="Red" FontSize="14"/>
|
||||
<TextBlock x:Name="lblCDMStatus" Text="{Binding CDMStatus}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Foreground="Red" FontSize="20"/>
|
||||
<TextBlock x:Name="lblPrinterStatus" Text="{Binding PrinterStatus}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Foreground="Red" FontSize="20"/>
|
||||
<TextBlock x:Name="lblSensorStatus" Text="{Binding SensorStatus}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Foreground="Red" FontSize="20"/>
|
||||
<TextBlock x:Name="lblDeviceStatus" Text="{Binding DeviceStatus}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Foreground="Red" FontSize="20"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</hc:Window>
|
||||
|
||||
@@ -38,7 +38,10 @@ namespace SafeBagDE70.Admin
|
||||
|
||||
private void AdminWindow_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
lblStatus.DataContext = AppData.CDMSTATE;
|
||||
lblCDMStatus.DataContext = AppData.CDMSTATE;
|
||||
lblDeviceStatus.DataContext = AppData.ADMINDEVICESTATUS;
|
||||
lblPrinterStatus.DataContext = AppData.ADMINDEVICESTATUS;
|
||||
lblSensorStatus.DataContext = AppData.ADMINDEVICESTATUS;
|
||||
}
|
||||
|
||||
private void LogoutButton_Click(object sender, RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user