Show / Hide Table of Contents

Class DeviceConfigSettingWrapper

DeviceConfigSettingWrapper is a notification object that wrappers a DeviceConfigSetting.

Inheritance
System.Object
DeviceConfigSettingWrapper
Namespace: Phoenix.DeviceConfiguration
Assembly: Phoenix.DeviceConfiguration.dll
Syntax
public class DeviceConfigSettingWrapper : BindableBase

Constructors

View Source

DeviceConfigSettingWrapper(DeviceConfigSetting, SettingValue)

Initializes a new instance of the DeviceConfigSettingWrapper class.

Declaration
public DeviceConfigSettingWrapper(DeviceConfigSetting setting, SettingValue value)
Parameters
Type Name Description
DeviceConfigSetting setting

The DeviceConfigSetting to wrap.

SettingValue value

The SettingValue to wrap.

Properties

View Source

CanCheck

Gets a value indicating whether the setting can be checked.

Declaration
public bool CanCheck { get; }
Property Value
Type Description
System.Boolean
View Source

CanFix

Gets a value indicating whether the setting can be fixed automatically.

Declaration
public bool CanFix { get; }
Property Value
Type Description
System.Boolean
View Source

CheckSettingCommand

Gets the command for checking a setting

Declaration
public DelegateCommand CheckSettingCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

CurrentValue

Gets the current value of this setting.

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

ExpectedValue

Gets or sets the expected value of this setting.

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

FixSettingCommand

Gets the command for fixing a setting

Declaration
public DelegateCommand FixSettingCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

HasMessage

Gets a value indicating whether the setting has a message or not.

Declaration
public bool HasMessage { get; }
Property Value
Type Description
System.Boolean
View Source

HasMultipleValues

Gets a value indicating whether or not multiple values were retrieved for the setting.

Declaration
public bool HasMultipleValues { get; }
Property Value
Type Description
System.Boolean
View Source

IsChecking

Gets or sets a value indicating whether or not the setting is being checked.

Declaration
public bool IsChecking { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsCorrect

Gets a value indicating whether the value is correct.

Declaration
public bool? IsCorrect { get; }
Property Value
Type Description
System.Nullable<System.Boolean>
View Source

IsFixing

Gets or sets a value indicating whether or not the setting is being fixed.

Declaration
public bool IsFixing { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsSelected

Gets or sets a value indicating whether or not the setting is selected in the window.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
System.Boolean
View Source

LastResults

Gets the last results returned from the setting.

Declaration
public List<KeyValuePair<IDevice, DeviceConfigResult>> LastResults { get; }
Property Value
Type Description
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<IDevice, DeviceConfigResult>>
View Source

LoadExpectedValueCommand

Gets the command for storing the current value in the expected value field.

Declaration
public DelegateCommand LoadExpectedValueCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

Message

Gets the message on the setting.

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

Progress

Gets or sets the state of the progress.

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

SettingName

Gets or sets the setting name.

Declaration
public string SettingName { get; set; }
Property Value
Type Description
System.String

Methods

View Source

CheckSetting()

Asynchronously checks the setting.

Declaration
public async Task CheckSetting()
Returns
Type Description
System.Threading.Tasks.Task

The task running.

View Source

FixSetting()

Asynchronously fixes the setting.

Declaration
public async Task FixSetting()
Returns
Type Description
System.Threading.Tasks.Task

The task running.

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