From e90b36a0fb76d9319390b5984a21a83e4748a3b3 Mon Sep 17 00:00:00 2001
From: C3032 <caoxingqi@shlanbao.cn>
Date: 星期三, 18 三月 2026 16:05:42 +0800
Subject: [PATCH] 新增:读码器功能模块,集成华睿读码器并初步实现读码功能

---
 LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.cs b/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.cs
index a9fc8ab..2fbd393 100644
--- a/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.cs
+++ b/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.cs
@@ -131,7 +131,7 @@
                 MessageBox.Show("鏈�夋嫨閫氳绫诲瀷!", "寮傚父");
                 return;
             }
-            if (!communicator.Connect())
+            if (communicator.Connect())
             {
                 uiButtonCreate.Enabled = true;
                 communicator.Disconnect();
@@ -146,7 +146,7 @@
 
         private void uiButtonCreate_Click(object sender, EventArgs e)
         {
-            if (!communicator.Connect())
+            if (communicator.Connect())
             {
                 bCreate = true;
                 this.Close();

--
Gitblit v1.9.3