<UserControl x:Class="BPASmartClient.Control.BusinessOrchestrationView"
             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:BPASmartClient.Control"
             xmlns:s="clr-namespace:BPASmartClient.CustomResource.UserControls.DeCanvas;assembly=BPASmartClient.CustomResource"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml"/>
                <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80"/>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Border  Style="{DynamicResource border阴影边框扩展}"                BorderThickness="0" BorderBrush="#00eaff"/>
        <Border Grid.Column="1" Style="{DynamicResource border阴影边框扩展}" BorderThickness="0" BorderBrush="#00eaff"/>
        <Border Grid.Column="2" Style="{DynamicResource border阴影边框扩展}" BorderThickness="0" BorderBrush="#00eaff"/>
        <StackPanel>
            <Button  Margin="5" Style="{DynamicResource CommonBtn_功能列表}"  ToolTip="项目下所有产品列表"/>
            <Button   Margin="5" Style="{DynamicResource CommonBtn_产品制作}" ToolTip="节点是可以组成产品的原子功能"/>
            <Button   Margin="5" Style="{DynamicResource CommonBtn_维护}" ToolTip="预留功能" Cursor="Hand"/>
        </StackPanel>

        <Grid Grid.Column="1">
            <StackPanel>
                <Expander Header="设备节点" IsExpanded="True"  Foreground="#addbff">
                    <StackPanel x:Name="Send">

                    </StackPanel>
                </Expander>
                <Expander Header="协议节点" IsExpanded="True" Foreground="#addbff">
                    <StackPanel >
                        <Button  Style="{DynamicResource CommonBtn_功能节点}"  ToolTip="项目下所有产品列表" Cursor="Hand" Content="HTTP"/>
                        <Button  Style="{DynamicResource CommonBtn_功能节点}"  ToolTip="项目下所有产品列表" Cursor="Hand" Content="Modbus"/>
                        <Button  Style="{DynamicResource CommonBtn_功能节点}"  ToolTip="项目下所有产品列表" Cursor="Hand" Content="MQTT"/>
                        <Button  Style="{DynamicResource CommonBtn_功能节点}"  ToolTip="项目下所有产品列表" Cursor="Hand" Content="SerialPort"/>
                        <Button  Style="{DynamicResource CommonBtn_功能节点}"  ToolTip="项目下所有产品列表" Cursor="Hand" Content="Socket"/>
                    </StackPanel>
                </Expander>
                
            </StackPanel>


        </Grid>

        <Grid Grid.Column="2">
            <!--<WrapPanel x:Name="canvas"  >
                
            </WrapPanel>-->
            <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                <s:DesignerCanvas Background="Transparent" Margin="10"/>
            </ScrollViewer>
        </Grid>



    </Grid>
</UserControl>
