コード例 #1
0
        internal void AddResponseRow(DICOMData dataDICOM)
        {
            Dictionary <uint, object> respRow = new Dictionary <uint, object>();

            foreach (DICOMElement elem in dataDICOM.Elements.Values)
            {
                if (elem.Tag == DICOMTags.QueryRetrieveLevel)
                {
                    //ignore!
                }
                else
                {
                    respRow[elem.Tag] = elem.Data;
                }
            }
            ResponseRows.Add(respRow);
        }
コード例 #2
0
 /// <summary>
 /// This function is for an SCP.  It adds a set of DICOMTag to object mappings to the response structure.
 /// </summary>
 /// <param name="respRow">The mapping of DICOMTag to object data that will be sent back to the SCU.</param>
 public void AddResponseRow(Dictionary <uint, object> respRow)
 {
     ResponseRows.Add(respRow);
 }