Skip to content

Commit

Permalink
Remove get metric value manipulation (#26)
Browse files Browse the repository at this point in the history
Remove get metric value manipulation

# 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 Mar 3, 2023
1 parent ff92980 commit 3961b01
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- manipulation GetMetricValue
- manipulation SetMetricValuesWithQualityValidity
- manipulation GenerateElementsInStates
- manipulation SetOverflow
Expand Down
9 changes: 0 additions & 9 deletions src/t2iapi/metric/metric_responses.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ syntax = "proto3";
package t2iapi.metric;

import "t2iapi/basic_responses.proto";
import "t2iapi/response_types.proto";

option java_package = "com.draeger.medical.t2iapi.metric";
option java_outer_classname = "MetricResponses";
Expand All @@ -25,14 +24,6 @@ message CalibrateMetricResponse {
repeated string values = 2;
}

// Describes return value for the rpc that returns current Numeric Metric value
message MetricValueResponse {
BasicResponse result = 1; // the status of the rpc indicating whether or not it was successful
string value = 2; // string representation of the decimal value of the metric
string step_width = 3; // string representation of the decimal value of the metric value step width
PartialCodedValue unit = 4; // the metric unit, represented by a partial coded value with translation
}

// Response indicating whether a metric is computer-controlled
message IsComputerControlledResponse {
BasicResponse status = 1; // the status of the rpc indicating whether or not it was successful
Expand Down
7 changes: 0 additions & 7 deletions src/t2iapi/metric/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ service MetricService {
rpc SetMetricValuesInRange (t2iapi.metric.SetMetricValuesInRangeRequest)
returns (BasicResponse);

/*
Get the current value of the Numeric metric with the given handle.
Only values from the gui should be used (not from SDC).
*/
rpc GetMetricValue (BasicHandleRequest)
returns (t2iapi.metric.MetricValueResponse);

/*
Change the status of an operation mode.
Expand Down

0 comments on commit 3961b01

Please sign in to comment.