mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Created a new MANIFEST.MF file for the JAR with version 1.0. - Added gradle.properties to specify Java 21 as the JDK for Gradle builds, ensuring compatibility with current Gradle/Kotlin versions.
42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.efiAnalytics.tuningwidgets.panels;
|
|
|
|
import bH.X;
|
|
import com.efiAnalytics.ui.NumericTextField;
|
|
|
|
class InjectorFlowUnitField extends do {
|
|
boolean a = false;
|
|
|
|
InjectorFlowUnitField(RequiredFuelCalculatorDialog paraman) {}
|
|
|
|
public void a() {
|
|
if (!this.a) {
|
|
String str = getText();
|
|
try {
|
|
if (str.trim().length() > 0) {
|
|
double d = Double.parseDouble(str);
|
|
setText("" + (int)Math.round(d * 10.5D));
|
|
}
|
|
} catch (NumberFormatException numberFormatException) {}
|
|
this.a = true;
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
if (this.a) {
|
|
String str = getText();
|
|
try {
|
|
if (str.trim().length() > 0) {
|
|
double d = Double.parseDouble(str);
|
|
setText(X.b(d / 10.5D, 1));
|
|
}
|
|
} catch (NumberFormatException numberFormatException) {}
|
|
this.a = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/tuningwidgets/panels/av.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |