DeviceGroupChoice
Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The rules of a device group as the editor shows them: a device is in the group when “This server”, a site, a tag or its serial covers it and its serial is not excepted.
public sealed record DeviceGroupChoice(bool ThisServer, IReadOnlyList<Guid> SiteIds, IReadOnlyList<string> TagIds, IReadOnlyList<string> Serials, IReadOnlyList<string> ExceptSerials)Parameters
ThisServer: Every device without a site.SiteIds: The chosen sites.TagIds: The chosen tags by the id of their definition.Serials: Single devices by serial number.ExceptSerials: Devices never in the group, by serial number.
Properties
Section titled “Properties”static DeviceGroupChoice Empty { get; }A group without rules: no devices.
ExceptSerials
Section titled “ExceptSerials”IReadOnlyList<string> ExceptSerials { get; init; }Devices never in the group, by serial number.
IsEmpty
Section titled “IsEmpty”bool IsEmpty { get; }No site, tag or single device is chosen.
Serials
Section titled “Serials”IReadOnlyList<string> Serials { get; init; }Single devices by serial number.
SiteIds
Section titled “SiteIds”IReadOnlyList<Guid> SiteIds { get; init; }The chosen sites.
TagIds
Section titled “TagIds”IReadOnlyList<string> TagIds { get; init; }The chosen tags by the id of their definition.
ThisServer
Section titled “ThisServer”bool ThisServer { get; init; }Every device without a site.