This commit is contained in:
suyl
2021-07-30 18:30:26 +08:00
parent b14c41722f
commit 6cd3be8dba

View File

@@ -78,6 +78,8 @@ func (t *TcpClient) handleConn(c net.Conn) {
if t.Clients[printNo] == nil {
timeoutChan <- 1
t.addConn(c, printNo, status)
t.buildCallBackMap(printNo)
t.buildMsgMap(printNo)
t.HandleTcpMessages(printNo)
t.doPrint(printNo)
if status == printerStatusOnline {