|
|
@@ -38,8 +38,7 @@
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
<RowDefinition Height="0.7*"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="0.8*"/>
|
|
|
+ <RowDefinition Height="1.7*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<Grid Grid.Row="0">
|
|
|
@@ -108,14 +107,12 @@
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition/>
|
|
|
<ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
-
|
|
|
<Grid Grid.Column="0" Grid.Row ="0">
|
|
|
<!--<Button Style="{StaticResource MaterialDesignRaisedButton}" Content="Zero" Command="{Binding RunCommand}" CommandParameter="Z"
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="100"/>-->
|
|
|
- <Button Style="{StaticResource MaterialDesignRaisedButton}" Content="Reset" Command="{Binding RunCommand}" CommandParameter="Z"
|
|
|
+ <Button Style="{StaticResource MaterialDesignRaisedButton}" Content="Zero" Command="{Binding RunCommand}" CommandParameter="Z"
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="100"
|
|
|
IsEnabled="{c:Binding !IsAuto , Converter={StaticResource BooleanToEnableConverter}}"/>
|
|
|
</Grid>
|
|
|
@@ -127,9 +124,9 @@
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row ="0">
|
|
|
- <Button Style="{StaticResource MaterialDesignRaisedButton}" Content="Zero(T)" Command="{Binding RunCommand}" CommandParameter="T"
|
|
|
+ <!--<Button Style="{StaticResource MaterialDesignRaisedButton}" Content="Zero(T)" Command="{Binding RunCommand}" CommandParameter="T"
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="100"
|
|
|
- IsEnabled="{c:Binding !IsAuto , Converter={StaticResource BooleanToEnableConverter}}"/>
|
|
|
+ IsEnabled="{c:Binding !IsAuto , Converter={StaticResource BooleanToEnableConverter}}"/>-->
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row ="1">
|
|
|
@@ -207,73 +204,31 @@
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
- <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition/>
|
|
|
+ <RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
- <Grid Grid.Row="0" Grid.Column="0">
|
|
|
- <TextBlock Text="Tare(mg)" Foreground="Black" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid Grid.Row="0" Grid.Column="1">
|
|
|
- <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
|
- <materialDesign:PackIcon Kind="Brightness1" Width="25" Height="35" Foreground="LimeGreen"
|
|
|
- Visibility="{c:Binding IsTareStable , Converter={StaticResource BooleanToVisibilityConverter}}" />
|
|
|
- <materialDesign:PackIcon Kind="Brightness1" Width="25" Height="35" Foreground="Red"
|
|
|
- Visibility="{c:Binding !IsTareStable , Converter={StaticResource BooleanToVisibilityConverter}}"/>
|
|
|
- </StackPanel>
|
|
|
- <TextBlock Text="{Binding TareWeight, FallbackValue=0.00}" Foreground="Black" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid Grid.Row="1" Grid.Column="0">
|
|
|
-
|
|
|
- <TextBlock Grid.Column="0" Text="Receive" Foreground="Black" FontSize="20" Width="auto"
|
|
|
- HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
-
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid Grid.Row="1" Grid.Column="1">
|
|
|
- <TextBlock Grid.Column="1" Text="{Binding TareReceiveMsg}" Foreground="Black" FontSize="20" Width="auto"
|
|
|
- HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
- </Grid>
|
|
|
-
|
|
|
- </Grid>
|
|
|
-
|
|
|
- </Border>
|
|
|
-
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid Grid.Row="5">
|
|
|
- <Border CornerRadius="10" Background="{DynamicResource PrimaryHueLightBrush}" BorderBrush="#0075ce" Padding="5" BorderThickness="2" Margin="5">
|
|
|
-
|
|
|
- <Grid>
|
|
|
-
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition/>
|
|
|
- <ColumnDefinition/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <Grid Grid.Column="0">
|
|
|
+ <Grid Grid.Row="0">
|
|
|
<Button Style="{StaticResource MaterialDesignRaisedButton}" Content="LIVE" Command="{Binding RunModeChangeCommand}" CommandParameter="AUTO"
|
|
|
- HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="150" MinHeight="50" FontSize="30"
|
|
|
+ HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="170" MinHeight="80" FontSize="30"
|
|
|
IsEnabled="{c:Binding !IsAuto , Converter={StaticResource BooleanToEnableConverter}}"/>
|
|
|
</Grid>
|
|
|
|
|
|
- <Grid Grid.Column="1">
|
|
|
+ <Grid Grid.Row="1">
|
|
|
<Button Style="{StaticResource MaterialDesignRaisedButton}" Content="MANUAL" Command="{Binding RunModeChangeCommand}" CommandParameter="MANUAL"
|
|
|
- HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="150" MinHeight="50" FontSize="30"
|
|
|
+ HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="170" MinHeight="80" FontSize="30"
|
|
|
IsEnabled="{c:Binding IsAuto , Converter={StaticResource BooleanToEnableConverter}}"/>
|
|
|
</Grid>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Border>
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Row="5">
|
|
|
+
|
|
|
</Grid>
|
|
|
|
|
|
|