Skip to content

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).
bool Added { get; init; }

It was just added (false: a managed device turned Password not set).

string Address { get; init; }

Its address.

bool AtSite { get; init; }

It is at a site (reached through a site node).

Guid DeviceId { get; init; }

The device.

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).

string Serial { get; init; }

Its serial number (MAC address, 12 hex digits).