예제 #1
0
파일: SCU.cs 프로젝트: top501/DVTK-1
        public override void ProcessTrigger(Object trigger)
        {
            try
            {
                BeforeProcessTrigger(trigger);

                DicomMessageCollectionPresentationContexts typeCastTrigger = trigger as DicomMessageCollectionPresentationContexts;

                if (typeCastTrigger != null)
                {
                    SendAssociation(typeCastTrigger.dicomMessageCollection, (PresentationContext[])typeCastTrigger.presentationContexts.ToArray(typeof(PresentationContext)));
                }
            }
            catch
            {
            }

            finally
            {
                AfterProcessTrigger(trigger);

                CheckForNewResultsFile();
            }
        }
예제 #2
0
파일: SCU.cs 프로젝트: ewcasas/DVTK
        public void Trigger(DicomMessageCollection dicomMessageCollection, params PresentationContext[] presentationContexts)
        {
            DicomMessageCollectionPresentationContexts trigger = new DicomMessageCollectionPresentationContexts(dicomMessageCollection, presentationContexts);

            base.Trigger(trigger);
        }
예제 #3
0
파일: SCU.cs 프로젝트: top501/DVTK-1
        public void Trigger(DicomMessageCollection dicomMessageCollection, params PresentationContext[] presentationContexts)
        {
            DicomMessageCollectionPresentationContexts trigger = new DicomMessageCollectionPresentationContexts(dicomMessageCollection, presentationContexts);

            base.Trigger(trigger);
        }