public MarcovitsConfig copy()
        {
            MarcovitsConfig copy = new MarcovitsConfig(pathOfDataBase, interval);

            copy.NotifyObservers           = NotifyObservers;
            copy.NumberOfPurcharedLicenses = (double[])NumberOfPurcharedLicenses.Clone();
            copy.Percents          = (double[])Percents.Clone();
            copy.UnicSoftwareNames = (string[])UnicSoftwareNames.Clone();
            return(copy);
        }
示例#2
0
        public ModelingConfig copy()
        {
            ModelingConfig copy = new ModelingConfig(pathOfDataBase, interval);

            copy.setWithKovar(withKovar);
            copy.setNumberOfStartsModeling(numberOfStartsModeling);
            copy.setRollbackReport(rollbackReport);
            copy.NotifyObservers           = NotifyObservers;
            copy.NumberOfPurcharedLicenses = (double[])NumberOfPurcharedLicenses.Clone();
            copy.Percents          = (double[])Percents.Clone();
            copy.UnicSoftwareNames = (string[])UnicSoftwareNames.Clone();

            return(copy);
        }