Ejemplo n.º 1
0
        public void VerifyShiftChange()
        {
            WorkShiftModel VerifyWorkShift = UnitForceMapBusiness.GetCurrentWorkShift(WorkShiftList);

            if (VerifyWorkShift.ToString() != CurrentWorkShift.ToString())
            {
                CurrentWorkShift = VerifyWorkShift;
            }

            _currentFilterTime = VerifyShiftTime();
        }
Ejemplo n.º 2
0
        public void LoadData()
        {
            string returnMessage;

            SelectedFilterType = FilterTypeEnum.ALL;

            AlertMessage = UnitForceMapBusiness.GetAlertMessage();

            UnitList         = new ObservableCollection <UnitVM>();
            WorkShiftList    = UnitForceMapBusiness.GetWorkShiftList(out returnMessage);
            CurrentWorkShift = UnitForceMapBusiness.GetCurrentWorkShift(WorkShiftList);

            CleanFilter();
            GetUnitList();
            SetRegionList();
        }