Browse Source

images for the documentation-wiki

Edgardo Palza 7 years ago
parent
commit
b96726a3e7

BIN
images_doc/class_controller.png


BIN
images_doc/class_model.png


BIN
images_doc/class_view.png


BIN
images_doc/package_src.png


+ 2 - 4
src/classes/HolonElement.java

@@ -5,9 +5,6 @@ import java.util.LinkedList;
 
 import com.google.gson.annotations.Expose;
 
-
-
-
 /**
  * The class "HolonElement" represents any possible element that can be added to
  * a CpsObject (such as TV (consumer) or any energy source/producer).
@@ -39,7 +36,7 @@ public class HolonElement {
 	@Expose
 	private Pair<String, String> saving;
 	/*
-	 * ID 
+	 * ID
 	 */
 	@Expose
 	private int id;
@@ -82,6 +79,7 @@ public class HolonElement {
 		setEnergyAt(energy);
 		setGraphPoints(new LinkedList<Point>());
 		setId(IdCounterElem.nextId());
+		System.out.println(this.getId());
 		setFlexibility(0);
 		setActiveFlex(false);
 	}