Exemple #1
0
        public BandGsrSensorReadingChangedEventArgs(IBandGsrReading sensorReading)
        {
            if (sensorReading == null)
            {
                throw new ArgumentNullException("sensorReading");
            }

            this.SensorReading = sensorReading;
        }
Exemple #2
0
        private void Gsr_ReadingChanged(object sender, BandSensorReadingEventArgs <IBandGsrReading> e)
        {
            IBandGsrReading gsrRead = e.SensorReading;

            data.gsr = gsrRead.Resistance;
        }
Exemple #3
0
 string FormatGsr(IBandGsrReading reading) =>
 $"Resistance: {reading.Resistance:F2}";