V2
This commit is contained in:
@@ -275,7 +275,7 @@ public class SmartMagnetPanel extends DevicePanel {
|
||||
|
||||
private void buttonSupressOnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSupressOnActionPerformed
|
||||
try {
|
||||
Context.getInterpreter().evalLineBackground("smart_magnet.set_supress(True)");
|
||||
Context.getSequencer().evalLineBackground("smart_magnet.set_supress(True)");
|
||||
} catch (Exception ex) {
|
||||
Logger.getLogger(SmartMagnetPanel.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
@@ -283,7 +283,7 @@ public class SmartMagnetPanel extends DevicePanel {
|
||||
|
||||
private void buttonSupressOffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSupressOffActionPerformed
|
||||
try {
|
||||
Context.getInterpreter().evalLineBackground("smart_magnet.set_supress(False)");
|
||||
Context.getSequencer().evalLineBackground("smart_magnet.set_supress(False)");
|
||||
} catch (Exception ex) {
|
||||
Logger.getLogger(SmartMagnetPanel.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user