Browse Source

Add names to design elements of CBD

Yentl Van Tendeloo 7 years ago
parent
commit
c4a45d2fcc
1 changed files with 23 additions and 7 deletions
  1. 23 7
      models/cbd_design.mvc

+ 23 - 7
models/cbd_design.mvc

@@ -7,20 +7,36 @@ Class Block{}
 Class ICBlock{}
 
 Class ConstantBlock{
+    name = "Constant"
     value : Float {
         target_lower_cardinality = 1
         target_upper_cardinality = 1
     }
 }
 
-Class AdditionBlock{}
-Class NegatorBlock{}
-Class MultiplyBlock{}
-Class InverseBlock{}
-Class DelayBlock{}
-Class IntegratorBlock{}
-Class DerivatorBlock{}
+Class AdditionBlock{
+    name = "Addition"
+}
+Class NegatorBlock{
+    name = "Negator"
+}
+Class MultiplyBlock{
+    name = "Multiply"
+}
+Class InverseBlock{
+    name = "Inverse"
+}
+Class DelayBlock{
+    name = "Delay"
+}
+Class IntegratorBlock{
+    name = "Integrator"
+}
+Class DerivatorBlock{
+    name = "Derivator"
+}
 Class ProbeBlock{
+    name = "Probe"
     name : String {
         target_lower_cardinality = 1
         target_upper_cardinality = 1