Skip to content

DeviceLimits

Static class in Oadm.Sdk.Devices · Oadm.Sdk.dll

How many devices one OADM server manages, and the text when an add would go over it.

public static class DeviceLimits
static string ChooseRangeText(string noun)

The refusal of a request for no or too many devices: “Choose 1 to 30,000 cameras.”

Parameters

  • noun: “devices” or “cameras”.
const int MaxDevices = 30000

The most devices one server manages (30,000). Adds beyond it are refused; plugins size their runs by it.

const string TooManyDevicesText = "OADM manages at most 30,000 devices. Remove devices first, or add fewer."

The text shown when an add would take the server over DeviceLimits.MaxDevices.