Bump version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import ch.psi.pshell.bs.StreamCamera;
|
||||
import ch.psi.pshell.data.DataManager;
|
||||
import ch.psi.pshell.data.DataStore;
|
||||
import ch.psi.pshell.device.Device;
|
||||
import ch.psi.pshell.epics.DiscretePositioner;
|
||||
import ch.psi.pshell.epics.BinaryPositioner;
|
||||
@@ -347,18 +347,18 @@ public class ScreenPanelSLS extends Panel implements CamServerViewer.CamServerVi
|
||||
}
|
||||
}
|
||||
|
||||
public void onSavingImages(String name, String instance, DataManager dm, String pathRoot) throws IOException{
|
||||
public void onSavingImages(String name, String instance, DataStore ds, String pathRoot) throws IOException{
|
||||
if (valueScreen.isVisible() && valueScreen.isEnabled()) {
|
||||
dm.setAttribute(pathRoot, "Screen", String.valueOf(valueScreen.getLabel().getText()));
|
||||
ds.setAttribute(pathRoot, "Screen", String.valueOf(valueScreen.getLabel().getText()));
|
||||
}
|
||||
if (panelExposure.isVisible() && panelExposure.isEnabled()) {
|
||||
dm.setAttribute(pathRoot, "Exposure", String.valueOf(panelExposure.getValue()));
|
||||
ds.setAttribute(pathRoot, "Exposure", String.valueOf(panelExposure.getValue()));
|
||||
}
|
||||
if (selMirror.isVisible() && selMirror.isEnabled()) {
|
||||
dm.setAttribute(pathRoot, "Mirror", String.valueOf(selMirror.getComboBox().getSelectedItem()));
|
||||
ds.setAttribute(pathRoot, "Mirror", String.valueOf(selMirror.getComboBox().getSelectedItem()));
|
||||
}
|
||||
if (selLedPower.isVisible() && selLedPower.isEnabled()) {
|
||||
dm.setAttribute(pathRoot, "LedPower", String.valueOf(selLedPower.getComboBox().getSelectedItem()));
|
||||
ds.setAttribute(pathRoot, "LedPower", String.valueOf(selLedPower.getComboBox().getSelectedItem()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user