C# Класс UserInterface_Mockup_ICT4Reals.Service.Cleaningservice

Наследование: Service
Показать файл Открыть проект

Открытые методы

Метод Описание
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