Class AutoGainResult
Represents the result of an automatic gain adjustment operation.
public class AutoGainResult
- Inheritance
-
AutoGainResult
- Inherited Members
Constructors
AutoGainResult(bool, int)
Initializes a new instance of the AutoGainResult class.
public AutoGainResult(bool found, int ledPower)
Parameters
found
boolIndicates if the gain setting was successfully found.
ledPower
intThe LED power level used.
Properties
Found
Indicates whether the optimal gain setting was found.
public bool Found { get; set; }
Property Value
LedPower
The LED power level determined during the auto-gain adjustment.
public int LedPower { get; set; }
Property Value
Methods
ToString()
Returns a string representation of the auto-gain result.
public override string ToString()
Returns
- string
A formatted string displaying the gain result.