mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Introduced NumericTextField class with focus and key listeners for enhanced user input handling. - Created NumericTextFieldFocusAdapter and NumericTextFieldKeyAdapter for focus and key event management. - Implemented RequiredFuelCalculatorPropertyStore for managing fuel calculation properties. - Added SettingCalibrationField and associated action listener for calibration settings. - Developed Table2DEditorPanel for 2D table editing functionality, including output channel subscription. - Introduced Table2DLabelTranslator and Table2DOutputChannelSubscriber for label translation and output channel management. - Added Table2DPropertyStore for property storage related to 2D tables. - Implemented TuningMenuBar and TuningMenuBuilder for dynamic menu creation based on tuning parameters. - Created TuningPopupMenu for context-sensitive actions in the tuning interface. - Established interfaces for text change notifications and listeners to facilitate communication between components.
69 lines
1.5 KiB
Java
69 lines
1.5 KiB
Java
package bt;
|
|
|
|
import G.R;
|
|
import G.bm;
|
|
import G.cq;
|
|
import G.cu;
|
|
import V.a;
|
|
import bH.D;
|
|
import com.efiAnalytics.ui.bN;
|
|
|
|
public class G implements cq, bP {
|
|
double a = Double.NaN;
|
|
|
|
bN b;
|
|
|
|
R c;
|
|
|
|
bm d;
|
|
|
|
an e;
|
|
|
|
public G(R paramR, bm parambm, an paraman) {
|
|
this.c = paramR;
|
|
this.d = parambm;
|
|
this.b = paraman.p;
|
|
this.e = paraman;
|
|
}
|
|
|
|
public void setCurrentOutputChannelValue(String paramString, double paramDouble) {
|
|
if (!this.e.isEnabled())
|
|
return;
|
|
if (paramString.equals(this.d.l())) {
|
|
this.b.f(paramDouble);
|
|
if (this.b.H() < paramDouble || System.currentTimeMillis() - this.b.J() > this.b.G())
|
|
this.b.l(paramDouble);
|
|
if (this.b.isEnabled())
|
|
this.e.n();
|
|
} else if (paramString.equals(this.d.f())) {
|
|
this.b.k(paramDouble);
|
|
if (this.b.isEnabled())
|
|
this.e.n();
|
|
}
|
|
}
|
|
|
|
public void a() {
|
|
if (this.d.l() != null)
|
|
try {
|
|
cu.a().a(this.c.c(), this.d.l(), this);
|
|
} catch (a a) {
|
|
D.a("Unable to subscribe x or y axis for hightlights.", (Exception)a, this);
|
|
}
|
|
if (this.d.f() != null)
|
|
try {
|
|
cu.a().a(this.c.c(), this.d.f(), this);
|
|
} catch (a a) {
|
|
D.a("Unable to subscribe x or y axis for hightlights.", (Exception)a, this);
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
cu.a().a(this);
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/bt/G.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |