Esempio n. 1
0
        void PassThru(Measurement m) // preserve existing measurement without re-computing it
        {
            ctrllog.TraceEvent(LogLevels.Info, 34072, "Preserve this: '" + m.MeasurementId.MeasDateTime.ToString() + ", " + m.MeasOption.PrintName() + "'");
            NC.App.Opstate.Measurement = m;
            m.AcquireState.comment += " pass-through";
            MultiplicityCountingRes mcr = (MultiplicityCountingRes)m.CountingAnalysisResults.First().Value;
            // need to get alpha beta onto the summary too.
            mcr.AB.TransferIntermediates(m.Detectors[0].AB);

            // sum per-cycle channel hits
            m.CycleSummary(false);

            ReportMangler rm = new ReportMangler(ctrllog);
            rm.GenerateReports(m);

            m.PersistFileNames();
        }