C# Class UserInterface_Mockup_ICT4Reals.Service.Cleaningservice

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

Public Methods

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

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

addlog() public method

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

getAllLog() public method

gets all the logs from the database
public getAllLog ( ) : List
return List

getAllStatus() public method

gets all statusses from the database
public getAllStatus ( ) : List
return List

update() public method

public update ( int tramID, int StatusID ) : bool
tramID int tram id
StatusID int status id
return bool