public void VerifyShiftChange() { WorkShiftModel VerifyWorkShift = UnitForceMapBusiness.GetCurrentWorkShift(WorkShiftList); if (VerifyWorkShift.ToString() != CurrentWorkShift.ToString()) { CurrentWorkShift = VerifyWorkShift; } _currentFilterTime = VerifyShiftTime(); }
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(); }