Files
DE70/Admin/AdminConfigurationUC.xaml
T
2024-09-04 20:08:28 +07:00

46 lines
1.9 KiB
XML

<UserControl x:Class="SafeBagDE70.Admin.AdminConfigurationUC"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SafeBagDE70.Admin"
xmlns:hc="https://handyorg.github.io/handycontrol"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<StackPanel Grid.Row="1" Grid.Column="0" Background="LightGray" VerticalAlignment="Top">
<Button
Content="THIẾT LẬP BỘ ĐẾM"
x:Name="btnResetCounter"
HorizontalAlignment="Stretch"
Height="40"
Margin="10"
Click="btnResetCounter_Click"/>
<Button
Content="RESET LỖI"
x:Name="btnSoftResetError"
HorizontalAlignment="Stretch"
Height="40"
Margin="10"
Click="btnSoftResetError_Click"/>
<Button
Content="MỞ NGĂN PHỤ"
x:Name="btnOpenEscrow"
HorizontalAlignment="Stretch"
Height="40"
Margin="10"
Click="btnOpenEscrow_Click"/>
<Button
Content="LẤY TRẠNG THÁI MÁY"
x:Name="btnGetCDMState"
HorizontalAlignment="Stretch"
Height="40"
Margin="10"
Click="btnGetCDMState_Click"/>
<hc:HighlightTextBlock x:Name="lblCounterStatus" FontSize="20" FontWeight="Bold" TextWrapping="Wrap" Foreground="Green" Text=""/>
<hc:HighlightTextBlock x:Name="lblDeviceStatus" FontSize="14" TextWrapping="Wrap" Foreground="Red" Text=""/>
</StackPanel>
</Grid>
</UserControl>