Esempio n. 1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 3:
                _lagValue = (IfcTimeOrRatioSelect)(value.EntityVal);
                return;

            case 4:
                _durationType = (IfcTaskDurationEnum)System.Enum.Parse(typeof(IfcTaskDurationEnum), value.EnumVal, true);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Esempio n. 2
0
 //internal IfcLagTime(IfcLagTime i) : base(i) { mLagValue = i.mLagValue; mDurationType = i.mDurationType; }
 internal IfcLagTime(DatabaseIfc db, IfcTimeOrRatioSelect lag, IfcTaskDurationEnum nature) : base(db)
 {
     mLagValue = lag; mDurationType = nature;
 }
Esempio n. 3
0
 internal IfcLagTime(DatabaseIfc m, string name, IfcDataOriginEnum origin, string userOrigin, IfcTimeOrRatioSelect lag, IfcTaskDurationEnum nature) : base(m, name, origin, userOrigin)
 {
     mLagValue = lag; mDurationType = nature;
 }
Esempio n. 4
0
 internal IfcLagTime(IfcLagTime i) : base(i)
 {
     mLagValue = i.mLagValue; mDurationType = i.mDurationType;
 }
Esempio n. 5
0
 public IfcLagTime(IfcLabel?__Name, IfcDataOriginEnum?__DataOrigin, IfcLabel?__UserDefinedDataOrigin, IfcTimeOrRatioSelect __LagValue, IfcTaskDurationEnum __DurationType)
     : base(__Name, __DataOrigin, __UserDefinedDataOrigin)
 {
     this.LagValue     = __LagValue;
     this.DurationType = __DurationType;
 }
Esempio n. 6
0
 internal IfcLagTime(DatabaseIfc db, IfcLagTime lagTime, DuplicateOptions options) : base(db, lagTime, options)
 {
     mLagValue     = lagTime.mLagValue;
     mDurationType = lagTime.mDurationType;
 }
Esempio n. 7
0
 //internal IfcLagTime(IfcLagTime i) : base(i) { mLagValue = i.mLagValue; mDurationType = i.mDurationType; }
 internal IfcLagTime(DatabaseIfc db,  IfcTimeOrRatioSelect lag, IfcTaskDurationEnum nature)
     : base(db)
 {
     mLagValue = lag; mDurationType = nature;
 }
Esempio n. 8
0
		internal IfcLagTime(DatabaseIfc m, string name, IfcDataOriginEnum origin, string userOrigin, IfcTimeOrRatioSelect lag, IfcTaskDurationEnum nature) : base(m, name, origin, userOrigin) { mLagValue = lag; mDurationType = nature; }
Esempio n. 9
0
		internal IfcLagTime(IfcLagTime i) : base(i) { mLagValue = i.mLagValue; mDurationType = i.mDurationType; }