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