Beispiel #1
0
 /// <summary>
 /// Initializes new Basic Film Box
 /// </summary>
 /// <param name="session">Basic Film Session</param>
 /// <param name="sopInstance">SOP Instance UID</param>
 /// <param name="dataset">Dataset</param>
 public DcmFilmBox(DcmFilmSession session, DicomUID sopInstance, DcmDataset dataset)
 {
     _session     = session;
     _sopInstance = sopInstance;
     _dataset     = dataset;
     _boxes       = new List <DcmImageBox>();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes new Basic Film Box
 /// </summary>
 /// <param name="session">Basic Film Session</param>
 /// <param name="sopInstance">SOP Instance UID</param>
 public DcmFilmBox(DcmFilmSession session, DicomUID sopInstance)
 {
     _session     = session;
     _sopInstance = sopInstance;
     _dataset     = new DcmDataset(DicomTransferSyntax.ImplicitVRLittleEndian);
     _boxes       = new List <DcmImageBox>();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes new Basic Film Box
 /// </summary>
 /// <param name="session">Basic Film Session</param>
 /// <param name="sopInstance">SOP Instance UID</param>
 /// <param name="dataset">Dataset</param>
 public DcmFilmBox(DcmFilmSession session, DicomUID sopInstance, DcmDataset dataset)
 {
     _session = session;
     _sopInstance = sopInstance;
     _dataset = dataset;
     _boxes = new List<DcmImageBox>();
 }
Beispiel #4
0
 /// <summary>
 /// Initializes new Basic Film Box
 /// </summary>
 /// <param name="session">Basic Film Session</param>
 /// <param name="sopInstance">SOP Instance UID</param>
 public DcmFilmBox(DcmFilmSession session, DicomUID sopInstance)
 {
     _session = session;
     _sopInstance = sopInstance;
     _dataset = new DcmDataset(DicomTransferSyntax.ImplicitVRLittleEndian);
     _boxes = new List<DcmImageBox>();
 }
Beispiel #5
0
        private void CreateFilmSession()
        {
            DcmDataset fimSessionDataset = new DcmDataset(DicomTransferSyntax.ImplicitVRLittleEndian);

            _filmSession = new DcmFilmSession(DcmFilmSession.SOPClassUID,
                                              DicomUID.Generate(), fimSessionDataset.Clone());
            _filmSession.FilmDestination  = _filmDestination;
            _filmSession.FilmSessionLabel = _filmSessionLabel;
            _filmSession.MediumType       = _mediumType;
            _filmSession.NumberOfCopies   = _numberOfCopies;
            _filmSession.OwnerID          = _ownerID;
            _filmSession.PrintPriority    = _printPriority;

            byte pcid = Associate.FindAbstractSyntax(DicomUID.BasicGrayscalePrintManagementMetaSOPClass);

            SendNCreateRequest(pcid, NextMessageID(), DcmFilmSession.SOPClassUID, _filmSession.SOPInstanceUID, _filmSession.Dataset);
        }
Beispiel #6
0
        private void CreateFilmSession()
        {
            DcmDataset fimSessionDataset = new DcmDataset(DicomTransferSyntax.ImplicitVRLittleEndian);
            _filmSession = new DcmFilmSession(DcmFilmSession.SOPClassUID,
                                                            DicomUID.Generate(), fimSessionDataset.Clone());
            _filmSession.FilmDestination = _filmDestination;
            _filmSession.FilmSessionLabel = _filmSessionLabel;
            _filmSession.MediumType = _mediumType;
            _filmSession.NumberOfCopies = _numberOfCopies;
            _filmSession.OwnerID = _ownerID;
            _filmSession.PrintPriority = _printPriority;

            byte pcid = Associate.FindAbstractSyntax(DicomUID.BasicGrayscalePrintManagementMetaSOPClass);
            SendNCreateRequest(pcid, NextMessageID(), DcmFilmSession.SOPClassUID, _filmSession.SOPInstanceUID, _filmSession.Dataset);
        }