Show / Hide Table of Contents

Class DeviceConfiguration

Contains all the settings and expected values for a saved configuration.

Inheritance
System.Object
DeviceConfiguration
Implements
IDeviceConfiguration
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.DeviceConfiguration
Assembly: Phoenix.DeviceConfiguration.dll
Syntax
public class DeviceConfiguration : IDeviceConfiguration, IDisposable

Constructors

View Source

DeviceConfiguration(String)

Initializes a new instance of the DeviceConfiguration class.

Declaration
public DeviceConfiguration(string name)
Parameters
Type Name Description
System.String name

The name of this configuration.

Properties

View Source

CategoryId

Gets the command category id for this configuration.

Declaration
public int CategoryId { get; }
Property Value
Type Description
System.Int32
View Source

Interval

Gets or sets the interval that this configuration is checked at.

Declaration
public TimeSpan Interval { get; set; }
Property Value
Type Description
System.TimeSpan
View Source

Name

Gets the name of this configuration.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
View Source

Settings

Gets the collection settings for this configuration.

Declaration
public Collection<SettingValue> Settings { get; }
Property Value
Type Description
System.Collections.ObjectModel.Collection<SettingValue>

Methods

View Source

Dispose()

Disposes the class.

Declaration
public void Dispose()
View Source

Dispose(Boolean)

Disposes resources

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

if the managed resources are to be disposed or not.

View Source

GetDeviceConfigStatus(IDevice)

Gets the configuration status for the specified device.

Declaration
public DeviceConfigurationStatus GetDeviceConfigStatus(IDevice device)
Parameters
Type Name Description
IDevice device

The device to check

Returns
Type Description
DeviceConfigurationStatus

The device config status.

Implements

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