C# Class UserInterface_Mockup_ICT4Reals.DataBase.REdatabase

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

Public Methods

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

public GetAllStatus ( ) : object>>.List
return object>>.List

GetAlllogs() public method

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 repair
public updateLog ( int tramID, System.DateTime date, int superbeurt ) : bool
tramID int current tram id
date System.DateTime current date
superbeurt int
return bool

updateRepair() public method

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