Commit ef81fe23 authored by Ivan Tyagov's avatar Ivan Tyagov

Expose server at public interface.

parent 44a9cab7
""" """
Simple OPCUa server with one paremeter (temp). Simple OPC UA server with one paremeter (temp).
""" """
from opcua import Server from opcua import Server
from random import randint from random import randint
import time import time
server = Server() server = Server()
url = "opc.tcp://localhost:4840" url = "opc.tcp://0.0.0.0:4840"
server.set_endpoint(url) server.set_endpoint(url)
name = "OPCUA_SIMULATION_SERVER" name = "OPCUA_SIMULATION_SERVER"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment