Show / Hide Table of Contents

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 Source

DeviceStatusChecker(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 Source

Dispose()

Declaration
public void Dispose()
View Source

Start()

Declaration
public void Start()

Implements

System.IDisposable
  • View Source
In This Article
Back to top Generated by DocFX