SerialNumberManager - Global

Manages the serial numbers for discovery devices.

Use with a discovery script where you need to manage serial numbers.

SerialNumberManager - add(Number sType, Number value)

Adds the specified serial number.

Table 1. Parameters
Name Type Description
sType Number The serial number type
value Number The serial number
Table 2. Returns
Type Description
void


    

SerialNumberManager - get()

Gets the serial number.

Table 3. Parameters
Name Type Description
None
Table 4. Returns
Type Description
Number The serial number


    

SerialNumberManager - getSerialsForCIData()

Gets serial number information for CI Data, including the type, serial number, and validity.

Table 5. Parameters
Name Type Description
None
Table 6. Returns
Type Description
Array An array with the serial number information in the following order: serial number type, serial number, and validity flag.


    

SerialNumberManager - isValid(Number value)

Checks if the number is a valid serial number.

Table 7. Parameters
Name Type Description
value Number The number to check
Table 8. Returns
Type Description
Boolean True if the number is valid; otherwise, false.