package templates.m2m.utils | |
import org.eclipse.app4mc.amalthea.model.Counter | |
class CounterUtils { | |
static def Integer getPrescalerAsInteger(Counter counter){ | |
return counter.prescaler.intValue | |
} | |
static def Integer getOffsetAsInteger(Counter counter){ | |
return counter.offset.intValue | |
} | |
} |