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