97 lines
4.4 KiB
XML
97 lines
4.4 KiB
XML
<hc:GlowWindow
|
||
x:Class="Sinvo.EplanHpD.Plugin.WPFUI.View.LayoutHelperWindow"
|
||
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:hc="https://handyorg.github.io/handycontrol"
|
||
xmlns:local="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.View"
|
||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
Title="布线助手"
|
||
Width="450"
|
||
Height="230"
|
||
MinWidth="450"
|
||
MinHeight="230"
|
||
ActiveGlowColor="{DynamicResource PrimaryColor}"
|
||
Background="White"
|
||
mc:Ignorable="d">
|
||
<Window.Resources>
|
||
<ResourceDictionary>
|
||
<ResourceDictionary.MergedDictionaries>
|
||
<ResourceDictionary Source="pack://application:,,,/Sinvo.EplanHpD.Plugin.WPFUI;component/Themes/Theme.xaml" />
|
||
</ResourceDictionary.MergedDictionaries>
|
||
</ResourceDictionary>
|
||
</Window.Resources>
|
||
<Border Background="{DynamicResource MainContentForegroundDrawingBrush}">
|
||
<Grid Margin="2">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="15" />
|
||
<RowDefinition Height="30" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="30" />
|
||
<RowDefinition Height="30" />
|
||
</Grid.RowDefinitions>
|
||
<hc:SimpleStackPanel Grid.Row="0" Orientation="Horizontal">
|
||
<TextBlock FontSize="14" TextWrapping="Wrap">
|
||
<Run Text="选中的电机:" />
|
||
<Run Foreground="{StaticResource DangerBrush}" Text="HK-KT103WJK" />
|
||
</TextBlock>
|
||
<TextBlock
|
||
Margin="5,0,0,0"
|
||
FontSize="14"
|
||
TextWrapping="Wrap">
|
||
<Run Text="当前布线的电机:" />
|
||
<Run Foreground="{StaticResource DangerBrush}" Text="HK-KT103WJK" />
|
||
</TextBlock>
|
||
</hc:SimpleStackPanel>
|
||
<StackPanel Grid.Row="1" VerticalAlignment="Center">
|
||
<TextBlock VerticalAlignment="Center" FontSize="14">
|
||
<Run Text="当前线段:" />
|
||
<Run Foreground="{StaticResource DangerBrush}" Text="前段" />
|
||
<Run Text="当前线类型:" />
|
||
<Run Foreground="{StaticResource DangerBrush}" Text="编码器线+动力线" />
|
||
<Run Text="轴号:" />
|
||
<Run Foreground="{StaticResource DangerBrush}" Text="MRJ001" />
|
||
</TextBlock>
|
||
</StackPanel>
|
||
<ListView
|
||
Grid.Row="2"
|
||
hc:GridViewAttach.ColumnHeaderHeight="10"
|
||
Style="{StaticResource ListView.Small}">
|
||
<ListView.View>
|
||
<GridView>
|
||
<GridViewColumn Width="100" Header="线类型" />
|
||
<GridViewColumn Width="200" Header="线型号" />
|
||
<GridViewColumn Width="50" Header="图纸" />
|
||
</GridView>
|
||
</ListView.View>
|
||
<ListViewItem Content="1231211111111111111" />
|
||
</ListView>
|
||
<hc:SimpleStackPanel Grid.Row="3">
|
||
<TextBlock TextWrapping="Wrap">
|
||
<Run Text="选中的线:" />
|
||
</TextBlock>
|
||
<TextBlock>
|
||
<Run Text="三菱伺服编码器线 TRVVSP3×2×0.2-2000W-CE/定制(带DB9公头)电机" />
|
||
</TextBlock>
|
||
</hc:SimpleStackPanel>
|
||
<hc:SimpleStackPanel Grid.Row="4" VerticalAlignment="Bottom">
|
||
<DockPanel HorizontalAlignment="Stretch">
|
||
<Button
|
||
Content="上一根线"
|
||
DockPanel.Dock="Left"
|
||
Style="{StaticResource ButtonDanger}" />
|
||
<Button
|
||
HorizontalAlignment="Right"
|
||
Content="下一根线"
|
||
DockPanel.Dock="Right"
|
||
Style="{StaticResource ButtonPrimary}" />
|
||
<Button
|
||
Content="MRJ001-1"
|
||
DockPanel.Dock="Right"
|
||
Style="{StaticResource ButtonSuccess}" />
|
||
</DockPanel>
|
||
</hc:SimpleStackPanel>
|
||
</Grid>
|
||
</Border>
|
||
</hc:GlowWindow>
|