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();
}