Go to file
Miguel aa75a46d84 Enhance disk usage retrieval with multiple fallbacks for Windows compatibility
- Implemented a new method `_get_disk_usage_safe` in `PLCDataStreamer` to safely retrieve disk usage information using `psutil` and `shutil` with fallbacks for different scenarios.
- Updated the disk usage calculation logic to handle potential errors and log warnings when disk usage retrieval fails.
- Modified the `system_state.json` to reorder active datasets and add a new `plotjuggler_path` entry.
- Added a comprehensive test script `test_disk_space.py` to validate the disk space calculation functionality via the API.
2025-08-22 16:04:39 +02:00
.cursor/rules Actualización de eventos en application_events.json para mejorar la gestión de sesiones de plot y el sistema de streaming. Se ajustaron las fechas de última actualización en varios archivos de configuración, incluyendo plc_datasets.json, plot_sessions.json, system_state.json y estilos CSS. Se realizaron mejoras en la interfaz de usuario en index.html y se optimizó el código en plotting.js para un mejor rendimiento y claridad en la gestión de datos de streaming. 2025-08-04 00:55:52 +02:00
.doc feat: Agregar registro detallado de eventos de aplicación y mejorar la carga de datos históricos desde archivos CSV 2025-08-15 00:21:41 +02:00
.examples feat: Add symbol loading functionality from ASC files 2025-08-14 16:53:31 +02:00
.github Refactor dataset and plot management to support new array format 2025-08-14 11:16:52 +02:00
.images Implementadas mejoras significativas en el sistema de streaming y grabación de CSV. Se añadió un control independiente para la grabación de CSV, permitiendo la organización automática de archivos por hora. Se implementó un sistema de persistencia del estado del sistema y recuperación automática, mejorando la fiabilidad en entornos industriales. Además, se integró el logo de SIDEL en la interfaz y se realizaron ajustes en el diseño para una mejor experiencia de usuario. 2025-07-17 14:32:45 +02:00
.tests Refactor: Remove legacy code and tests, update system state configuration 2025-08-22 12:42:42 +02:00
.vscode Primera version RJSF limpia 2025-08-13 15:45:29 +02:00
config feat: Implement dataset-specific optimization configuration 2025-08-20 00:28:07 +02:00
core Enhance disk usage retrieval with multiple fallbacks for Windows compatibility 2025-08-22 16:04:39 +02:00
frontend feat: Enhance DataStreamer with critical validation and performance monitoring improvements 2025-08-17 13:01:36 +02:00
utils Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
.cursorignore Update system state configuration, add cursor ignore file, and implement PlotRealtimeViewer component for real-time plot management 2025-08-13 15:15:25 +02:00
.gitignore Preparacion de PyInstaller 2025-08-17 23:53:58 +02:00
application_events.json Enhance disk usage retrieval with multiple fallbacks for Windows compatibility 2025-08-22 16:04:39 +02:00
backend_manager.status Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
backmanager.py Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
backmanager.spec feat: Implement Backend Manager for PLC S7-315 Streamer Watchdog Service 2025-08-22 14:55:10 +02:00
backmanager_config.json feat: Implement Backend Manager for PLC S7-315 Streamer Watchdog Service 2025-08-22 14:55:10 +02:00
build_all.bat feat: Implement Backend Manager for PLC S7-315 Streamer Watchdog Service 2025-08-22 14:55:10 +02:00
help.md Refactor: Remove legacy code and tests, update system state configuration 2025-08-22 12:42:42 +02:00
i18n.js feat: Add console logs display and export functionality 2025-08-16 23:55:27 +02:00
main copy.spec Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
main.py Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
main.spec Update backend manager and instance management logic 2025-08-22 15:29:28 +02:00
readme.md feat: Refactor state file path handling and update application events in JSON 2025-08-22 12:07:14 +02:00
requirements.txt Preparacion de PyInstaller 2025-08-17 23:53:58 +02:00
snap7.dll Preparacion de PyInstaller 2025-08-17 23:53:58 +02:00
system_state.json Enhance disk usage retrieval with multiple fallbacks for Windows compatibility 2025-08-22 16:04:39 +02:00
test_disk_space.py Enhance disk usage retrieval with multiple fallbacks for Windows compatibility 2025-08-22 16:04:39 +02:00
translation.json feat: Add console logs display and export functionality 2025-08-16 23:55:27 +02:00

readme.md

Métodos de Construcción

# 1. Compilar frontend
cd frontend && npm run build && cd ..

# 2. Limpiar builds anteriores
rmdir /s /q build dist

# 3. Ejecutar PyInstaller
conda activate snap7v12; pyinstaller main.spec --clean