Exemple #1
0
 protected virtual void OnRawBatteryAndThermometerDataRead(RawBatteryAndThermometerData e)
 {
     if (RawBatteryAndThermometerDataRead != null)
     {
         RawBatteryAndThermometerDataRead(this, e);
     }
 }
Exemple #2
0
 protected virtual void OnRawBatteryAndThermometerDataReceived(RawBatteryAndThermometerData e) { if (RawBatteryAndThermometerDataReceived != null) RawBatteryAndThermometerDataReceived(this, e); }
 /// <summary>
 /// Writes <see cref="RawBatteryAndThermometerData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawBatteryAndThermometerData">
 /// x-IMU raw battery and thermometer data.
 /// </param>
 public void WriteRawBatteryAndThermometerData(RawBatteryAndThermometerData rawBatteryAndThermometerData)
 {
     WriteCSVlineAtFileIndex(rawBatteryAndThermometerData.ConvertToCSVstring(), FileIndexes.RawBattAndTherm);
     PacketsWrittenCounter.RawBatteryAndThermometerDataPackets++;
 }
 /// <summary>
 /// Writes <see cref="RawBatteryAndThermometerData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawBatteryAndThermometerData">
 /// x-IMU raw battery and thermometer data.
 /// </param>
 public void WriteRawBatteryAndThermometerData(RawBatteryAndThermometerData rawBatteryAndThermometerData)
 {
     WriteCSVlineAtFileIndex(rawBatteryAndThermometerData.ConvertToCSVstring(), FileIndexes.RawBattAndTherm);
     PacketsWrittenCounter.RawBatteryAndThermometerDataPackets++;
 }