Пример #1
0
        public RevisionUpdater(AddInId addInId, Guid updaterGuid, SheetManagerConfiguration config)
        {
            m_appId         = addInId;
            m_updaterId     = new UpdaterId(m_appId, updaterGuid);
            linkedProjectId = config.ModelId;
            configuration   = config;

            dataManager = new UpdaterDataManager(configuration.DatabaseFile);
            CollectRevisionParamIds();
        }
Пример #2
0
        public SheetUpdater(AddInId addInId, Guid updaterGuid, SheetManagerConfiguration config)
        {
            m_appId         = addInId;
            m_updaterId     = new UpdaterId(m_appId, updaterGuid);
            linkedProjectId = config.ModelId;
            configuration   = config;

            dataManager        = new UpdaterDataManager(configuration.DatabaseFile);
            rvtSheetParameters = dataManager.GetSheetParameters();

            //update project id
            CollectSheetParamIds();
        }