|
- <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="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 Tray1InPlace}"
- Content="AGV到达工位1"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding Tray2InPlace}"
- Content="AGV到达工位2"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding Tray3InPlace}"
- Content="AGV到达工位3"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding Tray4InPlace}"
- Content="AGV到达工位4"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding Tray5InPlace}"
- Content="AGV到达工位5"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
- <Button
- Width="200"
- Height="40"
- Margin="5,0,5,0"
- Command="{Binding ClearTrayInPlace}"
- Content="清楚AGV到位信号"
- FontSize="20"
- Panel.ZIndex="0"
- Style="{StaticResource ImageButtonStyle}"></Button>
-
- </StackPanel>
-
-
- </Grid>
- <Grid Grid.Row="1">
- <WrapPanel>
- <TextBlock Text="心跳:" 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>
- </Grid>
- </Grid>
- </UserControl>
|