From 4af45bcb83e8960c8c1efcac081bea75c44c690a Mon Sep 17 00:00:00 2001 From: jannast <104557199+jannast@users.noreply.github.com> Date: Tue, 19 Nov 2024 09:16:55 +0100 Subject: [PATCH] add new manipulation DisplayMetricWithDifferentUnit (#98) add new manipulation for metrics DisplayMetricWithDifferentUnit # Checklist The following aspects have been respected by the author of this pull request, confirmed by both pull request assignee **and** reviewer: * Changelog update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer * README update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer --- CHANGELOG.md | 1 + src/t2iapi/metric/service.proto | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35691a5..fa9de0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- manipulation DisplayMetricWithDifferentUnit for metrics - manipulation GetMetricDeterminationMode for metrics - manipulation PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided - manipulation SetActiveModeOfOperation for metrics diff --git a/src/t2iapi/metric/service.proto b/src/t2iapi/metric/service.proto index 7575b2a..e870ff2 100644 --- a/src/t2iapi/metric/service.proto +++ b/src/t2iapi/metric/service.proto @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the MIT License. -Copyright (c) 2022 Draegerwerk AG & Co. KGaA. +Copyright (c) 2022, 2023, 2024 Draegerwerk AG & Co. KGaA. SPDX-License-Identifier: MIT */ @@ -126,4 +126,11 @@ service MetricService { */ rpc GetMetricDeterminationMode (BasicHandleRequest) returns (t2iapi.metric.GetMetricDeterminationMode); + + /* + Request for the metric with the given handle to display its @Value or @Samples to a USER with a different + pm:Unit than the one which is currently provided in the respective descriptor. + */ + rpc DisplayMetricWithDifferentUnit (BasicHandleRequest) + returns (BasicResponse); }