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 : ObservableObjectInherits ObservableObject
Properties
Section titled “Properties”Address
Section titled “Address”string Address { get; }Its address.
CanToggle
Section titled “CanToggle”bool CanToggle { get; }The check box can be clicked.
Chosen
Section titled “Chosen”bool Chosen { get; set; }The check box: chosen by itself or through a tag (a device of a chosen tag cannot be unchosen alone).
CoveredBy
Section titled “CoveredBy”string? CoveredBy { get; internal set; }The chosen tag that includes this device (“Tag Building A”), or null.
Device
Section titled “Device”IDeviceInfo Device { get; }The device.
Guid Id { get; }Its id.
IsAvailable
Section titled “IsAvailable”bool IsAvailable { get; }It can be chosen.
IsChecked
Section titled “IsChecked”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.
UnavailableReason
Section titled “UnavailableReason”string? UnavailableReason { get; }Why the device cannot be chosen (shown greyed with this text), or null.