TCP 소켓(PRINTSTART/PRINTEND) 대신 AllThatPayCatReqMC(iCmd=2)로
DLL→MMF 경유 인쇄. GW 포트 변경에 영향받지 않음.
- ProcessPrint: TCP 소켓 제거, DLL CatReqMC(2) 호출로 대체
- FindGWPort: 8080/7779 포트 제외 로직 추가
- 실패 시 FindGWPort+ConnectDLL 재연결 후 1회 재시도
- build.bat, test_print_dll.ps1 추가 (DLL 인쇄 단독 테스트용)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- PaymentBridge.cs: HTTP API 서버 (포트 7779)
- /api/status: 연결 상태 확인
- /api/card/approve: 카드 승인 (D1)
- /api/card/cancel: 카드 취소 (D2)
- /api/card/stop: 결제 진행 중 취소 시도
- /api/cash/receipt: 현금영수증 (B1)
- /api/cash/cancel: 현금영수증 취소 (B2)
- PaymentStop.cs: 별도 취소 exe (테스트용)
- 사용 DLL:
- AllthatModule.dll (카드결제)
- PosToCatReq.dll (ReqStop)