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