Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New manip modify invocation effective timeout #69

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 SetInvocationEffectiveTimeoutLessThanOrEqualToThreshold for operations
- manipulation SetModeOfOperationAndSetOperatingMode for combined settings
- manipulation ConveyMetricDemoValues for metrics
- manipulation SetAlertConditionAndAlertSignalActivationState for alert activation states
Expand Down
16 changes: 15 additions & 1 deletion src/t2iapi/operation/operation_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ syntax = "proto3";
package t2iapi.operation;

import "t2iapi/operation/types.proto";
import "google/protobuf/duration.proto";

option java_package = "com.draeger.medical.t2iapi.operation";
option java_outer_classname = "OperationRequests";
Expand All @@ -20,4 +21,17 @@ Request to change the devices state, which results in setting the requested Oper
message SetOperatingModeRequest {
string handle = 1;
OperatingMode operating_mode = 2;
}
}

/*
Request to set the @InvocationEffectiveTimeout of the pm:AbstractOperationDescriptor with the given handle to a value
that is less than or equal to the requested threshold.
*/
message SetInvocationEffectiveTimeoutLessThanOrEqualToThresholdRequest {
string handle = 1; // handle of the pm:AbstractOperationDescriptor for which the @InvocationEffectiveTimeout
// shall be set
google.protobuf.Duration threshold = 2; // threshold value for which applies that the @InvocationEffectiveTimeout
// is less than or equal to this threshold value
// threshold value is represented as a count of seconds and fractions of
// seconds at nanosecond resolution
}
7 changes: 7 additions & 0 deletions src/t2iapi/operation/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ service OperationService {
rpc SetOperatingMode (t2iapi.operation.SetOperatingModeRequest)
returns (BasicResponse);

/*
Set the @InvocationEffectiveTimeout of the pm:AbstractOperationDescriptor with the given handle to a value that is
less than or equal to the requested threshold.
*/
rpc SetInvocationEffectiveTimeoutLessThanOrEqualToThreshold (
SetInvocationEffectiveTimeoutLessThanOrEqualToThresholdRequest)
returns (BasicResponse);
}
Loading