How horaceyang2019/project-sprayline works
Project-SprayLine combines production spraying-line data, time-series services, monitoring, recommendations, prediction, and operator interfaces. The principal workflow is sensor and batch data retrieval, time-window selection and state evaluation, followed by alerts or troubleshooting guidance and past/current/future views. The README also describes five ontology stages from sensing through adaptation. The graph emphasizes the SprayLine_3 service generation; repeated dated copies in the tree indicate parallel or historical versions. Unsampled UI and ontology internals are represented cautiously, with documented capabilities distinguished from verified calls.
Main entry points: service_orchestration_adapter.py Time orchestration · database_versionb_adapter.py Database adapter · api_server.py Service API · knowledge_ttl_from_threshold_csv.py SprayLine ontology
Components 18
Knowledge and ontology
- SprayLine ontology
SprayLine_3/scripts/knowledge_ttl_from_threshold_csv.py - TTL generation
SprayLine_3/scripts/json_to_sprayline_ttl.py - Runtime inference
SprayLine_3/scripts/infer_sprayline.py
Runtime services
- Service API
SprayLine_3/webservices/api_server.py - Time orchestration
SprayLine_3/webservices/time_series_api/src/service_orchestration_adapter.py - Integrated service
SprayLine_3/webservices/integrated_service/sprayline_integrated_service.py - Future prediction
SprayLine_3/webservices/future_service/future_service.py - Monitoring worker
SprayLine_3/webservices/monitoring_worker/monitoring_worker.py - Troubleshooting
SprayLine_3/少榆0617_B版/webservices/troubleshooting_service/troubleshooting_service.py
Data and persistence
- Database adapter
SprayLine_3/webservices/integration_adapter/database_versionb_adapter.py - Version B database
Database/versionB/db_connection.py
User interfaces
- Engineer dashboard
0630/sprayline/ui/engineer/main.py - Manager dashboard
0630/sprayline/ui/manager/server.py
Engineer workflow
- Task workflow API
final_version_1112/api/engineer_task_workflow_service.py - Task workflow store
final_version_1112/database/db_engineer_task_workflow.py
Other components
- Plant engineer
- Manager
- Line sensors
Connections 18
- Line sensors → Version B database: supply readings
- SprayLine ontology → Runtime inference: inform rules
- TTL generation → SprayLine ontology: generate TTL
SprayLine_3/pipeline.py - Plant engineer → Service API: request data
- Service API → Time orchestration: dispatch requests
- Time orchestration → Integrated service: invoke service
SprayLine_3/webservices/time_series_api/src/service_orchestration_adapter.py - Time orchestration → Future prediction: invoke prediction
SprayLine_3/webservices/time_series_api/src/service_orchestration_adapter.py - Time orchestration → Monitoring worker: invoke monitoring
SprayLine_3/webservices/time_series_api/src/service_orchestration_adapter.py - Time orchestration → Troubleshooting: invoke guidance
SprayLine_3/webservices/time_series_api/src/service_orchestration_adapter.py - Integrated service → Database adapter: query time series
SprayLine_3/webservices/integrated_service/sprayline_integrated_service.py - Monitoring worker → Database adapter: read and write
SprayLine_3/webservices/monitoring_worker/monitoring_worker.py - Future prediction → Database adapter: save predictions
SprayLine_3/webservices/future_service/future_service.py - Database adapter → Version B database: resolve database functions
SprayLine_3/webservices/integration_adapter/database_versionb_adapter.py - Plant engineer → Engineer dashboard: review trends
- Manager → Manager dashboard: review status
- Engineer dashboard → Service API: request service data
- Manager dashboard → Task workflow API: manage assignments
- Task workflow API → Task workflow store: persist workflow
final_version_1112/api/engineer_task_workflow_service.py