Ejemplo n.º 1
0
        public void init()
        {
            db = new pgworkDBEntities();
            workDayModule = (WorkDayModule)Core.Instance.getService(WorkDayModule.SERVICE_NAME);
            areaModule = (AreaModule)Core.Instance.getService(AreaModule.SERVICE_NAME);

            areaModule.AreaVisitEventHandler += _workAreaModule_AreaVisitEvent;
        }
Ejemplo n.º 2
0
        public void init()
        {
            db = new pgworkDBEntities();
            workDayModule = (WorkDayModule)Core.Instance.getService(WorkDayModule.SERVICE_NAME);
            workAreaModule = (WorkAreaModule)Core.Instance.getService(WorkAreaModule.SERVICE_NAME);

            workAreaModule.WorkAreaVisitEventHandler += _workShiftModule_process_WorkAreaVisitEvent;
            // TODO: start timers for initialize and deinitialize work shifts.
        }