Class DeviceStatusChecker
Responsible to check the status of devices based on a timer.
Inheritance
System.Object
DeviceStatusChecker
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public class DeviceStatusChecker : IDisposable
Constructors
View SourceDeviceStatusChecker(IDeviceStatus, Nullable<ILogger<DeviceStatusChecker>>)
Initializes a new instance of the DeviceStatusChecker class.
Declaration
public DeviceStatusChecker(IDeviceStatus deviceStatus, ILogger<DeviceStatusChecker>? logger = null)
Parameters
Type | Name | Description |
---|---|---|
IDeviceStatus | deviceStatus | Interface to check and set device status. |
System.Nullable<ILogger<DeviceStatusChecker>> | logger | A logger used to log exceptions when checking the status of a device. |
Methods
View SourceDispose()
Declaration
public void Dispose()
Start()
Declaration
public void Start()
Implements
System.IDisposable