Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Latrous-Projet2-NF17
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emna Latrous
Latrous-Projet2-NF17
Commits
470fd9ea
Commit
470fd9ea
authored
4 years ago
by
Emna Latrous
Browse files
Options
Downloads
Patches
Plain Diff
initial commit
parent
d868b439
No related branches found
No related tags found
1 merge request
!1
Develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
UML_trafic.plantuml
+130
-0
130 additions, 0 deletions
UML_trafic.plantuml
with
130 additions
and
0 deletions
UML_trafic.plantuml
0 → 100644
+
130
−
0
View file @
470fd9ea
@startuml
' PARAMETERS
skinparam linetype polyline
skinparam linetype ortho
title Base de données trafic V2I
package "Composant" #87CEEB {
abstract class Noeud {
+ajouter_capteur() : void
+transfér_capteur(N1:Capteur,N2:Capteur): Capteur
+supprimer_capteur():void
}
Noeud"1" *-- "0..*,1..*"Capteur
class Capteur
Class Capteur{
+ numéro_série : int
+ modéle : string
}
note top of Capteur : (numéro_série, modéle) primary key
class Infrastructure {
+id :int {unique}
}
package Composant_mobile #483D8B {
class Véhicule {
+numéro_immatriculation : integer
+marque : string
+modéle : string
+anne_production : date
+type : Type_voiture_spéciale
}
enum Type_voiture_spéciale {
ORDINAIRE
SAMU
POMPIER
POLICE
}
class Moto{
+capacité_moto : integer
}
class Camion{
+capacite_maximale : integer
}
class Voiture {
}
}
}
Noeud "1..*" - "1" Noeud
(Noeud, Noeud) .. Communication
package "Communication" #000080 {
class Communication {
+type_communication : Type_communication
}
enum Type_communication {
UN_A_UN
UN_A_PLUSIEURS
}
}
package "Evenement" #DDDDDD {
abstract class Evenement {
+timestamp :date
+id_entite : integer
+contenu {unique}
}
class accident {
+gravité : integer
+nombre_véhicule : integre
+type_véhicule[1..*] : sting
}
class alert_meteo {
+temps : string
+température : integer
}
class detection_materiel {
}
class traveau_routier {
}
}
package "localisation" #5F9EA0 {
class Position {
+longitude : float
+latitude : float
}
class Commune {
+nom : string
+code_postal : integer
}
Commune "1" --"*" Position : appartient
Infrastructure "1"--"1"Position : se trouve dans
}
Noeud <|-- Infrastructure
Noeud <|-- Véhicule
Capteur "1" -- "*" Evenement : détecte
Evenement <|-- accident
Evenement <|-- alert_meteo
Evenement <|-- detection_materiel
Evenement <|-- traveau_routier
Véhicule <|-- Voiture
Véhicule <|-- Moto
Véhicule <|-- Camion
Evenement "*" -- "1" Commune : se déroule dans
Camion "0..1"--"*" Voiture : transporte
Communication "1" *-- "1" Evenement: produit
@enduml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment