91 lines
2.8 KiB
Java
91 lines
2.8 KiB
Java
import java.io.IOException;
|
|
import ch.psi.pshell.epics.AreaDetector;
|
|
|
|
public class Pilatus extends AreaDetector{
|
|
|
|
public Pilatus(final String name, final String prefix){
|
|
super(name, prefix);
|
|
}
|
|
|
|
public void setPhiIncr(double value) throws IOException, InterruptedException{
|
|
writeCtrl("PhiIncr", value);
|
|
}
|
|
|
|
public double getPhiIncr() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("PhiIncr", Double.class);
|
|
}
|
|
|
|
public void setChi(double value) throws IOException, InterruptedException{
|
|
writeCtrl("Chi", value);
|
|
}
|
|
|
|
public double getChi() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("Chi", Double.class);
|
|
}
|
|
|
|
public void setOmega(double value) throws IOException, InterruptedException{
|
|
writeCtrl("Omega", value);
|
|
}
|
|
|
|
public double getOmega() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("Omega", Double.class);
|
|
}
|
|
|
|
public void setStartAngle(double value) throws IOException, InterruptedException{
|
|
writeCtrl("StartAngle", value);
|
|
}
|
|
|
|
public double getStartAngle() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("StartAngle", Double.class);
|
|
}
|
|
|
|
public void setOmegaIncr(double value) throws IOException, InterruptedException{
|
|
writeCtrl("OmegaIncr", value);
|
|
}
|
|
|
|
public double getOmegaIncr() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("OmegaIncr", Double.class);
|
|
}
|
|
|
|
public void setAngleIncr(double value) throws IOException, InterruptedException{
|
|
writeCtrl("AngleIncr", value);
|
|
}
|
|
|
|
public double getAngleIncr() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("AngleIncr", Double.class);
|
|
}
|
|
|
|
public void setKappa(double value) throws IOException, InterruptedException{
|
|
writeCtrl("Kappa", value);
|
|
}
|
|
|
|
public double getKappa() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("Kappa", Double.class);
|
|
}
|
|
|
|
public void setPhi(double value) throws IOException, InterruptedException{
|
|
writeCtrl("Phi", value);
|
|
}
|
|
|
|
public double getPhi() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("Phi", Double.class);
|
|
}
|
|
|
|
public void setFileNumber(double value) throws IOException, InterruptedException{
|
|
writeCtrl("FileNumber", value);
|
|
}
|
|
|
|
public double getFileNumber() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("FileNumber", Double.class);
|
|
}
|
|
|
|
public void setFileName(double value) throws IOException, InterruptedException{
|
|
writeCtrl("FileName", value);
|
|
}
|
|
|
|
public double getFileName() throws IOException, InterruptedException{
|
|
return (Double) readCtrl("FileName", Double.class);
|
|
}
|
|
|
|
}
|