C# Class ITimeU.Controllers.TimerController

Inheritance: Controller
Datei anzeigen Open project: heinek/ITimeU

Public Methods

Method Description
DeleteRuntime ( int runtimeid ) : System.Web.Mvc.ActionResult

Deletes the runtime.

EditRuntime ( int orginalruntimeid, int hour, int min, int sek, int msek ) : System.Web.Mvc.ActionResult

Edits the runtime.

SaveRuntime ( int runtime, int checkpointid ) : System.Web.Mvc.ActionResult

Saves the runtime.

Start ( ) : System.Web.Mvc.ActionResult

Starts this instance.

Stop ( ) : System.Web.Mvc.ActionResult

Stops this instance.

Update ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ChangeCheckpoint ( int checkpointid ) : System.Web.Mvc.ActionResult
GetStartruntime ( ) : System.Web.Mvc.ActionResult
GetStartruntimeForSpeaker ( int raceid ) : System.Web.Mvc.ActionResult
HasStopped ( int raceId ) : System.Web.Mvc.ActionResult
Index ( int id ) : System.Web.Mvc.ActionResult
ResetRace ( int raceid ) : System.Web.Mvc.ActionResult
SaveToSessionAndReturnRuntimes ( TimerModel timer ) : string
Speaker ( int id ) : System.Web.Mvc.ActionResult
Testing ( ) : System.Web.Mvc.ActionResult

Method Details

DeleteRuntime() public method

Deletes the runtime.
public DeleteRuntime ( int runtimeid ) : System.Web.Mvc.ActionResult
runtimeid int The runtimeid.
return System.Web.Mvc.ActionResult

EditRuntime() public method

Edits the runtime.
public EditRuntime ( int orginalruntimeid, int hour, int min, int sek, int msek ) : System.Web.Mvc.ActionResult
orginalruntimeid int The orginalruntimeid.
hour int Hours.
min int Minutes.
sek int Seconds.
msek int Milliseconds.
return System.Web.Mvc.ActionResult

SaveRuntime() public method

Saves the runtime.
public SaveRuntime ( int runtime, int checkpointid ) : System.Web.Mvc.ActionResult
runtime int The runtime.
checkpointid int
return System.Web.Mvc.ActionResult

Start() public method

Starts this instance.
public Start ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Stop() public method

Stops this instance.
public Stop ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Update() public method

public Update ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult