Méthode | Description | |
---|---|---|
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)
|
public GetRailInfo ( int RailId ) : object>>.List |
||
RailId | int | give the id of the rail |
Résultat | object>>.List |
public GetTramInfo ( int TramId ) : object>>.List |
||
TramId | int | |
Résultat | object>>.List |
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 () |
Résultat | bool |
public RefreshTramdatabase ( int tramnr ) : bool | ||
tramnr | int | the id of the tram that should be updated |
Résultat | bool |