Skip to content

Commit

Permalink
add new manipulation DisplayMetricWithDifferentUnit (#98)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jannast authored Nov 19, 2024
1 parent fb10846 commit 4af45bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion src/t2iapi/metric/service.proto
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down Expand Up @@ -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);
}

0 comments on commit 4af45bc

Please sign in to comment.