From 3b4ab19a4b05e098e971746c692a0d012fde7445 Mon Sep 17 00:00:00 2001
From: liudl <673013083@qq.com>
Date: 星期五, 26 九月 2025 17:49:12 +0800
Subject: [PATCH] 修改问题

---
 Admin.NET/WCS.Application/Util/LedDll.cs |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/Admin.NET/WCS.Application/Util/LedDll.cs b/Admin.NET/WCS.Application/Util/LedDll.cs
index 372a9fa..82d6f0d 100644
--- a/Admin.NET/WCS.Application/Util/LedDll.cs
+++ b/Admin.NET/WCS.Application/Util/LedDll.cs
@@ -922,7 +922,7 @@
             // 鍖哄煙瀛椾綋杩愯閫熷害 甯﹀叆鏂瑰紡
             LedDll.PLAYPROP PlayProp = new LedDll.PLAYPROP();
             PlayProp.InStyle = 0;
-            PlayProp.DelayTime = 3;
+            PlayProp.DelayTime = 65535;
             PlayProp.Speed = 2;
             #endregion
 
@@ -1030,25 +1030,28 @@
             AreaRect.left = 0;
             AreaRect.top = 0;
             AreaRect.width = m_ledWidth;
-            AreaRect.height = 106;
+            AreaRect.height = m_ledHeight;
+            
             LedDll.LV_AddImageTextArea(hProgram, 0, 2, ref AreaRect, 1);
 
             // 鍖哄煙瀛椾綋鍙橀噺 鍙傛暟璁惧畾
             LedDll.FONTPROP FontProp = new LedDll.FONTPROP();//鏂囧瓧灞炴��
             FontProp.FontName = "瀹嬩綋";
-            FontProp.FontSize = 20;
+            FontProp.FontSize = 16;
             FontProp.FontColor = LedDll.COLOR_RED;
             FontProp.FontBold = 1;
+            
 
             // 鍖哄煙瀛椾綋杩愯閫熷害 甯﹀叆鏂瑰紡
             LedDll.PLAYPROP PlayProp = new LedDll.PLAYPROP();
             PlayProp.InStyle = 0;
-            PlayProp.DelayTime = 3;
+            PlayProp.DelayTime = 65535;
             PlayProp.Speed = 2;
+            
 
 
             // 澶氭枃鏈尯鍩� 鐢ㄤ簬鏄剧ず鎵樼洏淇℃伅
-            nResult = LedDll.LV_AddMultiLineTextToImageTextArea(hProgram, 0, 2, LedDll.ADDTYPE_STRING, m_text, ref FontProp, ref PlayProp, 0, 0);
+            nResult = LedDll.LV_AddMultiLineTextToImageTextArea(hProgram, 0, 2, LedDll.ADDTYPE_STRING, m_text, ref FontProp, ref PlayProp, 0, 1);
 
             // 鍙戦�佸埌LED灞忓箷
             nResult = LedDll.LV_Send(ref CommunicationInfo, hProgram);
@@ -1113,7 +1116,7 @@
             // 鍖哄煙瀛椾綋杩愯閫熷害 甯﹀叆鏂瑰紡
             LedDll.PLAYPROP PlayProp = new LedDll.PLAYPROP();
             PlayProp.InStyle = 0;
-            PlayProp.DelayTime = 3;
+            PlayProp.DelayTime = 65535;
             PlayProp.Speed = 2;
 
             // 鍖哄煙瀛椾綋鍙橀噺 鍙傛暟璁惧畾
@@ -1197,7 +1200,7 @@
             // 鍖哄煙瀛椾綋杩愯閫熷害 甯﹀叆鏂瑰紡
             LedDll.PLAYPROP PlayProp = new LedDll.PLAYPROP();
             PlayProp.InStyle = 0;
-            PlayProp.DelayTime = 3;
+            PlayProp.DelayTime = 65535;
             PlayProp.Speed = 2;
             #endregion
 

--
Gitblit v1.8.0