C# 클래스 UserInterface_Mockup_ICT4Reals.DataBase.CLdatabase

상속: Database
파일 보기 프로젝트 열기: marouanopen/ICT4Reals

공개 메소드들

메소드 설명
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

메소드 상세

GetAllStatus() 공개 메소드

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

GetAlllogs() 공개 메소드

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

controleMax() 공개 메소드

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

updateLog() 공개 메소드

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
리턴 bool

updatecleaning() 공개 메소드

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