|
@@ -36,7 +36,7 @@
|
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="Feedback:" VerticalAlignment="Center" Block.TextAlignment="Right" Margin="0,10,0,0"/>
|
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="Set Point:" VerticalAlignment="Center" Block.TextAlignment="Right" Margin="0,10,0,0"/>
|
|
|
|
|
|
- <Label Grid.Row="0" Grid.Column="2" Content="{Binding Path=DeviceName}" Width="150" Height="28" HorizontalAlignment="Left" FontSize="13" FontFamily="Arial,SimSun" BorderThickness="0,0,0,1" BorderBrush="Black"/>
|
|
|
+ <Label Grid.Row="0" Grid.Column="2" Content="{Binding Path=DeviceName}" Width="150" Height="28" HorizontalAlignment="Left" FontSize="13" FontFamily="Arial,SimSun" BorderThickness="0,0,0,1" BorderBrush="Black" Padding="10,12,0,0"/>
|
|
|
<!--<Label Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Left" Width="150" BorderThickness="0,0,0,1" BorderBrush="Black" FontSize="10" FontFamily="Arial,SimSun" Height="28" VerticalContentAlignment="Center" >
|
|
|
|
|
|
|
|
@@ -50,13 +50,13 @@
|
|
|
<!--<Label Grid.Row="2" Grid.Column="2" VerticalContentAlignment="Bottom" Content="{Binding Path=MaxValuePressure}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" BorderThickness="0,0,0,1" BorderBrush="Black"/>-->
|
|
|
|
|
|
<!--<TextBlock Grid.Row="3" Grid.Column="2" Text="{Binding Path=UnitPosition}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" />-->
|
|
|
- <Label Grid.Row="2" Grid.Column="2" VerticalContentAlignment="Bottom" Content="{Binding IsPositionMode,Converter={StaticResource BoolToUnitConverter}}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" BorderThickness="0,0,0,1" BorderBrush="Black"/>
|
|
|
+ <Label Grid.Row="2" Grid.Column="2" VerticalContentAlignment="Bottom" Content="{Binding IsPositionMode,Converter={StaticResource BoolToUnitConverter}}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" BorderThickness="0,0,0,1" BorderBrush="Black" Padding="10,5,0,0"/>
|
|
|
|
|
|
<!--<TextBlock Grid.Row="4" Grid.Column="2" Text="{Binding Path=FeedbackPosition}" FontFamily="Arial,SimSun" Height="28"/>-->
|
|
|
- <Label Grid.Row="3" Grid.Column="2" VerticalContentAlignment="Bottom" Content="{Binding FeedBackValue}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" BorderThickness="0,0,0,1" BorderBrush="Black"/>
|
|
|
+ <Label Grid.Row="3" Grid.Column="2" VerticalContentAlignment="Bottom" Content="{Binding FeedBackValue}" Width="150" FontSize="13" FontFamily="Arial,SimSun" Height="28" BorderThickness="0,0,0,1" BorderBrush="Black" Padding="10,5,0,0"/>
|
|
|
|
|
|
<!--<TextBox Grid.Row="5" Grid.Column="2" x:Name="inputBoxPosition" BorderBrush="Green" BorderThickness="0,0,0,1" Width="150" HorizontalAlignment="Left" FontSize="13" FontFamily="Arial,SimSun" Height="30" VerticalContentAlignment="Center"/>-->
|
|
|
- <TextBox Grid.Row="4" Grid.Column="2" Text="{Binding SetValue,UpdateSourceTrigger=PropertyChanged}" Width="150" HorizontalAlignment="Left" FontSize="13" FontFamily="Arial,SimSun" Height="30" VerticalContentAlignment="Top" BorderThickness="0,0,0,1" BorderBrush="Black"/>
|
|
|
+ <TextBox Grid.Row="4" Grid.Column="2" Text="{Binding SetValue,UpdateSourceTrigger=PropertyChanged}" Width="150" HorizontalAlignment="Left" FontSize="13" FontFamily="Arial,SimSun" Height="30" VerticalContentAlignment="Bottom" BorderThickness="0,0,0,1" BorderBrush="Black" Padding="10,0,0,0"/>
|
|
|
|
|
|
<Button Grid.Row="5" Grid.Column="1" Content="Set" x:Name="buttonSet" Width="80" Height="26" VerticalAlignment="Top" Margin="5,3,0,0" Command="{Binding SetCommand}"/>
|
|
|
<Button Grid.Row="5" Grid.Column="2" Content="Cancel" Width="80" Height="26" VerticalAlignment="Top" Margin="44,3,0,0" />
|