Updating API
This commit is contained in:
@@ -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