TransferLine

换乘线路信息类。

Inherits from

  • <NSObject>
Summary
TransferLine换乘线路信息类。
Properties
endStopIndex{NSInteger} 下车站点在本公交线路中的索引。
endStopName{NSString} 下车站点名称。
lineID{long} 乘车线路id。
lineName{NSString} 乘车线路名称。
startStopIndex{NSInteger} 上车站点在本公交线路中的索引。
startStopName{NSString} 上车站点名称。
Constructor
TransferLine换乘线路信息类。
Functions
castToDict转换为字典,只返回endStopIndex,lineID,startStopIndex三个键值对,用做Path服务请求参数
castToDict返回一个字典,用于转换为json格式数据。

Properties

endStopIndex

{NSInteger} 下车站点在本公交线路中的索引。

endStopName

{NSString} 下车站点名称。

lineID

{long} 乘车线路id。

lineName

{NSString} 乘车线路名称。

startStopIndex

{NSInteger} 上车站点在本公交线路中的索引。

startStopName

{NSString} 上车站点名称。

Constructor

TransferLine

换乘线路信息类。

Parameters

dict{NSDictionary} 对象。

Functions

castToDict

-(NSMutableDictionary *)castToDict

转换为字典,只返回endStopIndex,lineID,startStopIndex三个键值对,用做Path服务请求参数

castToDict

返回一个字典,用于转换为json格式数据。

-(NSMutableDictionary *)castToDict
转换为字典,只返回endStopIndex,lineID,startStopIndex三个键值对,用做Path服务请求参数
Close