Exemplo n.º 1
0
        //


        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();
        }
Exemplo n.º 2
0
        //


        // 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);
            //
        }