temoto / vender

Open source vending machine controller firmware
Creative Commons Zero v1.0 Universal
64 stars 20 forks source link

bill ICT. 2 escrow + stacked = 0 (написал кредит до укладки) #24

Closed AlexTransit closed 3 years ago

AlexTransit commented 3 years ago

Jun 25 15:25:35.865929 vm05 vender[681]: escrow bill:50 Jun 25 15:25:35.865929 vm05 vender[681]: --- client activity begin --- Jun 25 15:25:35.865929 vm05 vender[681]: transport-mqtt.go:108: transport sendstate payload=07 Jun 25 15:25:35.908745 vm05 vender[681]: Display.L1=Кредит: 50 Jun 25 15:25:35.908745 vm05 vender[681]: Display.L2=Код: Jun 25 15:25:42.965780 vm05 vender[681]: bill.go:173: bill.poll/info: status=Info cashbox=false nominal=0 count=0 hwcode=a0 err= Jun 25 15:25:43.180963 vm05 vender[681]: escrow bill:50 Jun 25 15:25:43.222062 vm05 vender[681]: stacked bill:50 Jun 25 15:26:09.754475 vm05 vender[681]: key.sugar+ Jun 25 15:26:09.761633 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x44, Up:false} Jun 25 15:26:10.143006 vm05 vender[681]: key.sugar+ Jun 25 15:26:10.143006 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x44, Up:false} Jun 25 15:26:10.530223 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x44, Up:false} Jun 25 15:26:10.531088 vm05 vender[681]: key.sugar+ Jun 25 15:26:11.126528 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x44, Up:false} Jun 25 15:26:11.126528 vm05 vender[681]: key.sugar+ Jun 25 15:26:13.316275 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x43, Up:false} Jun 25 15:26:13.316275 vm05 vender[681]: key.sugar- Jun 25 15:26:13.589181 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x43, Up:false} Jun 25 15:26:13.589181 vm05 vender[681]: key.sugar- Jun 25 15:26:14.392501 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x42, Up:false} Jun 25 15:26:14.392501 vm05 vender[681]: key.cream+ Jun 25 15:26:14.632502 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x42, Up:false} Jun 25 15:26:14.633369 vm05 vender[681]: key.cream+ Jun 25 15:26:15.555085 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x41, Up:false} Jun 25 15:26:15.555085 vm05 vender[681]: key.cream- Jun 25 15:26:18.631759 vm05 vender[681]: Display.L1=Качественные напитки. Установка и обслуживание +7 963 012 9955 Jun 25 15:26:18.631759 vm05 vender[681]: Display.L2= Jun 25 15:26:23.121099 vm05 vender[681]: input.go:121: debug: input emit=types.InputEvent{Source:"evend-keyboard", Key:0x31, Up:false} Jun 25 15:26:23.162633 vm05 vender[681]: Display.L1=Кредит: 0 Jun 25 15:26:23.162633 vm05 vender[681]: Display.L2=Код: 1

AlexTransit commented 3 years ago

как должно быть.

0.774671 : escrow bill:50 0.774671 : --- client activity begin --- 0.783342 : transport-mqtt.go:108: transport sendstate payload=07 0.809566 : Display.L1=Credit: 50 0.809566 : Display.L2=Code: 0.874647 : stacked bill:50 0.879029 : accept.go:88: debug: money.bill credit amount=50 bill=50 cash=0 total=0