Finds the Somanet product range corresponding to a given product ID.
The function resolves the product ID (number, string, or HardwareDescription)
to a numeric ID, and then searches through somanetProductRanges to find
the range whose bounds include the ID.
Returns
The SomanetProductRange whose bounds contain the resolved ID,
or undefined if no matching range is found or the input is invalid.
Finds the Somanet product range corresponding to a given product ID.
The function resolves the product ID (number, string, or
HardwareDescription) to a numeric ID, and then searches throughsomanetProductRangesto find the range whose bounds include the ID.Returns
The
SomanetProductRangewhose bounds contain the resolved ID, orundefinedif no matching range is found or the input is invalid.