示例#1
0
        private BaseActor CreateActor(System.String actorNameString)
        {
            BaseActor     actor     = null;
            ActorNameEnum actorName = ActorNames.NameEnum(actorNameString);

            switch (actorName)
            {
            case ActorNameEnum.AdtPatientRegistration:
                actor = new AdtPatientRegistrationActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.OrderPlacer:
                actor = new OrderPlacerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.DssOrderFiller:
                actor = new DssOrderFillerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.AcquisitionModality:
                actor = new AcquisitionModalityActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.ImageManager:
                actor = new ImageManagerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.ImageArchive:
                actor = new ImageArchiveActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.PerformedProcedureStepManager:
                actor = new PpsManagerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.EvidenceCreator:
                actor = new EvidenceCreatorActor(_actorsTransactionLog);
                break;

//				case ActorNameEnum.ReportManager:
//					actor = new ReportManagerActor(_actorsTransactionLog);
//					break;
            case ActorNameEnum.PrintComposer:
                actor = new PrintComposerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.PrintServer:
                actor = new PrintServerActor(_actorsTransactionLog);
                break;

            case ActorNameEnum.Unknown:
            default:
                break;
            }

            return(actor);
        }
示例#2
0
 public RisDevice()
 {
     _actorsTransactionLog = new ActorsTransactionLog();
     _dssOrderFiller       = new DssOrderFillerActor(_actorsTransactionLog);
     _ppsManager           = new PpsManagerActor(_actorsTransactionLog);
 }
示例#3
0
文件: RisDevice.cs 项目: ewcasas/DVTK
 public RisDevice()
 {
     _actorsTransactionLog = new ActorsTransactionLog();
     _dssOrderFiller = new DssOrderFillerActor(_actorsTransactionLog);
     _ppsManager = new PpsManagerActor(_actorsTransactionLog);
 }
示例#4
0
        private BaseActor CreateActor(System.String actorNameString)
        {
            BaseActor actor = null;
            ActorNameEnum actorName = ActorNames.NameEnum(actorNameString);
            switch(actorName)
            {
                case ActorNameEnum.AdtPatientRegistration:
                    actor = new AdtPatientRegistrationActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.OrderPlacer:
                    actor = new OrderPlacerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.DssOrderFiller:
                    actor = new DssOrderFillerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.AcquisitionModality:
                    actor = new AcquisitionModalityActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.ImageManager:
                    actor = new ImageManagerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.ImageArchive:
                    actor = new ImageArchiveActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.PerformedProcedureStepManager:
                    actor = new PpsManagerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.EvidenceCreator:
                    actor = new EvidenceCreatorActor(_actorsTransactionLog);
                    break;
            //				case ActorNameEnum.ReportManager:
            //					actor = new ReportManagerActor(_actorsTransactionLog);
            //					break;
                case ActorNameEnum.PrintComposer:
                    actor = new PrintComposerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.PrintServer:
                    actor = new PrintServerActor(_actorsTransactionLog);
                    break;
                case ActorNameEnum.Unknown:
                default:
                    break;
            }

            return actor;
        }