-
Notifications
You must be signed in to change notification settings - Fork 25
Modbus Dataproperty terms changed to align with best practices #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,54 +129,54 @@ binding:assignment rdf:type owl:AnnotationProperty . | |
| ################################################################# | ||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasAddress | ||
| :hasAddress rdf:type owl:DatatypeProperty ; | ||
| :address rdf:type owl:DatatypeProperty ; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. my expectation would be that hasAddress, hasCodeNumber, etc are correct. In other WoT ontologies, we use the same pattern (e.g., https://www.w3.org/2019/wot/hypermedia#hasTarget). The context file is the place, which should do the mapping from address to hasAddress, code to hasCode, etc and vice versa. |
||
| rdfs:domain :Request ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "Specifies the starting address of the Modbus operations"@en ; | ||
| rdfs:label "hasAddress"@en ; | ||
| rdfs:label "address"@en ; | ||
| binding:assignment binding:required . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasCodeNumber | ||
| :hasCodeNumber rdf:type owl:DatatypeProperty ; | ||
| :codeNumber rdf:type owl:DatatypeProperty ; | ||
| rdfs:domain :Function , | ||
| :ResponseCode , | ||
| :ExceptionFunction ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "Specifies the Modbus function/exception code number"@en ; | ||
| rdfs:label "hasCodeNumber"@en . | ||
| rdfs:label "codeNumber"@en . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasPollingTime | ||
| :hasPollingTime rdf:type owl:DatatypeProperty ; | ||
| :pollingTime rdf:type owl:DatatypeProperty ; | ||
| rdfs:domain :Request ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "Modbus TCP maximum polling rate. The Modbus specification does not define a maximum or minimum allowed polling rate, however specific implementations might introduce such limits. Defined as integer of milliseconds." ; | ||
| rdfs:label "hasPollingTime"@en . | ||
| rdfs:label "pollingTime"@en . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasQuantity | ||
| :hasQuantity rdf:type owl:DatatypeProperty ; | ||
| :quantity rdf:type owl:DatatypeProperty ; | ||
| rdfs:domain :Request ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "Specifies the amount of either registers or coils to be read or written to"@en ; | ||
| rdfs:label "hasQuantity"@en . | ||
| rdfs:label "quantity"@en . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasTimeout | ||
| :hasTimeout rdf:type owl:DatatypeProperty ; | ||
| :timeout rdf:type owl:DatatypeProperty ; | ||
| rdfs:domain :Request ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "Modbus response maximum waiting time. Defines how much time the runtime should wait until it receives a reply from the device." ; | ||
| rdfs:label "hasTimeout"@en . | ||
| rdfs:label "timeout"@en . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasUnitID | ||
| :hasUnitID rdf:type owl:DatatypeProperty ; | ||
| :unitID rdf:type owl:DatatypeProperty ; | ||
| rdfs:domain :Request ; | ||
| rdfs:range xsd:integer ; | ||
| rdfs:comment "The Unit ID is usually not needed for ModbusTCP, since the IP-address works as unique identifier, but for compability reasons still often included" ; | ||
| rdfs:label "hasUnitID"@en . | ||
| rdfs:label "unitID"@en . | ||
|
|
||
|
|
||
| ### https://www.w3.org/2019/wot/modbus#hasZeroBasedAddressingFlag | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the changes to remove those terms intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't remove any term, just updated the names to not include the "has", but maybe the tool does additional magic