C# Class UserInterface_Mockup_ICT4Reals.DataBase.REdatabase

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

Méthodes publiques

Méthode Description
GetAllStatus ( ) : object>>.List
GetAlllogs ( ) : object>>.List
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 repair

updateRepair ( int tramID, int StatusID ) : bool

updates the rapair part of the database

Method Details

GetAllStatus() public méthode

public GetAllStatus ( ) : object>>.List
Résultat object>>.List

GetAlllogs() public méthode

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 repair
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

updateRepair() public méthode

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