From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 Plugin.DOControl/DOControl.xaml |  135 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 135 insertions(+), 0 deletions(-)

diff --git a/Plugin.DOControl/DOControl.xaml b/Plugin.DOControl/DOControl.xaml
new file mode 100644
index 0000000..7f4dc1c
--- /dev/null
+++ b/Plugin.DOControl/DOControl.xaml
@@ -0,0 +1,135 @@
+锘�<hb:PluginControl x:Class="Plugin.DOControl.DOControl"
+             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:Plugin.DOControl"
+             mc:Ignorable="d"
+             xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
+             xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
+             xmlns:pw="https://opensource.panuon.com/wpf"
+             xmlns:pu="https://opensource.panuon.com/wpf-ui"
+             xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
+             Loaded="UserControl_Loaded"
+             Background="{DynamicResource WorkspaceBackground}"
+             d:DesignHeight="450" d:DesignWidth="800">
+    <UserControl.Resources>
+        <ResourceDictionary>
+            <ResourceDictionary.MergedDictionaries>
+                <pu:StyleDictionary Includes="GroupBox" />
+            </ResourceDictionary.MergedDictionaries>
+
+            <Style TargetType="GroupBox" BasedOn="{StaticResource {x:Static pu:StyleKeys.GroupBoxStyle}}">
+                <Setter Property="pu:GroupBoxHelper.HeaderBackground" Value="{DynamicResource ReHoriBar}"/>
+                <Setter Property="pu:GroupBoxHelper.HeaderForeground" Value="{DynamicResource PrimaryColorContract}"/>
+                <Setter Property="pu:GroupBoxHelper.HeaderFontWeight" Value="Bold"/>
+            </Style>
+        </ResourceDictionary>        
+    </UserControl.Resources>
+    
+    <Border Style="{StaticResource CardBoarder}">
+        <Grid dp:GridHelper.Space="10" Cursor="">
+            <Grid.RowDefinitions>
+                <RowDefinition Height="Auto"/>
+                <RowDefinition/>
+            </Grid.RowDefinitions>
+
+            <DockPanel Grid.Row="0" Cursor="">
+                <StackPanel DockPanel.Dock="Right" Style="{StaticResource ButtonGroup}">
+                    <Button Style="{StaticResource SettingBtn}"
+x:Name="settingBtn" Click="Button_Click"/>
+                    <!--<Button Style="{StaticResource AddBtn}"
+                            x:Name="addBtn" Click="Button_Click"/>
+                   
+                    <Button Style="{StaticResource RfhBtn}"
+                            x:Name="resetBtn" Click="Button_Click"/>
+                    <Button x:Name="exportBtn"
+                            Style="{StaticResource ExportBtn}" Click="Button_Click"/>-->
+                </StackPanel>
+                <TextBlock FontSize="{StaticResource TitleFontSize}" 
+VerticalAlignment="Center" HorizontalAlignment="Left" Text="{DynamicResource doc.title}"/>
+            </DockPanel>
+
+            <Grid Grid.Row="1" >
+                <Grid.ColumnDefinitions>
+                    <ColumnDefinition Width="0*"/>
+                    <ColumnDefinition Width="10*"/>
+                </Grid.ColumnDefinitions>
+                <!--<ListBox ItemsSource="{Binding Groups}" SelectedItem="{Binding SelectedGroup}">
+                    <ListBox.Style>
+                        <Style TargetType="ListBox">
+                            <Setter Property="Padding" Value="-1"/>
+                            <Setter Property="Background" Value="Transparent"/>
+                            <Setter Property="ItemContainerStyle">
+                                <Setter.Value>
+                                    <Style TargetType="ListBoxItem">
+                                        <Setter Property="Margin" Value="0"/>
+                                        <Setter Property="Cursor" Value="Hand"/>
+                                        <Setter Property="FontWeight" Value="Bold"/>
+
+                                        <Setter Property="Background" Value="{DynamicResource PrimaryColor}"/>
+                                        <Setter Property="Template">
+                                            <Setter.Value>
+                                                <ControlTemplate TargetType="ListBoxItem">
+                                                    <Border x:Name="border" Padding="0,15">
+                                                        <ContentPresenter x:Name="cp" Content="{TemplateBinding Content}" 
+ContentStringFormat="{TemplateBinding ContentStringFormat}" 
+ContentTemplate="{TemplateBinding ContentTemplate}" />
+                                                    </Border>
+                                                    
+
+                                                    <ControlTemplate.Triggers>
+                                                        <Trigger Property="IsSelected" Value="True">
+                                                            <Setter Property="Background" TargetName="border"
+                                                        Value="{DynamicResource ReHoriBar}"/>
+                                                            <Setter Property="Foreground" Value="White"/>
+                                                        </Trigger>
+
+                                                        <Trigger Property="IsMouseOver" Value="True">
+                                                            <Setter TargetName="border" Property="Background" Value="#7093d3" />
+                                                            <Setter Property="Foreground" Value="{DynamicResource SecondPrimaryColorContract}" />
+                                                        </Trigger>
+                                                    </ControlTemplate.Triggers>
+                                                </ControlTemplate>
+                                            </Setter.Value>
+                                        </Setter>
+                                    </Style>
+                                </Setter.Value>
+                            </Setter>
+                            <Setter Property="ItemsPanel">
+                                <Setter.Value>
+                                    <ItemsPanelTemplate>
+                                        <VirtualizingStackPanel IsItemsHost="True"/>
+                                    </ItemsPanelTemplate>
+                                </Setter.Value>
+                            </Setter>
+                            <Setter Property="ItemTemplate">
+                                <Setter.Value>
+                                    <DataTemplate>
+                                        <Label VerticalContentAlignment="Center" HorizontalContentAlignment="Center" 
+                                               Content="{Binding Mode=OneWay}"/>
+                                    </DataTemplate>
+                                </Setter.Value>
+                            </Setter>
+                        </Style>
+                    </ListBox.Style>
+                </ListBox>-->
+
+                <Border Grid.Column="1" BorderThickness="0" Padding="0" BorderBrush="#FFABADB3">
+                    <Grid>
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition/>
+                            <ColumnDefinition/>
+                        </Grid.ColumnDefinitions>
+                        <StackPanel x:Name="panel0" Margin="0,0,10,0">
+
+                        </StackPanel>
+                        <StackPanel Grid.Column="1" x:Name="panel1" >
+
+                        </StackPanel>
+                    </Grid>
+                </Border>
+            </Grid>
+        </Grid>
+    </Border>
+</hb:PluginControl>
\ No newline at end of file

--
Gitblit v1.9.1