자동포장 시 16자리 제품 시리얼번호 인식하지 못하는 문제 수정

- 제품 시리얼번호를 스캔하면 제품 인식 후 DB저장 > 바코드 출력을 해야하나
12자리 시리얼번호에 대해서만 처리되어 있어 해당 로직이 수행되지 않는 문제가 있었음
This commit is contained in:
KwakJooYoung 2025-12-18 14:35:57 +09:00
parent bbac77a574
commit d4ba4afe2e

View File

@ -1,13 +1,14 @@
Imports System.IO Imports System.IO
Imports System.IO.Ports Imports System.IO.Ports
Imports System.Management Imports System.Management
Imports System.Reflection.Emit
Imports System.Text Imports System.Text
Imports Mysqlx.XDevAPI.Relational Imports Mysqlx.XDevAPI.Relational
Imports Newtonsoft.Json.Linq Imports Newtonsoft.Json.Linq
Public Class mainForm Public Class mainForm
Public projectName As String = "OrderPackingProcessor Ver." Public projectName As String = "OrderPackingProcessor Ver."
Public projectVer As String = "3.0.0" Public projectVer As String = "3.0.1"
Private apiItemOutURL As String = "item-outflows/page" Private apiItemOutURL As String = "item-outflows/page"
@ -860,7 +861,7 @@ Public Class mainForm
playCode = txbProdSN.Text '' 시리얼 코드 전역 변수 playCode = txbProdSN.Text '' 시리얼 코드 전역 변수
If MasPlayFunc() Then If MasPlayFunc() Then
If playCode.Length < stateLength Then If playCode.Length < stateLength Or playCode.Length = newProdCodeLength Then
If nowFullCount = tgtFullCount Then If nowFullCount = tgtFullCount Then
If chbUseBarcode.Checked = True Then If chbUseBarcode.Checked = True Then
saveStart() saveStart()