Exemple #1
0
        public void StartHomeOfficeDay(Utils.HomeOfficeDetector.HomeOfficeActivityEventArgs args)
        {
            var homeOfficeDayStart = new DateTime(args.EventTime.Year, args.EventTime.Month, args.EventTime.Day, args.EventTime.Hour, args.EventTime.Minute, 0);

            this.WorkInterruptions[0].CorrectionStartTime = homeOfficeDayStart;
            this.WorkInterruptions[0].CorrectedType       = WorkInterruption.WorkInterruptionType.PDOMA;
        }
Exemple #2
0
        private void startHomeOfficeDay(Utils.HomeOfficeDetector.HomeOfficeActivityEventArgs args)
        {
            _dayData.StartHomeOfficeDay(args);

            NotifyPropertyChanged("Interrupt0Start");
            NotifyPropertyChanged("Interrupt0End");
            NotifyPropertyChanged("Interrupt0HasCorrections");
            NotifyPropertyChanged("Interrupt0ToolTip");
            NotifyPropertyChanged("Interrupt0Type");
            NotifyPropertyChanged("Interrupt0VirtualTimeEnding");
            NotifyPropertyChanged("Duration");
            NotifyPropertyChanged("HasAutoDecrementedLunchTime");
        }