protected override void WriteBackgroundElement(Epoch e, IExternalDevice ed, Epoch.EpochBackground bg)
        {
            writer.WriteStartElement(ed.Name);

            writer.WriteStartElement("backgroundMeasurement");
            WriteMeasurement(bg.Background);
            writer.WriteEndElement();

            writer.WriteStartElement("sampleRate");
            WriteMeasurement(bg.SampleRate);
            writer.WriteEndElement();

            writer.WriteEndElement();
        }
Beispiel #2
0
 protected virtual void WriteBackgroundElement(Epoch e, IExternalDevice ed, Epoch.EpochBackground bg)
 {
     Console.WriteLine("Epoch background element for device {0} for measurement {1}, samplerate {2}",
                       ed.Name, bg.Background.ToString(), bg.SampleRate.ToString());
 }