/// <summary> /// Creates the PetDetectorMotionDetailsSequence in the underlying collection. Type 1. /// </summary> public PetDetectorMotionDetailsSequenceItem CreatePetDetectorMotionDetailsSequence() { var dicomAttribute = DicomAttributeProvider[DicomTags.PetDetectorMotionDetailsSequence]; if (dicomAttribute.IsNull || dicomAttribute.IsEmpty) { var dicomSequenceItem = new DicomSequenceItem(); dicomAttribute.Values = new[] { dicomSequenceItem }; var sequenceType = new PetDetectorMotionDetailsSequenceItem(dicomSequenceItem); return(sequenceType); } return(new PetDetectorMotionDetailsSequenceItem(((DicomSequenceItem[])dicomAttribute.Values)[0])); }
/// <summary> /// Creates the PetDetectorMotionDetailsSequence in the underlying collection. Type 1. /// </summary> public PetDetectorMotionDetailsSequenceItem CreatePetDetectorMotionDetailsSequence() { var dicomAttribute = DicomAttributeProvider[DicomTags.PetDetectorMotionDetailsSequence]; if (dicomAttribute.IsNull || dicomAttribute.IsEmpty) { var dicomSequenceItem = new DicomSequenceItem(); dicomAttribute.Values = new[] {dicomSequenceItem}; var sequenceType = new PetDetectorMotionDetailsSequenceItem(dicomSequenceItem); return sequenceType; } return new PetDetectorMotionDetailsSequenceItem(((DicomSequenceItem[]) dicomAttribute.Values)[0]); }