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.
CanExcept
Section titled “CanExcept”bool CanExcept { get; }Device group editor: “Except” is offered (a site or tag covers the device).
CanInclude
Section titled “CanInclude”bool CanInclude { get; }Device group editor: “Include” is offered (the device is excepted).
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). In the device group editor an excepted device is never chosen; ticking it by itself takes it back into the group.
CoveredBy
Section titled “CoveredBy”string? CoveredBy { get; internal set; }The chosen tag that includes this device (“Tag Building A”; the group editor also “Site Building B”, “This server”), or null.
Device
Section titled “Device”IDeviceInfo Device { get; }The device.
ExceptCommand
Section titled “ExceptCommand”IRelayCommand ExceptCommand { get; }Gets an IRelayCommand instance wrapping DevicePickItem.Except.
Guid Id { get; }Its id.
IncludeCommand
Section titled “IncludeCommand”IRelayCommand IncludeCommand { get; }Gets an IRelayCommand instance wrapping DevicePickItem.Include.
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).
IsExcepted
Section titled “IsExcepted”bool IsExcepted { get; private set; }Device group editor: the device is excepted from the group (never in it, even when a site, a tag or its own tick covers it, like on the server). Shown while a site or tag covers the device (IsLeftOut); kept also when none does now, so the device stays out when one covers it again.
IsLeftOut
Section titled “IsLeftOut”bool IsLeftOut { get; }A site or tag covers the device and it is excepted.
string Model { get; }Its model without “AXIS “.
string? Note { get; }The text right of the model: why it cannot be chosen, the tag that includes it, or that it is excepted from it.
UnavailableReason
Section titled “UnavailableReason”string? UnavailableReason { get; }Why the device cannot be chosen (shown greyed with this text), or null.