/// <summary>
 /// Photons the data received.
 /// </summary>
 /// <param name="data">The data.</param>
 private void PhotonDataReceived(PhotonData data)
 {
     if (DataReceived != null)
     {
         DataReceived(data);
     }
 }
Esempio n. 2
0
 private static void ManagerDataReceived(PhotonData data)
 {
     StringBuilder message = new StringBuilder();
     data.ListMaxSonarSensor.ToList().ForEach(d =>
     {
         message.Append(((d/6.4) * 25.4).ToString("F")).Append(";");
     });
     message.Append(data.Photon);
     _fileWriter.WriteLine(message);
 }
Esempio n. 3
0
 /// <summary>
 /// Photons the data received.
 /// </summary>
 /// <param name="data">The data.</param>
 private void PhotonDataReceived(PhotonData data)
 {
     if (DataReceived != null)
     {
         DataReceived(data);
     }
 }