コード例 #1
0
 public void TriggerActor(ActorNameEnum actorName, BaseTrigger trigger)
 {
     // can only trigger an actor that is started
     if (_actorState == ActorStateEnum.ActorStarted)
     {
         if (trigger is Hl7Trigger)
         {
             Hl7Client hl7Client = GetHl7Client(actorName);
             if (hl7Client != null)
             {
                 hl7Client.TriggerClient(actorName, trigger);
             }
         }
         else
         {
             DicomClient dicomClient = GetDicomClient(actorName);
             if (dicomClient != null)
             {
                 dicomClient.TriggerClient(actorName, trigger);
             }
         }
     }
 }
コード例 #2
0
ファイル: DicomClient.cs プロジェクト: ewcasas/DVTK
 public DicomScu(DicomClient dicomClient)
     : base(false)
 {
     _dicomClient = dicomClient;
 }
コード例 #3
0
ファイル: BaseActor.cs プロジェクト: ewcasas/DVTK
 protected void AddDicomClient(DicomClient dicomClient, ActorConfig actorConfig)
 {
     int index = DicomConfigPresent(dicomClient.ActorName, actorConfig);
     if (index != -1)
     {
         dicomClient.ApplyConfig( (DicomConfig)actorConfig[index]);
         _dicomClients.Add(dicomClient.ActorName, dicomClient);
     }
 }
コード例 #4
0
ファイル: DicomClient.cs プロジェクト: top501/DVTK-1
 public DicomScu(DicomClient dicomClient) : base(false)
 {
     _dicomClient = dicomClient;
 }