initial frontend pages
This commit is contained in:
@@ -146,6 +146,14 @@ impl TelemetryManagementService {
|
||||
.cloned()
|
||||
}
|
||||
|
||||
pub fn get_all_definitions(&self) -> Vec<TelemetryDefinition> {
|
||||
let tlm_data = self.tlm_data.pin();
|
||||
tlm_data
|
||||
.values()
|
||||
.map(|x| x.data.definition.clone())
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn pin(&self) -> TelemetryManagementServicePin {
|
||||
TelemetryManagementServicePin {
|
||||
tlm_data: self.tlm_data.pin(),
|
||||
|
||||
Reference in New Issue
Block a user