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}" /> + - + + + + + + + + + + + + + + + + + + +