mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Introduced TuningViewWindow for managing tuning view windows. - Implemented BurnButtonActionListener to handle burn button actions. - Created BurnButtonDelayThread to manage delay in burn actions. - Added BurnButtonInitializer for initializing burn button components. - Developed BurnButtonMouseAdapter to manage mouse interactions on burn buttons. - Implemented BurnButtonStateListener to manage burn button state changes. - Created CrossHairActionListener for handling crosshair actions. - Added CrossHairChannelListener to manage channel value updates. - Developed CrossHairPopupListener for managing crosshair popup actions. - Implemented SettingsPanelPopupListener for handling settings panel popups. - Created SettingsPanelSelectionListener for managing selection changes in settings. - Added TablePropertiesHandler for managing table properties. - Introduced CrcCheckActionListener for CRC check actions. - Implemented TimeSlipApplyListener for applying time slip settings. - Created TimeSlipCancelListener for canceling time slip actions. - Developed TimeSlipDialog for managing time slip dialog interactions. - Added TimeSlipFieldFocusListener to manage focus events on time slip fields. - Implemented TimeSlipPanel for displaying and managing time slip data. - Created CylPressureSenderThread for sending cylinder pressure data. - Developed MultiCylPressureSenderThread for managing multiple cylinder pressure data transmissions.
80 lines
2.1 KiB
Java
80 lines
2.1 KiB
Java
package com.efiAnalytics.apps.ts.dashboard;
|
|
|
|
import G.cu;
|
|
import I.b;
|
|
|
|
class DemoAnimationThread extends Thread {
|
|
boolean a = true;
|
|
|
|
boolean b = false;
|
|
|
|
DemoAnimationThread(x paramx) {
|
|
setName("GaugeCluster Demo " + x.ai++);
|
|
setDaemon(true);
|
|
}
|
|
|
|
public void run() {
|
|
while (!this.b && (x.l(this.c) || x.m(this.c))) {
|
|
if (cu.a().g(b.a) > 0.0D) {
|
|
this.c.b(false);
|
|
x.e(this.c, false);
|
|
x.f(this.c, false);
|
|
this.c.l = null;
|
|
break;
|
|
}
|
|
s[] arrayOfS = this.c.j();
|
|
boolean bool = false;
|
|
if (x.m(this.c))
|
|
x.e(this.c, false);
|
|
for (s s : arrayOfS) {
|
|
if (this.b)
|
|
break;
|
|
if (s instanceof Gauge) {
|
|
Gauge gauge = (Gauge)s;
|
|
double d = (gauge.max() - gauge.min()) / (100.0D - 75.0D * (gauge.getValue() - gauge.min()) / (gauge.max() - gauge.min()));
|
|
if (this.a) {
|
|
if (gauge.getValue() + d < gauge.max()) {
|
|
gauge.setValue(gauge.getValue() + d);
|
|
} else {
|
|
gauge.setValue(gauge.max());
|
|
this.a = false;
|
|
bool = true;
|
|
}
|
|
} else {
|
|
double d1 = gauge.min();
|
|
if (x.m(this.c) && gauge.min() < 0.0D && gauge.max() > 0.0D)
|
|
d1 = 0.0D;
|
|
if (gauge.getValue() <= gauge.max() && gauge.getValue() - d > d1) {
|
|
gauge.setValue(gauge.getValue() - d);
|
|
bool = true;
|
|
} else if (!x.l(this.c)) {
|
|
gauge.setValue(d1);
|
|
gauge.E = d1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!bool)
|
|
if (x.l(this.c)) {
|
|
this.a = true;
|
|
} else {
|
|
x.f(this.c, false);
|
|
}
|
|
try {
|
|
Thread.currentThread();
|
|
Thread.sleep(30L);
|
|
} catch (Exception exception) {}
|
|
}
|
|
this.c.repaint();
|
|
}
|
|
|
|
private void a() {
|
|
this.b = true;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/apps/ts/dashboard/S.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |