package net.sf.cannagrower.data.event;
import net.sf.cannagrower.gui.PanelEvent;
import net.sf.cannagrower.i18n.Messages;
import net.sf.cannagrower.data.Event;
import net.sf.orexio.common.Properties;
public class EnvironmentMediumState extends Event {
static final long serialVersionUID = 1L;
public String toString() {
return toString(
getProperties().getProperty(Messages.eventMediumEc)+" / "+
getProperties().getProperty(Messages.eventMediumPh)
);
}
public PanelEvent getViewer() {
return new PanelEvent();
}
public Properties getProperties() {
if(properties==null){
if(super.getProperties()==null){return null;}
properties.setProperty(Messages.eventMediumEc, "0.8");
properties.setProperty(Messages.eventMediumPh, "6.0");
}
return properties;
}
}