From 07bb9f4c0b17b282a37530518f34710fb41aa754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Wed, 14 Aug 2024 16:51:34 +0800 Subject: [PATCH] SerialPortClientFactory --- NDSD-Screwdriver/FrmSetting.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NDSD-Screwdriver/FrmSetting.cs b/NDSD-Screwdriver/FrmSetting.cs index 5798b14..8327c44 100644 --- a/NDSD-Screwdriver/FrmSetting.cs +++ b/NDSD-Screwdriver/FrmSetting.cs @@ -34,7 +34,6 @@ namespace NDSD_Screwdriver SqlLiteTool.CreateTable(AppTool.GetDb()); Init(); - SerialPortClientFactory.Init(); } @@ -199,7 +198,7 @@ namespace NDSD_Screwdriver private void button1_Click(object sender, EventArgs e) { byte [] bytes=new byte[]{0x00,0x03,0x00,0x1C,0x00,0x04,0x84,0x1E}; - SerialPortClientFactory.Send(bytes); + } } }