Added new code that is designed to perform calculations related to the requirements for Command Connectors based on camera specifications. It defines a Connector type to encapsulate the attributes of connectors, such as storage capacity and channel range.
The code includes functions to compile lists of cameras based on their megapixel ratings, calculate the total number of channels required for low and high megapixel cameras, and determine the necessary storage based on retention periods.
Additionally, it provides functionality to recommend connectors that meet specified channel and storage requirements, as well as a utility to calculate megapixels from image dimensions.
Type of change
[x] New feature (non-breaking change which adds functionality)
Command Connector Recommendations
Description
Added new code that is designed to perform calculations related to the requirements for Command Connectors based on camera specifications. It defines a Connector type to encapsulate the attributes of connectors, such as storage capacity and channel range.
The code includes functions to compile lists of cameras based on their megapixel ratings, calculate the total number of channels required for low and high megapixel cameras, and determine the necessary storage based on retention periods.
Additionally, it provides functionality to recommend connectors that meet specified channel and storage requirements, as well as a utility to calculate megapixels from image dimensions.
Type of change
How Has This Been Tested?
The two tests above failed as they are highly dependent on the functionality of stripping the manufacturer name from the data.
Checklist