1. MySql Command Error ( duplicate entry 'info2-6-3-4-1-25-28' ) 데이터 베이스에 데이터를 생성 할 수 없습니다. 1) 재현 경로 : - 로그인 > [START] 입력 > 검색 버튼 클릭 2) 원인 : - BeforeTrayData() - BeforeData = "1" - If BeforeData > "False" Then ("False"는 0 or "0"과 다름) 3) 해결 : - If BeforeData > "0" 4) 참고 - BeforeData > 0 코드로 처리해도 해당 현상은 사라질 수 있으나, mysql exception error에 의해 BeforeData 값이 "False"알 경우 if문 실행 중 에러 발생 2. 예외가 처리되지 않음 ' "False" 문자열에서 'Double' 형식으로 변환 할 수 없습니다. ' 1) 재현 경로 : - 로그인 > [START] 입력 > 검색 버튼 클릭 2) 원인 : - BeforeTrayData() - BeforeData = "False" (MySql Exception Error의 반환 값이 있을 경우 BeforeData 값은 "False") - If BeforeData > 0 Then (BeforeData의 타입은 String이므로 문자열 간 비교를 해야 함) 3) 해결 : - If BeforeData > "0" Then 3. NewData 플래그 1) 의미 : - true : 처리 할 stayNum의 trayState가 0일 경우 (stayNum = S/N 예: 140016 국내+컬러+제조순번) - false : a)처리 할 trayNum의 trayState가 1인 경우 b)처리 할 trayNum의 제조 순번값이 0인 경우 c)tray 정보를 새로 생성하였을 경우 2) 역할 : - 트레이 정보 업데이트 수행 조건 3. S/N 부여 방법 [useTD(MAXIMUM, EFFECT, MAXIMUM Alpha)] : 1) to device a) TD Data read ( cmd : settdsn ) b) testStep judge ( TDData ) c) frequency power judge ( device command : settdcnf ) d) firmware check ( cmd : dsfwver ) e) print S/N paper f) S/N write ( cmd : wrsconf1 ) g) shot info write ( cmd : shotconf + [shot]) h) shot info read ( cmd : shotconf ) 2) on DB a) S/N update ( jomtTesterDB.jomtCartridgeTbl ) b) TrayState update ( jomtTesterDB.jomtInfoRegStateTbl ) c) today count update( jomtTesterDB.jomtMES_PD1Tbl ) [nonTD(ALTO)]: 1) to device a) print S/N paper b) S/N write ( cmd : wrsconf1 ) 2) on DB a) S/N insert ( jomtTesterDB.jomtNonTDTbl )