This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user