first commit
This commit is contained in:
19
config/daemon_profile.json
Normal file
19
config/daemon_profile.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"opcua": {
|
||||
"port": 4840,
|
||||
"applicationName": "SoftBusDaemon"
|
||||
},
|
||||
"uplink": {
|
||||
"listenHost": "127.0.0.1",
|
||||
"listenPort": 9000
|
||||
},
|
||||
"plugins": {
|
||||
"modbus": "protocol_modbus",
|
||||
"canopen": "protocol_canopen"
|
||||
},
|
||||
"security": {
|
||||
"tlsEnabled": false,
|
||||
"certPath": "",
|
||||
"keyPath": ""
|
||||
}
|
||||
}
|
||||
18
config/softbus_model.json
Normal file
18
config/softbus_model.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"site": "DemoSite",
|
||||
"system": "DemoSystem",
|
||||
"asset": "DemoAsset",
|
||||
"devices": [
|
||||
{
|
||||
"stableDeviceKey": "SimModbusDevice",
|
||||
"protocol": "modbus",
|
||||
"points": [
|
||||
{
|
||||
"name": "Temperature",
|
||||
"register": 40001,
|
||||
"domain": "Process"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
11
config/ua_model.xml
Normal file
11
config/ua_model.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Phase1 placeholder UA model file.
|
||||
The daemon builds the address space dynamically from config/softbus_model.json.
|
||||
Phase2 may import a static NodeSet2 XML generated from this template.
|
||||
-->
|
||||
<UANodeSet xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd">
|
||||
<Models>
|
||||
<Model ModelUri="urn:softbus:demo" Version="1.0.0"/>
|
||||
</Models>
|
||||
</UANodeSet>
|
||||
Reference in New Issue
Block a user