diff --git a/.vs/HighWayIot/FileContentIndex/e27bd6bd-7153-49b0-bff6-f99afe2a1475.vsidx b/.vs/HighWayIot/FileContentIndex/33c76304-bdc3-4604-9271-86f099093cf5.vsidx similarity index 100% rename from .vs/HighWayIot/FileContentIndex/e27bd6bd-7153-49b0-bff6-f99afe2a1475.vsidx rename to .vs/HighWayIot/FileContentIndex/33c76304-bdc3-4604-9271-86f099093cf5.vsidx diff --git a/.vs/HighWayIot/FileContentIndex/3d4421ca-1d54-4160-9f62-00dc62bb9da7.vsidx b/.vs/HighWayIot/FileContentIndex/3d4421ca-1d54-4160-9f62-00dc62bb9da7.vsidx deleted file mode 100644 index 357081fe..00000000 Binary files a/.vs/HighWayIot/FileContentIndex/3d4421ca-1d54-4160-9f62-00dc62bb9da7.vsidx and /dev/null differ diff --git a/.vs/HighWayIot/FileContentIndex/9291c34c-cebd-4b3c-b1b5-125a5641c219.vsidx b/.vs/HighWayIot/FileContentIndex/9291c34c-cebd-4b3c-b1b5-125a5641c219.vsidx new file mode 100644 index 00000000..aa32563d Binary files /dev/null and b/.vs/HighWayIot/FileContentIndex/9291c34c-cebd-4b3c-b1b5-125a5641c219.vsidx differ diff --git a/.vs/HighWayIot/v17/.suo b/.vs/HighWayIot/v17/.suo index f6571763..531bd4bb 100644 Binary files a/.vs/HighWayIot/v17/.suo and b/.vs/HighWayIot/v17/.suo differ diff --git a/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.dll b/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.dll index 5323c9ab..177e40ff 100644 Binary files a/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.dll and b/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.dll differ diff --git a/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.pdb b/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.pdb index 9794909f..6c829365 100644 Binary files a/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.pdb and b/Aucma.Scada.Business/bin/Debug/Aucma.Scada.Business.pdb differ diff --git a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.csproj.AssemblyReference.cache b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.csproj.AssemblyReference.cache index 4f554bf4..b53f91b2 100644 Binary files a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.csproj.AssemblyReference.cache and b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.csproj.AssemblyReference.cache differ diff --git a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.dll b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.dll index 5323c9ab..177e40ff 100644 Binary files a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.dll and b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.dll differ diff --git a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.pdb b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.pdb index 9794909f..6c829365 100644 Binary files a/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.pdb and b/Aucma.Scada.Business/obj/Debug/Aucma.Scada.Business.pdb differ diff --git a/Aucma.Scada.HikRobot/obj/Debug/Aucma.Scada.HikRobot.csproj.AssemblyReference.cache b/Aucma.Scada.HikRobot/obj/Debug/Aucma.Scada.HikRobot.csproj.AssemblyReference.cache index f648d791..5918a7c0 100644 Binary files a/Aucma.Scada.HikRobot/obj/Debug/Aucma.Scada.HikRobot.csproj.AssemblyReference.cache and b/Aucma.Scada.HikRobot/obj/Debug/Aucma.Scada.HikRobot.csproj.AssemblyReference.cache differ diff --git a/Aucma.Scada.Model/obj/Debug/Aucma.Scada.Model.csproj.AssemblyReference.cache b/Aucma.Scada.Model/obj/Debug/Aucma.Scada.Model.csproj.AssemblyReference.cache index 53392d3e..b8e57bab 100644 Binary files a/Aucma.Scada.Model/obj/Debug/Aucma.Scada.Model.csproj.AssemblyReference.cache and b/Aucma.Scada.Model/obj/Debug/Aucma.Scada.Model.csproj.AssemblyReference.cache differ diff --git a/Aucma.Scada.UI/MainWindow.xaml b/Aucma.Scada.UI/MainWindow.xaml index ac9bdf32..9eb9a99c 100644 --- a/Aucma.Scada.UI/MainWindow.xaml +++ b/Aucma.Scada.UI/MainWindow.xaml @@ -27,7 +27,7 @@ - + diff --git a/Aucma.Scada.UI/MainWindow.xaml.cs b/Aucma.Scada.UI/MainWindow.xaml.cs index 193b385d..59d0fc08 100644 --- a/Aucma.Scada.UI/MainWindow.xaml.cs +++ b/Aucma.Scada.UI/MainWindow.xaml.cs @@ -17,6 +17,15 @@ namespace Aucma.Scada.UI InitializeComponent(); MainViewModel mainViewModel = new MainViewModel(); this.DataContext = mainViewModel; + Closing += PageView_Closing; // 订阅窗口关闭事件 + } + + private void PageView_Closing(object sender, System.ComponentModel.CancelEventArgs e) + { + this.Hide(); + //跳转到登录页 + LoginPageView login = LoginPageView.Instance; + login.Show(); } } } diff --git a/Aucma.Scada.UI/Page/AssemblyPlan/AssemblyPlanControl.xaml b/Aucma.Scada.UI/Page/AssemblyPlan/AssemblyPlanControl.xaml index c7d82bef..8077ba49 100644 --- a/Aucma.Scada.UI/Page/AssemblyPlan/AssemblyPlanControl.xaml +++ b/Aucma.Scada.UI/Page/AssemblyPlan/AssemblyPlanControl.xaml @@ -295,7 +295,7 @@ - + @@ -306,10 +306,10 @@ -