C# Class UserInterface_Mockup_ICT4Reals.Service.Cleaningservice

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

Méthodes publiques

Méthode Description
Cleaningservice ( int id, string soort, System.DateTime startdate, System.DateTime enddate, int tramid, int superbeurtID ) : System

constructor

addlog ( int tramID, int superbeurt ) : bool

add a log

getAllLog ( ) : List

gets all the logs from the database

getAllStatus ( ) : List

gets all statusses from the database

update ( int tramID, int StatusID ) : bool

Method Details

Cleaningservice() public méthode

constructor
public Cleaningservice ( int id, string soort, System.DateTime startdate, System.DateTime enddate, int tramid, int superbeurtID ) : System
id int
soort string
startdate System.DateTime
enddate System.DateTime
tramid int
superbeurtID int
Résultat System

addlog() public méthode

add a log
public addlog ( int tramID, int superbeurt ) : bool
tramID int id of the tram
superbeurt int id of the superservice
Résultat bool

getAllLog() public méthode

gets all the logs from the database
public getAllLog ( ) : List
Résultat List

getAllStatus() public méthode

gets all statusses from the database
public getAllStatus ( ) : List
Résultat List

update() public méthode

public update ( int tramID, int StatusID ) : bool
tramID int tram id
StatusID int status id
Résultat bool