use part numbers in JSON #25

Closed
opened 2020-03-11 10:20:07 +08:00 by sb10q · 1 comment

Right now the JSONs use the card functions, e.g.:

{"items":[{"name":"Processor"},{"name":"Grabber"},{"name":"BNC-TTL"},{"name":"LVDS-TTL"},{"name":"DAC"},{"name":"DDS"},{"name":"Synthesizer"},{"name":"Sampler"},{"name":"DSP"}],"type":"rack"} 

This will become ambiguous when there are multiple cards with the same function. Use the unique part numbers instead, e.g.

{"items":[{"pn":"1123"},{"pn":"6302"}, ...
Right now the JSONs use the card functions, e.g.: ``` {"items":[{"name":"Processor"},{"name":"Grabber"},{"name":"BNC-TTL"},{"name":"LVDS-TTL"},{"name":"DAC"},{"name":"DDS"},{"name":"Synthesizer"},{"name":"Sampler"},{"name":"DSP"}],"type":"rack"} ``` This will become ambiguous when there are multiple cards with the same function. Use the unique part numbers instead, e.g. ``` {"items":[{"pn":"1123"},{"pn":"6302"}, ... ```
Poster
Owner

Maybe use "1123b" or similar when the backplane adapter is selected.

Maybe use "1123b" or similar when the backplane adapter is selected.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/web2019#25
There is no content yet.