Server: Add check_current_position parameter to config

This commit is contained in:
Arthur Golubtsov
2020-02-17 17:40:30 +03:00
parent 0da40e19e7
commit d87ea4c389
3 changed files with 7 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ class ServerQt(Server):
def load_config(self):
super().load_config()
table.ModelChecks.battery_min = self.config.checks_battery_min
table.ModelChecks.check_current_pos = self.config.checks_check_current_position
table.ModelChecks.start_pos_delta_max = self.config.checks_start_pos_delta_max
table.ModelChecks.time_delta_max = self.config.checks_time_delta_max