|
- <UserControl x:Class="BPASmartClient.JXJFoodBigStation.View.ManualFlowView"
- 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:pry="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:vm="clr-namespace:BPASmartClient.JXJFoodBigStation.ViewModel"
- mc:Ignorable="d"
- d:DesignHeight="1080" d:DesignWidth="1920">
- <UserControl.DataContext>
- <vm:ManualFlowViewModel />
- </UserControl.DataContext>
-
- <Grid Margin="10">
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- <RowDefinition Height="100" />
- <RowDefinition Height="1*" />
- </Grid.RowDefinitions>
- <!--#region 表格标题栏设置-->
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="left" VerticalAlignment="Center">
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayInPlace}"
- CommandParameter="1"
- Content="AGV到达工位1"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayInPlace}"
- CommandParameter="2"
- Content="AGV到达工位2"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayInPlace}"
- CommandParameter="3"
- Content="AGV到达工位3"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayInPlace}"
- CommandParameter="4"
- Content="AGV到达工位4"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayInPlace}"
- CommandParameter="5"
- Content="AGV到达工位5"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="left" VerticalAlignment="Center">
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayLeave}"
- CommandParameter="1"
- Content="AGV离开工位1"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayLeave}"
- CommandParameter="2"
- Content="AGV离开工位2"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayLeave}"
- CommandParameter="3"
- Content="AGV离开工位3"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayLeave}"
- CommandParameter="4"
- Content="AGV离开工位4"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding TrayLeave}"
- CommandParameter="5"
- Content="AGV离开工位5"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- </StackPanel>
- </Grid>
-
- <Grid Grid.Row="2">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="left" VerticalAlignment="Center">
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding ClearTrayInPlace}"
- Content="清除AGV到位信号"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding ClearAllRecipe}"
- Content="清除西门子所有配方"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="3">
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <StackPanel>
- <WrapPanel>
- <TextBlock Text="plc心跳:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding Heartbeat}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="10"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="订单号:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBox Width="300" Margin="5" Text="{Binding CancelRecipeCode}" FontSize="24" VerticalAlignment="Center"></TextBox>
- <Button Style="{StaticResource ImageButtonStyle}" Width="120" Height="40" FontSize="20" Content="取消订单" Margin="5" Command="{Binding CancelRecipeCommand}"></Button>
- </WrapPanel>
- </StackPanel>
- <StackPanel Grid.Column="3">
- <WrapPanel>
- <TextBlock Text="料仓名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBinName}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓1名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin1Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓2名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin2Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓3名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin3Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓4名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin4Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓5名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin5Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓6名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin6Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓7名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin7Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓8名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin8Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓9名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin9Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓10名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin10Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓11名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin11Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓12名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin12Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓13名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin13Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- <WrapPanel>
- <TextBlock Text="料仓14名称:" Foreground="#FF2AB2E7" FontSize="25" Margin="10,0,5,0" VerticalAlignment="Center"></TextBlock>
- <TextBlock Text="{Binding StockBin14Name}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF2AB2E7" FontSize="25" Margin="5"></TextBlock>
- </WrapPanel>
- </StackPanel>
- </Grid>
- </Grid>
- </UserControl>
|