| package templates.m2m.sw |
| |
| import com.inchron.realtime.root.model.Component |
| import org.eclipse.app4mc.amalthea.model.Task |
| import templates.AbstractAmaltheaInchronTransformer |
| import templates.utils.AmltCacheModel |
| |
| class TaskTransformer extends AbstractAmaltheaInchronTransformer { |
| |
| var AmltCacheModel cacheModel |
| |
| def create inchronModelFactory.createProcess createProcess(Task amltTask, Component inchronComponent) { |
| |
| cacheModel = customObjsStore.getInstance(AmltCacheModel) |
| |
| cacheModel.addAmltProcess_InchronComponent(amltTask, inchronComponent) |
| it.name = amltTask.name |
| |
| } |
| |
| } |