From b7591e9cb2eec7e0ebef246b6d7eac2c09685de4 Mon Sep 17 00:00:00 2001 From: lihanbo Date: Tue, 26 Nov 2024 10:33:07 +0800 Subject: [PATCH] =?UTF-8?q?105040=20Update=20=E4=BC=98=E5=8C=96=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/CableLectotypeWindow.xaml | 390 +++++++++++++----- .../View/CableLectotypeWindow.xaml.cs | 35 +- .../View/LectotypeWindow.xaml | 1 + .../View/LectotypeWindow.xaml.cs | 18 +- 4 files changed, 337 insertions(+), 107 deletions(-) diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml b/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml index 49a7c43..e1acc3e 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml +++ b/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml @@ -6,15 +6,19 @@ xmlns:hc="https://handyorg.github.io/handycontrol" xmlns:local="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.View" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:util="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.Utils" + xmlns:viewmodel="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.ViewModel" Title="CableLectotypeWindow" - Width="800" - Height="450" + Width="1200" + Height="800" + d:DataContext="{d:DesignInstance Type=viewmodel:CableLectotypeViewModel}" mc:Ignorable="d"> + @@ -23,122 +27,320 @@ - + + + + - - + Effect="{DynamicResource EffectShadow2}" + FontSize="14"> + + + - + VerticalAlignment="Center" + IsReadOnly="True" + Style="{StaticResource TextBoxPlusBaseStyle}" + Text="{Binding Motor.OccPartId}" /> - + + + Width="100" + VerticalAlignment="Center" + IsReadOnly="True" + Style="{StaticResource TextBoxPlusBaseStyle}" + Text="{Binding Motor.MotorModelStr}" /> + + VerticalAlignment="Center" + IsReadOnly="True" + Style="{StaticResource TextBoxPlusBaseStyle}" + Text="{Binding Motor.MotorPower}" /> - - - + + + + + + - + + - + hc:TitleElement.TitleWidth="120" + Text="{Binding AxisNo, Mode=TwoWay}" /> + - + + + + + + + + + + + + + + + + + + +