继电器、读卡器,都用统一的modbus协议

This commit is contained in:
2024-12-12 10:30:21 +08:00
parent 25cb34f6f5
commit df9dbb0926
15 changed files with 142 additions and 127 deletions

View File

@@ -4,5 +4,5 @@ import "game-driver/internal/routes/play/card_pusher"
type ConfigPush struct {
PushGroups []*card_pusher.LineGroup
ReadURL string
ReadAddr string
}

View File

@@ -1,5 +1,5 @@
package game
type ConfigWait struct {
URL string
Addr string
}