Skip to content

Commit

Permalink
update CalibrateMetric description (Draegerwerk#56)
Browse files Browse the repository at this point in the history
// update CalibrateMetric description

# 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 Aug 17, 2023
1 parent 095d01d commit 87ef9e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- TriggerAnyDescriptorUpdate manipulation

### Changed

- semantics for the CalibrateMetric manipulation
- semantics for the EnsembleContextIndicateMembershipWithIdentification manipulation
- semantics for the SetMetricValuesInRange manipulation
- semantics for the SetAlertConditionPresence manipulation
Expand Down
11 changes: 7 additions & 4 deletions src/t2iapi/metric/metric_responses.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ option java_package = "com.draeger.medical.t2iapi.metric";
option java_outer_classname = "MetricResponses";

/*
This message is used as a response for the CalibrateMetric manipulation. It returns a list of NumericMetricValue/@Value
or SampleArrayValue/@Samples as strings measured during the calibration. An empty list is returned if no values
can be provided.
This message is used as a response for the CalibrateMetric manipulation.
It returns a list of pm:MetricValue/@Value or pm:MetricValue/@Samples as strings measured during the calibration.
For further comparison of the value(s) it is required that each returned string value has the same representation
of the whole and fractional part that would be transmitted via SDC, i.e. if the value is represented as '0.01'
via SDC, do not provide it as '00.010'.
An empty list is returned if no values can be provided.
*/
message CalibrateMetricResponse {
BasicResponse response = 1;
repeated string values = 2;
repeated string values = 2; // pm:MetricValue/@Value or pm:MetricValue/@Samples
}

// Response indicating whether a metric is computer-controlled
Expand Down
2 changes: 1 addition & 1 deletion src/t2iapi/metric/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ service MetricService {
returns (BasicResponse);

/*
Calibrate the metric for the provided handle and return the calibration values.
Start a new calibration for the metric with the provided handle and return the calibration values.
*/
rpc CalibrateMetric (BasicHandleRequest)
returns (t2iapi.metric.CalibrateMetricResponse);
Expand Down

0 comments on commit 87ef9e4

Please sign in to comment.