prod-SerialAssigner/업데이트 내역.txt
jiwonRepair a724e836d8 fix: handle exception when ShotSearch returns timeout message
Problem:
- Unhandled exception occurs during ShotSearch execution.
- Error message: "Conversion from string 'The operation has timed out.'
  to type 'Double' is not valid."

Reproduction:
- Occurs when the communication port is disconnected during the
  "Information Input" state.

Cause:
- ShotSearch returns a timeout message as a string.
- Comparing this string directly to an integer (e.g., If ShotSearch() = 0)
  causes a runtime type conversion exception.

Fix:
- Updated condition from:
    If ShotSearch() = 0 Then
  to:
    If ShotSearch() = "False" Then
- Prevents runtime error by avoiding invalid comparison between string and integer.
2025-07-24 11:21:32 +09:00

12 lines
376 B
Plaintext

1. "작업 시간을 초과화였습니다." 에러 수정
1) 재현경로:
- "정보 입력중" 상태에서 통신 포트 연결이 끊어질 경우
2) 에러 발생 사유:
- 문자열을 경우 정수 값과 비교 하면 처리 되지 않은 예외 발생
3) 수정 내용:
- If ShotSearch() = 0 Then -> If ShotSearch() = "False"
2. program version 1.1.6