C# Class MainSaite.Controllers.DriverExController

Inheritance: BaseController
Show file Open project: CH033dotNET/Taxi

Public Methods

Method Description
ChangeCurrentDriverStatus ( int status ) : System.Web.Mvc.JsonResult
CheckDriverMainCar ( ) : System.Web.Mvc.JsonResult
DriverExController ( IFeedbackManager feedbackManager, IOrderManagerEx orderManager, IDriverExManager driverManager, IDistrictManager districtManager, ICarManager carManager, IWorkerStatusManager workerStatusManager, IUserManager userManager ) : System
GetCurrentDriverStatus ( ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
WorkShift ( ) : System.Web.Mvc.ActionResult
WorkShiftEnded ( int Id, string Latitude, string Longitude, string Accuracy, string TimeStop ) : System.Web.Mvc.JsonResult
WorkShiftStarted ( int Id, string Latitude, string Longitude, string Accuracy, string TimeStart ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
AddFeedback ( FeedbackDTO feedback ) : System.Web.Mvc.JsonResult
Districts ( ) : System.Web.Mvc.ActionResult
GetCurrentOrder ( ) : System.Web.Mvc.JsonResult
GetDriversWithsOrders ( int id ) : System.Web.Mvc.JsonResult
GetDriversWithsOrdersLastMonth ( int id ) : System.Web.Mvc.JsonResult
GetFeedback ( int id ) : System.Web.Mvc.JsonResult
GetLoc ( ) : System.Web.Mvc.JsonResult
MyOrder ( ) : System.Web.Mvc.ActionResult
MyOrderMap ( ) : System.Web.Mvc.ActionResult
NewOrders ( ) : System.Web.Mvc.ActionResult
OrdersHistory ( ) : System.Web.Mvc.ActionResult
Pulse ( ) : System.Web.Mvc.ActionResult
SetCoordinate ( CoordinatesExDTO coordinate ) : void
SetDriverFeedback ( int orderId, int feedbackId ) : void
TakeOrder ( int id, int WaitingTime ) : System.Web.Mvc.JsonResult
UpdateFeedback ( FeedbackDTO feedback ) : System.Web.Mvc.JsonResult

Method Details

ChangeCurrentDriverStatus() public method

public ChangeCurrentDriverStatus ( int status ) : System.Web.Mvc.JsonResult
status int
return System.Web.Mvc.JsonResult

CheckDriverMainCar() public method

public CheckDriverMainCar ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

DriverExController() public method

public DriverExController ( IFeedbackManager feedbackManager, IOrderManagerEx orderManager, IDriverExManager driverManager, IDistrictManager districtManager, ICarManager carManager, IWorkerStatusManager workerStatusManager, IUserManager userManager ) : System
feedbackManager IFeedbackManager
orderManager IOrderManagerEx
driverManager IDriverExManager
districtManager IDistrictManager
carManager ICarManager
workerStatusManager IWorkerStatusManager
userManager IUserManager
return System

GetCurrentDriverStatus() public method

public GetCurrentDriverStatus ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

WorkShift() public method

public WorkShift ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

WorkShiftEnded() public method

public WorkShiftEnded ( int Id, string Latitude, string Longitude, string Accuracy, string TimeStop ) : System.Web.Mvc.JsonResult
Id int
Latitude string
Longitude string
Accuracy string
TimeStop string
return System.Web.Mvc.JsonResult

WorkShiftStarted() public method

public WorkShiftStarted ( int Id, string Latitude, string Longitude, string Accuracy, string TimeStart ) : System.Web.Mvc.JsonResult
Id int
Latitude string
Longitude string
Accuracy string
TimeStart string
return System.Web.Mvc.JsonResult