2026-04-24 FE Backup

This commit is contained in:
2026-04-24 12:37:16 +00:00
parent ace79b82f7
commit 0ba11a23b8
3705 changed files with 1240402 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
GWMap= {"172.17.19.32":"HMI1",
"172.17.19.33":"HMI1-Backup",
"172.17.19.41":"IO1",
"172.17.19.42":"IO2",
"172.17.19.43":"IO3",
"172.17.19.44":"IO4",
"172.17.19.45":"IO5",
"172.17.19.46":"IO6",
"172.17.19.49":"IO1-Backup",
}
def getGatewayStatus(ipAddr):
result = system.net.httpGet("http://"+ipAddr + ":8088/main/system/gwinfo")
return {k: v for k, v in [item.split("=") for item in [pair for pair in result.split(";") if pair]]}