From 1fc5a077d8496ce774956b6243d23d1ad169013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Wed, 22 May 2024 16:26:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DevicesService/Devices/SignDll.cs | 47 ------------------------------- 1 file changed, 47 deletions(-) diff --git a/DevicesService/Devices/SignDll.cs b/DevicesService/Devices/SignDll.cs index 6128c4a..e0c5d3a 100644 --- a/DevicesService/Devices/SignDll.cs +++ b/DevicesService/Devices/SignDll.cs @@ -236,7 +236,6 @@ namespace DevicesService.Devices { //关闭报点 int ret = FiveInchDll.ComSendPoint(0, null); - //Console.WriteLine("ComSendPoint:" + ret); if (true) { string UIFile = System.IO.Directory.GetCurrentDirectory() + "\\adv_ui.jpg"; @@ -252,52 +251,6 @@ namespace DevicesService.Devices Console.WriteLine("ComSetSignBackgroundImage:" + ret1); } } - - //if (status == -1) - //{ - // status = FiveInchDll.OpenComDevice(GetTouchNumber); - // Console.WriteLine("OpenComDevice:" + status); - // if (status == 0) - // { - // ////2022-08-16 加实时报点 - // //int ret = FiveInchDll.ComSendPoint(1, GetTouchPoint); - // //Console.WriteLine("ComSendPoint:" + ret); - // if (true) - // { - // string UIFile = System.IO.Directory.GetCurrentDirectory() + "\\adv_ui.jpg"; - // int ret1 = FiveInchDll.ComSendAdvantageImage(UIFile); - // Console.WriteLine("ComSendAdvantageImage:" + ret1); - // FiveInchDll.ComSetBackGroundAdv(); - // } - - // if (true) - // { - // string UIFile = System.IO.Directory.GetCurrentDirectory() + "\\sign_ui.jpg"; - // int ret1 = FiveInchDll.ComSetSignBackgroundImage(UIFile); - // Console.WriteLine("ComSetSignBackgroundImage:" + ret1); - // } - // } - //} - //else if (status == 0) - //{ - // ////2022-08-16 加实时报点 - // //int ret = FiveInchDll.ComSendPoint(1, GetTouchPoint); - // //Console.WriteLine("ComSendPoint:" + ret); - // if (true) - // { - // string UIFile = System.IO.Directory.GetCurrentDirectory() + "\\adv_ui.jpg"; - // int ret1 = FiveInchDll.ComSendAdvantageImage(UIFile); - // Console.WriteLine("ComSendAdvantageImage:" + ret1); - // FiveInchDll.ComSetBackGroundAdv(); - // } - - // if (true) - // { - // string UIFile = System.IO.Directory.GetCurrentDirectory() + "\\sign_ui.jpg"; - // int ret1 = FiveInchDll.ComSetSignBackgroundImage(UIFile); - // Console.WriteLine("ComSetSignBackgroundImage:" + ret1); - // } - //} } catch(Exception ex) { Log.Info(ex.Message); } finally { }