/// <summary> /// Constructor /// </summary> public SeriesSopUpdateCommand(StudyStorageLocation originalStudy, StudyStorageLocation targetStudy, UidMapper uidMapper) : base("SeriesSopUpdateCommand") { _originalStudy = originalStudy; _targetStudy = targetStudy; _uidMapper = uidMapper; }
protected void CreateOrLoadUidMappings() { // Load the mapping for the study if (_destinationStudyStorage != null) { var xml = new UidMapXml(); xml.Load(_destinationStudyStorage); UidMapper = new UidMapper(xml); } else { UidMapper = new UidMapper(); } UidMapper.SeriesMapUpdated += UidMapper_SeriesMapUpdated; }