@@ -19,7 +19,7 @@ | |||||
</COMReference> | </COMReference> | ||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<PackageReference Include="BPA.CustomResource" Version="1.0.13" /> | |||||
<PackageReference Include="BPA.CustomResource" Version="1.0.14" /> | |||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1418.22" /> | <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1418.22" /> | ||||
</ItemGroup> | </ItemGroup> | ||||
@@ -76,7 +76,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -172,7 +174,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -76,7 +76,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -172,7 +174,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -76,7 +76,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -172,7 +174,9 @@ | |||||
<ListBox.ItemTemplate> | <ListBox.ItemTemplate> | ||||
<DataTemplate> | <DataTemplate> | ||||
<WrapPanel> | <WrapPanel> | ||||
<Button Width="370" Height="100" Margin="20,20,0,0" FontSize="60" Content="{Binding .}"/> | |||||
<Border Style="{DynamicResource border顶部背景}" Width="370" Height="100" Margin="20,20,0,0" > | |||||
<TextBlock HorizontalAlignment="Center" Foreground="{DynamicResource foreground}" VerticalAlignment="Center" Text="{Binding .}" FontSize="60"></TextBlock> | |||||
</Border> | |||||
</WrapPanel> | </WrapPanel> | ||||
</DataTemplate> | </DataTemplate> | ||||
</ListBox.ItemTemplate> | </ListBox.ItemTemplate> | ||||
@@ -59,6 +59,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -77,24 +80,6 @@ | |||||
</GroupBox> | </GroupBox> | ||||
<GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前流程" Style="{DynamicResource from}" Tag="Start"> | <GroupBox Margin="10,20,10,0" Height="275" Width="450" Header="设备当前流程" Style="{DynamicResource from}" Tag="Start"> | ||||
<Grid> | <Grid> | ||||
<!--<Grid Margin="0,10,0,0" Height="100" Width="130" VerticalAlignment="Top" HorizontalAlignment="Left"> | |||||
<Grid.ColumnDefinitions> | |||||
<ColumnDefinition Width="*"/> | |||||
<ColumnDefinition Width="30"/> | |||||
</Grid.ColumnDefinitions> | |||||
<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> | |||||
<Border Background="Red" Margin="10"> | |||||
</Border> | |||||
<Image x:Name="image" Grid.Column="1" Style="{DynamicResource image右1}" Cursor="Hand" ></Image> | |||||
</Grid>--> | |||||
<ListBox x:Name="PageList" BorderThickness="0" Margin="0,-20,0,0" Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" | <ListBox x:Name="PageList" BorderThickness="0" Margin="0,-20,0,0" Height="270" HorizontalAlignment="Stretch" VerticalAlignment="Top" | ||||
ItemsSource="{Binding ProcessModel1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" | ItemsSource="{Binding ProcessModel1,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" | ||||
Background="Transparent" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" > | Background="Transparent" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" > | ||||
@@ -281,6 +266,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -59,6 +59,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -263,6 +266,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -57,6 +57,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -172,6 +175,9 @@ | |||||
<Trigger Property="Text" Value="故障"> | <Trigger Property="Text" Value="故障"> | ||||
<Setter Property="Foreground" Value="Red"/> | <Setter Property="Foreground" Value="Red"/> | ||||
</Trigger> | </Trigger> | ||||
<Trigger Property="Text" Value="停止"> | |||||
<Setter Property="Foreground" Value="Red"/> | |||||
</Trigger> | |||||
</Style.Triggers> | </Style.Triggers> | ||||
</Style> | </Style> | ||||
</TextBlock.Style> | </TextBlock.Style> | ||||
@@ -7,7 +7,7 @@ | |||||
<add key="DeviceMC" value="大炒,小炒,分餐机,煮面机"/> | <add key="DeviceMC" value="大炒,小炒,分餐机,煮面机"/> | ||||
<add key="GgAdder" value="https://stream7.iqilu.com/10339/upload_transcode/202002/18/20200218114723HDu3hhxqIT.mp4"/> | <add key="GgAdder" value="https://stream7.iqilu.com/10339/upload_transcode/202002/18/20200218114723HDu3hhxqIT.mp4"/> | ||||
<add key="一号屏" value="1"/> | |||||
<add key="一号屏" value="0"/> | |||||
<add key="二号屏" value="0"/> | <add key="二号屏" value="0"/> | ||||
<add key="三号屏" value="0"/> | <add key="三号屏" value="0"/> | ||||
</appSettings> | </appSettings> |