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

                            <DataGrid.ContextMenu>
                                <ContextMenu>
                                    <MenuItem
                                        Name="MItem_Point"
                                        Click="MItem_Point_Click"
                                        Header="查找点" />
                                </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" />
                    </TabItem>
                    <TabItem Header="FTask">
                        <DataGrid Name="Dg_Coll_FTask" IsReadOnly="True" />
                    </TabItem>
                    <TabItem Header="SonTask">
                        <ScrollViewer>
                            <DataGrid Name="Dg_Coll_SonTask" IsReadOnly="True">
                                <DataGrid.RowDetailsTemplate>
                                    <DataTemplate>
                                        <Border BorderBrush="Maroon" BorderThickness="3">
                                            <DataGrid ItemsSource="{Binding Path=sonTaskList}">
                                                <DataGrid.RowDetailsTemplate>
                                                    <DataTemplate>
                                                        <Border BorderBrush="Maroon" BorderThickness="3">
                                                            <DataGrid ItemsSource="{Binding Path=isCarry}" />
                                                        </Border>
                                                    </DataTemplate>
                                                </DataGrid.RowDetailsTemplate>
                                            </DataGrid>
                                        </Border>
                                    </DataTemplate>
                                </DataGrid.RowDetailsTemplate>
                            </DataGrid>
                        </ScrollViewer>
                    </TabItem>
                    <TabItem Header="WorkStation">
                        <DataGrid Name="Dg_Coll_WorkStation" IsReadOnly="True" />
                    </TabItem>
                    <TabItem Header="ProcControl">
                        <DataGrid Name="Dg_Coll_ProcControl" IsReadOnly="True" />
                    </TabItem>

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

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