// 건축법 시행령 34조 (직통계단의 설치) 4항
check(EDBA_34_4){
IF !CS THEN KS ENDIF
}
CS{
Stair myStair{
isObjectProperty(Stair.isDirect) = TRUE
}
Floor myFloor{
isObjectProperty(Floor.isEscape) = TRUE
}
isDirectlyAccessible(myStair, myFloor) = TRUE
OR isDirectlyAccessible(myStair, Ground) = TRUE
}
KS{
isObjectProperty(Building.isQuasiHighriseBuilding) = TRUE
Stair myStair{
isObjectProperty(Stair.isDirect) = TRUE
}
Zone myZone{
isObjectProperty(Zone.isEgressSafetyZone) = TRUE
}
Floor myFloor{
isObjectProperty(Floor.isEscape) = TRUE
}
isGoThrough(myFloor, myZone, myStair) = TRUE
OR isGoThrough(myFloor, Ground, myStair) = TRUE
(getBuildingStoriesCount()/2)-5 < getFloorNumber(myZone)
getFloorNumber(myZone) < (getBuildingStoriesCount()/2)+5
}
|
Python Code 변환 예정
|