//주차장법 시행규칙 6조 (노외주차장의 구조·설비기준) 4항 3호 Check(ERPA_6_4_3){ KS } KS{ getSpaceUsage(ParkingLotSubsidiaryFacility) = "GasStation" }
Python Code 변환 예정
//주차장법 시행규칙 6조 (노외주차장의 구조·설비기준) 4항 Check(ERPA_6_4){ IF !CS THEN KS } CS{ TFA = getFloorArea(ParkingLot) getTotalObjectArea( ParkingLotSubsidiaryFacility) > TFA*0.2 } KS{ ParkingLot myParkingLot{ isObjectProperty(ParkingLot.isOffStreetParking) = TRUE } SubsidiaryFacility mySubsidiaryFacility{ getResult(ERPA_4_1) = TRUE OR getResult(ERPA_4_2) = TRUE OR getResult(ERPA_4_3) = TRUE } hasSpace(myParkingLot, mySubsidiaryFacility) = TRUE }
//주차장법 시행규칙 6조 (노외주차장의 구조·설비기준) 4항 1호 Check(ERPA_6_4_1){ KS } KS{ getSpaceUsage(ParkingLotSubsidiaryFacility) = "ControlOffice" OR getSpaceUsage(ParkingLotSubsidiaryFacility) = "RestArea" OR getSpaceUsage(ParkingLotSubsidiaryFacility) = "PublicToilet" }
//주차장법 시행규칙 6조 (노외주차장의 구조·설비기준) 4항 2호 Check(ERPA_6_4_2){ KS } KS{ getSpaceUsage(ParkingLotSubsidiaryFacility) = "SnackBar" OR getSpaceUsage(ParkingLotSubsidiaryFacility) = "CarOrnamentationShop" OR getSpaceUsage(ParkingLotSubsidiaryFacility) = "ElectricVehicleChargingStation" }
//주차장법 시행규칙 6조 (노외주차장의 구조·설비기준) 5항 Check(ERPA_6_5){ IF CS THEN KS } CS{ ParkingLot myParkingLot{ isObjectProperty(ParkingLot.isOffStreetParking) = TRUE getResult(PLA_20_2) = TRUE OR getResult(PLA_20_3) = TRUE } hasSpace(myParkingLot,SubsidiaryFacility) = TRUE getTotalFloorArea(myParkingLot.facilityArea) } KS{ getFloorArea(ParkingLotSubsidiaryFacility) <= getTotalObjectArea(ParkingLot)*0.4 }