コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="T:HospitalAllocation.Providers.Allocation.Memory.StaffGroups.PodMemoryStore"/> class.
 /// </summary>
 /// <param name="podName">Pod name.</param>
 /// <param name="bedCapacity">Bed capacity.</param>
 protected PodMemoryStore(TeamType teamType, int bedCapacity)
 {
     TeamType    = teamType;
     _beds       = new BedSetMemoryStore(bedCapacity);
     _consultant = new PositionMemoryStore("consultant");
     _teamLeader = new PositionMemoryStore("team_leader");
     _registrar  = new PositionMemoryStore("registrar");
     _resident   = new PositionMemoryStore("resident");
     _podCa      = new PositionMemoryStore("pod_ca");
     _caCleaner  = new PositionMemoryStore("ca_cleaner");
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="T:HospitalAllocation.Providers.Allocation.Memory.StaffGroups.SeniorTeamMemoryStore"/> class.
 /// </summary>
 public SeniorTeamMemoryStore()
 {
     _accessCoordinator = new PositionMemoryStore("access_coordinator");
     _tech                 = new PositionMemoryStore("tech");
     _mern                 = new PositionMemoryStore("mern");
     _caSupport            = new PositionMemoryStore("ca_support");
     _wardOnCallConsultant = new PositionMemoryStore("ward_consultant");
     _transportRegistrar   = new PositionMemoryStore("transport");
     _donationCoordinator  = new PositionMemoryStore("donation");
     _cnm               = new SeniorListMemoryStore();
     _cnc               = new SeniorListMemoryStore();
     _resource          = new SeniorListMemoryStore();
     _internalRegistrar = new SeniorListMemoryStore();
     _externalRegistrar = new SeniorListMemoryStore();
     _educator          = new SeniorListMemoryStore();
 }