|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <UserControl
- x:Class="BPASmartClient.CustomResource.UserControls.BatchingMachine"
- 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:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- d:DesignHeight="235"
- d:DesignWidth="390"
- mc:Ignorable="d">
-
- <UserControl.Resources>
- <SolidColorBrush x:Key="fillColor" Color="#446BADF7" />
- <SolidColorBrush x:Key="BorderColor" Color="#663FADFF" />
- </UserControl.Resources>
- <Grid Name="gr">
- <Viewbox Width="auto" Height="auto">
- <Canvas Width="390" Height="235">
- <Path
- Data="M100,0 L350,60 250,90 0,30 100,0"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
- <Path
- Data="M0,30 L0,170 250,230 250,90"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
- <Path
- Data="M250,230 L350,170 350,60 250,90"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
- <Path
- Data="M350,60 L390,100 290,140 250,90"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
- <Path
- Data="M290,140 L250,130"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
- <Path
- Data="M390,100 L350,90"
- Fill="{StaticResource fillColor}"
- Stroke="{StaticResource BorderColor}" />
-
- <TextBlock
- Canvas.Left="31"
- Canvas.Top="156"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="25"
- Foreground="Red"
- RenderTransformOrigin="0.5,0.5"
- Text="IP:192.168.0.1">
- <TextBlock.RenderTransform>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform />
- <RotateTransform Angle="12.644" />
- <TranslateTransform />
- </TransformGroup>
- </TextBlock.RenderTransform>
- </TextBlock>
-
- <TextBlock
- Canvas.Left="55"
- Canvas.Top="106"
- FontSize="25"
- Foreground="Red"
- RenderTransformOrigin="0.5,0.5"
- Text="原料设备A">
- <TextBlock.RenderTransform>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform />
- <RotateTransform Angle="12.644" />
- <TranslateTransform />
- </TransformGroup>
- </TextBlock.RenderTransform>
- </TextBlock>
-
- <TextBlock
- Canvas.Left="275"
- Canvas.Top="78"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="25"
- Foreground="Red"
- RenderTransformOrigin="0.721,0.662"
- Text="125.0 kg">
- <TextBlock.RenderTransform>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform />
- <RotateTransform Angle="-21.298" />
- <TranslateTransform X="0.241" Y="-6.13" />
- </TransformGroup>
- </TextBlock.RenderTransform>
- </TextBlock>
-
- </Canvas>
- </Viewbox>
-
- </Grid>
- </UserControl>
|