2026-03-17 13:31:18 -07:00

185 lines
4.6 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.sys.Action
* javax.baja.sys.BComponent
* javax.baja.sys.BObject
* javax.baja.sys.BValue
* javax.baja.sys.Property
* javax.baja.sys.Slot
*/
package com.tridium.program;
import com.tridium.program.BProgram;
import javax.baja.sys.Action;
import javax.baja.sys.BComponent;
import javax.baja.sys.BObject;
import javax.baja.sys.BValue;
import javax.baja.sys.Property;
import javax.baja.sys.Slot;
public class ProgramBase
implements Runnable {
BProgram program;
public final BProgram getProgram() {
return this.program;
}
public final BComponent getComponent() {
return this.program;
}
public final Slot getSlot(String string) {
return this.program.getSlot(string);
}
public final Property getProperty(String string) {
return this.program.getProperty(string);
}
public final Action getAction(String string) {
return this.program.getAction(string);
}
public BObject get(Property property) {
return this.program.get(property);
}
public boolean getBoolean(Property property) {
return this.program.getBoolean(property);
}
public int getInt(Property property) {
return this.program.getInt(property);
}
public float getFloat(Property property) {
return this.program.getFloat(property);
}
public double getDouble(Property property) {
return this.program.getDouble(property);
}
public long getLong(Property property) {
return this.program.getLong(property);
}
public String getString(Property property) {
return this.program.getString(property);
}
public BObject get(String string) {
return this.program.get(string);
}
public boolean getBoolean(String string) {
return this.program.getBoolean(this.getProperty(string));
}
public int getInt(String string) {
return this.program.getInt(this.getProperty(string));
}
public float getFloat(String string) {
return this.program.getFloat(this.getProperty(string));
}
public double getDouble(String string) {
return this.program.getDouble(this.getProperty(string));
}
public long getLong(String string) {
return this.program.getLong(this.getProperty(string));
}
public String getString(String string) {
return this.program.getString(this.getProperty(string));
}
public void set(Property property, BValue bValue) {
this.program.set(property, bValue);
}
public void setBoolean(Property property, boolean bl) {
this.program.setBoolean(property, bl);
}
public void setInt(Property property, int n) {
this.program.setInt(property, n);
}
public void setFloat(Property property, float f) {
this.program.setFloat(property, f);
}
public void setDouble(Property property, double d) {
this.program.setDouble(property, d);
}
public void setLong(Property property, long l) {
this.program.setLong(property, l);
}
public void setString(Property property, String string) {
this.program.setString(property, string);
}
public void set(String string, BValue bValue) {
this.program.set(this.getProperty(string), bValue);
}
public void setBoolean(String string, boolean bl) {
this.program.setBoolean(this.getProperty(string), bl);
}
public void setInt(String string, int n) {
this.program.setInt(this.getProperty(string), n);
}
public void setFloat(String string, float f) {
this.program.setFloat(this.getProperty(string), f);
}
public void setDouble(String string, double d) {
this.program.setDouble(this.getProperty(string), d);
}
public void setLong(String string, long l) {
this.program.setLong(this.getProperty(string), l);
}
public void setString(String string, String string2) {
this.program.setString(this.getProperty(string), string2);
}
public void run() {
System.out.println("ProgramBase.run");
}
public void print(String string) {
System.out.print(string);
System.out.flush();
}
public void println(String string) {
System.out.println(string);
}
public String toString() {
return "ProgramImpl for " + (Object)((Object)this.program);
}
public void onStart() throws Throwable {
}
public void onStop() throws Throwable {
}
public void onExecute() throws Throwable {
}
}