Constructor 링크 복사

예시 코드 초기화하기
// <init>
KNHighwayRG_SA(rgIdx: Int, nodeName: String?, location: KNLocation, gasBrand: Byte, lpgBrand: Byte, repairExist: Boolean, atmExist: Boolean, foodExist: Boolean, elecChargerExist: Boolean)
// <init>
KNHighwayRG_SA(rgIdx: Int, nodeName: String?, location: KNLocation, gasBrand: Byte, lpgBrand: Byte, repairExist: Boolean, atmExist: Boolean, foodExist: Boolean, elecChargerExist: Boolean)
코드가 숨겨졌습니다.
표 1 Properties
Name Description Type
nodeName 고속 도로 요금소 지점 이름 val nodeName: String?
location 경로상 현재 위치 정보 val location: KNLocation
gasBrand 주유소 정보

(0: 없음, 1: SK에너지, 2: GS칼텍스, 3: 현대오일뱅크, 4: S-OIL, 6: 무폴주유소, 7: 알뜰주유소)
val gasBrand: Byte
lpgBrand LPG 충전소 정보

(0: 없음, 1: SK에너지, 2: GS칼텍스, 3: 현대오일뱅크, 4: S-OIL, 6: 무폴주유소, 7: 알뜰주유소)
val lpgBrand: Byte
repairExist 경정비 서비스 제공 여부 val repairExist: Boolean
atmExist 현금 자동 입출금기(ATM) 제공 여부 val atmExist: Boolean
foodExist 식음료 제공 여부 val foodExist: Boolean
elecChargerExist 전기차 충전소 제공 여부 val elecChargerExist: Boolean
gasStIds 주유소 POI ID 리스트 val gasStIds: List<String>?
lpgStIds LPG 충전소 POI ID 리스트 val lpgStIds: List<String>?
hydrogenStIds 수소 충전소 POI ID 리스트 val hydrogenStIds: List<String>?
elecChargerStIds 전기차 충전소 POI ID 리스트 val elecChargerStIds: List<String>?

함수 링크 복사

고속 도로의 나들목, 분기점, 요금소, 휴게소 등의 정보를 제공합니다. 오버라이드 함수로 KNHighwayRGType.KNHighwayRGType_SA를 반환합니다.

fun highwayRGType(): KNHighwayRGType