public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
         case 5:
         case 6:
             base.IfcParse(propIndex, value);
             break;
         case 7:
             _flowDirection =
                 (IfcFlowDirectionEnum) Enum.Parse(typeof (IfcFlowDirectionEnum), value.EnumVal, true);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
예제 #2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
                base.IfcParse(propIndex, value);
                break;

            case 7:
                _flowDirection =
                    (IfcFlowDirectionEnum)Enum.Parse(typeof(IfcFlowDirectionEnum), value.EnumVal, true);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
예제 #3
0
파일: IFC D.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcDistributionPort(IfcDistributionPort p) : base(p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }
예제 #4
0
 public IfcDistributionPort(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcFlowDirectionEnum flowDirection, IfcDistributionPortTypeEnum predefinedType, IfcDistributionSystemEnum systemType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation)
 {
     FlowDirection  = flowDirection;
     PredefinedType = predefinedType;
     SystemType     = systemType;
 }
예제 #5
0
		internal IfcDistributionPort(DatabaseIfc db, IfcDistributionPort p) : base(db,p) { mFlowDirection = p.mFlowDirection; mPredefinedType = p.mPredefinedType; mSystemType = p.mSystemType; }