대량포장 저장 오류 수정 - 포장디바이스 수량 체크 오류로 인해 저장 실행되지 않았음

This commit is contained in:
KwakJooYoung 2025-09-30 10:13:44 +09:00
parent fdd5797605
commit 0c1e587c81

View File

@ -528,9 +528,6 @@ Public Class mainForm
Private nowFullCount As Integer = 0 ' 현재 수량 N
Private nowFullCountBack As Integer = 0 ' 현재 수량 백업
Private targetDeviceCount As Integer = 0 '세트 디바이스 수량
Private nowDeviceCount As Integer = 0 '현재 세고 있는 디바이스
Private tgtFullCount As Integer = 0 ' 전체 수량 P
Private SaveOrderName As String = String.Empty
@ -738,7 +735,6 @@ Public Class mainForm
Next
If MasProdCompareFunc() Then
nowDeviceCount += 1
successGen("확인 완료")
Return True
Else
@ -878,10 +874,7 @@ Public Class mainForm
If MasPlayFunc() Then
If playCode.Length < stateLength Then
If nowFullCount = tgtFullCount Then
'If chbUseBarcode.Checked = True Then
' saveStart()
'End If
If targetDeviceCount = nowDeviceCount Then
If chbUseBarcode.Checked = True Then
saveStart()
End If
End If
@ -3287,10 +3280,6 @@ Public Class mainForm
, EffectCnt
, EffectV3Cnt
, MAXIMUMALPHACnt
, ProSSetCnt
, ProSFaceCnt
, ProSEyeCnt
, ProSBodyCnt
, Mask5Cnt
, Mask10Cnt
, HairBandCnt
@ -3415,10 +3404,6 @@ Public Class mainForm
, APEffectCnt
, APEffectV3Cnt
, APMAXIMUMALPHACnt
, APProSSetCnt
, APProSFaceCnt
, APProSEyeCnt
, APProSBodyCnt
, APMask5Cnt
, APMask10Cnt
, APHairBandCnt
@ -3542,10 +3527,6 @@ Public Class mainForm
, AWEffectCnt
, AWEffectV3Cnt
, AWMAXIMUMALPHACnt
, AWProSSetCnt
, AWProSFaceCnt
, AWProSEyeCnt
, AWProSBodyCnt
, AWMask5Cnt
, AWMask10Cnt
, AWHairBandCnt
@ -5238,9 +5219,6 @@ Public Class mainForm
dataCount += 1
Next
If prodArray(itemCode.face, i) <> -1 And prodArray(itemCode.eye, i) <> -1 Then
targetDeviceCount += prodArray(itemCode.count, i)
End If
nowFullCount += prodArray(itemCode.count, i)
Next
@ -5256,8 +5234,6 @@ Public Class mainForm
If StartSwitch = True Then
If rdbMode2.Checked = True And rdbNew.Checked = True Then
nowFullCount = 0
targetDeviceCount = 0
nowDeviceCount = 0
If PKCodeCheck() Then
Return True
End If
@ -6724,10 +6700,6 @@ Public Class mainForm
pn_image.Enabled = False
pn_image.Visible = False
MassValueReset()
Else