Esempio n. 1
0
        private void InitTargetTime(WorkTime workTime, double radius)
        {
            var rect = new Rect(TargetTimeRotation, rectangleTargetTime);
            rect.Update(workTime.TargetTime);
            rect.Visibility = false;

            _targetTimeArc = InitArc(targetTimePath, targetTimeStartOnCircle, targetTimeArc, workTime.StartTime, workTime.TargetTime, radius, true, _config.TargetTimeColor);
        }
Esempio n. 2
0
 private void InitStartTime(WorkTime workTime)
 {
     var rect = new Rect(StartTimeRotation, rectangleStartTime);
     rect.Update(workTime.StartTime);
     rect.Visibility = false;
 }