Skip to content

DevicePickItem

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

One device in the DevicePickerWindow: check box, address, model, and why it cannot be chosen.

public sealed class DevicePickItem : ObservableObject

Inherits ObservableObject

string Address { get; }

Its address.

bool CanToggle { get; }

The check box can be clicked.

bool Chosen { get; set; }

The check box: chosen by itself or through a tag (a device of a chosen tag cannot be unchosen alone).

string? CoveredBy { get; internal set; }

The chosen tag that includes this device (“Tag Building A”), or null.

IDeviceInfo Device { get; }

The device.

Guid Id { get; }

Its id.

bool IsAvailable { get; }

It can be chosen.

bool IsChecked { get; set; }

Chosen by itself (not through a tag).

string Model { get; }

Its model without “AXIS “.

string? Note { get; }

The text right of the model: why it cannot be chosen, or the tag that includes it.

string? UnavailableReason { get; }

Why the device cannot be chosen (shown greyed with this text), or null.