C# Class UserInterface_Mockup_ICT4Reals.Service.Repairservice

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

Public Methods

Method Description
Repairservice ( int id, string soort, System.DateTime startdate, System.DateTime enddate, int tramid, int superbeurtID ) : System
addlog ( int tramID, int superbeurt ) : bool

getAllLog ( ) : List

returns all log of past repairservices

getAllStatus ( ) : List

returns al status from active trains

update ( int tramID, int StatusID ) : bool

Method Details

Repairservice() public method

public Repairservice ( 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

public addlog ( int tramID, int superbeurt ) : bool
tramID int tram id
superbeurt int super beurt id
return bool

getAllLog() public method

returns all log of past repairservices
public getAllLog ( ) : List
return List

getAllStatus() public method

returns al status from active trains
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