// 연결살수설비의 화재안전기준(nfsc 503) 4조 (송수구 등) 1항 2호 Check(NFSC503_4_1_2){ IF CS THEN KS } CS{ Zone myZone{ isObjectProperty(Zone.isWaterSupplyZone)=TRUE } hasObject(myZone.One,HookingUpSprinklerSystem.Head.)=TRUE getObjectCount(HookingUpSprinklerSystem.Head.) <= 10 } KS{ Port myPort{ getObjectProperty(Port.systemType) = "HookingUpSprinklerSystem" getObjectProperty(Port.typeForWater) = "FireDepartmentConnection" } isObjectProperty(myPort.diameter) = 65mm getObjectProperty(myPort.shapeType) = "DoubleType" }
Python Code 변환 예정
// 연결살수설비의 화재안전기준(nfsc 503) 4조 (송수구 등) 1항 3호 Check(NFSC503_4_1_3){ IF !CS THEN KS } Zone myZone{ isObjectProperty(Zone.isWaterSupplyZone)=TRUE } CS{ Valve myValve{ isObjectProerpty(Valve.isSelectionValve) = TRUE } isInstalled(myValve) = TRUE hasObject(myZone,MainStructuralPart) = TRUE isFireResistantStructure(MainStructuralPart) = TRUE } KS{ Port myPort{ getObjectProperty(Port.systemType) = "HookingUpSprinklerSystem" getObjectProperty(Port.typeForWater) = "FireDepartmentConnection" } Head myHead{ getObjectProperty(Head.openAndCloseType) = "OpenType" } isInstalled(myPort.호스접결구, myZone.One) = TRUE }
// 연결살수설비의 화재안전기준(nfsc 503) 4조 (송수구 등) 4항 Check(NFSC503_4_4){ IF CS THEN KS } CS{ Head myHead{ getObjectProperty(Head.openAndCloseType) = "OpenType" } getObjectProperty(myHead.systemType) = "HookingUpSprinklerSystem" } KS{ Zone myZone{ isObjectProperty(Zone.isWaterSupplyZone) = TRUE } Head myHead{ isInstalled(HookingUpSprinklerSystem.Head, myZone.One) = TRUE } getObjectCount(myHead) <= 10 }