From af0269cf1d551fb799784df233d8d9c388c6b18b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 30 六月 2022 16:02:27 +0800 Subject: [PATCH] 合并可视对讲功能 --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs | 33 +++++++++++++++++---------------- 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs index ca02d57..1902f71 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs @@ -94,23 +94,24 @@ //鍒锋柊鐣岄潰鐘舵�� this.RefreshFormStatu(); //璇诲彇鐘舵�� - new System.Threading.Thread(() => - { - while (true) - { - if(controlTime == DateTime.MinValue) - { - - } - else if (controlTime.AddSeconds(2)<DateTime.Now) - { Control.Ins.SendReadCommand(device); - controlTime = DateTime.MinValue; - } - System.Threading.Thread.Sleep(1000); - } - }) - { IsBackground = true }.Start(); + //new System.Threading.Thread(() => + //{ + // while (true) + // { + // if(controlTime == DateTime.MinValue) + // { + + // } + // else if (controlTime.AddSeconds(2)<DateTime.Now) + // { + // Control.Ins.SendReadCommand(device); + // controlTime = DateTime.MinValue; + // } + // System.Threading.Thread.Sleep(1000); + // } + //}) + //{ IsBackground = true }.Start(); } /// <summary> -- Gitblit v1.8.0