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

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