Example #1
0
 /// <summary>
 /// Stores a PROBE from a Program in Database.
 /// </summary>
 /// <param name="probe">A PROBE from a Specific Program.</param>
 public void Add(PROBE probe)
 {
     if (probe != null)
     {
         tablePROBE.Add(probe);
     }
 }
Example #2
0
        /// <summary>
        /// Gets the PROBE Information from the .dat File Data.
        /// </summary>
        /// <param name="dataDat">Data (.dat) from the program.</param>
        /// <returns>Returns a PROBE with the Information from Data.</returns>
        public PROBE getPROBE(Data dataDat)
        {
            //Creates PROBE and Populates it with the Data
            var probe = new PROBE();

            probe.initialize(dataDat);
            initialize(probe);
            probe.populate();
            return(probe);
        }
Example #3
0
 /// <summary>
 /// Stores a PROBE from a Program in Data.
 /// </summary>
 /// <param name="probe">A PROBE from a Specific Program.</param>
 public void Add(PROBE probe) => Add(tablePROBE, probe);
Example #4
0
        /// <summary>
        /// Gets the Phases Information from the .dat File Data.
        /// </summary>
        /// <param name="dataDat">Data (.dat) from the program.</param>
        /// <param name="sets">SETs Information from the same program.</param>
        /// <param name="previousPhases">Phases Information from previous program.</param>
        /// <param name="probe">PROBE Information from the same program.</param>
        /// <returns>Returns the Phases in the Program.</returns>
        public IEnumerable <Phase> getPhases(Data dataDat, SETS sets, ref Phases previousPhases, PROBE probe)
        {
            //Creates new Phases
            var phases = new Phases(dataDat, sets, probe, previousPhases);

            //Populates the Data from SETS, Probe, and the previous Phases
            phases.populate(phase => initialize(phase));
            //Sets phases as the previous for the next time method is invoked
            previousPhases = phases;
            return(phases);
        }