Ejemplo n.º 1
0
		internal SopInstance(Series parentSeries, InstanceXml instanceXml)
		{
			_parentSeries = parentSeries;
			_xml = instanceXml;
			_metaInfo = new DicomAttributeCollection();

			if (instanceXml.TransferSyntax != null)
			{
				string transferSyntax = instanceXml.TransferSyntax.UidString;
				if (!String.IsNullOrEmpty(transferSyntax))
					_metaInfo[DicomTags.TransferSyntaxUid].SetString(0, transferSyntax);
			}

			if (instanceXml.SopClass != null)
			{
				string sopClass = instanceXml.SopClass.Uid;
				if (!String.IsNullOrEmpty(sopClass))
					_metaInfo[DicomTags.SopClassUid].SetString(0, sopClass);
			}
		}
Ejemplo n.º 2
0
			private static string GetSpecificCharacterSet(Series series)
			{
				return series.SpecificCharacterSet;
			}
Ejemplo n.º 3
0
		internal SopInstance(Series parentSeries, InstanceXml instanceXml)
		{
			_parentSeries = parentSeries;
			_xml = instanceXml;
		}
Ejemplo n.º 4
0
 private static string GetSpecificCharacterSet(Series series)
 {
     return(series.SpecificCharacterSet);
 }