프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BikesAvailable | int | ||
Capacity | int | ||
DistanceFromCurrentPoint | int | ||
DocksAvailable | int | ||
Heading | int | ||
IsAvailable | bool | ||
Lat | double | ||
Long | double | ||
Name | string | ||
Touched | bool | ||
UniqueId | string | ||
devkey | string | ||
isUpdating | bool |
메소드 | 설명 | |
---|---|---|
AddBike ( |
||
BikeLocation ( string dock, bool setAvailable ) : System | ||
BikeLocation ( string name, string postcode, int capacity, double lat, double _long, bool isAvailable ) : System | ||
BuildBikeList ( ) : void | ||
CalculateDistanceInMeters ( CLLocationCoordinate2D source, CLLocationCoordinate2D dest ) : double | ||
CheckBikeIds ( ) : void | ||
Debug ( double _latSource, double _longSource, double _latDest, double _longDest ) : void | ||
FindClosestBike ( double _lat, double _long ) : |
||
FindClosestBikeList ( double _lat, double _long ) : IEnumerable |
||
HeadingToString ( int heading ) : string | ||
LogRoute ( ) : void | ||
LogSearch ( ) : void | ||
LogTrip ( int time, int distance ) : void | ||
RemoveBike ( |
||
UpdateFromWebsite ( NSAction onDone ) : bool | ||
WriteToPersistentFile ( ) : void |
메소드 | 설명 | |
---|---|---|
CalculateDistance ( double _latSource, double _longSource, double _latDest, double _longDest ) : double | ||
CalculateHeading ( double _latSource, double _longSource, double _latDest, double _longDest ) : double | ||
ToDeg ( double rad ) : double | ||
ToRad ( double deg ) : double |
public static AddBike ( |
||
location | ||
리턴 | void |
public BikeLocation ( string dock, bool setAvailable ) : System | ||
dock | string | |
setAvailable | bool | |
리턴 | System |
public BikeLocation ( string name, string postcode, int capacity, double lat, double _long, bool isAvailable ) : System | ||
name | string | |
postcode | string | |
capacity | int | |
lat | double | |
_long | double | |
isAvailable | bool | |
리턴 | System |
public static CalculateDistanceInMeters ( CLLocationCoordinate2D source, CLLocationCoordinate2D dest ) : double | ||
source | CLLocationCoordinate2D | |
dest | CLLocationCoordinate2D | |
리턴 | double |
public static Debug ( double _latSource, double _longSource, double _latDest, double _longDest ) : void | ||
_latSource | double | |
_longSource | double | |
_latDest | double | |
_longDest | double | |
리턴 | void |
public static FindClosestBike ( double _lat, double _long ) : |
||
_lat | double | |
_long | double | |
리턴 |
public static FindClosestBikeList ( double _lat, double _long ) : IEnumerable |
||
_lat | double | |
_long | double | |
리턴 | IEnumerable |
public static HeadingToString ( int heading ) : string | ||
heading | int | |
리턴 | string |
public static LogTrip ( int time, int distance ) : void | ||
time | int | |
distance | int | |
리턴 | void |
public static RemoveBike ( |
||
location | ||
리턴 | void |
public static UpdateFromWebsite ( NSAction onDone ) : bool | ||
onDone | NSAction | |
리턴 | bool |