Files
tustu/app/aS/AsInterfaceBravo.java
2026-01-11 20:30:56 +00:00

126 lines
5.0 KiB
Java

package aS;
import G.R;
import G.T;
import G.GInterfaceAg;
import G.AeInterfaceMikeTostring;
import G.GInterfaceCn;
import G.GComponentCq;
import G.GInterfaceDc;
import G.m;
import G.o;
import aP.ThreadedJFrameIsoptimizeddrawingenabled;
import bH.X;
import c.CInterfaceAlpha;
import com.efiAnalytics.apps.ts.dashboard.x;
import r.CInterfaceAlpha;
import s.SComponentGolf;
class AsInterfaceBravo implements GInterfaceAg, GInterfaceCn, GComponentCq {
String CInterfaceAlpha = "";
boolean b = false;
String c = null;
String d = "";
int e = 0;
x f = null;
public AsInterfaceBravo(CInterfaceAlpha parama, String paramString) {
this.CInterfaceAlpha = paramString;
}
private String CInterfaceAlpha() {
R r = T.CInterfaceAlpha().c(this.CInterfaceAlpha);
if (this.d != null && this.d.length() > 0) {
String str1 = (r != null) ? r.i() : "";
return CInterfaceAlpha(this.d, str1);
}
if (r != null && r.O().O() != null) {
GInterfaceDc GInterfaceDc = new GInterfaceDc();
m m = m.f(r.O());
o o = GInterfaceDc.CInterfaceAlpha(r, m, r.O().i() * 2);
if (o.CInterfaceAlpha() == 1) {
this.d = o.c();
return CInterfaceAlpha(this.d, r.i());
}
return c(r.i());
}
String str = (r != null) ? r.i() : "";
return c(str);
}
private String c(String paramString) {
String str = CInterfaceAlpha.CInterfaceAlpha(paramString, CInterfaceAlpha.f);
return "<html><b>You have CInterfaceAlpha settings error!</b> on " + this.CInterfaceAlpha + "<br>This means there are conflicting settings and the " + str + " does not know how to handle them <br> <br>To resolve this you need to correct your settings then powercycle the " + str + " <br>You do not need to reload firmware to fix this problem.<br><br>To see the " + str + " reported error, briefly power cycle the " + str + " now.<br> <br>If you still receive no " + str + " reported error;<br>You can get the error message by performing the following steps:<br> - Open the Mini-Terminal under the menu:<br> &nbsp;&nbsp;&nbsp;&nbsp;" + SComponentGolf.b("Communications") + "-->" + SComponentGolf.b("Mini Terminal") + "<br> - Power Cycle the " + str + ".<br><br>The condition causing the conflict will be reported in the lower text box.</html>";
}
private String CInterfaceAlpha(String paramString1, String paramString2) {
paramString1 = X.b(paramString1, "\n", "<br>");
if (CInterfaceAlpha.CInterfaceAlpha(this.SComponentGolf) == CInterfaceAlpha.CInterfaceAlpha())
return "<html><b>Protocol Error Reported</b> for " + this.CInterfaceAlpha + "<br> <br>The following error was reported during communication attempts:<br><b>" + paramString1 + "</b><br><br></html>";
String str = CInterfaceAlpha.CInterfaceAlpha(paramString2, CInterfaceAlpha.f);
return this.SComponentGolf.d ? ("<html>The following message was reported by the " + str + ":<br><br><b>" + paramString1 + "</b><br></html>") : ("<html><b>You have CInterfaceAlpha settings error!</b> on " + this.CInterfaceAlpha + "<br>This means there are conflicting settings and the " + str + " does not know how to handle them <br> <br>The following error was reported by the " + str + ":<br><b>" + paramString1 + "</b><br><br>Unless directed in the above message, you do not need to reload firmware to fix this problem.<br><br>To resolve this you need to correct this error in your settings then powercycle the " + str + " <br></html>");
}
private void b() {
this.b = true;
c c = new c(this);
c.start();
}
public void setCurrentOutputChannelValue(String paramString, double paramDouble) {
if (paramDouble != 0.0D && this.SComponentGolf.c.R()) {
this.e++;
if (this.e > 2 && !this.b && System.currentTimeMillis() - this.SComponentGolf.b > 5000L)
b();
} else if (this.b) {
this.b = false;
if (this.f != null) {
this.f.ab();
this.f = null;
}
this.d = null;
ThreadedJFrameIsoptimizeddrawingenabled.CInterfaceAlpha().b().ac();
} else {
this.e = 0;
this.d = null;
}
}
public void CInterfaceAlpha(boolean paramBoolean, int paramInt, String paramString, int[] paramArrayOfint1, int[] paramArrayOfint2) {
this.d = paramString;
if (paramBoolean && !this.b) {
CInterfaceAlpha.CInterfaceAlpha(this.SComponentGolf, CInterfaceAlpha.CInterfaceAlpha());
b();
}
}
public void b(String paramString) {
this.d = paramString;
if (!this.b) {
CInterfaceAlpha.CInterfaceAlpha(this.SComponentGolf, CInterfaceAlpha.b());
b();
}
}
public boolean CInterfaceAlpha(String paramString, AeInterfaceMikeTostring parambT) {
return true;
}
public void CInterfaceAlpha(String paramString) {
ThreadedJFrameIsoptimizeddrawingenabled.CInterfaceAlpha().b().ac();
this.b = false;
this.d = null;
this.e = 0;
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/aS/b.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/