Skip to content

Commit

Permalink
add manipulation GetComponentHwVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
jannast committed Aug 7, 2024
1 parent 58fed13 commit 7fbabf4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
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 GetComponentHwVersion for devices
- manipulation GetAvailableDeviceMetaData for device
- manipulation AssociateValidateAndChangeIdentificationOfPatientOrLocationContextState for contexts
- manipulation GetComponentSwVersion for devices
Expand Down
8 changes: 8 additions & 0 deletions src/t2iapi/device/device_responses.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ message GetComponentSwVersionResponse {
BasicResponse status = 1; // status of the rpc
string software_version = 2; // Software version of the requested device component
}

/*
Response containing the hardware version of the requested pm:AbstractDeviceComponentDescriptor handle when supported.
*/
message GetComponentHwVersionResponse {
BasicResponse status = 1; // status of the rpc
string hardware_version = 2; // Hardware version of the requested device component
}
7 changes: 7 additions & 0 deletions src/t2iapi/device/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,11 @@ service DeviceService {
*/
rpc GetComponentSwVersion (BasicHandleRequest)
returns (t2iapi.device.GetComponentSwVersionResponse);

/*
Get the hardware version of the requested pm:AbstractDeviceComponentDescriptor handle if it is representing
a component with a hardware version.
*/
rpc GetComponentHwVersion (BasicHandleRequest)
returns (t2iapi.device.GetComponentHwVersionResponse);
}

0 comments on commit 7fbabf4

Please sign in to comment.