Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 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);
        }