package org.csstudio.opibuilder.converter.writer;

import org.csstudio.opibuilder.converter.model.Edm_activeLogMeterClass;

public class Opi_activeLogMeterClass extends Opi_activeMeterClass {

	public Opi_activeLogMeterClass(Context con, Edm_activeLogMeterClass r) {
		super(con, r);
		if (r.getScaleFormat().equals("Exponential")) {
			System.out.println("Adding an exp");
			new OpiBoolean(widgetContext, "log_scale", true);
		}
	}

}

@@ -424,14 +424,190 @@
 e);%0A%09%09%7D%0A
+%09%09new OpiBoolean(widgetContext, %22show_value_label%22, false);%0A%09%09new OpiBoolean(widgetContext, %22show_markers%22, false);%0A%09%09new OpiBoolean(widgetContext, %22show_minor_ticks%22, false);%0A
 %09%7D%0A%0A%7D%0A

make activeLogMeter conversion more accurate