// public void UpdateSD(ref Shared_Data xSD) { Calls = xSD.GetCalls(); Emergencies = xSD.GetEmergencies(); EMTs = xSD.GetEMTs(); ResponseTeams = xSD.GetResponseTeams(); Dispatches = xSD.GetDispatches(); DispatchReports = xSD.GetDispatchReports(); BaseStationRecords = xSD.GetBaseStationRecords(); Patients = xSD.GetPatients(); Managers = xSD.GetManagers(); }
// // CONSTRUCTOR public Employees_Data(ref Shared_Data xSD) { SetupOperators(xSD.GetOperators()); SetupSupervisors(xSD.GetSupervisors()); SetupEMTs(xSD.GetEMTs()); SetupManagers(xSD.GetManagers()); // TEST SUPER USER: FAKE EMPOYEE Employee fakePerson = new Employee(); fakePerson.SetName("Fake"); fakePerson.SetLast_Name("Employee"); fakePerson.SetAddress("Cupertino, California"); FakeEmpoyee = Tuple.Create(fakePerson, 666, string.Empty); // }