C# 클래스 UserInterface_Mockup_ICT4Reals.DataBase.PAdatabase

상속: Database
파일 보기 프로젝트 열기: marouanopen/ICT4Reals 1 사용 예제들

공개 메소드들

메소드 설명
GetAllServices ( ) : object>>.List

gets all services from the database

GetRailInfo ( int RailId ) : object>>.List

returns the info of a single rail

GetTramInfo ( int TramId ) : object>>.List
MakeService ( int tramid, string kind ) : bool

creates a new service in the database (not a instance of service)

RefreshTramdatabase ( int tramnr ) : bool

updates the trampart of the database (tram, tram_status, and rail)

메소드 상세

GetAllServices() 공개 메소드

gets all services from the database
public GetAllServices ( ) : object>>.List
리턴 object>>.List

GetRailInfo() 공개 메소드

returns the info of a single rail
public GetRailInfo ( int RailId ) : object>>.List
RailId int give the id of the rail
리턴 object>>.List

GetTramInfo() 공개 메소드

public GetTramInfo ( int TramId ) : object>>.List
TramId int
리턴 object>>.List

MakeService() 공개 메소드

creates a new service in the database (not a instance of service)
public MakeService ( int tramid, string kind ) : bool
tramid int id of the tram that has the service registered to it
kind string the kind of service ()
리턴 bool

RefreshTramdatabase() 공개 메소드

updates the trampart of the database (tram, tram_status, and rail)
public RefreshTramdatabase ( int tramnr ) : bool
tramnr int the id of the tram that should be updated
리턴 bool