diff --git a/configurator/current/configurator.jar b/configurator/current/configurator.jar index 9858a093..9476bb1f 100644 Binary files a/configurator/current/configurator.jar and b/configurator/current/configurator.jar differ diff --git a/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/BMSDialog.java b/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/BMSDialog.java index e8ef5aeb..4fa43680 100644 --- a/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/BMSDialog.java +++ b/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/BMSDialog.java @@ -105,7 +105,7 @@ public BMSDialog(final JFrame owner) { gbc_bmsPollIntervalLabel.gridy = 2; bmsPanel.add(bmsPollIntervalLabel, gbc_bmsPollIntervalLabel); - pollIntervalField = new JTextField(); + pollIntervalField = new JTextField("1"); pollIntervalField.setToolTipText("Time in seconds to read data from the BMSes"); pollIntervalField.setColumns(10); final GridBagConstraints gbc_bmsPollInvervalField = new GridBagConstraints(); @@ -124,7 +124,7 @@ public BMSDialog(final JFrame owner) { gbc_delayAfterNoBytesLabel.gridy = 3; bmsPanel.add(delayAfterNoBytesLabel, gbc_delayAfterNoBytesLabel); - delayAfterNoBytesField = new JTextField(); + delayAfterNoBytesField = new JTextField("200"); final GridBagConstraints gbc_delayAfterNoBytesField = new GridBagConstraints(); gbc_delayAfterNoBytesField.insets = new Insets(0, 0, 5, 0); gbc_delayAfterNoBytesField.fill = GridBagConstraints.HORIZONTAL; diff --git a/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/InverterPanel.java b/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/InverterPanel.java index 51c7127c..38589b5d 100644 --- a/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/InverterPanel.java +++ b/configurator/src/main/java/com/airepublic/bmstoinverter/configurator/InverterPanel.java @@ -73,7 +73,7 @@ public InverterPanel() { gbc_inverterSendIntervalLabel.gridy = 2; add(inverterSendIntervalLabel, gbc_inverterSendIntervalLabel); - inverterSendIntervalField = new JTextField(); + inverterSendIntervalField = new JTextField("1"); inverterSendIntervalField.setToolTipText("Time in seconds to send data to the inverter"); inverterSendIntervalField.setColumns(10); inverterSendIntervalField.setInputVerifier(numberInputVerifier);