SIENTIAPDE-1110

Update connectors_config to use dynamic OPC_ID as key for configuration, enhancing flexibility in OPC setup.
This commit is contained in:
vitor-aignosi
2025-06-27 10:49:49 -03:00
parent a1b7d8e024
commit f692e23a28

View File

@@ -34,7 +34,7 @@ def build_opc_config():
return json.loads(opc_raw)
return {
'opc': {
getenv('OPC_ID', '1'): {
'id': getenv('OPC_ID', '1'),
'url': getenv('OPC_URL', 'opc.tcp://localhost:4840'),
'server_uri': getenv('OPC_SERVER_URI', 'opc.tcp://localhost:4840'),