//건축물의 피난ㆍ방화구조 등의 기준에 관한 규칙 25조 (지하층의 구조) 1항 1호
check(REFB_25_1_1){
IF !(CS) THEN KS
}
KS{
Floor myFloor1{
hasSpace(Floor,Room) = TRUE
getTotalArea(Room) >= 50 m2
}
Floor myFloor2{
isObjectProperty(Floor.isEscape) = TRUE
}
Door myDoor{
isObjectProperty(Door.functionType) = "Emergency"
(isDirectlyAccessible(Door, myFloor2) = TRUE
OR isDirectlyAccessible(Door, Ground) = TRUE)
}
hasSpace(myFloor1, myDoor)
OR (hasSpace(myFloor1, VentilatorPipe) = TRUE
(isDirectlyAccessible(VentilatorPipe, myFloor2) = TRUE
OR isDirectlyAccessible(VentilatorPipe, Ground) = TRUE))
}
CS{
Floor myFloor1{
hasSpace(Floor,Room) = TRUE
getTotalArea(Room) >= 50 m2
}
Stair myStair{
isObjectProperty(Stair.isDirect) = TRUE
hasSpace(myFloor1, Stair) = TRUE
}
getObjectCount(myStair) >= 2
}
|
Python Code 변환 예정
|