diff --git a/etc/db/configuration.json b/etc/db/configuration.json new file mode 100644 index 0000000..2727981 --- /dev/null +++ b/etc/db/configuration.json @@ -0,0 +1,3 @@ +Django BASE_DIR: /home/rpi4/django-test-tube-scanner/test_tube_scanner +Django application data: /home/rpi4/django-test-tube-scanner/test_tube_scanner +[{"model": "scanner.configuration", "pk": 1, "fields": {"name": "Configuration par défaut", "author": 1, "sidebar_width": "25%", "default_grid_columns": 3, "opencv_fourcc_format": "mp4v", "opencv_video_type": "mp4", "grbl_xmax": 350.0, "grbl_ymax": 250.0, "use_rpicam": true, "webcam_device_index": 2, "image_quality": 90, "video_jpeg_quality": 90, "video_frame_rate": 5.0, "video_width_capture": 2028, "video_height_capture": 1520, "calibration_crop_radius": 500, "calibration_default_multiwell": "HG", "calibration_default_feed": 1000, "calibration_default_step": 1.0, "calibration_default_duration": 3.0, "active": true}}] diff --git a/etc/db/multiwell.json b/etc/db/multiwell.json new file mode 100644 index 0000000..a767672 --- /dev/null +++ b/etc/db/multiwell.json @@ -0,0 +1,3 @@ +Django BASE_DIR: /home/rpi4/django-test-tube-scanner/test_tube_scanner +Django application data: /home/rpi4/django-test-tube-scanner/test_tube_scanner +[{"model": "scanner.multiwell", "pk": 2, "fields": {"label": "Haut gauche", "author": 1, "position": "HG", "default": false, "cols": 6, "rows": 4, "diameter": 16.0, "row_def": "A,B,C,D", "row_order": "D,C,B,A", "order": 2, "duration": 12, "xbase": 156.45, "ybase": 12.75, "dx": 19.3, "dy": 19.3, "feed": 1000, "well_position": true, "active": true}}, {"model": "scanner.multiwell", "pk": 3, "fields": {"label": "Haut droit", "author": 1, "position": "HD", "default": true, "cols": 6, "rows": 4, "diameter": 16.0, "row_def": "A,B,C,D", "row_order": "D,C,B,A", "order": 0, "duration": 3, "xbase": 10.963, "ybase": 15.825, "dx": 19.4, "dy": 19.4, "feed": 1000, "well_position": true, "active": true}}, {"model": "scanner.multiwell", "pk": 4, "fields": {"label": "Bas gauche", "author": 1, "position": "BG", "default": false, "cols": 6, "rows": 4, "diameter": 16.0, "row_def": "A,B,C,D", "row_order": "D,C,B,A", "order": 3, "duration": 12, "xbase": 150.15, "ybase": 112.55, "dx": 19.5, "dy": 19.5, "feed": 1000, "well_position": true, "active": true}}, {"model": "scanner.multiwell", "pk": 5, "fields": {"label": "Bas droit", "author": 1, "position": "BD", "default": false, "cols": 6, "rows": 4, "diameter": 16.0, "row_def": "A,B,C,D", "row_order": "D,C,B,A", "order": 1, "duration": 12, "xbase": 10.15, "ybase": 111.05, "dx": 19.55, "dy": 19.55, "feed": 1000, "well_position": true, "active": true}}] diff --git a/etc/db/scanner_configuration.json b/etc/db/scanner_configuration.json deleted file mode 100644 index 5e67562..0000000 --- a/etc/db/scanner_configuration.json +++ /dev/null @@ -1 +0,0 @@ -[{"model": "scanner.configuration", "pk": 1, "fields": {"name": "Configuration par défaut", "author": 1, "sidebar_width": "360px", "default_grid_columns": 3, "opencv_fourcc_format": "mp4v", "opencv_video_type": "mp4", "grbl_xmax": 350.0, "grbl_ymax": 250.0, "use_rpicam": true, "webcam_device_index": 2, "image_quality": 90, "video_jpeg_quality": 90, "video_frame_rate": 5.0, "video_width_capture": 2028, "video_height_capture": 1520, "calibration_crop_radius": 512, "calibration_default_multiwell": "HG", "calibration_default_feed": 1000, "calibration_default_step": 1.0, "active": true}}] diff --git a/etc/db/scanner_multiwell.json b/etc/db/scanner_multiwell.json deleted file mode 100644 index 24886af..0000000 --- a/etc/db/scanner_multiwell.json +++ /dev/null @@ -1 +0,0 @@ -[{"model": "scanner.multiwell", "pk": 2, "fields": {"label": "Haut gauche", "position": "HG", "duration": 1, "order": 2, "xbase": 51.0, "ybase": 119.25, "cols": 6, "rows": 4, "dx": 19.55, "dy": 19.55, "feed": 1000, "active": true}}, {"model": "scanner.multiwell", "pk": 3, "fields": {"label": "Haut droit", "position": "HD", "duration": 1, "order": 0, "xbase": 36.0, "ybase": 97.25, "cols": 6, "rows": 4, "dx": 19.55, "dy": 19.55, "feed": 1000, "active": true}}, {"model": "scanner.multiwell", "pk": 4, "fields": {"label": "Bas gauche", "position": "BG", "duration": 1, "order": 3, "xbase": 36.0, "ybase": 97.25, "cols": 6, "rows": 4, "dx": 19.55, "dy": 19.55, "feed": 1000, "active": true}}, {"model": "scanner.multiwell", "pk": 5, "fields": {"label": "Bas droit", "position": "BD", "duration": 1, "order": 1, "xbase": 36.0, "ybase": 97.25, "cols": 6, "rows": 4, "dx": 19.55, "dy": 19.55, "feed": 1000, "active": true}}] diff --git a/etc/db/scanner_service.conf b/etc/db/scanner_service.conf deleted file mode 100644 index 70fde26..0000000 --- a/etc/db/scanner_service.conf +++ /dev/null @@ -1,46 +0,0 @@ -[group:test_tube] -programs=webUI,planification,services - -[program:webUI] -process_name=%(program_name)s -priority=500 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner -command= - /home/rpi4/django-test-tube-scanner/.venv/bin/daphne - -b 0.0.0.0 - -p 8000 - home.asgi:application -user=rpi4 -group=rpi4 -stopasgroup=true -stopsignal=SIGINT -autostart=true -autorestart=true -redirect_stderr=true - -[program:planification] -process_name=%(program_name)s -priority=800 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner -command=/home/rpi4/django-test-tube-scanner/.venv/bin/celery -A home beat -l info -user=rpi4 -group=rpi4 -stopasgroup=true -stopsignal=SIGINT -autostart=true -autorestart=true -redirect_stderr=true - -[program:services] -process_name=%(program_name)s -priority=900 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner -command=/home/rpi4/django-test-tube-scanner/run-workers.sh -user=rpi4 -group=rpi4 -stopasgroup=true -stopsignal=SIGINT -autostart=true -autorestart=true -redirect_stderr=true - diff --git a/etc/db/scanner_well.json b/etc/db/well.json similarity index 92% rename from etc/db/scanner_well.json rename to etc/db/well.json index 1c32ba1..ca5739c 100644 --- a/etc/db/scanner_well.json +++ b/etc/db/well.json @@ -1 +1,3 @@ +Django BASE_DIR: /home/rpi4/django-test-tube-scanner/test_tube_scanner +Django application data: /home/rpi4/django-test-tube-scanner/test_tube_scanner [{"model": "scanner.well", "pk": 1, "fields": {"author": 1, "name": "A1"}}, {"model": "scanner.well", "pk": 2, "fields": {"author": 1, "name": "A2"}}, {"model": "scanner.well", "pk": 3, "fields": {"author": 1, "name": "A3"}}, {"model": "scanner.well", "pk": 4, "fields": {"author": 1, "name": "A4"}}, {"model": "scanner.well", "pk": 5, "fields": {"author": 1, "name": "A5"}}, {"model": "scanner.well", "pk": 6, "fields": {"author": 1, "name": "A6"}}, {"model": "scanner.well", "pk": 7, "fields": {"author": 1, "name": "B1"}}, {"model": "scanner.well", "pk": 8, "fields": {"author": 1, "name": "B2"}}, {"model": "scanner.well", "pk": 9, "fields": {"author": 1, "name": "B3"}}, {"model": "scanner.well", "pk": 10, "fields": {"author": 1, "name": "B4"}}, {"model": "scanner.well", "pk": 11, "fields": {"author": 1, "name": "B5"}}, {"model": "scanner.well", "pk": 12, "fields": {"author": 1, "name": "B6"}}, {"model": "scanner.well", "pk": 13, "fields": {"author": 1, "name": "C1"}}, {"model": "scanner.well", "pk": 14, "fields": {"author": 1, "name": "C2"}}, {"model": "scanner.well", "pk": 15, "fields": {"author": 1, "name": "C3"}}, {"model": "scanner.well", "pk": 16, "fields": {"author": 1, "name": "C4"}}, {"model": "scanner.well", "pk": 17, "fields": {"author": 1, "name": "C5"}}, {"model": "scanner.well", "pk": 18, "fields": {"author": 1, "name": "C6"}}, {"model": "scanner.well", "pk": 19, "fields": {"author": 1, "name": "D1"}}, {"model": "scanner.well", "pk": 20, "fields": {"author": 1, "name": "D2"}}, {"model": "scanner.well", "pk": 21, "fields": {"author": 1, "name": "D3"}}, {"model": "scanner.well", "pk": 22, "fields": {"author": 1, "name": "D4"}}, {"model": "scanner.well", "pk": 23, "fields": {"author": 1, "name": "D5"}}, {"model": "scanner.well", "pk": 24, "fields": {"author": 1, "name": "D6"}}] diff --git a/etc/db/wellposition.json b/etc/db/wellposition.json new file mode 100644 index 0000000..f358ad4 --- /dev/null +++ b/etc/db/wellposition.json @@ -0,0 +1,2 @@ +Django BASE_DIR: /home/rpi4/django-test-tube-scanner/test_tube_scanner +Django application data: /home/rpi4/django-test-tube-scanner/test_tube_scanner