This commit is contained in:
gac-iss
2023-01-17 17:18:52 +01:00
parent 64d93de6d9
commit 3eaec47c25

View File

@@ -219,14 +219,14 @@ public final class ScientaPanel extends DevicePanel {
} catch (DeviceInvalidParameterException ex){
dd.pass = null;
}
dd.low = getDevice().getLowEnergy().getValue();
dd.center = getDevice().getCenterEnergy().getValue();
dd.high = getDevice().getHighEnergy().getValue();
dd.width = getDevice().getEnergyWidth().getValue();
dd.low = ((Number)getDevice().getLowEnergy().getValue()).doubleValue();
dd.center = ((Number)getDevice().getCenterEnergy().getValue()).doubleValue();
dd.high = ((Number)getDevice().getHighEnergy().getValue()).doubleValue();
dd.width = ((Number)getDevice().getEnergyWidth().getValue()).doubleValue();
//dd.frames = getDevice().getFrames().getValue();
dd.time = getDevice().getStepTime().getValue();
dd.size = getDevice().getStepSize().getValue();
dd.slices = getDevice().getSlices().getValue();
dd.time = ((Number)getDevice().getStepTime().getValue()).doubleValue();
dd.size = ((Number)getDevice().getStepSize().getValue()).doubleValue();
dd.slices = ((Number)getDevice().getSlices().getValue()).intValue();
dd.current = getDevice().getCurrentChannel().getValue().intValue();
dd.total = getDevice().getTotalChannels().getValue().intValue();