Browse Source

added todo for unit convertion

Cláudio Gomes 3 years ago
parent
commit
a593920e12

+ 3 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation/src/be/uantwerpen/ansymo/semanticadaptation/generator/SemanticAdaptationCanonicalGenerator.xtend

@@ -251,6 +251,7 @@ class SemanticAdaptationCanonicalGenerator extends AbstractGenerator {
 		removeBindings(internalOutputPort2ExternalPortBindings, sa)
 		
 		
+		
 		Log.pop("Canonicalize")
 	}
 	
@@ -376,6 +377,8 @@ class SemanticAdaptationCanonicalGenerator extends AbstractGenerator {
 			throw new Exception("Only CompositeOutputFunction is supported for now.")
 		}
 		
+		// TODO: Unit conversion is done here.
+		
 		val assignment = SemanticAdaptationFactory.eINSTANCE.createAssignment()
 		assignment.lvalue = SemanticAdaptationFactory.eINSTANCE.createVariable()
 		(assignment.lvalue as Variable).owner = toPort.eContainer as FMU