Skip to content

Commit 3a68cd6

Browse files
Add message linking microgrid and sensor IDs
1 parent b80fe1e commit 3a68cd6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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)