Jelajahi Sumber

Merge branch 'master' of http://39.106.8.246:3003/revit/RevitExport

mengxiangge 5 tahun lalu
induk
melakukan
b157f20ddd

+ 25 - 0
JBIM/JBIM/Component/Door.cs

@@ -0,0 +1,25 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:Door
+ * 作者:xulisong
+ * 创建时间: 2019/6/25 14:58:57
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using JBIM.Common;
+using JBIM.Definition;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace JBIM.Component
+{
+    [TypeDefiniton(TypeDefinition.Door)]
+    public class Door : VisibleComponentObject
+    {
+        public BimId Owner { get; set; }
+        public XYZ FaceDirection { get; set; }
+        public XYZ HandDirection { get; set; }
+    }
+}

+ 22 - 0
JBIM/JBIM/Component/VirtualWall.cs

@@ -0,0 +1,22 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:VirtualWall
+ * 作者:xulisong
+ * 创建时间: 2019/6/25 14:55:40
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using JBIM.Common;
+using JBIM.Definition;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace JBIM.Component
+{
+    [TypeDefiniton(TypeDefinition.VirtualWall)]
+    public class VirtualWall : VisibleComponentObject
+    {
+    }
+}

+ 26 - 0
JBIM/JBIM/Component/Wall.cs

@@ -0,0 +1,26 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:Wall
+ * 作者:xulisong
+ * 创建时间: 2019/6/25 14:55:22
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using JBIM.Common;
+using JBIM.Definition;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace JBIM.Component
+{
+    [TypeDefiniton(TypeDefinition.Wall)]
+    public class Wall : VisibleComponentObject
+    {
+        /// <summary>
+        /// 墙宽
+        /// </summary>
+        public double Width { get; set; }
+    }
+}

+ 23 - 0
JBIM/JBIM/Component/Window.cs

@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:Window
+ * 作者:xulisong
+ * 创建时间: 2019/6/25 14:58:42
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using JBIM.Common;
+using JBIM.Definition;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace JBIM.Component
+{
+    [TypeDefiniton(TypeDefinition.Window)]
+    public class Window : VisibleComponentObject
+    {
+        public BimId Owner { get; set; }
+    }
+}

+ 4 - 0
JBIM/JBIM/JBIM.csproj

@@ -63,6 +63,7 @@
     <Compile Include="Component\Column.cs" />
     <Compile Include="Component\ComponentObject.cs" />
     <Compile Include="Component\Connector.cs" />
+    <Compile Include="Component\Door.cs" />
     <Compile Include="Component\Duct.cs" />
     <Compile Include="Component\MepSystem.cs" />
     <Compile Include="Component\MepSystemType.cs" />
@@ -73,7 +74,10 @@
     <Compile Include="Component\EquipPart.cs" />
     <Compile Include="Component\Equipment.cs" />
     <Compile Include="Component\Space.cs" />
+    <Compile Include="Component\VirtualWall.cs" />
     <Compile Include="Component\VisibleComponentObject.cs" />
+    <Compile Include="Component\Wall.cs" />
+    <Compile Include="Component\Window.cs" />
     <Compile Include="Definition\ConnectorShape.cs" />
     <Compile Include="Definition\GeometryLocation.cs" />
     <Compile Include="Definition\XYZ.cs" />