|
- <UserControl x:Class="BPASmartClient.ScreenLib.ScreenMaxWokControl"
- 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:BPASmartClient.ScreenLib"
- xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
- xmlns:con="clr-namespace:BPA.CustomResource.UserControls;assembly=BPA.CustomResource"
- mc:Ignorable="d"
- d:DesignHeight="1080" d:DesignWidth="1920">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPA.CustomResource;component/Themes/ProlineStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="2*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
-
- <StackPanel Margin="0,10,0,0">
- <GroupBox Grid.Row="0" Margin="10,0,10,0" Height="370" Width="450" Header="2 号炒锅" Style="{DynamicResource from}" Tag="Start">
- <StackPanel>
- <GroupBox Header="设备运行情况" Margin="20,10,0,0"/>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.IsRun,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
- <TextBlock.Style>
- <Style TargetType="TextBlock">
- <Setter Property="Foreground" Value="Lime"></Setter>
- <Style.Triggers>
- <Trigger Property="Text" Value="停止">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- </TextBlock.Style>
- </TextBlock>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">设备状态</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.WorkStatus_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
- <TextBlock.Style>
- <Style TargetType="TextBlock">
- <Setter Property="Foreground" Value="Lime"></Setter>
- <Style.Triggers>
- <Trigger Property="Text" Value="待机">
- <Setter Property="Foreground" Value="Yellow"/>
- </Trigger>
- <Trigger Property="Text" Value="故障">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- <Trigger Property="Text" Value="停止">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- </TextBlock.Style>
- </TextBlock>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">工作状态</TextBlock>
- </StackPanel>
- </Grid>
- <GroupBox Header="炒锅运行情况" Margin="20,10,0,0"/>
- <Grid Height="100">
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
- <TextBlock FontSize="40" Text="{Binding ViewData.MaxWok_Task_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
- <TextBlock FontSize="40" Foreground="#FFD2C106" Text="{Binding ViewData.MaxWok_Dishes_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}-{0:f2}}"></TextBlock>
- </StackPanel>
- </Grid>
- </StackPanel>
- </GroupBox>
- <GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前流程" Style="{DynamicResource from}" Tag="Start">
- <Grid>
- <ListBox x:Name="PageList" BorderThickness="0" Margin="0,-20,0,0" Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top"
- ItemsSource="{Binding ProcessModel1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Background="Transparent" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" >
- <ListBox.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel Width="500"/>
- </ItemsPanelTemplate>
- </ListBox.ItemsPanel>
- <ListBox.ItemTemplate>
- <DataTemplate>
- <DataTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Visible}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_kaishi">
- <ThicknessAnimationUsingKeyFrames Storyboard.TargetName="kaishi" Storyboard.TargetProperty="Margin" BeginTime="00:00:00">
- <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0" />
- <SplineThicknessKeyFrame KeyTime="00:00:2" Value="-30" />
- </ThicknessAnimationUsingKeyFrames>
- </Storyboard>
- </DataTemplate.Resources>
- <Grid Margin="0,10,0,0" Height="100" Width="130" VerticalAlignment="Top" HorizontalAlignment="Left">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="30"/>
- </Grid.ColumnDefinitions>
- <Border x:Name="kaishi" Background="{DynamicResource 椭圆}" BorderBrush="Aqua" Margin="60"/>
- <Border Background="{DynamicResource 椭圆}" >
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock x:Name="wb" FontSize="32" Text="{Binding Name}"></TextBlock>
- <TextBlock x:Name="xs" Style="{DynamicResource 数码管Text}" FontSize="24" Margin="0,0,0,0" Text="{Binding Id}"></TextBlock>
- </StackPanel>
- </Border>
- <Image x:Name="image" Grid.Column="1" Style="{DynamicResource image右1}" Cursor="Hand" ></Image>
- </Grid>
- <DataTemplate.Triggers>
- <DataTrigger Binding="{Binding Status}" Value="正在执行">
- <Setter TargetName="xs" Property="Foreground" Value="lime"/>
- <Setter TargetName="wb" Property="Foreground" Value="lime"/>
- <DataTrigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- <BeginStoryboard x:Name="begin_dh" Storyboard="{StaticResource csd_kaishi}"/>
- </DataTrigger.EnterActions>
- </DataTrigger>
- <DataTrigger Binding="{Binding Status}" Value="执行完成">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- <StopStoryboard BeginStoryboardName="begin_dh"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="xs" Property="Foreground" Value="#FFD2C106"/>
- <Setter TargetName="wb" Property="Foreground" Value="#FFD2C106"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding Status}" Value="未执行">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- <StopStoryboard BeginStoryboardName="begin_dh"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="xs" Property="Foreground" Value="#a2c2e8"/>
- <Setter TargetName="wb" Property="Foreground" Value="#a2c2e8"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding IsLast}" Value="1">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="image" Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- </DataTemplate.Triggers>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
- </GroupBox>
- <GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前状态" Style="{DynamicResource from}" Tag="Start">
- <StackPanel>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_HeatGear_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2} 档}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅加热挡位</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_StirGear_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2} 档}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅搅拌挡位</TextBlock>
- </StackPanel>
- </Grid>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_FlipSpeed_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2}rpm}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅翻转速度</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_Temp_1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2}°C}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">当前锅底温度</TextBlock>
- </StackPanel>
- </Grid>
- </StackPanel>
- </GroupBox>
- </StackPanel>
-
- <StackPanel Grid.Column="1" MouseLeftButtonDown="StackPanel_MouseLeftButtonDown" VerticalAlignment="Bottom" Margin="0,0,0,10">
- <GroupBox x:Name="guanggao" Height="600" Width="950" Margin="0,10,0,20" Header="广告区域" HorizontalAlignment="Center" VerticalAlignment="Top" Style="{DynamicResource from}" Tag="Start">
- <Grid>
- <wv2:WebView2 Name="webView" />
- </Grid>
- </GroupBox>
- <Grid x:Name="diqiu" Height="600" Width="950" Margin="0,10,0,20" >
<Image Style="{DynamicResource imagezhu}"></Image>
<Image Style="{DynamicResource image中1}" Margin="0,400,0,0"></Image>
<GroupBox Margin="600,100,0,500" Header="{Binding ViewData.FailuresCount,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource GroupStyle圆形}" Tag="累计故障数" Content="次" Width="100"/>
<GroupBox Margin="600,400,0,0" Header="0" Style="{DynamicResource GroupStyle圆形}" Tag="故障次数" Content="次" Width="160"/>
<GroupBox Margin="-500,100,0,0" Header="{Binding OrderCount,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource GroupStyle圆形}" Tag="日总接待人数" Content="人" Width="160"/>
</Grid>
-
- <GroupBox Margin="0,0,0,0" Height="340" Width="950" Header="信息通知区域" Style="{DynamicResource from}">
- <DataGrid Margin="10,10,10,0" ItemsSource="{Binding ViewData.Alarm,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
- <DataGrid.Columns>
- <DataGridTemplateColumn Width="250">
- <DataGridTemplateColumn.Header>
- <TextBlock Text="信息时间" Foreground="White"/>
- </DataGridTemplateColumn.Header>
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Margin="0,5,0,5" Text="{Binding AlarmTime}" Foreground="#a70909" FontSize="16" HorizontalAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Width="*">
- <DataGridTemplateColumn.Header>
- <TextBlock Text="详细描述" Foreground="White"/>
- </DataGridTemplateColumn.Header>
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Margin="0,5,0,5" Text="{Binding AlarmMs}" Foreground="#a70909" FontSize="16" HorizontalAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </GroupBox>
- </StackPanel>
-
- <StackPanel Grid.Column="2" Margin="0,10,0,0">
- <GroupBox Grid.Row="0" Margin="10,0,10,0" Height="370" Width="450" Header="1 号炒锅" Style="{DynamicResource from}" Tag="Start">
- <StackPanel>
- <GroupBox Header="设备运行情况" Margin="20,10,0,0"/>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.IsRun,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
- <TextBlock.Style>
- <Style TargetType="TextBlock">
- <Setter Property="Foreground" Value="Lime"></Setter>
- <Style.Triggers>
- <Trigger Property="Text" Value="停止">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- </TextBlock.Style>
- </TextBlock>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">设备状态</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.WorkStatus_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
- <TextBlock.Style>
- <Style TargetType="TextBlock">
- <Setter Property="Foreground" Value="Lime"></Setter>
- <Style.Triggers>
- <Trigger Property="Text" Value="待机">
- <Setter Property="Foreground" Value="Yellow"/>
- </Trigger>
- <Trigger Property="Text" Value="故障">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- <Trigger Property="Text" Value="停止">
- <Setter Property="Foreground" Value="Red"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- </TextBlock.Style>
- </TextBlock>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">工作状态</TextBlock>
- </StackPanel>
- </Grid>
- <GroupBox Header="炒锅运行情况" Margin="20,10,0,0"/>
- <Grid Height="100">
- <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
- <TextBlock FontSize="40" Text="{Binding ViewData.MaxWok_Task_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBlock>
- <TextBlock FontSize="40" Foreground="#FFD2C106" Text="{Binding ViewData.MaxWok_Dishes_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}-{0:f2}}"></TextBlock>
- </StackPanel>
- </Grid>
- </StackPanel>
- </GroupBox>
- <GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前流程" Style="{DynamicResource from}" Tag="Start">
- <Grid>
- <ListBox BorderThickness="0" Margin="0,-20,0,0" Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top"
- ItemsSource="{Binding ProcessModel2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Background="Transparent" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" >
- <ListBox.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel Width="500"/>
- </ItemsPanelTemplate>
- </ListBox.ItemsPanel>
- <ListBox.ItemTemplate>
- <DataTemplate>
- <DataTemplate.Resources>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.Visibility)">
- <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:1.5" Value="{x:Static Visibility.Collapsed}"/>
- <DiscreteObjectKeyFrame KeyTime="00:00:2" Value="{x:Static Visibility.Visible}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- <Storyboard RepeatBehavior="Forever" x:Key="csd_kaishi">
- <ThicknessAnimationUsingKeyFrames Storyboard.TargetName="kaishi" Storyboard.TargetProperty="Margin" BeginTime="00:00:00">
- <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0" />
- <SplineThicknessKeyFrame KeyTime="00:00:2" Value="-30" />
- </ThicknessAnimationUsingKeyFrames>
- </Storyboard>
- </DataTemplate.Resources>
- <Grid Margin="0,10,0,0" Height="100" Width="130" VerticalAlignment="Top" HorizontalAlignment="Left">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="30"/>
- </Grid.ColumnDefinitions>
- <Border x:Name="kaishi" Background="{DynamicResource 椭圆}" BorderBrush="Aqua" Margin="60"/>
- <Border Background="{DynamicResource 椭圆}" >
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock x:Name="wb" FontSize="32" Text="{Binding Name}"></TextBlock>
- <TextBlock x:Name="xs" Style="{DynamicResource 数码管Text}" FontSize="24" Margin="0,0,0,0" Text="{Binding Id}"></TextBlock>
- </StackPanel>
- </Border>
- <Image x:Name="image" Grid.Column="1" Style="{DynamicResource image右1}" Cursor="Hand" ></Image>
- </Grid>
- <DataTemplate.Triggers>
- <DataTrigger Binding="{Binding Status}" Value="正在执行">
- <Setter TargetName="xs" Property="Foreground" Value="lime"/>
- <Setter TargetName="wb" Property="Foreground" Value="lime"/>
- <DataTrigger.EnterActions>
- <BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
- <BeginStoryboard x:Name="begin_dh" Storyboard="{StaticResource csd_kaishi}"/>
- </DataTrigger.EnterActions>
- </DataTrigger>
- <DataTrigger Binding="{Binding Status}" Value="执行完成">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- <StopStoryboard BeginStoryboardName="begin_dh"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="xs" Property="Foreground" Value="#FFD2C106"/>
- <Setter TargetName="wb" Property="Foreground" Value="#FFD2C106"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding Status}" Value="未执行">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- <StopStoryboard BeginStoryboardName="begin_dh"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="xs" Property="Foreground" Value="#a2c2e8"/>
- <Setter TargetName="wb" Property="Foreground" Value="#a2c2e8"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding IsLast}" Value="1">
- <DataTrigger.EnterActions>
- <StopStoryboard BeginStoryboardName="begin_name"/>
- </DataTrigger.EnterActions>
- <Setter TargetName="image" Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- </DataTemplate.Triggers>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
- </GroupBox>
- <GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前状态" Style="{DynamicResource from}" Tag="Start">
- <StackPanel>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_HeatGear_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2} 档}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅加热挡位</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_StirGear_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2} 档}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅搅拌挡位</TextBlock>
- </StackPanel>
- </Grid>
- <Grid Height="100" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border Grid.ColumnSpan="2" Background="{DynamicResource 竖线}" Height="100" Width="2"></Border>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_FlipSpeed_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2}rpm}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">炒锅翻转速度</TextBlock>
- </StackPanel>
- <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock HorizontalAlignment="Center" FontSize="42" Text="{Binding ViewData.MaxWok_Temp_2,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,StringFormat={}{0:f2}°C}"/>
- <TextBlock Style="{DynamicResource textms}" Margin="0,10,0,0">当前锅底温度</TextBlock>
- </StackPanel>
- </Grid>
- </StackPanel>
- </GroupBox>
- </StackPanel>
- </Grid>
- </UserControl>
|