From 9d36aa722e2e9f00048fffaf515bbced5b2ac069 Mon Sep 17 00:00:00 2001 From: fyf Date: Tue, 5 Jul 2022 18:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0AGV=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Image/AGV/物流车.png | Bin 16143 -> 16143 bytes FryPot_DosingSystem/View/AgvView.xaml | 118 +++++++++++++----- FryPot_DosingSystem/View/AgvView.xaml.cs | 39 ++++++ 3 files changed, 123 insertions(+), 34 deletions(-) diff --git a/BPASmartClient.CustomResource/Image/AGV/物流车.png b/BPASmartClient.CustomResource/Image/AGV/物流车.png index 0d1b26750ca14a65d7404810468fe80ae1ba781f..5ce43fe9acf0837469e6b544459a01632604bcfe 100644 GIT binary patch delta 13621 zcmbumc{r4R^f!LbFo}rDQiKX2Ygt1`+4p_lS}cRep6wn*DxnBv-`9v3Tb7Zi$Wmqy zS;`V4`@a9)x6k+aUC*D-b3I*Gb20DxelO>o_c`bFI!8=MOvnopI92`Tbt8Y9xnX*b zl(jblOTnfm6Uqfk?tE~ZQWNm(`FJ#FM>SCTs==$PSE%@Bu8Mu7oq2KQwNkgQ;Ma)^ zI0CMTRf1%_Q%pgR${@3rRatRB(v)p2D7Ef0O*>%gwHkp8Zc+9C=Nl&g;*s94I4q zWSFhA{mvCt9!!t`pF*+cN}jgq$}-j1k)mrqf7Z^ZsG~-U>Y(X=w0_s(llF7LD{#Zh z#+mfCTfc>3(TzqVR%E*yYFV4s>L`MQeDLfqYlR0p*@jK>o)b7ZbkN;ajH2Ml8MYab z_tl&@m*M-fg+ru21Y6Fl+guMQH`|`kKx@mKb0T>>7^uH)yssA4IRPnH_@a8wM9sgg z-)*|Y57neyLOW3r+!KtUf;f0jB{ps}mJyP>fu~q@hs6UYzPzlSJTd01DNl8dInr7o zNqR{PY$h(?agsYLr-Hwl0ihzn2nuWY-P22vo0S8NISrtb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Z2uH#=yY~{VxiL2@;QAwp)%F?)O5EV z?YLU8cJ6$b+qSE_0!$egk4!wf&)_5noWCX}Hs^+EudmcuoJmS4yquVbL}ube0>wkF zO;s`Gg+d*9UFT`h&Ikmf-19jvLfi1~4~3v8Wu7%MicmBm#&iyij5|R0?>)SmdB@=G z_OVh@VB|o!;DtA?DMSra$r&vCFyr8dPkndnCZR+Svo;(^OQrhi$$3b-R?D<}maYHe z37A2o diff --git a/FryPot_DosingSystem/View/AgvView.xaml b/FryPot_DosingSystem/View/AgvView.xaml index d121fb36..62eec8ae 100644 --- a/FryPot_DosingSystem/View/AgvView.xaml +++ b/FryPot_DosingSystem/View/AgvView.xaml @@ -39,6 +39,8 @@ + + @@ -151,31 +153,34 @@ - - - + + + + - - + + - + + - - - - + + + + + - + + - - + + - @@ -217,6 +222,18 @@ + + @@ -227,6 +244,15 @@ + + + + + + + + + @@ -287,30 +313,42 @@ - + + + + + + + + - - + - - - - - + + 炒锅(1)号 + + + 炒锅(2)号 + + + 炒锅(3)号 + + + 炒锅(4)号 + + + 炒锅(5)号 + - 炒锅滚筒线 - 炒锅滚筒线 - 炒锅滚筒线 - 炒锅滚筒线 满料桶滚筒线 - + 空桶滚筒线 @@ -319,12 +357,24 @@ - - - - - - + + 停车桩(1号) + + + 停车桩(2号) + + + 停车桩(3号) + + + 停车桩(4号) + + + 充电桩(1号) + + + 充电桩(2号) + @@ -337,7 +387,7 @@ - + diff --git a/FryPot_DosingSystem/View/AgvView.xaml.cs b/FryPot_DosingSystem/View/AgvView.xaml.cs index ba1652f0..d663377b 100644 --- a/FryPot_DosingSystem/View/AgvView.xaml.cs +++ b/FryPot_DosingSystem/View/AgvView.xaml.cs @@ -10,6 +10,7 @@ using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; +using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; @@ -26,5 +27,43 @@ namespace FryPot_DosingSystem.View InitializeComponent(); this.DataContext = AgvViewModel.GetInstance(); } + + private void Button_Click(object sender, RoutedEventArgs e) + { + AnimationByPath(qc_1); + } + + /// + /// 路径动画 + /// + /// 画板 + /// 路径 + /// 动画对象 + /// 时间 + private void AnimationByPath(Path path, int duration = 5) + { + //从XAML代码中获取移动路径数据 + PathGeometry pg = PathGeometry.CreateFromGeometry(Geometry.Parse(path.Data.ToString())); + //创建动画 + DoubleAnimationUsingPath dapX = new DoubleAnimationUsingPath(); + dapX.PathGeometry = pg; + dapX.Source = PathAnimationSource.X; + dapX.Duration = new Duration(TimeSpan.FromSeconds(duration)); + + DoubleAnimationUsingPath dapY = new DoubleAnimationUsingPath(); + dapY.PathGeometry = pg; + dapY.Source = PathAnimationSource.Y; + dapY.Duration = new Duration(TimeSpan.FromSeconds(duration)); + + //执行动画 + this.tt.BeginAnimation(TranslateTransform.XProperty, dapX); + this.tt.BeginAnimation(TranslateTransform.XProperty, dapY); + + //自动返回、永远循序 + dapX.AutoReverse = true; + dapX.RepeatBehavior = RepeatBehavior.Forever; + dapY.AutoReverse = true; + dapY.RepeatBehavior = RepeatBehavior.Forever; + } } }