Esempio n. 1
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
             base.IfcParse(propIndex, value);
             break;
         case 4:
             _UrlReference = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 2
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
             base.IfcParse(propIndex, value);
             break;
         case 4:
             _RasterFormat = value.StringVal;
             break;
         case 5:
             _RasterCode = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 3
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:
         case 7:
         case 8:
         case 9:
             base.IfcParse(propIndex, value);
             break;
         case 10:
             _actionID = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 4
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _ID = (IfcIdentifier)value.EntityVal;
             break;
         case 6:
             _PredefinedType = (IfcProjectOrderTypeEnum)Enum.Parse(typeof(IfcProjectOrderTypeEnum), value.EnumVal);
             break;
         case 7:
             _Status = (IfcLabel)value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 5
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _SpaceProgramIdentifier = value.StringVal;
             break;
         case 6:
             _MaxRequiredArea = value.RealVal;
             break;
         case 7:
             _MinRequiredArea = value.RealVal;
             break;
         case 8:
             _RequestedLocation = (IfcSpatialStructureElement)value.EntityVal;
             break;
         case 9:
             _StandardRequiredArea = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _documentId = value.StringVal;
             break;
         case 1:
             _name = value.StringVal;
             break;
         case 2:
             _description = value.StringVal;
             break;
         case 3:
             if (_documentReferences == null) _documentReferences = new XbimSet<IfcDocumentReference>(this);
             _documentReferences.Add_Reversible((IfcDocumentReference) value.EntityVal);
             break;
         case 4:
             _purpose = value.StringVal;
             break;
         case 5:
             _intendedUse = value.StringVal;
             break;
         case 6:
             _scope = value.StringVal;
             break;
         case 7:
             _revision = value.StringVal;
             break;
         case 8:
             _documentOwner = (IfcActorSelect) value.EntityVal;
             break;
         case 9:
             if (_editors == null) _editors = new XbimSet<IfcActorSelect>(this);
             _editors.Add_Reversible((IfcActorSelect) value.EntityVal);
             break;
         case 10:
             _creationTime = (IfcDateAndTime) value.EntityVal;
             break;
         case 11:
             _lastRevisionTime = (IfcDateAndTime) value.EntityVal;
             break;
         case 12:
             _electronicFormat = (IfcDocumentElectronicFormat) value.EntityVal;
             break;
         case 13:
             _validFrom = (IfcCalendarDate) value.EntityVal;
             break;
         case 14:
             _validUntil = (IfcCalendarDate) value.EntityVal;
             break;
         case 15:
             _confidentiality =
                 (IfcDocumentConfidentialityEnum)
                 Enum.Parse(typeof (IfcDocumentConfidentialityEnum), value.EnumVal, true);
             break;
         case 16:
             _status = (IfcDocumentStatusEnum) Enum.Parse(typeof (IfcDocumentStatusEnum), value.EnumVal, true);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcPropertyListValue(IfcIdentifier name)
     : base(name)
 {
     _listValues = new XbimList<IfcValue>(this);
 }
Esempio n. 8
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _taskId = (IfcIdentifier)value.StringVal;
             break;
         case 6:
             _status = (IfcLabel)value.StringVal;
             break;
         case 7:
             _workMethod = (IfcLabel)value.StringVal;
             break;
         case 8:
             _isMilestone = value.BooleanVal;
             break;
         case 9:
             _priority = (int)value.IntegerVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
             base.IfcParse(propIndex, value);
             break;
         case 2:
             _usageName = value.StringVal;
             break;
         case 3:
             _hasProperties.Add((IfcProperty) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 10
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _identifier = (IfcIdentifier)value.StringVal;
             break;
         case 6:
             _creationDate = (IfcDateTimeSelect)value.EntityVal;
             break;
         case 7:
             _creators.Add((IfcPerson)value.EntityVal);
             break;
         case 8:
             _purpose = value.StringVal;
             break;
         case 9:
             _duration = value.RealVal;
             break;
         case 10:
             _totalFloat = value.RealVal;
             break;
         case 11:
             _startTime = (IfcDateTimeSelect)value.EntityVal;
             break;
         case 12:
             _finishTime = (IfcDateTimeSelect)value.EntityVal;
             break;
         case 13:
             _workControlType = (IfcWorkControlTypeEnum)Enum.Parse(typeof(IfcWorkControlTypeEnum), value.EnumVal, true);
             break;
         case 14:
             _userDefinedControlType = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcPropertySingleValue(IfcIdentifier name)
     : base(name)
 {
 }
Esempio n. 12
0
 public IfcSimpleProperty(IfcIdentifier name)
     : base(name)
 {
 }
 public IfcPropertyReferenceValue(IfcIdentifier name)
     : base(name)
 {
 }
Esempio n. 14
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _applicationDeveloper = value.EntityVal as IfcOrganization;
             break;
         case 1:
             _version = value.StringVal;
             break;
         case 2:
             _applicationFullName = value.StringVal;
             break;
         case 3:
             _applicationIdentifier = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 15
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _SubmittedBy = (IfcActorSelect)value.EntityVal;
             break;
         case 6:
             _PreparedBy = (IfcActorSelect)value.EntityVal;
             break;
         case 7:
             _SubmittedOn = (IfcDateTimeSelect)value.EntityVal;
             break;
         case 8:
             _Status = (IfcLabel)value.StringVal;
             break;
         case 10:
               _TargetUsers.Add((IfcActorSelect)value.EntityVal);
               break;
         case 11:
              _UpdateDate = (IfcDateTimeSelect)value.EntityVal;
              break;
         case 12:
              _ID = (IfcIdentifier)value.EntityVal;
              break;
         case 13:
              _PredefinedType = (IfcCostScheduleTypeEnum)Enum.Parse(typeof(IfcCostScheduleTypeEnum), value.EnumVal);
              break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 16
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _AssetID = value.StringVal;
             break;
         case 6:
             _OriginalValue = (IfcCostValue)value.EntityVal;
             break;
         case 7:
             _CurrentValue = (IfcCostValue)value.EntityVal;
             break;
         case 8:
             _TotalReplacementCost = (IfcCostValue)value.EntityVal;
             break;
         case 9:
             _Owner = (IfcActorSelect)value.EntityVal;
             break;
         case 10:
             _User = (IfcActorSelect)value.EntityVal;
             break;
         case 11:
             _ResponsiblePerson = (IfcPerson)value.EntityVal;
             break;
         case 12:
             _IncorporationDate = (IfcCalendarDate)value.EntityVal;
             break;
         case 13:
             _DepreciatedValue = (IfcCostValue)value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcComplexProperty(IfcIdentifier name)
     : base(name)
 {
     _hasProperties = new SetOfProperty(this);
 }