fix: 불합격 데이터 저장 후 Jig_End()함수 호출로 수정

This commit is contained in:
kje97 2025-07-04 13:56:16 +09:00
parent efa2aab3cc
commit b3d8fa55df

View File

@ -4712,8 +4712,11 @@ RunSuccess:
FailMain() FailMain()
End If End If
txbWindow.AppendText("=== 합격 데이터 저장 완료 ===" & vbCrLf) txbWindow.AppendText("=== 합격 데이터 저장 완료 ===" & vbCrLf)
' 합격 처리 완료 정상 종료로 이동
GoTo NormalEnd
ProcessEnd: ProcessEnd:
Jig_End()
txbWindow.AppendText("=== 불합격 데이터 저장 시작 ===" & vbCrLf) txbWindow.AppendText("=== 불합격 데이터 저장 시작 ===" & vbCrLf)
' 불합격 시에도 전체 데이터 저장 로직 실행 ' 불합격 시에도 전체 데이터 저장 로직 실행
If RF_PostReg() Then If RF_PostReg() Then
@ -4752,6 +4755,7 @@ ProcessEnd:
txbWindow.AppendText("=== 불합격 데이터 저장 완료 ===" & vbCrLf) txbWindow.AppendText("=== 불합격 데이터 저장 완료 ===" & vbCrLf)
Jig_End()
NormalEnd: NormalEnd:
myscope.IO.Clear() myscope.IO.Clear()
'txbWindow.AppendText("[" & MeasureTimeAll(MeasEnd) & "ms] Test Play" & vbCrLf) 'txbWindow.AppendText("[" & MeasureTimeAll(MeasEnd) & "ms] Test Play" & vbCrLf)
@ -5425,7 +5429,6 @@ ProcessEnd:
End If End If
End Sub End Sub
Private Function CountUpdate() As Boolean Private Function CountUpdate() As Boolean
If rdbAltoPD.Checked = True Then If rdbAltoPD.Checked = True Then
DBCmd = "UPDATE " & pd1CntTableNow & " SET PD1_AltoCnt = '" & txbDayCount.Text & "', PD1_AltoOkCnt = '" & txbOkCount.Text & "', PD1_AltoNgCnt = '" & txbNgCount.Text & "' WHERE PD1_Date = '" & NowDate & "'" DBCmd = "UPDATE " & pd1CntTableNow & " SET PD1_AltoCnt = '" & txbDayCount.Text & "', PD1_AltoOkCnt = '" & txbOkCount.Text & "', PD1_AltoNgCnt = '" & txbNgCount.Text & "' WHERE PD1_Date = '" & NowDate & "'"