From 832c7f98156b4cfdeaf6dd328ea548217843d42f Mon Sep 17 00:00:00 2001 From: kje97 Date: Tue, 24 Jun 2025 09:43:16 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EC=88=98=EC=8B=A0=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20=ED=99=95=EC=9D=B8=EC=9A=A9=20Debug.print()=20?= =?UTF-8?q?=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SalesPacking_MES_API_Project/weightForm.vb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SalesPacking_MES_API_Project/weightForm.vb b/SalesPacking_MES_API_Project/weightForm.vb index 1f0efee..0707055 100644 --- a/SalesPacking_MES_API_Project/weightForm.vb +++ b/SalesPacking_MES_API_Project/weightForm.vb @@ -145,7 +145,6 @@ Public Class weightForm Private Sub Zero_Timer_Tick(sender As Object, e As EventArgs) Handles ZeroTimer.Tick Dim scaledata As String - Dim weightValue As Double Try @@ -284,7 +283,7 @@ Public Class weightForm Private Sub QWSerialPort_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles QWSerialPort.DataReceived Try Dim incoming As String = QWSerialPort.ReadExisting() - Debug.Print("수신 데이터: " & incoming) + 'Debug.Print("수신 데이터: " & incoming) ' 여러 줄이 들어올 수 있으니, 줄 단위로 분리 Dim lines() As String = incoming.Split({vbCr, vbLf}, StringSplitOptions.RemoveEmptyEntries)