C# Class UserInterface_Mockup_ICT4Reals.DataBase.CLdatabase

Inheritance: Database
ファイルを表示 Open project: marouanopen/ICT4Reals

Public Methods

Method 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 method

gets all the statusses from the database
public GetAllStatus ( ) : object>>.List
return object>>.List

GetAlllogs() public method

gets all logs from the database
public GetAlllogs ( ) : object>>.List
return object>>.List

controleMax() public method

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

updateLog() public method

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
return bool

updatecleaning() public method

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