Skip to content

Commit

Permalink
change modbus: tag to modv:
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Feb 7, 2024
1 parent 33dfc57 commit e368d46
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 195 deletions.
6 changes: 3 additions & 3 deletions Models/ThingDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ public partial class ModbusForm
[JsonProperty("op")]
public Op[] Op { get; set; }

[JsonProperty("modbus:type")]
[JsonProperty("modv:type")]
public ModbusType ModbusType { get; set; }

[JsonProperty("modbus:entity")]
[JsonProperty("modv:entity")]
public ModbusEntity ModbusEntity { get; set; }

[JsonProperty("modbus:pollingTime")]
[JsonProperty("modv:pollingTime")]
public long ModbusPollingTime { get; set; }


Expand Down
96 changes: 48 additions & 48 deletions Samples/pac4200-predefined-nodes.td.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6108",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "A",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=3&quantity=2",
Expand All @@ -49,9 +49,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6108",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "B",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=5&quantity=2",
Expand All @@ -62,9 +62,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6108",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "C",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -80,9 +80,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6109",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -98,9 +98,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6110",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -116,9 +116,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6111",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -136,9 +136,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6112",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "A",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=15&quantity=2",
Expand All @@ -149,9 +149,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6112",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "B",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=17&quantity=2",
Expand All @@ -162,9 +162,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6112",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "C",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -182,9 +182,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6113",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "A",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=39&quantity=2",
Expand All @@ -195,9 +195,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6113",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "B",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
},
{
"href": "/1?address=41&quantity=2",
Expand All @@ -208,9 +208,9 @@
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6113",
"opcua:type": "nsu=http://opcfoundation.org/UA/PNEM/;i=3005",
"opcua:fieldpath": "C",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -226,9 +226,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6114",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -244,9 +244,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6115",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -262,9 +262,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6116",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
},
Expand All @@ -280,9 +280,9 @@
"observeproperty"
],
"opcua:nodeId": "nsu=http://siemens.com/UA/SentronPAC4200/SN324/;i=6117",
"modbus:type": "float",
"modbus:entity": "holdingRegister",
"modbus:pollingTime": 2000
"modv:type": "float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
}
Expand Down
Loading

0 comments on commit e368d46

Please sign in to comment.