12 lines
299 B
Python
Raw Normal View History

2025-09-25 10:52:52 +08:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
2025-09-29 09:35:08 +08:00
from pydantic.types import T
2025-09-25 10:52:52 +08:00
async def boot():
"""脚本启动函数"""
2025-09-30 13:52:36 +08:00
url = "opc.tcp://127.0.0.1:4840/freeopcua/server/"
result = VWED.websocket.send_msg_to_wsc_by_client_ip("i=2259", url)
2025-09-29 09:35:08 +08:00
print(result, "=====================")