C# Class BAL.Manager.CoordinatesManager

Inheritance: BAL.Manager.BaseManager, ICoordinatesManager
显示文件 Open project: CH033dotNET/Taxi

Public Methods

Method Description
AddCoordinates ( CoordinatesDTO coordinates ) : CoordinatesDTO
AddRangeCoordinates ( List coordinates, int orderId ) : List
CoordinatesManager ( IUnitOfWork uOW ) : System
GetCoordinatesByOrdeId ( int ordeId ) : CoordinatesDTO
GetCoordinatesByUserId ( int userId ) : IEnumerable
GetCoordinatesRange ( System.DateTime fromTime, System.DateTime toTime ) : IEnumerable

Get records of Coordinates betwen fromTime and toTime

InitializeCoordinates ( string Longitude, string Latitude, string Accuracy, int UserId ) : CoordinatesDTO
RemoveToDate ( System.DateTime date ) : void

Remove records of Coordinates with added time earlier than date

Method Details

AddCoordinates() public method

public AddCoordinates ( CoordinatesDTO coordinates ) : CoordinatesDTO
coordinates Model.DTO.CoordinatesDTO
return Model.DTO.CoordinatesDTO

AddRangeCoordinates() public method

public AddRangeCoordinates ( List coordinates, int orderId ) : List
coordinates List
orderId int
return List

CoordinatesManager() public method

public CoordinatesManager ( IUnitOfWork uOW ) : System
uOW IUnitOfWork
return System

GetCoordinatesByOrdeId() public method

public GetCoordinatesByOrdeId ( int ordeId ) : CoordinatesDTO
ordeId int
return Model.DTO.CoordinatesDTO

GetCoordinatesByUserId() public method

public GetCoordinatesByUserId ( int userId ) : IEnumerable
userId int
return IEnumerable

GetCoordinatesRange() public method

Get records of Coordinates betwen fromTime and toTime
public GetCoordinatesRange ( System.DateTime fromTime, System.DateTime toTime ) : IEnumerable
fromTime System.DateTime Start Time
toTime System.DateTime End Time
return IEnumerable

InitializeCoordinates() public method

public InitializeCoordinates ( string Longitude, string Latitude, string Accuracy, int UserId ) : CoordinatesDTO
Longitude string
Latitude string
Accuracy string
UserId int
return Model.DTO.CoordinatesDTO

RemoveToDate() public method

Remove records of Coordinates with added time earlier than date
public RemoveToDate ( System.DateTime date ) : void
date System.DateTime
return void