Пример #1
0
        // IntegrateList takes a list of machine events and merges them into the machine event list.
        // Note: This method assumes that the methods being merged into the new list
        // are machine events only, and do not include custom events.
        private void IntegrateList(IProductionEvents source, IProductionEvents target)
        {
            if (source.Count() == 0)
            {
                return;
            }

            if (source.Count() > 1)
            {
                source.Sort();
            }

            target.CopyEventsFrom(source);
            target.Collate(_targetLists);
        }