diff --git a/plugins/DelayScan.java b/plugins/DelayScan.java index 30bca8f..932f2dd 100644 --- a/plugins/DelayScan.java +++ b/plugins/DelayScan.java @@ -95,14 +95,14 @@ public class DelayScan extends Panel { args.put("ACQTIME", (Double) spinnerAcqTime.getValue()); args.put("ENERGIES", jTextField1.getText()); args.put("RUNTYPE", comboRunType.getSelectedItem().toString()); - args.put("ROUNDS", (Integer) spinnerRounds.getValue()); + args.put("ROUNDS", (Double) spinnerRounds.getValue()); args.put("SET_OFFSETS", jCheckBox1.isSelected() ? 1 : 2); args.put("ID1", jRadioButton1.isSelected() ? 1 : 2); args.put("ID2", jRadioButton2.isSelected() ? 1 : 2); args.put("MCP_1", jCheckBox2.isSelected() ? 1 : 2); args.put("MCP_2", jCheckBox3.isSelected() ? 1 : 2); - args.put("Cam_start", jSpinner1.getValue()); - args.put("Cam_end", jSpinner2.getValue()); + args.put("Cam_start", (Double) jSpinner1.getValue()); + args.put("Cam_end", (Double) jSpinner2.getValue()); args.put("Save_array_data", jCheckBox4.isSelected() ? 1 : 2); args.put("PATH", jTextField2.getText());