修改参数配置和全屏显示

This commit is contained in:
2025-11-18 11:27:29 +08:00
parent bd5d933540
commit 20bdd61d55
2 changed files with 3 additions and 3 deletions

View File

@ -155,6 +155,6 @@ if __name__ == "__main__":
import sys
app = QApplication([])
window = MainWindow()
window.show() # 显示主界面
# window.showFullScreen() # 全屏显示主界面
# window.show() # 显示主界面
window.showFullScreen() # 全屏显示主界面
sys.exit(app.exec())

View File

@ -12,7 +12,7 @@ from datetime import datetime
# -----------
# 参数配置
# -----------
OPC_SERVER_URL = "opc.tcp://localhost:4841/freeopcua/server/"
OPC_SERVER_URL = "opc.tcp://localhost:4840/zjsh_feed/server/"
UPPER_WEIGHT_NODE_ID = "ns=2;s=upper_weight"
LOWER_WEIGHT_NODE_ID = "ns=2;s=lower_weight"