|
|
|
<UserControl x:Class="SlnMesnac.WPF.Page.ControlPage.UserTaskControl"
|
|
|
|
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:SlnMesnac.WPF.Page.ControlPage"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="800" Background="Transparent" Height="590">
|
|
|
|
<Grid HorizontalAlignment="Center" Width="800" Height="590" VerticalAlignment="Bottom">
|
|
|
|
<Button Content="D定位抓取" x:Name="DeliverNeedPosition" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=DeliverNeedPosition}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="466,51,234,509" Click="Button_Click_1"/>
|
|
|
|
<Button Content="A定位抓取" x:Name="AMRNeedPosition" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=AMRNeedPosition}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="466,121,234,439" Click="Button_Click_1"/>
|
|
|
|
<Button Content="D无定抓取" x:Name="DeilverNoPosition" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=DeilverNoPosition}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="324,51,376,509" Click="Button_Click_1"/>
|
|
|
|
<Button Content="A无定抓取" x:Name="AMRNoPosition" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=AMRNoPosition}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="324,121,376,439" Click="Button_Click_1"/>
|
|
|
|
<Button Content="发送结束抓取" x:Name="VisionEnd" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=VisionEnd}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="466,185,234,375" Click="Button_Click_2"/>
|
|
|
|
<Button Content="调用800小车" x:Name="Get800" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Get800}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="47,51,653,509" Click="Button_Click_3"/>
|
|
|
|
<Button Content="入库800小车" x:Name="Out800" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Out800}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="47,121,653,439" Click="Button_Click_4"/>
|
|
|
|
<Button Content="测试按钮" x:Name="TestButton" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=TestButton}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="47,190,653,370" />
|
|
|
|
<Button Content="调用1000小车" x:Name="Get1000" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Get1000}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="187,51,513,509" Click="Button_Click_3"/>
|
|
|
|
<Button Content="入库1000小车" x:Name="Out1000" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Out1000}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="187,121,513,439" Click="Button_Click_4"/>
|
|
|
|
<Button Content="复位1000小车" x:Name="Reset1000" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Reset1000}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="187,190,513,370" Click="Button_Click_4"/>
|
|
|
|
<Button Content="手动停止800任务" x:Name="ManualStop800Task" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=ManualStop800Task}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="604,51,83,509" Click="Button_Click_5" RenderTransformOrigin="0.504,0.511"/>
|
|
|
|
<Button Content="手动清除800报警" x:Name="ManualClear800Error" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=ManualClear800Error}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="604,121,83,439" Click="Button_Click_6"/>
|
|
|
|
<Button Content="手动停止1000任务" x:Name="ManualStop1000Task" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=ManualStop1000Task}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="604,190,83,370" Click="Button_Click_7"/>
|
|
|
|
<Button Content="开始AGV状态刷新" x:Name="StartAGVStateRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=StartAGVStateRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="39,298,631,262" />
|
|
|
|
<Button Content="结束AGV状态刷新" x:Name="StopAGVStateRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=StopAGVStateRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="39,361,631,199" />
|
|
|
|
<Button Content="开始任务状态刷新" x:Name="StartTaskRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StartTaskRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="201,298,469,262" />
|
|
|
|
<Button Content="结束任务状态刷新" x:Name="StopTaskRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StopTaskRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="201,361,469,199" />
|
|
|
|
<Button Content="终止所有的航班任务、小车任务、机械臂复位" x:Name="StopAll" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StopAll}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="39,426,469,134" RenderTransformOrigin="0.5,0.5" Click="StopAll_Click" >
|
|
|
|
<Button.RenderTransform>
|
|
|
|
<TransformGroup>
|
|
|
|
<ScaleTransform/>
|
|
|
|
<SkewTransform AngleY="0"/>
|
|
|
|
<RotateTransform/>
|
|
|
|
<TranslateTransform Y="0"/>
|
|
|
|
</TransformGroup>
|
|
|
|
</Button.RenderTransform>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Grid Margin="397,258,39,76" Background="White">
|
|
|
|
<Label Content="任务编号" Width="64" VerticalAlignment="Top" Margin="48,31,252,0"/>
|
|
|
|
<Label Content="为空自动生成" VerticalAlignment="Top" Margin="176,0,106,0"/>
|
|
|
|
<TextBox Name="taskNo" Width="188" Height="36" Margin="123,26,53,194"/>
|
|
|
|
|
|
|
|
<Label Content="站台编号" Width="64" VerticalAlignment="Top" Margin="48,72,252,0"/>
|
|
|
|
<ComboBox Name="AreaNo" Width="188" Height="36" DisplayMemberPath="Value" SelectedValuePath="Key" Margin="123,67,53,153" SelectionChanged="AreaNo_SelectionChanged"/>
|
|
|
|
|
|
|
|
<Label Content="航班号" Width="64" VerticalAlignment="Top" Margin="48,113,252,0" />
|
|
|
|
<TextBox Name="AirNo" Width="188" Height="36" Margin="123,108,53,112" />
|
|
|
|
|
|
|
|
<Label Content="空筐数量" Width="64" VerticalAlignment="Top" Margin="48,154,252,0" />
|
|
|
|
<TextBox Name="BoxNo" Width="188" Height="36" Margin="123,149,53,71"/>
|
|
|
|
|
|
|
|
<Button x:Name="NewAirportTask" Content="新建任务" Click="NewAirportTask_Click" Margin="122,190,122,30" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|