From 9a4bd325f33c5a7c40559e2fa0512db9940cfa24 Mon Sep 17 00:00:00 2001 From: jgyates Date: Tue, 27 Feb 2024 13:56:49 -0500 Subject: [PATCH] V1.19.02 --- genserv.py | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/genserv.py b/genserv.py index e922c3e2..6a096ea9 100644 --- a/genserv.py +++ b/genserv.py @@ -2400,7 +2400,7 @@ def ReadAdvancedSettingsFromFile(): 5, ProgramDefaults.ServerPort, "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "server_port", @@ -2434,7 +2434,7 @@ def ReadAdvancedSettingsFromFile(): 8, "0.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "additional_modbus_timeout", @@ -2456,7 +2456,7 @@ def ReadAdvancedSettingsFromFile(): 10, 9600, "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "serial_rate", @@ -2489,7 +2489,7 @@ def ReadAdvancedSettingsFromFile(): 13, "0.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "watchdog_addition", @@ -2581,12 +2581,12 @@ def ReadAdvancedSettingsFromFile(): "serialnumberifmissing", ] ConfigSettings["additionalrunhours"] = [ - "string", + "float", "Additional Run Hours", 37, "", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "additionalrunhours", @@ -2608,7 +2608,7 @@ def ReadAdvancedSettingsFromFile(): 39, "0.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "subtractfuel", @@ -2644,7 +2644,7 @@ def ReadAdvancedSettingsFromFile(): 46, "240", "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "nominallinevolts", @@ -2655,7 +2655,7 @@ def ReadAdvancedSettingsFromFile(): 47, "0", "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "outage_notice_delay", @@ -2666,7 +2666,7 @@ def ReadAdvancedSettingsFromFile(): 48, "0", "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "min_outage_duration", @@ -2677,7 +2677,7 @@ def ReadAdvancedSettingsFromFile(): 49, "0", "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "outage_notice_interval", @@ -2727,7 +2727,7 @@ def ReadAdvancedSettingsFromFile(): 56, "0.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "half_rate", @@ -2738,7 +2738,7 @@ def ReadAdvancedSettingsFromFile(): 57, "0.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "full_rate", @@ -2761,7 +2761,7 @@ def ReadAdvancedSettingsFromFile(): 61, "15.0", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "fuel_log_freq", @@ -2785,18 +2785,18 @@ def ReadAdvancedSettingsFromFile(): 71, "", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "currentdivider", ] ConfigSettings["currentoffset"] = [ - "string", + "float", "Current Offset", 72, "", "", - 0, + "number", GENMON_CONFIG, GENMON_SECTION, "currentoffset", @@ -2830,7 +2830,7 @@ def ReadAdvancedSettingsFromFile(): 81, "", "", - 0, + "digits", GENMON_CONFIG, GENMON_SECTION, "https_port", @@ -2852,7 +2852,7 @@ def ReadAdvancedSettingsFromFile(): 83, "0", "", - 0, + "digits", MAIL_CONFIG, MAIL_SECTION, "extend_wait",