コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: jvanegmond/mlux
        private void SetCurrentValues()
        {
            // Show current brightness and color temperature
            _currentTimeNodeView.Brightness  = _timeKeeper.CurrentBrightness;
            _currentTimeNodeView.Temperature = _timeKeeper.CurrentTemperature;

            // Show time remaining on current node in TimeOfDay spot
            _currentTimeNodeView.TimeOfDay = _timeKeeper.GetRemainingUntilNextNode(DateTime.Now);
        }