WinRunData.xaml 6.62 KB
<Window x:Class="XingYe_ACS.UI.WinRunData"
        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:XingYe_ACS.UI"
        Title="WinModel" Height="600" Width="1000"
        WindowStyle="None" AllowsTransparency="True" Background="Transparent"
        Loaded="Window_Loaded">
    <Border Background="White" BorderThickness="1" BorderBrush="{StaticResource HHLGRed}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid  Name="Spl_title" Grid.Row="0" Grid.ColumnSpan="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition></RowDefinition>
                    <RowDefinition></RowDefinition>
                </Grid.RowDefinitions>
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
                           MouseLeftButtonDown="TextBlock_MouseLeftButtonDown"
                       Foreground="{StaticResource HHAst2}" FontSize="20">运 行 数 据</TextBlock>
                <Button Name="BtnClose" Grid.Column="3" Background="{StaticResource HHLGRed}" Foreground="White"  Width="20" Margin="2" Click="BtnClose_Click">X</Button>
            </Grid>
            <StackPanel Height="2" Grid.Row="1" Background="{StaticResource HHLGRed}"></StackPanel>
            <TabControl Grid.Row="2">
                <TabControl>
                    <TabItem Header="Point">
                        <DataGrid Name="Dg_Coll_Point" IsReadOnly="True">
                            <DataGrid.RowDetailsTemplate>
                                <DataTemplate>
                                    <Border BorderThickness="2" BorderBrush="Maroon">
                                        <DataGrid Name="DgridPoint" ItemsSource="{Binding Path = tmpDirectionList}"></DataGrid>
                                    </Border>
                                </DataTemplate>
                            </DataGrid.RowDetailsTemplate>

                            <DataGrid.ContextMenu>
                                <ContextMenu>
                                    <MenuItem Name="MItem_Point" Header="查找点" Click="MItem_Point_Click"></MenuItem>
                                </ContextMenu>
                            </DataGrid.ContextMenu>
                        </DataGrid>
                    </TabItem>
                    <TabItem Header="Agv">
                        <DataGrid Name="Dg_Coll_AGV" IsReadOnly="True">
                            <!--<DataGrid.RowDetailsTemplate>
                                        <DataTemplate>
                                            <Border BorderThickness="5" BorderBrush="Maroon">
                                                <DataGrid Name="DgridCTList" ItemsSource="{Binding Path=_CTasksList}">
                                                </DataGrid>
                                            </Border>
                                        </DataTemplate>
                                    </DataGrid.RowDetailsTemplate>-->
                        </DataGrid>
                    </TabItem>
                    <TabItem Header="Shelf">
                        <DataGrid Name="Dg_Coll_Shelf" IsReadOnly="True"></DataGrid>
                    </TabItem>
                    <TabItem Header="FTask">
                        <DataGrid Name="Dg_Coll_FTask" IsReadOnly="True"></DataGrid>
                    </TabItem>
                    <TabItem Header="SonTask">
                        <ScrollViewer>
                            <DataGrid Name="Dg_Coll_SonTask" IsReadOnly="True">
                                <DataGrid.RowDetailsTemplate>
                                    <DataTemplate>
                                        <Border BorderThickness="3" BorderBrush="Maroon">
                                            <DataGrid ItemsSource="{Binding Path=sonTaskList}">
                                                <DataGrid.RowDetailsTemplate>
                                                    <DataTemplate>
                                                        <Border BorderThickness="3" BorderBrush="Maroon">
                                                            <DataGrid ItemsSource="{Binding Path=isCarry}">

                                                            </DataGrid>
                                                        </Border>
                                                    </DataTemplate>
                                                </DataGrid.RowDetailsTemplate>
                                            </DataGrid>
                                        </Border>
                                    </DataTemplate>
                                </DataGrid.RowDetailsTemplate>
                            </DataGrid>
                        </ScrollViewer>
                    </TabItem>
                    <TabItem Header="WorkStation">
                        <DataGrid Name="Dg_Coll_WorkStation" IsReadOnly="True"></DataGrid>
                    </TabItem>
                    <TabItem Header="ProcControl">
                        <DataGrid Name="Dg_Coll_ProcControl" IsReadOnly="True"></DataGrid>
                    </TabItem>

                    <TabItem Header="ChargeStation">
                        <DataGrid Name="Dg_Coll_Cs" IsReadOnly="True"></DataGrid>
                    </TabItem>

                    <TabItem Header="ChargeSet">
                        <DataGrid Name="Dg_Coll_ChargeSet" IsReadOnly="True"></DataGrid>
                    </TabItem>
                </TabControl>
            </TabControl>
            <StackPanel Height="2" Grid.Row="3" Background="{StaticResource HHLGRed}"></StackPanel>
            <TextBlock Grid.Row="4" FontSize="20" HorizontalAlignment="Center"
                       Foreground="{StaticResource HHAst2}">控制台系统</TextBlock>
        </Grid>
    </Border>
</Window>