C# Class UserInterface_Mockup_ICT4Reals.DataBase.CLdatabase

Inheritance: Database
Afficher le fichier Open project: marouanopen/ICT4Reals

Méthodes publiques

Méthode Description
GetAllStatus ( ) : object>>.List

gets all the statusses from the database

GetAlllogs ( ) : object>>.List

gets all logs from the database

controleMax ( ) : bool

checks if the service can be assigned, compared to the maxservices that can be done in one day

updateLog ( int tramID, System.DateTime date, int superbeurt ) : bool

update trams after cleaning

updatecleaning ( int tramID, int StatusID ) : bool

updates the cleaning part of the database

Method Details

GetAllStatus() public méthode

gets all the statusses from the database
public GetAllStatus ( ) : object>>.List
Résultat object>>.List

GetAlllogs() public méthode

gets all logs from the database
public GetAlllogs ( ) : object>>.List
Résultat object>>.List

controleMax() public méthode

checks if the service can be assigned, compared to the maxservices that can be done in one day
public controleMax ( ) : bool
Résultat bool

updateLog() public méthode

update trams after cleaning
public updateLog ( int tramID, System.DateTime date, int superbeurt ) : bool
tramID int current tram id
date System.DateTime current date
superbeurt int
Résultat bool

updatecleaning() public méthode

updates the cleaning part of the database
public updatecleaning ( int tramID, int StatusID ) : bool
tramID int tram id
StatusID int id of the status
Résultat bool