Closedown

This commit is contained in:
gac-x04sa
2018-01-12 15:03:58 +01:00
parent 37d55aa12a
commit 4f515c44e7
2 changed files with 11 additions and 12 deletions
+6 -6
View File
@@ -79,20 +79,20 @@ public class Pilatus extends AreaDetector{
return (Double) readCtrl("Phi", Double.class);
}
public void setFileNumber(double value) throws IOException, InterruptedException{
public void setFileNumber(int value) throws IOException, InterruptedException{
writeCtrl("FileNumber", value);
}
public double getFileNumber() throws IOException, InterruptedException{
return (Double) readCtrl("FileNumber", Double.class);
public int getFileNumber() throws IOException, InterruptedException{
return (Integer) readCtrl("FileNumber", Integer.class);
}
public void setFileName(double value) throws IOException, InterruptedException{
public void setFileName(String value) throws IOException, InterruptedException{
writeCtrl("FileName", value);
}
public double getFileName() throws IOException, InterruptedException{
return (Double) readCtrl("FileName", Double.class);
public String getFileName() throws IOException, InterruptedException{
return (String) readCtrl("FileName", String.class);
}
}