コード例 #1
0
        public void SetTargetedHours(IntArrayTP hours)
        {
            if (hours == null || hours.Count != 7)
            {
                Debug.Assert(false);
                return;
            }

            for (int i = 0; i < 7; i++)
            {
                TargetedHours[i] = hours[i];
            }

            TargetedHours.Calculate();
        }
コード例 #2
0
        public void Calculate(IntArrayTP inputHours)
        {
            if (inputHours == null || inputHours.Count != 7)
            {
                Debug.Assert(false);
                return;
            }

            for (int i = 0; i < 7; i++)
            {
                PlannedHours[i] = inputHours[i];
            }

            PlannedHours.Calculate();

            Calculate();
        }
コード例 #3
0
        public void SetTargetedHours(IntArrayTP hours)
        {
            if (hours == null || hours.Count != 7)
            {
                Debug.Assert(false);
                return;
            }

            for (int i = 0; i < 7; i++)
            {
                TargetedHours[i] = hours[i];
            }

            TargetedHours.Calculate();
        }
コード例 #4
0
        public void Calculate(IntArrayTP inputHours)
        {
            if (inputHours == null || inputHours.Count != 7)
            {
                Debug.Assert(false);
                return;
            }

            for (int i = 0; i < 7; i++)
            {
                PlannedHours[i] = inputHours[i];
            }

            PlannedHours.Calculate();

            Calculate();
        }