Skip to content

Commit

Permalink
set default values for bms poll interval and delay and inverter send
Browse files Browse the repository at this point in the history
interval
  • Loading branch information
ai-republic committed Jan 29, 2024
1 parent 7a45bb4 commit df9bcb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified configurator/current/configurator.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df9bcb8

Please sign in to comment.