건축물의 피난ㆍ방화구조 등의 기준에 관한 규칙 15조 (계단의 설치기준) 5항
Check(REFB_15_5){
IF CS THEN KS
}
CS{
isEixst(Ramp)=TRUE
}
KS {
getResult(REFB_15_5_1)=TRUE
getResult(REFB_15_5_3)=TRUE
}
|
std_floor_area = 200
std_floor_area_label = '기준 연면적'
max_v = 1/8
max_v_label = '최대 경사도'
def Check():
for building in SELECT('building'):
for ramp in building.SELECT('ramp'):
if ramp.SELECT('prop', '계단대체경사로').BOOL() == False:
continue
for change in ramp.SELECT('level change'):
gradient = change.SELECT('gradient')
g = gradient.NUMBER()
if g > max_v:
gradient.ERROR('경사도: ' + str(g) + ' > ' + str(max_v))
else:
gradient.SUCCESS('경사도: ' + str(g) + ' <= ' + str(max_v))
|