浏览代码

images for the documentation-wiki

Edgardo Palza 8 年之前
父节点
当前提交
b96726a3e7
共有 5 个文件被更改,包括 2 次插入4 次删除
  1. 二进制
      images_doc/class_controller.png
  2. 二进制
      images_doc/class_model.png
  3. 二进制
      images_doc/class_view.png
  4. 二进制
      images_doc/package_src.png
  5. 2 4
      src/classes/HolonElement.java

二进制
images_doc/class_controller.png


二进制
images_doc/class_model.png


二进制
images_doc/class_view.png


二进制
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);
 	}