Skip to content

Commit b6db3ca

Browse files
Add message linking microgrid and sensor IDs (#283)
2 parents b80fe1e + 7fe9759 commit b6db3ca

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## New Features
1212

13-
<!-- Here goes the main new features and examples or instructions on how to use them -->
13+
- Added message linking microgrid and sensor IDs.
1414

1515
## Bug Fixes
1616

proto/frequenz/api/common/v1/microgrid/microgrid.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,12 @@ message MicrogridComponentIDs {
7777
// List of component IDs belonging to this microgrid.
7878
repeated uint64 component_ids = 2;
7979
}
80+
81+
/// A message to link sensor IDs with their respective microgrid ID.
82+
message MicrogridSensorIDs {
83+
// The ID of the microgrid.
84+
uint64 microgrid_id = 1;
85+
86+
// List of sensor IDs belonging to this microgrid.
87+
repeated uint64 sensor_ids = 2;
88+
}

0 commit comments

Comments
 (0)