From 1b10882a0a46c8b25331ccd2628f7a2a6db8b13f Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周一, 16 12月 2024 17:35:10 +0800
Subject: [PATCH] 11

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

diff --git a/CC/iWareCC_ASRS/FormCC.cs b/CC/iWareCC_ASRS/FormCC.cs
index bf2ba72..7d9b439 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;
@@ -37,6 +38,10 @@
 {
     public partial class FormCC : Form
     {
+        /// <summary>
+        /// 鍏ㄥ眬-269浣嶇疆鏈�鏂版壂鎻忕殑鏉夸欢鏁版嵁锛堟牸寮� 鍖呭彿|Upi|鏃堕棿鐐癸級
+        /// </summary>
+        public static string Globle_269_LastPackageUpi = "";
 
         /// <summary>
         /// 鍏ㄥ眬-閰嶇疆鎶ヨ淇℃伅鍒楄〃
@@ -259,7 +264,7 @@
         }
         private void FormCC_Load(object sender, EventArgs e)
         {
-           
+
 
 
             /*
@@ -614,15 +619,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 +1252,13 @@
 
 
 
-       
 
-      
 
-      
 
-      
+
+
+
+
 
 
 

--
Gitblit v1.9.3