C# 클래스 Porrey.Uwp.IoT.Calibration.AdjustedNonLinearCalibration

Allows calibration of a device using a 2nd Order Polynomial in the form y = ax² + bx + c and includes an adjustment for 0.
상속: Porrey.Uwp.IoT.Calibration.CalibratedMeasurement
파일 보기 프로젝트 열기: porrey/iot

공개 메소드들

메소드 설명
AdjustedNonLinearCalibration ( float maximum ) : System

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count and maximum reading value.

AdjustedNonLinearCalibration ( float maximum, CalibrationPoint calibrationPoints ) : System

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count, maximum reading values and calibration points.

AdjustedNonLinearCalibration ( float minimum, float maximum ) : System

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count and minimum and maximum reading values.

AdjustedNonLinearCalibration ( float minimum, float maximum, CalibrationPoint calibrationPoints ) : System

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count, minimum and maximum reading values and calibration points.

CalculateFormulaVariables ( CalibrationPoint calibrationPoints, float &a, float &b, float &c ) : void

Calculates the values a, b and c in the formula y = ax² + bx + c

보호된 메소드들

메소드 설명
OnAdjustedReading ( float x ) : float
OnCalibrationPointsChanged ( CalibrationPoint calibrationPoints ) : void

메소드 상세

AdjustedNonLinearCalibration() 공개 메소드

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count and maximum reading value.
public AdjustedNonLinearCalibration ( float maximum ) : System
maximum float The maximum adjusted reading value allowed.
리턴 System

AdjustedNonLinearCalibration() 공개 메소드

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count, maximum reading values and calibration points.
public AdjustedNonLinearCalibration ( float maximum, CalibrationPoint calibrationPoints ) : System
maximum float The maximum adjusted reading value allowed.
calibrationPoints CalibrationPoint The calibrations points used to adjust the reading.
리턴 System

AdjustedNonLinearCalibration() 공개 메소드

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count and minimum and maximum reading values.
public AdjustedNonLinearCalibration ( float minimum, float maximum ) : System
minimum float The minimum adjusted reading value allowed.
maximum float The maximum adjusted reading value allowed.
리턴 System

AdjustedNonLinearCalibration() 공개 메소드

Creates an instance of Windows.Devices.Sensors.AdjustedNonLinearCalibration with the specified point count, minimum and maximum reading values and calibration points.
public AdjustedNonLinearCalibration ( float minimum, float maximum, CalibrationPoint calibrationPoints ) : System
minimum float The minimum adjusted reading value allowed.
maximum float The maximum adjusted reading value allowed.
calibrationPoints CalibrationPoint The calibrations points used to adjust the reading.
리턴 System

CalculateFormulaVariables() 공개 메소드

Calculates the values a, b and c in the formula y = ax² + bx + c
public CalculateFormulaVariables ( CalibrationPoint calibrationPoints, float &a, float &b, float &c ) : void
calibrationPoints CalibrationPoint
a float
b float
c float
리턴 void

OnAdjustedReading() 보호된 메소드

protected OnAdjustedReading ( float x ) : float
x float
리턴 float

OnCalibrationPointsChanged() 보호된 메소드

protected OnCalibrationPointsChanged ( CalibrationPoint calibrationPoints ) : void
calibrationPoints CalibrationPoint
리턴 void