New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

24
plugins/CustomStopAll.java Executable file
View File

@@ -0,0 +1,24 @@
/*
* Copyright (c) 2014 Paul Scherrer Institute. All rights reserved.
*/
import ch.psi.pshell.ui.Plugin;
import ch.psi.pshell.epics.Scienta;
import java.util.logging.Level;
/**
*
*/
public class CustomStopAll implements Plugin {
//Overridable callbacks
@Override
public void onStoppedDevices() {
try{
((Scienta)getDevice("scienta")).zeroSupplies();
} catch (Exception ex){
getLogger().log(Level.WARNING, null, ex);
}
}
}