summaryrefslogtreecommitdiff
path: root/modeling/model_env.py
diff options
context:
space:
mode:
authorNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-07-11 15:46:28 +0200
committerNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-07-11 15:46:28 +0200
commite0eb227cd77550d7f34521406b8ab77017183134 (patch)
treee8956a16417414f414a768345594046ba119ea85 /modeling/model_env.py
parentdb26a0849a47773770df1e737e8faa5d9ad5d52b (diff)
progress
Diffstat (limited to 'modeling/model_env.py')
-rw-r--r--modeling/model_env.py31
1 files changed, 21 insertions, 10 deletions
diff --git a/modeling/model_env.py b/modeling/model_env.py
index 473995e..fd262c6 100644
--- a/modeling/model_env.py
+++ b/modeling/model_env.py
@@ -1,31 +1,42 @@
#!/usr/bin/env python3
-def get_env():
+def generate_environments():
envs = []
screen = {}
+ generate_variables(screen)
+ # generate_procedures(screen)
+ envs.append(screen)
+
+ return envs
+
+
+def generate_procedures(screen):
+ screen["Procedure1"] = {"text": "proc1", "position": (400, 100)}
+ screen["Procedure2"] = {"text": "proc2", "position": (400, 200)}
+ screen["Procedure3"] = {"text": "proc3", "position": (400, 300)}
+ screen["Procedure4"] = {"text": "proc4", "position": (400, 400)}
+ screen["Procedure5"] = {"text": "proc5", "position": (400, 500)}
+ screen["ProcedureOverall"] = {"text": "proc_overall", "position": (400, 500)}
+
+
+def generate_variables(screen):
# Variables
screen["Algen"] = {"text": "Algen", "position": (100, 100)}
screen["AlgenVar"] = {"text": "3", "position": (100, 200)}
screen["Mineralien"] = {"text": "Mineralien", "position": (200, 100)}
- screen["MineralienVar"] = {"text": "2", "position": (200, 200)}
+ screen["MineralienVar"] = {"text": "9", "position": (200, 200)}
screen["Gifte"] = {"text": "Gifte", "position": (300, 100)}
screen["GifteVar1"] = {"text": "3", "position": (300, 200)}
- screen["GifteVar2"] = {"text": "8", "position": (300, 300)}
- screen["GifteVar3"] = {"text": "1", "position": (300, 400)}
+ screen["GifteVar2"] = {"text": "1", "position": (300, 300)}
+ screen["GifteVar3"] = {"text": "8", "position": (300, 400)}
screen["GifteVar4"] = {"text": "6", "position": (300, 500)}
-
screen["Sandstein"] = {"text": "Sandstein", "position": (400, 100)}
screen["SandsteinVar1"] = {"text": "3", "position": (400, 200)}
screen["SandsteinVar2"] = {"text": "4", "position": (400, 300)}
screen["SandsteinVar3"] = {"text": "5", "position": (400, 400)}
screen["SandsteinVar4"] = {"text": "6", "position": (400, 500)}
-
-
- envs.append(screen)
-
- return envs