From af548b2e59c0bc1bec3ffbfca0dbc7d121ba633e Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 15 12月 2024 12:52:56 +0800
Subject: [PATCH] 333

---
 CC/iWareCC_ASRS/FormCC.cs |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/CC/iWareCC_ASRS/FormCC.cs b/CC/iWareCC_ASRS/FormCC.cs
index bf2ba72..439b8c3 100644
--- a/CC/iWareCC_ASRS/FormCC.cs
+++ b/CC/iWareCC_ASRS/FormCC.cs
@@ -21,6 +21,7 @@
 using System.Collections.Generic;
 using System.Data;
 using System.Data.Entity.Core.Metadata.Edm;
+using System.Diagnostics;
 using System.Drawing;
 using System.Linq;
 using System.Linq.Expressions;
@@ -259,7 +260,7 @@
         }
         private void FormCC_Load(object sender, EventArgs e)
         {
-           
+
 
 
             /*
@@ -614,15 +615,21 @@
         {
             while (true)
             {
-                Thread.Sleep(2000);//1绉掗挓璇诲彇涓�娆�
+                Thread.Sleep(3000);//1绉掗挓璇诲彇涓�娆�
                 try
                 {
                     if (stationServiceClient == null)
                     {
                         continue;
                     }
-                    /*
+
+                    Stopwatch main = new Stopwatch();
+                    main.Start();
+
                     iWareCC.StationService.DeviceWarningInfo[] waringList = await stationServiceClient.GetWaringInfoListAsync((int)EDevice.Station, configDeviceWarningList.wmsConfigDeviceWarnings.ToArray());
+
+                    main.Stop();
+                    var milliseconds = main.ElapsedMilliseconds;  //-- 鎿嶄綔鏃堕棿锛堟绉掞級
 
                     //鏄剧ず鎶ヨ淇℃伅
                     List<String> warningCodeList = new List<string>();
@@ -1241,13 +1248,13 @@
 
 
 
-       
 
-      
 
-      
 
-      
+
+
+
+
 
 
 

--
Gitblit v1.9.3