Beispiel #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);
        }
Beispiel #2
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;
        }