示例#1
0
        FixtureProfiles Adopt(FixtureProfiles fixtureProfilesAnalyst, Events events)
        {
            foreach (FixtureProfile fixtureProfileAnalyst in fixtureProfilesAnalyst)
            {
                FixtureProfile fixtureProfile = this[fixtureProfileAnalyst.Name];
                if (fixtureProfile != null && !fixtureProfile.MostlyNull())
                {
                    fixtureProfile.Copy(fixtureProfile.Name, Adopt(fixtureProfileAnalyst, fixtureProfile, events));
                }
            }

            return(this);
        }
示例#2
0
        public Analysis(Events events, FixtureProfiles fixtureProfiles, Log log)
        {
            Events = events;
            if (fixtureProfiles != null)
            {
                FixtureProfiles = fixtureProfiles;
            }

            Log = log;

            if (log != null)
            {
                KeyCode = log.DataSourceFileNameWithoutExtension;
            }
        }
示例#3
0
 public AnalysisDatabase(string dataSource, Events events, Log log, FixtureProfiles fixtureProfiles) : base(events, fixtureProfiles, log)
 {
     DataSource = dataSource; KeyCode = DataSourceFileNameWithoutExtension;
 }
示例#4
0
 public Analysis(Events events, FixtureProfiles fixtureProfiles) : this(events, fixtureProfiles, null)
 {
 }
示例#5
0
        public FixtureProfiles Adopt(Analysis analysis)
        {
            FixtureProfiles fixtureProfilesAnalyst = analysis.FixtureProfiles;

            return(Adopt(fixtureProfilesAnalyst, analysis.Events));
        }