def METHOD_NAME(self, minFreq, maxFreq, maxInterval, minInterval, zoom):
    if minFreq > 0 and minFreq <= maxFreq and minInterval > 0 and minInterval <= maxInterval and zoom > 0:
        self.scan_enabled = True
        self.min_scan_frequency = minFreq
        self.max_scan_frequency = maxFreq
        self.max_scan_interval = maxInterval
        self.min_scan_interval = minInterval
        self.scan_zoom = zoom
        self.scan_interval = maxInterval
    else:
        self.scan_enabled = False
        self.min_scan_frequency = 0
        self.max_scan_frequency = 0
        self.max_scan_interval = 0
        self.min_scan_interval = 0
        self.scan_zoom = 0
        self.scan_interval = 0