From e788601bc3a2028f1e573796e038f3d6cb9961b3 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期六, 21 六月 2025 16:52:52 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/代码/界面事件.cs | 29 +++-------------------------- 1 files changed, 3 insertions(+), 26 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" index 441a273..dcd8065 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" @@ -30,6 +30,7 @@ using GZ.DB.Entity.OIDATABASE; using GZ.Modular.Redis; using System.Security.Cryptography; +using System.Windows.Interop; namespace GZ.Projects.AuxAllWCS { /// <summary> @@ -99,6 +100,8 @@ //{ // Tag.Global.SettingsOver = 0; //} + //var _=tag.wxr1.R46_LAST; + //RedisHelper.Add($"缁村笇灏旀姄鑷�.R46_LAST", "true", out string msg); #endregion [鑴氭湰][20250323111613779][涓氬姟閫昏緫.鍒濆鍖栭厤缃甝 } @@ -341,7 +344,6 @@ { #region [鑴氭湰][20250325083315503][涓氬姟閫昏緫.绗笁鏍囨.缁寸郴灏�鍙�缁村笇灏旀姄鑷�L] AutoThread.InvokeMethod(AutoThread.Instance, "Threadwxr2L", new object[] { tag }); - #endregion [鑴氭湰][20250325083315503][涓氬姟閫昏緫.绗笁鏍囨.缁寸郴灏�鍙�缁村笇灏旀姄鑷�L] } catch (Exception ex) @@ -385,31 +387,6 @@ ExitJudgeStack.TryPop(out int exitJudgeVal); }); - System.Threading.Tasks.Task.Factory.StartNew(() => - { - System.Threading.Thread.CurrentThread.IsBackground = true; - ExitJudgeStack.Push(0); - //涓�洿鎵ц锛岀洿鍒版弧瓒崇粨鏉熸潯浠�- while (true) - { - if (IsExitApp) { break; } - try - { - #region [鑴氭湰][20250610002647095][涓氬姟閫昏緫.绗笁鏍囨.缁寸郴灏�鍙�缁村笇灏旀姄鑷�R] - LogHelper.Info($"娴嬭瘯绾跨▼杩愯鐘舵�鏃ュ織銆嬨�銆嬨�銆�); - #endregion [鑴氭湰][20250610002647095][涓氬姟閫昏緫.绗笁鏍囨.缁寸郴灏�鍙�缁村笇灏旀姄鑷�R] - } - catch (Exception ex) - { - Conn.榛樿鏃ュ織.Error(ex.ToString()); - } - finally - { - System.Threading.Thread.Sleep(3000); - } - } - ExitJudgeStack.TryPop(out int exitJudgeVal); - }); /// <summary> /// 绋嬪簭鐗囨:浠诲姟涓嬪彂 /// 鎻忚堪: -- Gitblit v1.9.1