diff --git a/.vs/HighWayIot/FileContentIndex/9969a781-3aa8-4fc8-826a-069fe256bbcc.vsidx b/.vs/HighWayIot/FileContentIndex/9969a781-3aa8-4fc8-826a-069fe256bbcc.vsidx deleted file mode 100644 index 2aa126c5..00000000 Binary files a/.vs/HighWayIot/FileContentIndex/9969a781-3aa8-4fc8-826a-069fe256bbcc.vsidx and /dev/null differ diff --git a/.vs/HighWayIot/v17/.suo b/.vs/HighWayIot/v17/.suo index c74401e7..ad9e84d7 100644 Binary files a/.vs/HighWayIot/v17/.suo and b/.vs/HighWayIot/v17/.suo differ diff --git a/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.exe b/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.exe index 12424399..004acebe 100644 Binary files a/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.exe and b/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.exe differ diff --git a/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.pdb b/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.pdb index e98032aa..d3998770 100644 Binary files a/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.pdb and b/Aucma.Scada.UI/bin/Debug/Aucma.Scada.UI.pdb differ diff --git a/Aucma.Scada.UI/bin/Debug/config/Plc.Ini b/Aucma.Scada.UI/bin/Debug/config/Plc.Ini index b56f0ebe..bb73daf3 100644 --- a/Aucma.Scada.UI/bin/Debug/config/Plc.Ini +++ b/Aucma.Scada.UI/bin/Debug/config/Plc.Ini @@ -1,6 +1,6 @@ [plcSystem] 泡后PLCIP=10.10.92.49 -泡后PLC端口=6000 +泡后PLC端口=2015 [foam_inStore_address] 入库货道号=D7000 入库应答字=D7010 diff --git a/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.exe b/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.exe index 12424399..004acebe 100644 Binary files a/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.exe and b/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.exe differ diff --git a/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.pdb b/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.pdb index e98032aa..d3998770 100644 Binary files a/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.pdb and b/Aucma.Scada.UI/obj/Debug/Aucma.Scada.UI.pdb differ diff --git a/Aucma.Scada.UI/viewModel/MainViewModel.cs b/Aucma.Scada.UI/viewModel/MainViewModel.cs index 59444cb6..babb9669 100644 --- a/Aucma.Scada.UI/viewModel/MainViewModel.cs +++ b/Aucma.Scada.UI/viewModel/MainViewModel.cs @@ -202,6 +202,8 @@ namespace Aucma.Scada.UI.viewModel proc.StartInfo.UseShellExecute = true; proc.StartInfo.Verb = "runas"; proc.Start(); + + } catch (Exception ex) {