Ejemplo n.º 1
0
 protected virtual void OnRawBatteryAndThermometerDataRead(RawBatteryAndThermometerData e)
 {
     if (RawBatteryAndThermometerDataRead != null)
     {
         RawBatteryAndThermometerDataRead(this, e);
     }
 }
Ejemplo n.º 2
0
 protected virtual void OnRawBatteryAndThermometerDataReceived(RawBatteryAndThermometerData e) { if (RawBatteryAndThermometerDataReceived != null) RawBatteryAndThermometerDataReceived(this, e); }
Ejemplo n.º 3
0
 /// <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++;
 }
Ejemplo n.º 4
0
 /// <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++;
 }