sunpeek.core_methods.dcam_lite_collective.dcam.convert_parameters.LocalComponentParam#

class sunpeek.core_methods.dcam_lite_collective.dcam.convert_parameters.LocalComponentParam(compatible_unit, min_value, max_value)#

Bases: object

This class allows setting class parameters as LocalComponentParam and have unit, min and max checked on set. The implementation is inspired by ComponentParam class, but is a bit stripped down in functionality and also a bit simpler because it does not affect / is not intended for objects that are stored in the database.

Methods

__init__(compatible_unit, min_value, max_value)