Open kjellhaaland opened 7 months ago
The current API implementation (ElectricalConsumers), does not return pipetests as part of the "network tree".
It uses the /portal/{facility}/ele-net-consumer?tagNo={tagNo}
endpoint in STID to fetch the data.
How to get the Pipetest tags as part of the data returned from STID?
Some suggestions to solutions
EnrichWithFamTagsAsync
in the ElectricalConsumers API to enrich the data. This function gets tags from Custom_ElectricalConsumersMCCR
. Can Pipetests in some way be included here?@atlewee any thoughts on this?
@kjellhaaland Should be somehow picked up from this table in FAM: ( master mapping table between HT and PipeTest ) TagId is htCable id
The Circuit Diagram is partially implemented in the Pipetest app.
@ken-mellem and @atlewee, is the current implementation sufficient, or should we start implementing the solution mentioned by Atle?
@kjellhaaland Should be somehow picked up from this table in FAM: ( master mapping table between HT and PipeTest ) TagId is htCable id
@kjellhaaland I guess this warrants a chat.
Expected outcome
Add support for pipetest to the Circuit Diagram. Currently the diagram only supports HT. Similar view as the JC Circuit Diagram.
The relation betweeen HT cables and Pipetest need to be added, as it is currently not part of the data returned from the API.
Business Value / Developer Experience
Enables the user to se pipetests related to HeatTrace.
Acceptance Criteria