status property
StudyDeploymentStatus
get
status
Get the status of this StudyDeployment.
Implementation
StudyDeploymentStatus get status {
// set the status of each device - both primary and connected devices
_status.deviceStatusList = [];
for (var deviceDescriptor in protocol.primaryDevices) {
_status.deviceStatusList.add(getDeviceStatus(deviceDescriptor));
}
for (var deviceDescriptor in protocol.connectedDevices!) {
_status.deviceStatusList.add(getDeviceStatus(deviceDescriptor));
}
// TODO - check that all devices are ready, before setting the overall status
return _status;
}