2026-03-30 17:09:29 +09:00

35 lines
2.1 KiB
XML

<UserControl x:Class="WeldingCommon.Views.UCSingleAxisPosition"
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:WeldingCommon.Views"
xmlns:usercontrols="clr-namespace:AuroraUIComponent.UserControls;assembly=AuroraUIComponent"
mc:Ignorable="d" Name="uc"
d:DesignHeight="600" d:DesignWidth="600" Width="auto" Height="600" Background="Black"
d:DataContext="{d:DesignInstance Type=local:UCSingleAxisPositionViewModel}">
<StackPanel Orientation="Vertical">
<Grid Height="100">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0" Margin="5" Width="200" HorizontalAlignment="Left">
<usercontrols:UCKeyComboBox KeyText="Motor Axis" ItemList="{Binding MotorIDList}"
ValueItem="{Binding SelectedMotorID}" KeyTextFgColor="White" KeyTextBgColor="Black"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button FontSize="20" Width="80" Margin="5" Command="{Binding CMD_DecreaseComboMotorID}" >◀</Button>
<Button FontSize="20" Width="80" Margin="5" Command="{Binding CMD_IncreaseComboMotorID}" >▶</Button>
</StackPanel>
</StackPanel>
<StackPanel Grid.Column="1" Margin="5" Orientation="Horizontal">
<Button FontSize="20" Width="80" Margin="5" Command="{Binding CMD_MotorSave}" >Save</Button>
</StackPanel>
</Grid>
<StackPanel Margin="5">
<usercontrols:MotorStatusTableView x:Name="ucMotorStatusTableView" Height="480">
</usercontrols:MotorStatusTableView>
</StackPanel>
</StackPanel>
</UserControl>