StationMonitor.xaml 4.21 KB
<UserControl x:Class="HHECS.Controls.StationMonitor"
             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:HHECS.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <Viewbox Stretch="Fill">
            <Canvas Width="600" Height="280">
                <local:StationH x:Name="conveyor3" Height="64" Width="136" Canvas.Left="417" Canvas.Top="191" Visibility="Collapsed"/>
                <local:StationH x:Name="conveyor6" Height="64" Width="136" Canvas.Left="417" Canvas.Top="20" Visibility="Collapsed"/>
                <local:StationH x:Name="conveyor2" Height="64" Width="136" Canvas.Left="276" Canvas.Top="191" Visibility="Collapsed"/>
                <local:StationH x:Name="conveyor5" Height="64" Width="136" Canvas.Left="276" Canvas.Top="20" Visibility="Collapsed"/>
                <local:StationH x:Name="conveyor1" Height="64" Width="136" Canvas.Left="134" Canvas.Top="191" Visibility="Collapsed"/>
                <local:StationV x:Name="conveyor4" Height="96" Width="64" Canvas.Left="276" Canvas.Top="89" Visibility="Collapsed"/>
                <Image Height="58" Canvas.Left="140" Canvas.Top="143" Width="52" Source="/HHECS;component/Content/image/箭头.png" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform Angle="179.882"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image Height="58" Canvas.Left="228" Canvas.Top="102" Width="52" Source="/HHECS;component/Content/image/箭头.png" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform Angle="90.167"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image Height="58" Canvas.Left="417" Width="52" Source="/HHECS;component/Content/image/箭头.png" Canvas.Top="84" RenderTransformOrigin="-10.208,-3.101"/>
                <Image Height="58" Canvas.Left="417" Canvas.Top="131" Width="52" Source="/HHECS;component/Content/image/箭头.png" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform Angle="179.882"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image Height="58" Canvas.Left="200" Canvas.Top="102" Width="52" Source="/HHECS;component/Content/image/箭头.png" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform Angle="-89.526"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <TextBlock Text="入库口"  Canvas.Left="42" Canvas.Top="213" FontSize="20" Foreground="#FF293955" Visibility="Collapsed"></TextBlock>
                <TextBlock Text="拣选口"  Canvas.Left="194" Canvas.Top="40" FontSize="20" Foreground="#FF293955" RenderTransformOrigin="7.028,-1.749" Visibility="Collapsed"></TextBlock>
            </Canvas>
        </Viewbox>
    </Grid>
</UserControl>