You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
9.2 KiB
Plaintext
169 lines
9.2 KiB
Plaintext
1 year ago
|
<UserControl x:Class="Admin.Core.Wpf.View.IndexPage"
|
||
|
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:Admin.Core.Wpf.View"
|
||
|
mc:Ignorable="d"
|
||
|
Background="#F0F7FF"
|
||
|
MinHeight="600" MinWidth="980" Height="665" Width="1100">
|
||
|
<UserControl.Resources>
|
||
|
<Style x:Key="HorizontalExpanderContentTextBlock" TargetType="{x:Type TextBlock}">
|
||
|
<Setter Property="Opacity" Value=".68" />
|
||
|
<Setter Property="Text" Value="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." />
|
||
|
<Setter Property="TextWrapping" Value="Wrap" />
|
||
|
</Style>
|
||
|
|
||
|
<Style x:Key="VerticalExpanderContentTextBlock"
|
||
|
TargetType="{x:Type TextBlock}"
|
||
|
BasedOn="{StaticResource HorizontalExpanderContentTextBlock}">
|
||
|
<Setter Property="MaxWidth" Value="180" />
|
||
|
</Style>
|
||
|
|
||
|
<Style x:Key="HorizontalDividerBorder" TargetType="{x:Type Border}">
|
||
|
<Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}" />
|
||
|
<Setter Property="Height" Value="1" />
|
||
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||
|
<Setter Property="UseLayoutRounding" Value="True" />
|
||
|
</Style>
|
||
|
|
||
|
<Style x:Key="VerticalDividerBorder"
|
||
|
TargetType="{x:Type Border}"
|
||
|
BasedOn="{StaticResource HorizontalDividerBorder}">
|
||
|
<Setter Property="Height" Value="Auto" />
|
||
|
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||
|
<Setter Property="Width" Value="1" />
|
||
|
</Style>
|
||
|
</UserControl.Resources>
|
||
|
|
||
|
<Border CornerRadius="15">
|
||
|
<Grid >
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<UniformGrid Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel >
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A转速:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding ASpeed}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A电流:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding ACurrent}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀A转速:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerASpeed}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀A电流:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerACurrent}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
|
||
|
</UniformGrid>
|
||
|
<UniformGrid Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel >
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B转速:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding BSpeed}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B电流:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding BCurrent}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀B转速:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerBSpeed}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀B电流:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerBCurrent}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
|
||
|
</UniformGrid>
|
||
|
<UniformGrid Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel >
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A机头压力:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding APressure}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A机头温度:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding ATemperature}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B机头压力:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding BPressure}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B机头温度:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding BTemperature}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
|
||
|
</UniformGrid>
|
||
|
<UniformGrid Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel >
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A运行:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerARun}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机A故障:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerAHitch}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀A运行:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerSlicerARun}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀A故障:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerSlicerAHitch}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
|
||
|
</UniformGrid>
|
||
|
<UniformGrid Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机油泵A运行:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerOilPumpARun}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机油泵A故障:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerOilPumpAHitch}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B运行:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerBRun}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机B故障:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerBHitch}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
|
||
|
</UniformGrid>
|
||
|
<UniformGrid Grid.Row="5" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
|
<WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀B运行:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerSlicerBRun}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
<WrapPanel Width="250">
|
||
|
<TextBlock Text="一体机切刀B故障:" Width="150" TextAlignment="Right"/>
|
||
|
<TextBlock Text="{Binding AlicerSlicerBHitch}" Width="100"/>
|
||
|
</WrapPanel>
|
||
|
</WrapPanel>
|
||
|
</UniformGrid>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</UserControl>
|