deviceDeployed method

void deviceDeployed(
  1. PrimaryDeviceConfiguration<DeviceRegistration> device,
  2. DateTime deviceDeploymentLastUpdateDate
)

Indicate that the specified primary device was deployed successfully using the deployment with the specified deviceDeploymentLastUpdateDate.

Sets the status to StudyDeploymentStatusTypes.Running and startTime to deviceDeploymentLastUpdateDate.

Implementation

void deviceDeployed(PrimaryDeviceConfiguration device, DateTime deviceDeploymentLastUpdateDate) {
  // assert(_protocol.primaryDevices.contains(device),
  //     'The specified primary device is not part of the protocol of this deployment.');
  _status.status = StudyDeploymentStatusTypes.Running;
  _startTime = deviceDeploymentLastUpdateDate;
}