Class SelfTestResult
Represents the result of a self-test, containing various checks and problem indicators.
public class SelfTestResult
- Inheritance
-
SelfTestResult
- Inherited Members
Constructors
SelfTestResult(int)
Initializes a new instance of the SelfTestResult class.
public SelfTestResult(int result)
Parameters
result
intThe result of the self-test.
Properties
Result
Gets or sets the integer result of the self-test.
public int Result { get; set; }
Property Value
Methods
HasProblemWithCommunication()
Checks if there is a problem with the communication.
public bool HasProblemWithCommunication()
Returns
HasProblems()
Determines whether there are any problems in the self-test.
public bool HasProblems()
Returns
- bool
True if there are problems; otherwise, false.
ToJson()
Converts the self-test result to a JSON representation.
public JsonNode ToJson()
Returns
- JsonNode
A JsonNode representing the self-test result.