GeometryGym.Ifc.IfcDistributionPort.setJSON C# (CSharp) Méthode

setJSON() protected méthode

protected setJSON ( JObject obj, BaseClassIfc host, HashSet processed ) : void
obj JObject
host BaseClassIfc
processed HashSet
Résultat void
        protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
        {
            base.setJSON(obj, host, processed);
            if (mFlowDirection != IfcFlowDirectionEnum.NOTDEFINED)
                obj["FlowDirection"] = mFlowDirection.ToString();
            if (mPredefinedType != IfcDistributionPortTypeEnum.NOTDEFINED)
                obj["PredefinedType"] = mPredefinedType.ToString();
            if (mSystemType != IfcDistributionSystemEnum.NOTDEFINED)
                obj["SystemType"] = mSystemType.ToString();
        }