/// <summary>
 /// Basic constructor
 /// </summary>
 /// <param name="parentControlUnit">Parent waiting list control</param>
 /// <param name="waitingListSchedule">Waiting list schedule for slot booking</param>
 /// <param name="inputData">Outpatient input data</param>
 public EventOutpatientStartDispatching(ControlUnit parentControlUnit,
                                        EntityWaitingListSchedule waitingListSchedule,
                                        IInputOutpatient inputData)
     : base(EventType.Standalone, parentControlUnit)
 {
     _waitingListSchedule = waitingListSchedule;
     _inputData           = inputData;
 } // end of Event
Beispiel #2
0
 /// <summary>
 /// Basic constructor
 /// </summary>
 /// <param name="name">Name of control unit</param>
 /// <param name="parentControlUnit">Parent management control</param>
 /// <param name="parentSimulationModel">Simulation model the control unit belongs to</param>
 /// <param name="admissionsAvailable">Admission types handled by control unit</param>
 /// <param name="waitingListSchedule">Waiting list schedule responsible for booking of diagnostic assessments</param>
 /// <param name="inputData">Input data responsible for diagnostic control</param>
 public ControlUnitSpecialTreatmentModelDiagnostics(string name,
                                                    ControlUnit parentControlUnit,
                                                    SimulationModel parentSimulationModel,
                                                    SpecialServiceAdmissionTypes[] admissionsAvailable,
                                                    EntityWaitingListSchedule waitingListSchedule,
                                                    IInputSpecialFacility inputData)
     : base(name,
            parentControlUnit,
            admissionsAvailable,
            parentSimulationModel,
            waitingListSchedule,
            inputData)
 {
 } // end of ControlUnit
Beispiel #3
0
        /// <summary>
        /// Basic constructor
        /// </summary>
        /// <param name="name">String identifier of control unit</param>
        /// <param name="parentControlUnit">Parent management control unit</param>
        /// <param name="handledAdmissions">Handled special service admissions</param>
        /// <param name="parentSimulationModel">Parent simulation model</param>
        /// <param name="waitingListSchedule"></param>
        /// <param name="inputData">Special service data</param>
        public ControlUnitSpecialServiceModel(string name,
                                              ControlUnit parentControlUnit,
                                              SpecialServiceAdmissionTypes[] handledAdmissions,
                                              SimulationModel parentSimulationModel,
                                              EntityWaitingListSchedule waitingListSchedule,
                                              IInputSpecialFacility inputData)
            : base(ControlUnitType.SpecialFacilityModel,
                   name,
                   parentControlUnit,
                   parentSimulationModel,
                   inputData)
        {
            _delegateHandlingMethods.Add(typeof(RequestSpecialFacilitiyService), DefaultDelegateHandling.BookImmediateServiceRequestSpecialTreatmentModel);
            _waitintListSchedule = waitingListSchedule;

            _handledSpecialFacilitysAdmissions = handledAdmissions;

            _inputData = inputData;
        } // end of ControlUnitDiagnostics