C# 클래스 UserInterface_Mockup_ICT4Reals.Service.Cleaningservice

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

공개 메소드들

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

메소드 상세

Cleaningservice() 공개 메소드

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

addlog() 공개 메소드

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

getAllLog() 공개 메소드

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

getAllStatus() 공개 메소드

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

update() 공개 메소드

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