Commit 6d576437 authored by 潘栩锋's avatar 潘栩锋 🚴

修改 称重单组份 显示 “设定产量”, 及格式为 0:F1

parent defcc8bc
...@@ -30,14 +30,14 @@ ...@@ -30,14 +30,14 @@
</Grid> </Grid>
<StackPanel Margin="3" Grid.Column="1" > <StackPanel Margin="3" Grid.Column="1" >
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<TextBlock Text="当前产量" Style="{StaticResource TextBlockStyle_title}" Margin="3,0" /> <TextBlock Text="设定产量" Style="{StaticResource TextBlockStyle_title}" Foreground="{StaticResource Color_background}" Margin="3,0" />
<!--<TextBlock Visibility="{Binding ScrewIsAutoMode,Converter={StaticResource visbilityconv}}">--> <!--<TextBlock Visibility="{Binding ScrewIsAutoMode,Converter={StaticResource visbilityconv}}">-->
<TextBlock > <TextBlock >
<Run Text="{Binding CurrentFlowAuto,StringFormat={}{0:F0}}" Style="{StaticResource RunStyle_text}" FontSize="30" /> <Run Text="{Binding CurrentFlowAuto,StringFormat={}{0:F1}}" Foreground="{StaticResource Color_background}" Style="{StaticResource RunStyle_text}" FontSize="30" />
<Run Text="kg" Style="{StaticResource RunStyle_unit}" /> <Run Text="kg/h" Style="{StaticResource RunStyle_unit}" Foreground="{StaticResource Color_background}"/>
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>
<TextBlock Text="当前产量" Style="{StaticResource TextBlockStyle_title}" Margin="3,0" />
<Viewbox Width="200" Height="80" HorizontalAlignment="Left"> <Viewbox Width="200" Height="80" HorizontalAlignment="Left">
<TextBlock > <TextBlock >
<Run Text="{Binding CurrentFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" /> <Run Text="{Binding CurrentFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment