forked from COVESA/vss-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This refactors unit handling so that it keeps supporting old format but also supports format in COVESA/vehicle_signal_specification#669. It only focus on keeping existing functionality. No functionality for parsing and verifying domains added. Signed-off-by: Erik Jaegervall <[email protected]>
- Loading branch information
Showing
8 changed files
with
132 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
units: | ||
puncheon: | ||
label: Puncheon | ||
description: Volume measure in puncheons (1 puncheon = 318 liters) | ||
domain: volume | ||
hogshead: | ||
label: Hogshead | ||
description: Volume measure in hogsheads (1 hogshead = 238 liters) | ||
domain: volume | ||
puncheon: | ||
definition: Volume measure in puncheons (1 puncheon = 318 liters) | ||
unit: Puncheon | ||
quantity: volume | ||
hogshead: | ||
definition: Volume measure in hogsheads (1 hogshead = 238 liters) | ||
unit: Hogshead | ||
quantity: volume |
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,9 @@ | ||
units: | ||
puncheon: | ||
label: Puncheon | ||
description: Volume measure in puncheons (1 puncheon = 318 liters) | ||
domain: volume | ||
hogshead: | ||
label: Hogshead | ||
description: Volume measure in hogsheads (1 hogshead = 238 liters) | ||
domain: volume |
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