Inheritance: IfcDistributionControlElement
示例#1
0
 internal static void parseFields(IfcUnitaryControlElement a, List<string> arrFields, ref int ipos)
 {
     IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
     string s = arrFields[ipos++];
     if (s.StartsWith("."))
         a.mPredefinedType = (IfcUnitaryControlElementTypeEnum)Enum.Parse(typeof(IfcUnitaryControlElementTypeEnum), s.Replace(".", ""));
 }
示例#2
0
        internal static void parseFields(IfcUnitaryControlElement a, List <string> arrFields, ref int ipos)
        {
            IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
            string s = arrFields[ipos++];

            if (s.StartsWith("."))
            {
                a.mPredefinedType = (IfcUnitaryControlElementTypeEnum)Enum.Parse(typeof(IfcUnitaryControlElementTypeEnum), s.Replace(".", ""));
            }
        }
示例#3
0
 internal new static IfcUnitaryControlElement Parse(string strDef)
 {
     IfcUnitaryControlElement d = new IfcUnitaryControlElement(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return(d);
 }
示例#4
0
 internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e) : base(db, e)
 {
     mPredefinedType = e.mPredefinedType;
 }
示例#5
0
 internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e, DuplicateOptions options) : base(db, e, options)
 {
     mPredefinedType = e.mPredefinedType;
 }
示例#6
0
 internal static new IfcUnitaryControlElement Parse(string strDef)
 {
     IfcUnitaryControlElement d = new IfcUnitaryControlElement(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d;
 }
示例#7
0
 internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e)
     : base(db,e)
 {
     mPredefinedType = e.mPredefinedType;
 }
示例#8
0
		internal IfcUnitaryControlElement(IfcUnitaryControlElement a) : base(a) { mPredefinedType = a.mPredefinedType; }
示例#9
0
 internal IfcUnitaryControlElement(DatabaseIfc db, IfcUnitaryControlElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream)
 {
     mPredefinedType = e.mPredefinedType;
 }
示例#10
0
 internal IfcUnitaryControlElement(IfcUnitaryControlElement a) : base(a)
 {
     mPredefinedType = a.mPredefinedType;
 }