From 14c0e29e67c4b4b1634a1b2324374f6c17bb6037 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 18 十二月 2024 10:01:27 +0800
Subject: [PATCH] 1

---
 WarM/条码打印/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs   |    8 ++++++++
 WarM/条码打印/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs"
index 37845bc..7786c33 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.cs"
@@ -2568,6 +2568,14 @@
                 }
                 else
                 {
+                    try
+                    {
+                        client.Disconnect();
+                    }catch(Exception e1)
+                    {
+
+                    }
+
                     button_startListen.Enabled = true;
                     button_stopListen.Enabled = false;
                     MessageBox.Show("杩炴帴宸叉柇寮�锛岃閲嶆柊杩炴帴锛�!");
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx"
index 8ff7f84..ecd0408 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_automaticallyByPLC_New_Change.resx"
@@ -764,6 +764,6 @@
     <value>1177, 17</value>
   </metadata>
   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>25</value>
+    <value>104</value>
   </metadata>
 </root>
\ No newline at end of file

--
Gitblit v1.9.1