generated from wenjy/SlnMesnac
add - 自动逻辑完善
parent
35118ff75d
commit
6544e3fd86
@ -0,0 +1,13 @@
|
||||
<Window x:Class="SlnMesnac.WPF.Page.ControlPage.TaskControl"
|
||||
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:local="clr-namespace:SlnMesnac.WPF.Page.ControlPage"
|
||||
mc:Ignorable="d"
|
||||
Title="TaskControl" Height="450" Width="800" >
|
||||
<Grid>
|
||||
|
||||
<!--<Button Content="键 盘" Command="{Binding OpenSystemKeyboardCommand}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="0,0,10,0"/>-->
|
||||
</Grid>
|
||||
</Window>
|
@ -0,0 +1,54 @@
|
||||
<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="Center">
|
||||
<Button Content="发送开始抓取" x:Name="DeliverNeedPosition" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=DeliverNeedPosition}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009999" BorderBrush="#FF36B5C1" Margin="615,70,85,396" 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="353,70,347,396" 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="353,140,347,326" 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="615,140,85,326" 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="89,277,611,189" 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="89,209,611,257" Click="Button_Click_4"/>
|
||||
<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="89,139,611,327" 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="89,69,611,397" 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="218,69,482,397" 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="482,70,205,396" 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="482,140,205,326" 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="482,209,205,257" 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="89,342,581,124" />
|
||||
<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="89,405,581,61" />
|
||||
<Button Content="开始任务状态刷新" x:Name="StartTaskRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StartTaskRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="251,342,419,124" />
|
||||
<Button Content="结束任务状态刷新" x:Name="StopTaskRefresh" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StopTaskRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="251,405,419,61" />
|
||||
<Button Content="终止所有的航班任务、小车任务、机械臂复位" x:Name="StopAll" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name, ElementName=StopAGVStateRefresh}" Style="{StaticResource BUTTON_AGREE}" Height="30" Background="Green" BorderBrush="#FF36B5C1" Margin="89,517,419,43" 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="426,324,10,10" 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>
|
Loading…
Reference in New Issue