/// <summary> /// Constructs a ZoneInfo object. /// </summary> /// <param name="objectType">The type of zone.</param> /// <param name="description">The description.</param> /// <param name="roomHandle">The room handle for this zone.</param> /// <param name="classificationReferences">The room handle for this zone.</param> /// <param name="energyAnalysisHnd">The ePSet_SpatialZoneEnergyAnalysis handle for this zone.</param> public ZoneInfo(string objectType, string description, IFCAnyHandle roomHandle, Dictionary <string, IFCAnyHandle> classificationReferences, IFCAnyHandle energyAnalysisHnd) { ObjectType = objectType; Description = description; RoomHandles.Add(roomHandle); ClassificationReferences = classificationReferences; EnergyAnalysisProperySetHandle = energyAnalysisHnd; }
/// <summary> /// Constructs a ZoneInfo object. /// </summary> /// <param name="objectType">The type of zone.</param> /// <param name="description">The description.</param> /// <param name="longName">The long name, for IFC4+.</param> /// <param name="roomHandle">The room handle for this zone.</param> /// <param name="classificationReferences">The room handle for this zone.</param> /// <param name="energyAnalysisHnd">The ePset_SpatialZoneEnergyAnalysis handle for this zone.</param> /// <param name="zoneCommonPSetHandle">The Pset_ZoneCommon handle for this zone.</param> public ZoneInfo(string objectType, string description, string longName, IFCAnyHandle roomHandle, Dictionary <string, IFCAnyHandle> classificationReferences, IFCAnyHandle energyAnalysisHnd, IFCAnyHandle zoneCommonPSetHandle) { ObjectType = objectType; Description = description; LongName = longName; RoomHandles.Add(roomHandle); ClassificationReferences = classificationReferences; EnergyAnalysisProperySetHandle = energyAnalysisHnd; ZoneCommonProperySetHandle = zoneCommonPSetHandle; }
/// <summary> /// Constructs a ZoneInfo object. /// </summary> /// <param name="zoneInfoFinder">Container with string information.</param> /// <param name="roomHandle">The room handle for this zone.</param> /// <param name="classificationReferences">The room handle for this zone.</param> /// <param name="energyAnalysisHnd">The ePset_SpatialZoneEnergyAnalysis handle for this zone.</param> /// <param name="zoneCommonPSetHandle">The Pset_ZoneCommon handle for this zone.</param> public ZoneInfo(ZoneInfoFinder zoneInfoFinder, IFCAnyHandle roomHandle, Dictionary <string, IFCAnyHandle> classificationReferences, IFCAnyHandle energyAnalysisHnd, IFCAnyHandle zoneCommonPSetHandle) { if (zoneInfoFinder != null) { ObjectType = zoneInfoFinder.GetPropZoneValue(ZoneInfoLabel.ObjectType); Description = zoneInfoFinder.GetPropZoneValue(ZoneInfoLabel.Description); LongName = zoneInfoFinder.GetPropZoneValue(ZoneInfoLabel.LongName); GroupName = zoneInfoFinder.GetPropZoneValue(ZoneInfoLabel.GroupName); } RoomHandles.Add(roomHandle); ClassificationReferences = classificationReferences; EnergyAnalysisProperySetHandle = energyAnalysisHnd; ZoneCommonProperySetHandle = zoneCommonPSetHandle; }
/// <summary> /// Constructs a SpaceOccupantInfo object. /// </summary> /// <param name="roomHandle">The room handle for this space occupant.</param> /// <param name="classificationReferences">The classification references for this space occupant.</param> /// <param name="psetHnd">The Pset_SpaceOccupant handle for this space occupant.</param> public SpaceOccupantInfo(IFCAnyHandle roomHandle, Dictionary <string, IFCAnyHandle> classificationReferences, IFCAnyHandle psetHnd) { RoomHandles.Add(roomHandle); ClassificationReferences = classificationReferences; SpaceOccupantProperySetHandle = psetHnd; }