Skip to content

Commit

Permalink
Nice naming of pipe types
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-quandify committed Oct 10, 2024
1 parent dcdf203 commit da9e220
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion vendor/quandify/cubicmeter-1-1-plastic-codec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ uplinkDecoder:
hardwareVersion: 2
pipe:
id: 0
type: 'custom'
type: 'Custom'
warnings: []
errors: []
- description: Response from set lorawan report interval
Expand Down
28 changes: 14 additions & 14 deletions vendor/quandify/cubicmeter-1-1-uplink.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ var leakStates = {
};

var pipeTypes = {
0: 'custom',
1: 'copper15',
2: 'copper18',
3: 'copper22',
4: 'chrome15',
5: 'chrome18',
6: 'chrome22',
7: 'pal16',
8: 'pal20',
9: 'pal25',
14: 'pex16',
15: 'pex20',
16: 'pex25',
17: 'distpipe',
0: 'Custom',
1: 'Copper 15 mm',
2: 'Copper 18 mm',
3: 'Copper 22 mm',
4: 'Chrome 15 mm',
5: 'Chrome 18 mm',
6: 'Chrome 22 mm',
7: 'Pal 16 mm',
8: 'Pal 20 mm',
9: 'Pal 25 mm',
14: 'Pex 16 mm',
15: 'Pex 20 mm',
16: 'Pex 25 mm',
17: 'Distpipe',
};

/**
Expand Down

0 comments on commit da9e220

Please sign in to comment.