public LaboriousDetail(ProcessingTime onFirst, ProcessingTime onSecond, int number)
        {
            Number = number;

            OnFirst  = new Detail(onFirst.A, onFirst.B, onFirst.Distribution, Number);
            OnSecond = new Detail(onSecond.A, onSecond.B, onSecond.Distribution, Number);
        }
예제 #2
0
        public Detail(ProcessingTime time, int number)
        {
            if (number <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(number));
            }

            Time   = time;
            Number = number;
        }