예제 #1
0
        /// <summary>
        /// copy sample data related informations
        /// </summary>
        /// <param name="src"></param>
        public void CopyDataInfo(SampleGraph src)
        {
            if (src == null)
            {
                return;
            }

            Software                  = src.Software;
            Version                   = src.Version;
            FloatSampleData           = true; // using float to store
            CollectDuration           = src.CollectDuration;
            WidthFiltered             = src.WidthFiltered;
            OverlapFiltered           = src.OverlapFiltered;
            DistanceFiltered          = src.DistanceFiltered;
            BaselineOffset            = src.BaselineOffset;
            PMTGainInVolts            = src.PMTGainInVolts;
            ShowFilteredEvents        = src.ShowFilteredEvents;
            LastSettingChangeIndex    = src.LastSettingChangeIndex;
            LastSettingChangeTime     = src.LastSettingChangeTime;
            LastSettingChangeDuration = src.LastSettingChangeDuration;
            LastSettingChangeVolume   = src.LastSettingChangeVolume;
            FcsFileName               = src.FcsFileName;
        }
예제 #2
0
 public SampleConfig()
 {
     _sampleGraph = new SampleGraph();
     _sampleData  = new SampleData();
 }