Переглянути джерело

更新agv 界面

样式分支
fyf 2 роки тому
джерело
коміт
5551a63aaf
7 змінених файлів з 322 додано та 81 видалено
  1. +4
    -0
      BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj
  2. BIN
     
  3. BIN
     
  4. BIN
     
  5. BIN
     
  6. +35
    -0
      BPASmartClient.CustomResource/Themes/MyStyle.xaml
  7. +283
    -81
      FryPot_DosingSystem/View/AgvView.xaml

+ 4
- 0
BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj Переглянути файл

@@ -19,6 +19,7 @@
</ItemGroup>

<ItemGroup>
<None Remove="Fonts\80号-萌趣小鱼体.ttf" />
<None Remove="Fonts\iconfont.ttf" />
<None Remove="Fonts\Quartz Regular.ttf" />
<None Remove="Image\AGV\停车位.png" />
@@ -29,6 +30,7 @@
<None Remove="Image\AGV\物流车.png" />
<None Remove="Image\AGV\砖块.png" />
<None Remove="Image\AGV\蔬菜.png" />
<None Remove="Image\AGV\语音箭头.png" />
<None Remove="Image\bg.png" />
<None Remove="Image\btn_close.png" />
<None Remove="Image\btn_normal.png" />
@@ -208,6 +210,7 @@
</ItemGroup>

<ItemGroup>
<Resource Include="Fonts\80号-萌趣小鱼体.ttf" />
<Resource Include="Fonts\iconfont.ttf" />
<Resource Include="Fonts\Quartz Regular.ttf" />
<Resource Include="Image\AGV\停车位.png" />
@@ -218,6 +221,7 @@
<Resource Include="Image\AGV\物流车.png" />
<Resource Include="Image\AGV\砖块.png" />
<Resource Include="Image\AGV\蔬菜.png" />
<Resource Include="Image\AGV\语音箭头.png" />
<Resource Include="Image\btn_close.png" />
<Resource Include="Image\ComboBoxPopSelect.png" />
<Resource Include="Image\ComboBoxSelect.png" />






+ 35
- 0
BPASmartClient.CustomResource/Themes/MyStyle.xaml Переглянути файл

@@ -449,6 +449,33 @@
</Style.Setters>
</Style>

<Style x:Key="border碗" TargetType="Border">
<Style.Setters>
<Setter Property="Height" Value="50"/>
<Setter Property="Width" Value="40"/>
<Setter Property="VerticalAlignment" Value="Bottom"/>
<Setter Property="Background">
<Setter.Value>
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/汤碗.png" />
</Setter.Value>
</Setter>
</Style.Setters>
</Style>

<Style x:Key="border菜" TargetType="Border">
<Style.Setters>
<Setter Property="Margin" Value="0,3,0,0"/>
<Setter Property="Height" Value="25"/>
<Setter Property="Width" Value="33"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="Background">
<Setter.Value>
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/蔬菜.png" />
</Setter.Value>
</Setter>
</Style.Setters>
</Style>

<Style x:Key="border垂直墙" TargetType="Border">
<Style.Setters>
<Setter Property="Background">
@@ -1795,6 +1822,14 @@
<!--#endregion-->

<!--#region TextBlock-->
<Style x:Key="80号字体样式" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap" />
<Setter Property="FontFamily" Value="/BPASmartClient.CustomResource;Component/Fonts/#zihun80hao-mengquxiaoyuti"/>
<Setter Property="Foreground" Value="#FFC6AE82" />
</Style>

<Style TargetType="TextBlock">
<Style.Setters>
<Setter Property="Foreground" Value="{DynamicResource foreground}" />


+ 283
- 81
FryPot_DosingSystem/View/AgvView.xaml Переглянути файл

@@ -11,49 +11,222 @@
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
<ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style
x:Key="传送带"
BasedOn="{x:Null}"
TargetType="{x:Type TextBox}">

<Style x:Key="传送带" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#FF1F4D69"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<Grid Width="60" Height="200" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,0,0,0">
<ControlTemplate.Resources>
<Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</ControlTemplate.Resources>
<Grid Width="60" Height="200" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
<GridSplitter Width="5"></GridSplitter>
<GridSplitter Width="5" HorizontalAlignment="Left"></GridSplitter>
<StackPanel>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
<Rectangle Fill="{TemplateBinding Foreground}" Height="5" Margin="5"/>
</StackPanel>
<StackPanel>
<Grid Width="40" Height="50">
<Border Style="{DynamicResource border碗}"></Border>
<Border x:Name="cai1" Style="{DynamicResource border菜}"></Border>
</Grid>
<Grid Width="40" Height="50">
<Border Style="{DynamicResource border碗}"></Border>
<Border x:Name="cai2" Style="{DynamicResource border菜}"></Border>
</Grid>
<Grid Width="40" Height="50">
<Border Style="{DynamicResource border碗}"></Border>
<Border x:Name="cai3" Style="{DynamicResource border菜}"></Border>
</Grid>
<Grid Width="40" Height="50">
<Border Style="{DynamicResource border碗}"></Border>
<Border x:Name="cai4" Style="{DynamicResource border菜}"></Border>
</Grid>
</StackPanel>
<Ellipse x:Name="ellipse" Margin="0,4,6,0" Visibility="Collapsed" Fill="Lime" Width="6" Height="6" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
<Path x:Name="path" Margin="0,192,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27"/>
<Path x:Name="path1" Margin="0,195,0,0" Visibility="Collapsed" Data="M16.958333,191.79167 L30.458334,195.87501 43.698719,191.79167" Fill="Transparent" StrokeThickness="2" HorizontalAlignment="Center" Height="5" Stroke="#FF20564F" Stretch="Fill" VerticalAlignment="Top" Width="27"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Text" Value="Start">
<Trigger.EnterActions>
<BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
</Trigger.EnterActions>
</Trigger>

<Trigger Property="Text" Value="Stop">
<Trigger.EnterActions>
<StopStoryboard BeginStoryboardName="begin_name"/>
</Trigger.EnterActions>
</Trigger>
<!--<EventTrigger RoutedEvent="Loaded">
-->
<!--<BeginStoryboard Storyboard="{StaticResource maindh}" />-->
<!--
</EventTrigger>-->
<Trigger Property="IsEnabled" Value="false">
<Setter TargetName="cai1" Property="Visibility" Value="Collapsed" />
<Setter TargetName="cai2" Property="Visibility" Value="Collapsed" />
<Setter TargetName="cai3" Property="Visibility" Value="Collapsed" />
<Setter TargetName="cai4" Property="Visibility" Value="Collapsed" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<Style x:Key="停车位" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#FF1F4D69"/>
<Setter Property="Text" Value="Yes"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<Grid Width="60" Height="20">
<Ellipse x:Name="name_11" Visibility="Collapsed" Margin="0,0,0,0" Fill="#FF9E4C4C" Stroke="#FF9E4141" Width="60" Height="20"></Ellipse>
<Ellipse x:Name="name_12" Visibility="Collapsed" Fill="#FFAD2121" Stroke="#FF9E4141" Width="40" Height="10"></Ellipse>
<Ellipse x:Name="name_21" Visibility="Visible" Margin="0,0,0,0" Fill="#FF4CA756" Stroke="#FF419E53" Width="60" Height="20"></Ellipse>
<Ellipse x:Name="name_22" Visibility="Visible" Fill="#FF1CAB3F" Stroke="#FF2D842A" Width="40" Height="10"></Ellipse>
</Grid>
<!--<ControlTemplate.Triggers>
<ControlTemplate.Triggers>
<Trigger Property="Text" Value="Yes">
<Setter TargetName="name_11" Property="Visibility" Value="Collapsed" />
<Setter TargetName="name_12" Property="Visibility" Value="Collapsed" />
<Setter TargetName="name_21" Property="Visibility" Value="Visible" />
<Setter TargetName="name_22" Property="Visibility" Value="Visible" />
</Trigger>
<Trigger Property="Text" Value="No">
<Setter TargetName="name_11" Property="Visibility" Value="Visible" />
<Setter TargetName="name_12" Property="Visibility" Value="Visible" />
<Setter TargetName="name_21" Property="Visibility" Value="Collapsed" />
<Setter TargetName="name_22" Property="Visibility" Value="Collapsed" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<Style x:Key="运输车" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#FF1F4D69"/>
<Setter Property="Text" Value="Yes"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<ControlTemplate.Resources>
<Storyboard RepeatBehavior="Forever" x:Key="csd_dh">
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path2" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>

<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path3" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>

<ObjectAnimationUsingKeyFrames Storyboard.TargetName="path4" Storyboard.TargetProperty="(UIElement.Visibility)">
<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:0.5" Value="{x:Static Visibility.Collapsed}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:01" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="00:00:1.2" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</ControlTemplate.Resources>
<Grid Width="200" Height="80">
<Border Style="{DynamicResource border车}" Width="60" Height="60" HorizontalAlignment="Right"></Border>
<Grid HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="caiping">
<Border Margin="0,20,15,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
<Border Margin="0,20,5,0" Width="20" Height="10" Style="{DynamicResource border菜}"></Border>
</Grid>
<Grid x:Name="biaoji" HorizontalAlignment="Left" >
<Path x:Name="path1" Visibility="Collapsed" Data="M142.25,37 L128.75,44 146.40385,53.25" Fill="#26ECCE09" HorizontalAlignment="Right" Height="17" Margin="128,37,54,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="18"/>
<Path x:Name="path2" Visibility="Collapsed" Data="M123.5,38.25 L110.5,44.5 126.75,53.788194" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,70,0" Stroke="#7FECCE09" Stretch="Fill" StrokeThickness="3" VerticalAlignment="Top" Width="17"/>
<Path x:Name="path3" Visibility="Collapsed" Data="M106.41667,38.333333 L93.583331,44.583332 109.04914,53.958332" Fill="#26ECCE09" HorizontalAlignment="Right" Height="16" Margin="0,38,87,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
<Path x:Name="path4" Visibility="Collapsed" Data="M86.083333,38.583333 L71.166669,43.416665 86.663428,52.197217" Fill="#26ECCE09" HorizontalAlignment="Right" Height="15" Margin="71,39,110,0" Stroke="#7FECCE09" StrokeThickness="3" Stretch="Fill" VerticalAlignment="Top" Width="17"/>
</Grid>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Text" Value="Yes">
<Setter TargetName="caiping" Property="Visibility" Value="Visible" />
</Trigger>
<Trigger Property="Text" Value="No">
<Setter TargetName="caiping" Property="Visibility" Value="Collapsed" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
<Trigger.EnterActions>
<StopStoryboard BeginStoryboardName="begin_name"/>
</Trigger.EnterActions>
<Setter TargetName="path1" Property="Visibility" Value="Collapsed" />
<Setter TargetName="path2" Property="Visibility" Value="Collapsed" />
<Setter TargetName="path3" Property="Visibility" Value="Collapsed" />
<Setter TargetName="path4" Property="Visibility" Value="Collapsed" />

</Trigger>
<Trigger Property="IsEnabled" Value="true">
<Trigger.EnterActions>
<BeginStoryboard x:Name="begin_name" Storyboard="{StaticResource csd_dh}"/>
</Trigger.EnterActions>
<Setter TargetName="path1" Property="Visibility" Value="Visible" />
<Setter TargetName="path2" Property="Visibility" Value="Visible" />
<Setter TargetName="path3" Property="Visibility" Value="Visible" />
<Setter TargetName="path4" Property="Visibility" Value="Visible" />
</Trigger>
</ControlTemplate.Triggers>-->
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

</ResourceDictionary>
</UserControl.Resources>
<Grid>

<!--#region 墙体-->
<Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Left"/>
<Border Height="20" Margin="-1,0,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Bottom"/>
@@ -62,26 +235,61 @@
<Border Height="20" Margin="270,150,0,0" Style="{DynamicResource border水平墙}" VerticalAlignment="Top"/>
<Border Width="20" Margin="0,0,0,18" Style="{DynamicResource border垂直墙}" HorizontalAlignment="Right"/>
<!--#endregion-->
<!--#region 炒锅区域-->
<StackPanel Orientation="Horizontal">
<Border Style="{DynamicResource border炒锅}"></Border>
<Border Style="{DynamicResource border炒锅}"></Border>
<Border Style="{DynamicResource border炒锅}"></Border>
<Border Style="{DynamicResource border炒锅}"></Border>
<Border Style="{DynamicResource border炒锅}"></Border>
</StackPanel>

<!--#region 道路-->
<Grid>

<Grid x:Name="一号道路" Margin="0,80,0,0">
<Path Data="M1016.6667,260 L327.11962,260.68309 327.28662,131.58135" Fill="Transparent" HorizontalAlignment="Left" Height="128" Margin="328,133,240,0" Stroke="#FF627569" StrokeDashArray="5 5" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M1018.3363,244.98095 L612.63519,246.05789 612.59349,132.27052" Fill="Transparent" HorizontalAlignment="Left" Height="114" Margin="589,134,240,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M356.23752,274.16195 L1019.4984,273.77704" Fill="Transparent" HorizontalAlignment="Left" Height="3" Margin="356,273,240,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top"/>
<Path Data="M555.4365,133.67843 L555.4365,246.89867 505.21188,247.23365 505.21188,134.49816" Fill="Transparent" HorizontalAlignment="Left" Height="115" Margin="506,133,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="50"/>
<Path Data="M477.00398,136 L477.34799,247.99153 424.71438,247.99153 424.11067,136.50447" Fill="Transparent" HorizontalAlignment="Left" Height="113" Margin="424,134,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="53"/>
<Path Data="M394.03935,134 L394.03935,247.78816 350.80237,247.78816 350.80237,132.22206" Fill="Transparent" HorizontalAlignment="Left" Height="116" Margin="351,132,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="44"/>
<Path Data="M409.5,243 L409.5,145.5" Fill="Transparent" HorizontalAlignment="Left" Height="98" StrokeDashArray="5 5" Margin="410,146,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top"/>
<Path Data="M492,245 L492,139" Fill="Transparent" HorizontalAlignment="Left" Height="107" StrokeDashArray="5 5" Margin="492,139,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M574,246 L574,142.5" Fill="Transparent" HorizontalAlignment="Left" Height="104" StrokeDashArray="5 5" Margin="574,142,0,0" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top"/>
</Grid>

<Grid x:Name="二号道路" Margin="0,240,0,0">
<Path Data="M1016.6667,260 L327.3254,260 327.4924,96.402842" Fill="Transparent" HorizontalAlignment="Left" Height="162" Margin="328,99,240,0" Stroke="#FF627569" StrokeDashArray="5 5" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M1018.3363,244.98095 L351.74128,246.8175 351.69958,112.66392" Fill="Transparent" HorizontalAlignment="Left" Height="134" Margin="352,114,240,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M959.25,275.75 L675.69781,275.07759 675.69781,450.57759" Fill="Transparent" HorizontalAlignment="Left" Margin="675,275,240,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M642.29311,458.41209 L641.91372,275.13184 532.74204,275.47011 533.24441,458.53806" Fill="Transparent" HorizontalAlignment="Left" Margin="532,276,0,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="111"/>
<Path Data="M499.33334,460.00209 L499.33333,275.97135 397.37609,276.30686 397.37609,459.49788" Fill="Transparent" HorizontalAlignment="Left" Margin="397,276,0,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="103"/>
<Path Data="M363.20729,452.00064 L363.46186,270.23107 260.68558,269.56702 260.26167,453.80193" Fill="Transparent" HorizontalAlignment="Left" Margin="260,276,0,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="104"/>
<Path Data="M225.44571,459.1237 L225.94437,276.96216 115.82559,275.96128 114.81522,458.29578" Fill="Transparent" HorizontalAlignment="Left" Margin="115,276,0,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="112"/>
<Path Data="M80.053273,461.51941 L80.556398,246.58713 301.40625,246.58586" Fill="Transparent" HorizontalAlignment="Left" Margin="80,247,0,120" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="222"/>
<Path Data="M299.41667,247.73706 L299.5,-31.099278" Fill="Transparent" HorizontalAlignment="Left" Height="280" Margin="300,-32,0,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="2"/>
<Path Data="M658,278 L658,455.5" Fill="Transparent" HorizontalAlignment="Left" Margin="658,278,0,120" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M381.5,277.5 L381.5,453.5" Fill="Transparent" HorizontalAlignment="Left" Margin="382,278,0,120" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" />
<Path Data="M243,280.5 L243,456" Fill="Transparent" HorizontalAlignment="Left" Margin="243,278,0,120" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Center" />
<Path Data="M516.5,280 L516.5,454.5" Fill="Transparent" HorizontalAlignment="Left" Margin="516,278,0,120" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Center" />
<Path Data="M326,260 L98.5,260 98.5,452.5" Fill="Transparent" HorizontalAlignment="Left" Margin="98,260,0,120" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="228"/>
</Grid>

<Grid x:Name="回家道路" Margin="0,0,0,0">
<Path Data="M958.75,325.5 L958.75,244.52083 1030.2048,244.68953" Fill="Transparent" HorizontalAlignment="Right" Height="82" Margin="959,245,170,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="72"/>
<Path Data="M959.5,353.83333 L959.5,483.83334" Fill="Transparent" HorizontalAlignment="Right" Height="131" Margin="960,354,240,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="1"/>
<Path Data="M960,516.33333 L960,670.16665 1031.1667,670.16665" Fill="Transparent" HorizontalAlignment="Right" Height="155" Margin="960,516,170,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="72"/>
<Path Data="M1027.0922,648.58759 L988.09223,648.45982 988.344,587.35105 1027.2936,587.47882" Fill="Transparent" HorizontalAlignment="Right" Height="62" Margin="988,588,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="41"/>
<Path Data="M1027.626,567.31311 L987.20121,567.18699 987.20121,513.5 1026.4746,513.6264" Fill="Transparent" HorizontalAlignment="Right" Height="55" Margin="988,514,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="42"/>
<Path Data="M1026.0976,484.50256 L987.00461,484.50257 987.00461,429.66925 1026.2669,429.66976" Fill="Transparent" HorizontalAlignment="Right" Height="56" Margin="987,429,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="41"/>
<Path Data="M1026.7218,414.16372 L985.51792,414.1703 985.67158,358.9399 1027.5802,359.28084" Fill="Transparent" HorizontalAlignment="Right" Height="56" Margin="987,354,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="43"/>
<Path Data="M1027.8819,317.32585 L986.23726,317.66667 986.23726,267.56879 1027.8818,267.56879" Fill="Transparent" HorizontalAlignment="Right" Height="51" Margin="987,268,160,0" Stroke="#FF2D3E33" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="43"/>
<Path Data="M1026.6667,659.83333 L974.49996,659.83333 974.49996,257.49998 1023.4898,257.49998" Fill="Transparent" HorizontalAlignment="Right" Height="403" Margin="975,258,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="53"/>
<Path Data="M1028,337 L989.16667,337" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="989,337,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="40"/>
<Path Data="M1026.8333,419.83333 L989.83337,419.83333" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="990,420,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="38"/>
<Path Data="M1027.1667,498.66667 L989.16663,498.66667" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="989,499,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="39"/>
<Path Data="M1028.3333,578.16667 L990.50004,578.16667" Fill="Transparent" HorizontalAlignment="Right" Height="1" Margin="990,578,170,0" StrokeDashArray="5 5" Stroke="#FF627569" StrokeThickness="2" Stretch="Fill" VerticalAlignment="Top" Width="39"/>
</Grid>
</Grid>
<!--#endregion-->
<!--#region 停车位和充电桩-->
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,30,0">
<Border Style="{DynamicResource border停车位}" />
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border充电桩}"></Border>
<Border Style="{DynamicResource border充电桩}"></Border>
</StackPanel>

<!--#region 运动轨迹路线-->
<TextBox Style="{StaticResource 运输车}" IsEnabled="True" Text="No" Margin="0,288,180,0" VerticalAlignment="Top" HorizontalAlignment="Right" ></TextBox>


<!--#endregion-->

<!--#region 炒锅区域-->
@@ -92,55 +300,49 @@
<Border Style="{DynamicResource border炒锅}"></Border>
<Border Style="{DynamicResource border炒锅}"></Border>
</StackPanel>

<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,100,0">
<Border Style="{DynamicResource border车}"></Border>
<Border Style="{DynamicResource border车}"></Border>
<Border Style="{DynamicResource border车}"></Border>
<Border Style="{DynamicResource border车}"></Border>
<Border Style="{DynamicResource border车}"></Border>
<Border Style="{DynamicResource border车}"></Border>
</StackPanel>
<TextBlock Style="{DynamicResource 80号字体样式}" Margin="140,0,0,25" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅滚筒线</TextBlock>
<TextBlock Style="{DynamicResource 80号字体样式}" Margin="560,0,0,25" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅滚筒线</TextBlock>
<TextBlock Style="{DynamicResource 80号字体样式}" Margin="280,0,0,25" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅滚筒线</TextBlock>
<TextBlock Style="{DynamicResource 80号字体样式}" Margin="420,0,0,25" HorizontalAlignment="Left" VerticalAlignment="Bottom">炒锅滚筒线</TextBlock>
<!--#endregion-->

<!--<Grid Width="60" Height="200" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="400,0,0,0">
<GridSplitter Width="5"></GridSplitter>
<GridSplitter Width="5" HorizontalAlignment="Left"></GridSplitter>
<StackPanel>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
<Rectangle Fill="#FF1F4D69" Height="5" Margin="5"/>
</StackPanel>
</Grid>-->
<StackPanel Orientation="Horizontal" Margin="290,0,0,0">
<TextBox Style="{StaticResource 传送带}"></TextBox>
<TextBox Style="{StaticResource 传送带}"></TextBox>
<TextBox Style="{StaticResource 传送带}"></TextBox>
<TextBox Style="{StaticResource 传送带}"></TextBox>
<!--#region 滚筒线,IsEnabled True代表有菜 false 空碗.Text:Start 执行动画-->
<StackPanel Orientation="Horizontal" Height="200" Width="325" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="290,0,0,0">
<TextBlock Style="{DynamicResource 80号字体样式}" Width="12" HorizontalAlignment="Right">满料桶滚筒线</TextBlock>
<TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="Start" Margin="0,0,0,0"></TextBox>
<TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="Stop" Margin="20,0,0,0"></TextBox>
<TextBox Style="{StaticResource 传送带}" IsEnabled="True" Text="Stop" Margin="20,0,0,0"></TextBox>
<TextBox Style="{StaticResource 传送带}" IsEnabled="False" Margin="20,0,0,0"></TextBox>
<TextBlock Style="{DynamicResource 80号字体样式}" Width="12" HorizontalAlignment="Right">空桶滚筒线</TextBlock>
</StackPanel>
<!--#endregion-->

<!--#region 空桶滚筒线-->
<StackPanel HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Top" Margin="0,200,30,0">
<Border Style="{DynamicResource border停车位}" />
<!--#region 停车桩与充电桩-->
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,30,0">
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border停车位}"></Border>
<Border Style="{DynamicResource border充电桩}"></Border>
<Border Style="{DynamicResource border充电桩}"></Border>
</StackPanel>
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,100,0">
<TextBox Style="{StaticResource 停车位}" Margin="0,50,0,0"/>
<TextBox Style="{StaticResource 停车位}" Margin="0,60,0,0"/>
<TextBox Style="{StaticResource 停车位}" Margin="0,60,0,0"/>
<TextBox Style="{StaticResource 停车位}" Margin="0,60,0,0"/>
<TextBox Style="{StaticResource 停车位}" Margin="0,60,0,0"/>
<TextBox Style="{StaticResource 停车位}" Margin="0,60,0,0" Text="No"/>
</StackPanel>
<!--#endregion-->

<!--#region 车子-->
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,100,0">
<TextBox Style="{StaticResource 运输车}" IsEnabled="False" Text="No"></TextBox>
<TextBox Style="{StaticResource 运输车}" IsEnabled="False" Text="No"></TextBox>
<TextBox Style="{StaticResource 运输车}" IsEnabled="False" Text="No"></TextBox>
<TextBox Style="{StaticResource 运输车}" IsEnabled="False" Text="No"></TextBox>
</StackPanel>
<!--#endregion-->
</Grid>
</UserControl>

Завантаження…
Відмінити
Зберегти