"Refactor calendar blueprint and test printer creation"
This commit is contained in:
@@ -19,47 +19,54 @@ def create_test_printers():
|
||||
# Test-Drucker Daten
|
||||
test_printers = [
|
||||
{
|
||||
'name': 'Ultimaker S3 #01',
|
||||
'model': 'Ultimaker S3',
|
||||
'location': 'Produktionshalle A',
|
||||
'plug_ip': '192.168.1.100',
|
||||
'name': 'Mercedes-Benz FDM Pro #01',
|
||||
'model': 'Ultimaker S5 Pro',
|
||||
'location': 'Werkhalle Sindelfingen',
|
||||
'plug_ip': '192.168.10.101',
|
||||
'status': 'available',
|
||||
'active': True
|
||||
},
|
||||
{
|
||||
'name': 'Prusa MK3S+ #02',
|
||||
'name': 'Mercedes-Benz FDM #02',
|
||||
'model': 'Prusa MK3S+',
|
||||
'location': 'Produktionshalle B',
|
||||
'plug_ip': '192.168.1.101',
|
||||
'status': 'offline',
|
||||
'location': 'Entwicklungszentrum Stuttgart',
|
||||
'plug_ip': '192.168.10.102',
|
||||
'status': 'printing',
|
||||
'active': True
|
||||
},
|
||||
{
|
||||
'name': 'Bambu Lab X1 #03',
|
||||
'model': 'Bambu Lab X1 Carbon',
|
||||
'location': 'Labor R&D',
|
||||
'plug_ip': '192.168.1.102',
|
||||
'name': 'Mercedes-Benz SLA #01',
|
||||
'model': 'Formlabs Form 3+',
|
||||
'location': 'Prototypenlabor',
|
||||
'plug_ip': '192.168.10.103',
|
||||
'status': 'available',
|
||||
'active': True
|
||||
},
|
||||
{
|
||||
'name': 'Formlabs Form 3 #04',
|
||||
'model': 'Formlabs Form 3',
|
||||
'location': 'Prototyping Lab',
|
||||
'plug_ip': '192.168.1.103',
|
||||
'name': 'Mercedes-Benz Industrial #01',
|
||||
'model': 'Stratasys F370',
|
||||
'location': 'Industriehalle Bremen',
|
||||
'plug_ip': '192.168.10.104',
|
||||
'status': 'maintenance',
|
||||
'active': False
|
||||
},
|
||||
{
|
||||
'name': 'Ender 3 V2 #05',
|
||||
'model': 'Creality Ender 3 V2',
|
||||
'location': 'Testbereich',
|
||||
'plug_ip': '192.168.1.104',
|
||||
'name': 'Mercedes-Benz Rapid #01',
|
||||
'model': 'Bambu Lab X1 Carbon',
|
||||
'location': 'Designabteilung',
|
||||
'plug_ip': '192.168.10.105',
|
||||
'status': 'offline',
|
||||
'active': True
|
||||
},
|
||||
{
|
||||
'name': 'Mercedes-Benz SLS #01',
|
||||
'model': 'HP Jet Fusion 5200',
|
||||
'location': 'Produktionszentrum Berlin',
|
||||
'plug_ip': '192.168.10.106',
|
||||
'status': 'available',
|
||||
'active': True
|
||||
}
|
||||
]
|
||||
|
||||
try:
|
||||
created_count = 0
|
||||
for printer_data in test_printers:
|
||||
|
||||
Reference in New Issue
Block a user