From 0454641bf40fe81dad66592a3a03e8c3775d2377 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 18 9月 2025 15:03:46 +0800
Subject: [PATCH] 增加新表  deviceGeneralInfoForDetail

---
 siemenswmssditcode/wmsService/wcftest/Form1.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/siemenswmssditcode/wmsService/wcftest/Form1.cs b/siemenswmssditcode/wmsService/wcftest/Form1.cs
index 9d72510..34b1f6c 100644
--- a/siemenswmssditcode/wmsService/wcftest/Form1.cs
+++ b/siemenswmssditcode/wmsService/wcftest/Form1.cs
@@ -2222,8 +2222,9 @@
             {
                 try
                 {
-                    LogTextHelper.BatchDeleteLog(@"d:\\Log4Net_siemensSapService", 30);//澧炲姞 Log4Net_siemensSapService 鏂囦欢澶� [EditBy shaocx,2022-10-12]
-                    LogTextHelper.BatchDeleteLog(@"d:\\Log4Net", 30);//澧炲姞Log4Net鏂囦欢澶� [EditBy shaocx,2022-09-22]
+                    int days = 180;
+                    LogTextHelper.BatchDeleteLog(@"d:\\Log4Net_siemensSapService", days);//澧炲姞 Log4Net_siemensSapService 鏂囦欢澶� [EditBy shaocx,2022-10-12]
+                    LogTextHelper.BatchDeleteLog(@"d:\\Log4Net", days);//澧炲姞Log4Net鏂囦欢澶� [EditBy shaocx,2022-09-22]
                     LogTextHelper.BatchDeleteLog(@"d:\\log_MySAP", 30);
                     LogTextHelper.BatchDeleteLog(@"d:\\log_ShuYing", 30);
                     LogTextHelper.BatchDeleteLog(@"c:\\Siemens\\SAP_LOG", 30);
@@ -3609,6 +3610,11 @@
             //閲嶆柊璁$畻璁惧绛夊緟鏃堕棿 銆怑ditby shaocx,2024-12-30銆�
             todayDeviceInfo.deviceWaitTime = 1440 - (todayDeviceInfo.deviceRunTime + todayDeviceInfo.deviceAlarmTime);
         }
+        private void CommonCalcWaitTime(ref deviceGeneralInfoForDetail todayDeviceInfo)
+        {
+            //閲嶆柊璁$畻璁惧绛夊緟鏃堕棿 銆怑ditby shaocx,2024-12-30銆�
+            todayDeviceInfo.deviceWaitTime = 1440 - (todayDeviceInfo.deviceRunTime + todayDeviceInfo.deviceAlarmTime);
+        }
 
         #endregion
 

--
Gitblit v1.9.3