This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Deployment specific global definitions - executed after startup.groovy
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
import ch.psi.pshell.scan.ScanRecord
|
||||
import ch.psi.pshell.scan.ScanRecord
|
||||
|
||||
System.out.println("OK")
|
||||
|
||||
before_readout = { double[] pos-> println (pos) }
|
||||
|
||||
after_readout = { ScanRecord rec->println (rec) }
|
||||
after_readout = { ch.psi.pshell.scan.ScanRecord rec->println (rec) }
|
||||
|
||||
def onBeforeReadout(double[]pos){
|
||||
println (pos)
|
||||
}
|
||||
|
||||
def onAfterReadout(ScanRecord rec){
|
||||
def onAfterReadout(ch.psi.pshell.scan.ScanRecord rec){
|
||||
println (rec)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
////
|
||||
Reference in New Issue
Block a user