|
@@ -15,16 +15,12 @@ public class SmartDevice {
|
|
|
* Name of the Device
|
|
|
*/
|
|
|
private String name;
|
|
|
+
|
|
|
|
|
|
* Physical connections to other SmartDevices
|
|
|
*/
|
|
|
private List<Link> links;
|
|
|
|
|
|
-
|
|
|
- * Virtual Connections to other SmartDevices
|
|
|
- */
|
|
|
-
|
|
|
-
|
|
|
|
|
|
* Ports of this device
|
|
|
*/
|
|
@@ -165,34 +161,6 @@ public class SmartDevice {
|
|
|
this.z = z;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- * Returns all connections of this device
|
|
|
- *
|
|
|
- * @return the connections of this device
|
|
|
- * /
|
|
|
- public List<Connection> getConnections() {
|
|
|
- return connections;
|
|
|
- }*/
|
|
|
-
|
|
|
-
|
|
|
- * Adds a connection to this device
|
|
|
- *
|
|
|
- * @param connections
|
|
|
- * the connection add
|
|
|
- * /
|
|
|
- public void addConnection(Connection connections) {
|
|
|
- this.connections.add(connections);
|
|
|
- }*/
|
|
|
-
|
|
|
-
|
|
|
- * Removes connection
|
|
|
- *
|
|
|
- * @param connection connection to remove
|
|
|
- * /
|
|
|
- public void removeConnection(Connection c) {
|
|
|
- this.connections.remove(c);
|
|
|
- }*/
|
|
|
-
|
|
|
|
|
|
* Simulates the next Timestep
|
|
|
*
|