-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CB] Print버튼누르면 인쇄.(Unhook()) #14
Comments
사전에 TotalPage수 모두 파악
|
CB상에서 인쇄,
|
CB Socket에서 로직을 조금 추가해야 겠다.
|
사용하지 않고 있는 PrinterSocket을 여기서 사용하면 될듯 하다.
그러면 CB상에서 Socket 2개 필요한가?
|
마일리지가 부족할 경우, Print를 아예 취소할 수도 있어야 한다. |
|
PrinterServer (.NET)
|
|
jongwuner
added a commit
that referenced
this issue
Nov 30, 2019
#14 에서 부분적 해결(Print버튼 누르면 Unhook 구현) # CB : PrintSocket 사용해서, Button을 눌러주면 Sever로 PrintPacket전송 # DataPacket : 여기에 PrintedPacket을 추가함 # Server : ManualResetEvent 활용해서 비동기 관리 - SocketHandler5003 : Packet받으면 PrintBit.Set
To-do 정리
|
PrintJob.Cancle 구현 성공.#25 참고 |
후불제를 했을 때 생기는 문제점
|
jongwuner
added a commit
that referenced
this issue
Dec 1, 2019
#14 # CB - cnt를 추가해서 default가 1인것으로 수정 # DataPacket - ThisPrintJobCnt 추가 - ThisPrintJob.Cancle() 부분 추가 - 추후에 Merge 해야함.
jongwuner
added a commit
that referenced
this issue
Dec 3, 2019
#14 # Printer 매수 반영하긴 하는데, 무한루프 문제 발생. * 이런 시나리오가 없긴 한데, 그래도 가능은 해야 할 듯. -> 무한루프 탈출시키는 로직을 추가시켜야 함.
jongwuner
added a commit
that referenced
this issue
Dec 3, 2019
#14 로그아웃 잘되게끔 - packet.Opt == 0 : 로그아웃 - packet.Opt == 1 : 계속 Print 하겠다.
jongwuner
added a commit
that referenced
this issue
Dec 3, 2019
#14 # Printer 매수 반영하긴 하는데, 무한루프 문제 발생. * 이런 시나리오가 없긴 한데, 그래도 가능은 해야 할 듯. -> 무한루프 탈출시키는 로직을 추가시켜야 함.
jongwuner
added a commit
that referenced
this issue
Dec 3, 2019
#14 로그아웃 잘되게끔 - packet.Opt == 0 : 로그아웃 - packet.Opt == 1 : 계속 Print 하겠다.
ThreadHandler.PrintedOpt
|
Cancle 시, Hooking 함수에서 WaitOne을 해결해주어야 함.
DvPrinter.Monitor
|
jongwuner
added a commit
that referenced
this issue
Dec 5, 2019
#14 # CB에서 VM수정 - UI 문구 - CB의 본질적인 목적이 무엇일까 생각해보자. # DvPrinter - ToInt64()로 바꾸니, Overflow 해결 - PRINT_OPT에 따라 pji.Cancle() 적용. * 지금 제대로 작동하지는 않는다. # CBSocket - (189) Money가 0보다 작으면, Cancle()시키려는 의도. - Todo : UI에서 MessageBox 보여줘야함. # ThreadHandler - PrintedOpt 변수에 대한 설명 주석 추가
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CB상에서 인쇄
호출과정 : Server-Service -> InterruptLogin -> CB
Server-service에서 하는게 제일깔끔하긴 한데..
The text was updated successfully, but these errors were encountered: