Exemple #1
0
 protected virtual void OnRawADXL345busDataRead(RawADXL345busData e)
 {
     if (RawADXL345busDataRead != null)
     {
         RawADXL345busDataRead(this, e);
     }
 }
Exemple #2
0
 protected virtual void OnRawADXL345busDataReceived(RawADXL345busData e) { if (RawADXL345busDataReceived != null) RawADXL345busDataReceived(this, e); }
 /// <summary>
 /// Writes <see cref="RawADXL345busData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawADXL345busData">
 /// Raw ADXL345 bus data.
 /// </param>
 public void WriteRawADXL345busData(RawADXL345busData rawADXL345busData)
 {
     WriteCSVlineAtFileIndex(rawADXL345busData.ConvertToCSVstring(), FileIndexes.RawADXL345bus);
     PacketsWrittenCounter.RawADXL345busDataPackets++;
 }
 /// <summary>
 /// Writes <see cref="RawADXL345busData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawADXL345busData">
 /// Raw ADXL345 bus data.
 /// </param>
 public void WriteRawADXL345busData(RawADXL345busData rawADXL345busData)
 {
     WriteCSVlineAtFileIndex(rawADXL345busData.ConvertToCSVstring(), FileIndexes.RawADXL345bus);
     PacketsWrittenCounter.RawADXL345busDataPackets++;
 }