42 lines
781 B
Plaintext
42 lines
781 B
Plaintext
@startuml
|
|
|
|
class Project {
|
|
id: number
|
|
name: string
|
|
description: string
|
|
status: number
|
|
start_date: date
|
|
}
|
|
|
|
class Measurement {
|
|
id: number
|
|
project_id: number
|
|
order_id: number
|
|
timestamp: string
|
|
temperature: number
|
|
humidity: number
|
|
}
|
|
|
|
class Video {
|
|
id: number
|
|
project_id: number
|
|
name: string
|
|
measurement_ids: string
|
|
resolution: string
|
|
duration: number
|
|
status: number
|
|
}
|
|
|
|
class CameraController {
|
|
active_project_id: number
|
|
start_timelapse(id, frequency, nbimages): void
|
|
stopCamera(id): void
|
|
manualUpload(imageFile, projectId, timestamp, temperature, humidity): void
|
|
}
|
|
|
|
Project "1" *-- "n" Measurement : contient
|
|
Project "1" *-- "n" Video : contient
|
|
Measurement "n" o-- "n" Video : utilisées dans
|
|
CameraController -- Video : génère
|
|
|
|
@enduml |