Add static network

This commit is contained in:
william 2022-06-07 21:06:20 -04:00
parent b5d3a3cad7
commit 8a0d743e6d
42 changed files with 89 additions and 6 deletions

View File

@ -0,0 +1,2 @@
package configuration;public class SingletonConfigurationSingleton {
}

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.BuildingState; import simulation.BuildingState;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.ComponentType; import simulation.ComponentType;
import java.util.Objects; import java.util.Objects;

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.BuildingState; import simulation.BuildingState;
import java.util.Collection; import java.util.Collection;
import java.util.Map; import java.util.Map;

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.ComponentType; import simulation.ComponentType;
import java.util.Objects; import java.util.Objects;

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.ComponentType; import simulation.ComponentType;
import java.util.Objects; import java.util.Objects;

View File

@ -1,6 +1,6 @@
package model.metadata; package model.metadata;
import model.BuildingState; import simulation.BuildingState;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;

BIN
src/ressources/E0%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

BIN
src/ressources/E100%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

BIN
src/ressources/E33%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

BIN
src/ressources/E66%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

BIN
src/ressources/UA0%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

BIN
src/ressources/UA100%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 904 B

BIN
src/ressources/UA33%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

BIN
src/ressources/UA66%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

BIN
src/ressources/UM0%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

BIN
src/ressources/UM100%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 779 B

BIN
src/ressources/UM33%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

BIN
src/ressources/UM66%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

BIN
src/ressources/UMP0%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

BIN
src/ressources/UMP100%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

BIN
src/ressources/UMP33%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

BIN
src/ressources/UMP66%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

BIN
src/ressources/UT0%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

BIN
src/ressources/UT100%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

BIN
src/ressources/UT33%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

BIN
src/ressources/UT66%.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

BIN
src/ressources/aile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/ressources/avion.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<metadonnees>
<usine type="usine-matiere">
<icones>
<icone type="vide" path="src/ressources/UMP0%.png"/>
<icone type="un-tiers" path="src/ressources/UMP33%.png"/>
<icone type="deux-tiers" path="src/ressources/UMP66%.png"/>
<icone type="plein" path="src/ressources/UMP100%.png"/>
</icones>
<sortie type = "metal"/>
<interval-production>100</interval-production>
</usine>
<usine type="usine-aile">
<icones>
<icone type="vide" path="src/ressources/UT0%.png"/>
<icone type="un-tiers" path="src/ressources/UT33%.png"/>
<icone type="deux-tiers" path="src/ressources/UT66%.png"/>
<icone type="plein" path="src/ressources/UT100%.png"/>
</icones>
<entree type="metal" quantite="2"/>
<sortie type="aile"/>
<interval-production>50</interval-production>
</usine>
<usine type="usine-moteur">
<icones>
<icone type="vide" path="src/ressources/UM0%.png"/>
<icone type="un-tiers" path="src/ressources/UM33%.png"/>
<icone type="deux-tiers" path="src/ressources/UM66%.png"/>
<icone type="plein" path="src/ressources/UM100%.png"/>
</icones>
<entree type="metal" quantite="4"/>
<sortie type="moteur"/>
<interval-production>75</interval-production>
</usine>
<usine type="usine-assemblage">
<icones>
<icone type="vide" path="src/ressources/UA0%.png"/>
<icone type="un-tiers" path="src/ressources/UA33%.png"/>
<icone type="deux-tiers" path="src/ressources/UA66%.png"/>
<icone type="plein" path="src/ressources/UA100%.png"/>
</icones>
<entree type="aile" quantite="2"/>
<entree type="moteur" quantite="4"/>
<sortie type="avion"/>
<interval-production>110</interval-production>
</usine>
<usine type="entrepot">
<icones>
<icone type="vide" path="src/ressources/E0%.png"/>
<icone type="un-tiers" path="src/ressources/E33%.png"/>
<icone type="deux-tiers" path="src/ressources/E66%.png"/>
<icone type="plein" path="src/ressources/E100%.png"/>
</icones>
<entree type="avion" capacite="5"/>
</usine>
</metadonnees>
<simulation>
<usine type="usine-matiere" id="11" x="32" y="32"/>
<usine type="usine-aile" id="21" x="320" y="32"/>
<usine type="usine-assemblage" id="41" x="160" y="192"/>
<usine type="entrepot" id="51" x="640" y="192"/>
<usine type="usine-matiere" id="13" x="544" y="576"/>
<usine type="usine-matiere" id="12" x="96" y="352"/>
<usine type="usine-moteur" id="31" x="320" y="352"/>
<chemins>
<chemin de="11" vers="21" />
<chemin de="21" vers="41" />
<chemin de="41" vers="51" />
<chemin de="12" vers="31" />
<chemin de="13" vers="31" />
<chemin de="31" vers="41" />
</chemins>
</simulation>
</configuration>

BIN
src/ressources/metal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/ressources/moteur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,2 @@
package simulation;public interface WarehouseObserver {
}

View File

@ -0,0 +1,2 @@
package simulation;public class WarehouseSubject {
}