Closedown

This commit is contained in:
boccioli_m
2015-06-09 12:01:43 +02:00
parent 343457a1cc
commit 46a3a67507
2 changed files with 10 additions and 6 deletions

View File

@@ -148,10 +148,10 @@ public class TestingList extends Panel {
jTable1.setValueAt(status, rowD, COL_SUCCESS);
jTable1.getCellEditor(rowD, COL_SUCCESS);
}
else{ //no test found in table. appen new one
/*else{ //no test found in table. appen new one
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
model.addRow(new Object[]{true, getNow(), deviceName, testName, res, status, icon });
}
}*/
}
@@ -243,12 +243,16 @@ public class TestingList extends Panel {
boolean var1 = true;
int var2 = 2;// (Integer)spinner.getValue();
int result;
String deviceName = "RS";
String testName = "Range Shifter Tests";
HashMap args = new HashMap();
args.put("relative", var1);
args.put("steps", var2);
args.put("deviceName",deviceName);
args.put("testName",testName);
run("power-supply", args);
showResult("RS", "Range Shifter Tests", "Test running", "Running");
//this is just to try, must be modified
showResult(deviceName, testName, "Test running", "Running");
//evalAsync("run('args', locals = {'relative':" + (var1 ? "True" :"False") + ", 'steps':" + var2 + "})");
} catch (Exception ex) {