Updating API
This commit is contained in:
1 parent
ce0c3040a5
commit
f8f738651c
3 files changed
+3
-18
No files matched your search
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
package ch.psi.plugin;
|
||||
|
||||
import ch.psi.pshell.dev.Device;
|
||||
import ch.psi.pshell.device.Device;
|
||||
import ch.psi.utils.State;
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
package ch.psi.plugin;
|
||||
|
||||
import ch.psi.pshell.device.Device;
|
||||
import ch.psi.pshell.ui.Plugin;
|
||||
import ch.psi.utils.State;
|
||||
import ch.psi.utils.swing.SwingUtils;
|
||||
@@ -39,7 +40,7 @@ public class TestPlugin implements Plugin{
|
||||
|
||||
@Override
|
||||
public void onInitialize(int runCount){
|
||||
panel.setDevice(getDevice("motor"));
|
||||
panel.setDevice((Device)getDevice("motor"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user