Esempio n. 1
0
		private void IO_DataRecieved(byte[] newBytes)
		{
			//Debug.WriteLine(newBytes.Aggregate(new StringBuilder(), (sb, b)=> sb.AppendFormat("[{0}]", b)));
			var sensorResponse = new SensorStatusData(newBytes);
			sensorResponse.UpdateApplicableSensors(_sensors);
			LastDataRecieved = DateTime.Now;
		}