FactoryNewDevice
Record in Oadm.Sdk.Devices · Oadm.Sdk.dll
A managed device that needs its first password (IDeviceAutoAdd.WatchFactoryNew, SDK 0.15.0).
public sealed record FactoryNewDevice(Guid DeviceId, string Serial, string Address, bool AtSite, bool Added)Parameters
DeviceId: The device.Serial: Its serial number (MAC address, 12 hex digits).Address: Its address.AtSite: It is at a site (reached through a site node).Added: It was just added (false: a managed device turned Password not set).
Properties
Section titled “Properties”bool Added { get; init; }It was just added (false: a managed device turned Password not set).
Address
Section titled “Address”string Address { get; init; }Its address.
AtSite
Section titled “AtSite”bool AtSite { get; init; }It is at a site (reached through a site node).
DeviceId
Section titled “DeviceId”Guid DeviceId { get; init; }The device.
HadPassword
Section titled “HadPassword”bool HadPassword { get; init; }A managed device that had a password when OADM last reached it (reset to factory default since); false when it was just added or OADM does not know (it was offline since the server started).
Serial
Section titled “Serial”string Serial { get; init; }Its serial number (MAC address, 12 hex digits).