This commit is contained in:
2025-11-01 17:33:26 +08:00
parent bd0815d0e7
commit 32c14c2e7b
15 changed files with 543 additions and 102 deletions

View File

@ -17,7 +17,7 @@ class RelayController:
self.host = host
self.port = port
self.modbus_client = ModbusTcpClient(host, port=port)
# 继电器命令原始Socket
self.relay_commands = {
self.DOOR_UPPER: {'open': '00000000000601050000FF00', 'close': '000000000006010500000000'},