internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p) : base(db, p) { mOperationType = p.mOperationType; mPanelPosition = p.mPanelPosition; mFrameDepth = p.mFrameDepth; mFrameThickness = p.mFrameThickness; if (p.mShapeAspectStyle > 0) ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect; }
internal IfcWindowPanelProperties(DatabaseIfc m, string name, IfcWindowPanelOperationEnum op, IfcWindowPanelPositionEnum panel, double frameDepth, double frameThick) : base(m, name) { mOperationType = op; mPanelPosition = panel; mFrameDepth = frameDepth; mFrameThickness = frameThick; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: base.IfcParse(propIndex, value); break; case 1: base.IfcParse(propIndex, value); break; case 2: base.IfcParse(propIndex, value); break; case 3: base.IfcParse(propIndex, value); break; case 4: _operationType = (IfcWindowPanelOperationEnum) Enum.Parse(typeof (IfcWindowPanelOperationEnum), value.EnumVal, true); break; case 5: _panelPosition = (IfcWindowPanelPositionEnum) Enum.Parse(typeof (IfcWindowPanelPositionEnum), value.EnumVal, true); break; case 6: _frameDepth = value.RealVal; break; case 7: _frameThickness = value.RealVal; break; case 8: _shapeAspectStyle = (IfcShapeAspect) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
} // optional /// <summary> /// Construct a IfcWindowPanelProperties with all required attributes. /// </summary> public IfcWindowPanelProperties(IfcGloballyUniqueId globalId, IfcWindowPanelOperationEnum operationType, IfcWindowPanelPositionEnum panelPosition) : base(globalId) { OperationType = operationType; PanelPosition = panelPosition; }
public IfcWindowPanelProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcWindowPanelOperationEnum __OperationType, IfcWindowPanelPositionEnum __PanelPosition, IfcPositiveLengthMeasure?__FrameDepth, IfcPositiveLengthMeasure?__FrameThickness, IfcShapeAspect __ShapeAspectStyle) : base(__GlobalId, __OwnerHistory, __Name, __Description) { this._OperationType = __OperationType; this._PanelPosition = __PanelPosition; this._FrameDepth = __FrameDepth; this._FrameThickness = __FrameThickness; this._ShapeAspectStyle = __ShapeAspectStyle; }
public IfcWindowPanelProperties(DatabaseIfc db, string name, IfcWindowPanelOperationEnum op, IfcWindowPanelPositionEnum panel) : base(db, name) { mOperationType = op; mPanelPosition = panel; }
internal IfcWindowPanelProperties(IfcWindowPanelProperties p) : base(p) { mOperationType = p.mOperationType; mPanelPosition = p.mPanelPosition; mFrameDepth = p.mFrameDepth; mFrameThickness = p.mFrameThickness; mShapeAspectStyle = p.mShapeAspectStyle; }