-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix failure on reading the "need" field from node * Increase the viewport size of the index parts in GUI * Add error message if entering invalid data in GUI table editor * Fix bug where UI changes in the table didn't update the data * Added in-line documentation in ODStructTypes * Fix incorrect ValueError when having arrays * FIxed Node.DumpFile not guessing the filetype correctly * Fix handling of DOMAIN, which address #10 Testing * Add new "equiv_files" fixture to test equivalent files * Add test for testing `odg compare` * Added OD-file for DOMAIN and updated OD-files for consistency
- Loading branch information
Showing
34 changed files
with
279 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$id": "od data", | ||
"$version": "1", | ||
"$description": "Canfestival object dictionary data", | ||
"$tool": "odg 3.4", | ||
"$date": "2024-04-10T22:48:13.333406", | ||
"name": "domain", | ||
"description": "", | ||
"type": "master", | ||
"id": 0, | ||
"profile": "None", | ||
"dictionary": [ | ||
{ | ||
"index": "0x2000", // 8192 | ||
"name": "Domain", | ||
"struct": "var", | ||
"group": "user", | ||
"mandatory": false, | ||
"sub": [ | ||
{ | ||
"name": "Domain", | ||
"type": "DOMAIN", // 15 | ||
"access": "rw", | ||
"pdo": true, | ||
"value": "\u0002@ABC\u0001" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> | ||
<PyObject module="node" class="Node" id="2217354715472"> | ||
<attr name="Profile" type="dict" id="2217369299472"> | ||
</attr> | ||
<attr name="Description" type="string" value="" /> | ||
<attr name="Dictionary" type="dict" id="2217369505408"> | ||
<entry> | ||
<key type="numeric" value="8192" /> | ||
<val type="string" value="\x02@ABC\x01" /> | ||
</entry> | ||
</attr> | ||
<attr name="SpecificMenu" type="list" id="2217369263296"> | ||
</attr> | ||
<attr name="ParamsDictionary" type="dict" id="2217369504960"> | ||
</attr> | ||
<attr name="UserMapping" type="dict" id="2217355415632"> | ||
<entry> | ||
<key type="numeric" value="8192" /> | ||
<val type="dict" id="2217369504832"> | ||
<entry> | ||
<key type="string" value="need" /> | ||
<val type="False" value="" /> | ||
</entry> | ||
<entry> | ||
<key type="string" value="values" /> | ||
<val type="list" id="2217369261952"> | ||
<item type="dict" id="2217352937216"> | ||
<entry> | ||
<key type="string" value="access" /> | ||
<val type="string" value="rw" /> | ||
</entry> | ||
<entry> | ||
<key type="string" value="pdo" /> | ||
<val type="True" value="" /> | ||
</entry> | ||
<entry> | ||
<key type="string" value="type" /> | ||
<val type="numeric" value="15" /> | ||
</entry> | ||
<entry> | ||
<key type="string" value="name" /> | ||
<val type="string" value="Domain" /> | ||
</entry> | ||
</item> | ||
</val> | ||
</entry> | ||
<entry> | ||
<key type="string" value="name" /> | ||
<val type="string" value="Domain" /> | ||
</entry> | ||
<entry> | ||
<key type="string" value="struct" /> | ||
<val type="numeric" value="1" /> | ||
</entry> | ||
</val> | ||
</entry> | ||
</attr> | ||
<attr name="DS302" type="dict" id="2217369297168"> | ||
</attr> | ||
<attr name="ProfileName" type="string" value="None" /> | ||
<attr name="Type" type="string" value="master" /> | ||
<attr name="ID" type="numeric" value="0" /> | ||
<attr name="Name" type="string" value="domain" /> | ||
</PyObject> |
Oops, something went wrong.