This commit is contained in:
alexgobbo
2025-09-12 16:16:15 +02:00
parent 68c510e707
commit ba17725e75
22 changed files with 53 additions and 38 deletions

View File

@@ -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);
}