Przeglądaj źródła

xls:提交修改信息

xulisong 6 lat temu
rodzic
commit
78489e6889
100 zmienionych plików z 4574 dodań i 686 usunięć
  1. 2 2
      MBI/FirmLib/Com.FirmLib.UI/BllCommon/DateTimeManager.cs
  2. 1 1
      MBI/MBIResource/Config/HttpSetting.xml
  3. 14 0
      MBI/Menu/MBITool.xml
  4. 6 3
      MBI/SAGA.DotNetUtils/Data.Framework/Database.cs
  5. 2 2
      MBI/SAGA.DotNetUtils/Utilities/TimeUtil.cs
  6. 16 0
      MBI/SAGA.DotNetUtils/WPF/MVVM/BaseViewModelStub.cs
  7. 18 1
      MBI/SAGA.GplotDrawData/View/WinMachineRoom.xaml.cs
  8. 70 0
      MBI/SAGA.GplotDrawData/obj/RR17/App.g.i.cs
  9. 62 0
      MBI/SAGA.GplotDrawData/obj/RR17/GeneratedInternalTypeHelper.g.i.cs
  10. 125 0
      MBI/SAGA.GplotDrawData/obj/RR17/MainWindow.g.i.cs
  11. BIN
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.Properties.Resources.resources
  12. 0 0
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.csproj.CopyComplete
  13. 133 0
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.csproj.FileListAbsolute.txt
  14. BIN
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.exe
  15. BIN
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.g.resources
  16. BIN
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.pdb
  17. 18 0
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData_MarkupCompile.i.lref
  18. 18 0
      MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData_MarkupCompile.lref
  19. BIN
      MBI/SAGA.GplotDrawData/obj/RR17/TempPE/Properties.Resources.Designer.cs.dll
  20. 0 0
      MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  21. 0 0
      MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  22. 0 0
      MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
  23. 203 0
      MBI/SAGA.GplotDrawData/obj/RR17/UcShowElement.g.i.cs
  24. 108 0
      MBI/SAGA.GplotDrawData/obj/RR17/View/WinMachineRoom.g.i.cs
  25. 119 0
      MBI/SAGA.GplotDrawData/obj/RR17/View/WinSystem.g.i.cs
  26. 119 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinControlRelation-Web.g.i.cs
  27. 125 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinControlRelation.g.i.cs
  28. 126 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawData.g.i.cs
  29. 119 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawEndPoint-Web.g.i.cs
  30. 126 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawEndPoint.g.i.cs
  31. 159 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawPipePoint.g.i.cs
  32. 128 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawSpace-Web.g.i.cs
  33. 136 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawSpace.g.i.cs
  34. 149 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinDrawWaterNode.g.i.cs
  35. 119 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinEquipmentRelation-Web.g.i.cs
  36. 108 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinMachineRoomView-Web.g.i.cs
  37. 115 0
      MBI/SAGA.GplotDrawData/obj/RR17/WinMachineRoomView.g.i.cs
  38. 70 0
      MBI/SAGA.GplotDrawData/obj/Release/App.g.i.cs
  39. BIN
      MBI/SAGA.GplotDrawData/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
  40. 0 0
      MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  41. 0 0
      MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  42. 0 0
      MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
  43. 206 0
      MBI/SAGA.GplotDrawData/obj/Release/UcShowElement.g.i.cs
  44. 163 0
      MBI/SAGA.GplotDrawData/obj/Release/WinDrawPipePoint.g.i.cs
  45. 0 0
      MBI/SAGA.GplotDrawData/obj/Release/build.force
  46. 1 6
      MBI/SAGA.GplotManage/CheckAndKeepGplotLaster.cs
  47. 37 0
      MBI/SAGA.GplotManage/GplotCommand.cs
  48. 15 0
      MBI/SAGA.GplotManage/SAGA.GplotManage.csproj
  49. 4 0
      MBI/SAGA.GplotManage/SystemChecks/CheckSystemResultView.xaml
  50. 64 0
      MBI/SAGA.GplotManage/SystemChecks/SourceSettingView.xaml
  51. 59 0
      MBI/SAGA.GplotManage/SystemChecks/SourceSettingView.xaml.cs
  52. 100 0
      MBI/SAGA.GplotManage/SystemChecks/VmSourceSetting.cs
  53. 38 1
      MBI/SAGA.GplotManage/SystemChecks/VmSystemCheck.cs
  54. 23 0
      MBI/SAGA.GplotManage/SystemChecks/WinSourceSetting.xaml
  55. 40 0
      MBI/SAGA.GplotManage/SystemChecks/WinSourceSetting.xaml.cs
  56. 4 3
      MBI/SAGA.GplotManage/SystemChecks/WinSystemCheck.xaml
  57. 1 0
      MBI/SAGA.GplotManage/SystemChecks/WinSystemCheck.xaml.cs
  58. 70 0
      MBI/SAGA.GplotManage/obj/RR17/App.g.i.cs
  59. 62 0
      MBI/SAGA.GplotManage/obj/RR17/GeneratedInternalTypeHelper.g.i.cs
  60. BIN
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.Properties.Resources.resources
  61. 0 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.csproj.CopyComplete
  62. 111 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.csproj.FileListAbsolute.txt
  63. BIN
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.exe
  64. 1 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.exe.♥MrAdvice
  65. BIN
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.g.resources
  66. BIN
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.pdb
  67. 13 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_Content.g.i.cs
  68. 7 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_MarkupCompile.i.lref
  69. 7 0
      MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_MarkupCompile.lref
  70. 107 0
      MBI/SAGA.GplotManage/obj/RR17/SystemChecks/CheckSystemResultView.g.i.cs
  71. 100 0
      MBI/SAGA.GplotManage/obj/RR17/SystemChecks/SourceSettingView.g.i.cs
  72. 105 0
      MBI/SAGA.GplotManage/obj/RR17/SystemChecks/WinSourceSetting.g.i.cs
  73. 97 0
      MBI/SAGA.GplotManage/obj/RR17/SystemChecks/WinSystemCheck.g.i.cs
  74. BIN
      MBI/SAGA.GplotManage/obj/RR17/TempPE/Properties.Resources.Designer.cs.dll
  75. 0 0
      MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  76. 0 0
      MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  77. 0 0
      MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
  78. 70 0
      MBI/SAGA.GplotManage/obj/Release/App.g.i.cs
  79. 62 0
      MBI/SAGA.GplotManage/obj/Release/GeneratedInternalTypeHelper.g.i.cs
  80. 13 0
      MBI/SAGA.GplotManage/obj/Release/SAGA.GplotManage_Content.g.i.cs
  81. 107 0
      MBI/SAGA.GplotManage/obj/Release/SystemChecks/CheckSystemResultView.g.i.cs
  82. BIN
      MBI/SAGA.GplotManage/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
  83. 0 0
      MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  84. 0 0
      MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  85. 0 0
      MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
  86. 0 0
      MBI/SAGA.GplotManage/obj/Release/build.force
  87. 1 0
      MBI/SAGA.GplotRelationComputerManage/Common/ComputerFileSetting.cs
  88. 3 1
      MBI/SAGA.GplotRelationComputerManage/Common/MBIInfoUtil.cs
  89. 28 0
      MBI/SAGA.GplotRelationComputerManage/Common/StorageEnum.cs
  90. 7 636
      MBI/SAGA.GplotRelationComputerManage/ReadSpaceCommand.cs
  91. 105 2
      MBI/SAGA.GplotRelationComputerManage/RevitSystemParse/Handler/GplotGraphParse.cs
  92. 5 0
      MBI/SAGA.GplotRelationComputerManage/SAGA.GplotRelationComputerManage.csproj
  93. 15 3
      MBI/SAGA.GplotRelationComputerManage/SpaceRelation/FloorSpaceItems.cs
  94. 19 0
      MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerContext.cs
  95. 23 0
      MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerData.cs
  96. 101 0
      MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerDataUtil.cs
  97. 40 4
      MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerHandler.cs
  98. 1 0
      MBI/SAGA.GplotRelationComputerManage/SystemChecks/ErrorCodeUtil.cs
  99. 25 21
      MBI/SAGA.GplotRelationComputerManage/SystemChecks/FloorCheckItem.cs
  100. 0 0
      MBI/SAGA.GplotRelationComputerManage/SystemChecks/GplotSystemCheckManager.cs

+ 2 - 2
MBI/FirmLib/Com.FirmLib.UI/BllCommon/DateTimeManager.cs

@@ -16,7 +16,7 @@ namespace Com.FirmLib.UI.BllCommon
             string format = "yyyyMMdd";
             if (timeStr.Length > 8)
             {
-                format = "yyyyMMddhhmmss";
+                format = "yyyyMMddHHmmss";
             }
             DateTime dateTime = DateTime.ParseExact(timeStr, format, System.Globalization.CultureInfo.InvariantCulture);
             return dateTime;
@@ -41,7 +41,7 @@ namespace Com.FirmLib.UI.BllCommon
         }
         public static string ConvertDateTime(DateTime dateTime)
         {         
-            return dateTime.ToString("yyyyMMddhhmmss");
+            return dateTime.ToString("yyyyMMddHHmmss");
         }
     }
 }

+ 1 - 1
MBI/MBIResource/Config/HttpSetting.xml

@@ -3,7 +3,7 @@
   <BaseAddress>http://service.sagacloud.cn:28888/venders</BaseAddress>
   <DependencyAddress>http://service.sagacloud.cn:28888/venders-dp</DependencyAddress>
   <EquipmentFamilyAddress> http://service.sagacloud.cn:28888/data-platform-3</EquipmentFamilyAddress>
-  <FileAddress>http://47.93.33.207:8889</FileAddress>
+  <FileAddress>http://service.sagacloud.cn:28888</FileAddress>
   <SaasAddress>http://mbi.sagacloud.cn:8080</SaasAddress>
   <H5Address>http://mbi.sagacloud.cn:8889</H5Address>
 </InnerSetting>

+ 14 - 0
MBI/Menu/MBITool.xml

@@ -173,6 +173,20 @@
       <Modules>MBITool</Modules>
     </Button>
   </Panel>
+ <Panel PanelName="标高修正" GroupFlag="True" GroupImage="" RevitVer="R14,R15,R16,R17"  ButtonStyles="Large">   
+    <Button ButtonStyles="Large">
+      <ButtonName>SAGA.MBI.UpdateLevelNameCommand</ButtonName>
+      <ButtonText>标高修正</ButtonText>
+      <ImageName>1、打开楼层模型</ImageName>
+      <DllName>..\OutputDll\SAGA.MBI.exe</DllName>
+      <ClassName>SAGA.MBI.UpdateLevelNameCommand</ClassName>
+      <ToolTip>处理模型14层及以上标高。</ToolTip>
+      <LongDescription>处理模型14层及以上标高。</LongDescription>
+      <ToolTipImage></ToolTipImage>
+      <MenuTab>MBITool_W</MenuTab>
+      <Modules>MBITool</Modules>
+    </Button>
+</Panel>
 </Menus>
 <!--名称里面换行-->
 <!-- <ButtonText>扫楼App&#x000A;用户管理</ButtonText>-->

+ 6 - 3
MBI/SAGA.DotNetUtils/Data.Framework/Database.cs

@@ -169,10 +169,13 @@ namespace Saga.Framework.DB
                 }
                var reader= CommonExecute<IDataReader>((cmd) => cmd.ExecuteReader(CommandBehavior.CloseConnection),
                    command);
-                if (shellExecute != null)
+                using (reader)
                 {
-                    shellExecute(reader);
-                }
+                    if (shellExecute != null)
+                    {
+                        shellExecute(reader);
+                    }
+                }             
                 return reader;
             }
           

+ 2 - 2
MBI/SAGA.DotNetUtils/Utilities/TimeUtil.cs

@@ -32,14 +32,14 @@ namespace SAGA.DotNetUtils.Utilities
             string format = "yyyyMMdd";
             if (timeStr.Length > 8)
             {
-                format = "yyyyMMddhhmmss";
+                format = "yyyyMMddHHmmss";
             }
             return ConvertDateTime(timeStr, format);
         }
     
         public static string ToDbString(DateTime dateTime)
         {
-            return dateTime.ToString("yyyyMMddhhmmss");
+            return dateTime.ToString("yyyyMMddHHmmss");
         }
 
         public static string ConvertDbStringFormat(string dbSring,string format)

+ 16 - 0
MBI/SAGA.DotNetUtils/WPF/MVVM/BaseViewModelStub.cs

@@ -1,6 +1,7 @@
 using System;
 using System.Linq;
 using System.Reflection;
+using System.Windows;
 using System.Xml.Serialization;
 
 namespace SAGA.DotNetUtils.WPF
@@ -41,6 +42,21 @@ namespace SAGA.DotNetUtils.WPF
             InEdit = false;
         }
         #endregion
+
+
+        private UIElement m_RefView;
+        /// <summary>
+        /// 设置相关联view
+        /// </summary>
+        /// <param name="view"></param>
+        public void SetRefView(UIElement view)
+        {
+            m_RefView = view; ;
+        }
+        public UIElement GetRefView()
+        {
+            return m_RefView;
+        }
     }
 }
 

+ 18 - 1
MBI/SAGA.GplotDrawData/View/WinMachineRoom.xaml.cs

@@ -4,6 +4,7 @@ using System.Linq;
 using System.Windows;
 
 using CEFSharpWPF;
+using Newtonsoft.Json.Linq;
 using SAGA.GplotRelationComputerManage;
 using SAGA.Models;
 using SAGA.RevitUtils.Windows;
@@ -18,6 +19,7 @@ namespace SAGA.GplotDrawData.View
         public WinMachineRoom()
         {
             InitializeComponent();
+            ucShowElement.RegisterJsObject("wpfEvent", this);
         }
         protected override void OnLoaded(object sender, RoutedEventArgs e)
         {
@@ -82,10 +84,25 @@ namespace SAGA.GplotDrawData.View
                 return;
             MachineRoomGraphView view = new MachineRoomGraphView();
             var db = view.CreateDb(record);
-            ConstData.ResponseData = db.CreateJObjectGroup();
+            var jobject = db.CreateJObjectGroup();
+            jobject["Id"] = record.FloorName + "-"+ record.BuildingTime;
+            ConstData.ResponseData = jobject;
             //ucShowElement.Show(WebGplotSettings.GplotUrl);
             ucShowElement.Show(WebGplotSettings.MachineRoomUrl);
         }
+
+
+        public void SaveStr(string path)
+        {
+            //MessageBox.Show(path ?? "没有数据");
+            var data = new JObject();//JObject.Parse(path);
+            data.Add("id", "sdada");
+            DataServerUtil.Current.SaveData("dd",data);
+            if (DataServerUtil.Current.GetFile("dd").Exists())
+            {
+               var cc= DataServerUtil.Current.LoadData<JObject>("dd");
+            }
+        }
         #endregion
     }
 }

+ 70 - 0
MBI/SAGA.GplotDrawData/obj/RR17/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2D26A8C6AD968ADFF2F352510A71933AEEF71416"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("Main.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            DrawData.App app = new DrawData.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 62 - 0
MBI/SAGA.GplotDrawData/obj/RR17/GeneratedInternalTypeHelper.g.i.cs

@@ -0,0 +1,62 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace XamlGeneratedNamespace {
+    
+    
+    /// <summary>
+    /// GeneratedInternalTypeHelper
+    /// </summary>
+    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+    public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
+        
+        /// <summary>
+        /// CreateInstance
+        /// </summary>
+        protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
+            return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) 
+                            | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
+        }
+        
+        /// <summary>
+        /// GetPropertyValue
+        /// </summary>
+        protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
+            return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// SetPropertyValue
+        /// </summary>
+        protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
+            propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// CreateDelegate
+        /// </summary>
+        protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
+            return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod 
+                            | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
+                        delegateType,
+                        handler}, null)));
+        }
+        
+        /// <summary>
+        /// AddEventHandler
+        /// </summary>
+        protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
+            eventInfo.AddEventHandler(target, handler);
+        }
+    }
+}
+

+ 125 - 0
MBI/SAGA.GplotDrawData/obj/RR17/MainWindow.g.i.cs

@@ -0,0 +1,125 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C22FFAF9657E9E3EC587FD5A43A7DD4D4B672A24"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 9 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.MainWindow win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.MainWindow)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 24 "..\..\MainWindow.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.Properties.Resources.resources


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.csproj.CopyComplete


+ 133 - 0
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.csproj.FileListAbsolute.txt

@@ -0,0 +1,133 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.csprojAssemblyReference.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\UcShowElement.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawPipePoint.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\App.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData_MarkupCompile.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData_MarkupCompile.lref
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_100_percent.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_200_percent.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_extensions.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\chrome_elf.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\d3dcompiler_47.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\devtools_resources.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\icudtl.dat
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libcef.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libEGL.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libGLESv2.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\am.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ar.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\bg.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\bn.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ca.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\cs.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\da.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\de.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\el.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\en-GB.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\en-US.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\es-419.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\es.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\et.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fa.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fil.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\gu.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\he.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hu.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\id.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\it.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ja.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\kn.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ko.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\lt.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\lv.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ml.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\mr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ms.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\nb.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\nl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pt-BR.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pt-PT.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ro.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ru.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sk.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sv.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sw.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ta.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\te.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\th.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\tr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\uk.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\vi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\zh-CN.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\zh-TW.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\natives_blob.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\snapshot_blob.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\swiftshader\libEGL.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\swiftshader\libGLESv2.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\v8_context_snapshot.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\widevinecdmadapter.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.Core.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.Core.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.xml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.XML
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.XML
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\Logger\log4net.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\Logger\NLog.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\app.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotDrawData.exe.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotDrawData.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotDrawData.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawSpace-Web.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\View\WinMachineRoom.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\View\WinSystem.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinControlRelation-Web.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinControlRelation.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\MainWindow.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawData.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawEndPoint-Web.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawEndPoint.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawSpace-Web.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawSpace.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawWaterNode.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinEquipmentRelation-Web.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinMachineRoomView-Web.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinMachineRoomView.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\GeneratedInternalTypeHelper.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\View\WinMachineRoom.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\View\WinSystem.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinControlRelation-Web.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinControlRelation.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\MainWindow.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\UcShowElement.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawData.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawEndPoint-Web.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawEndPoint.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawPipePoint.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawSpace.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinDrawWaterNode.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinEquipmentRelation-Web.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinMachineRoomView-Web.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\WinMachineRoomView.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.g.resources
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.Properties.Resources.resources
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.csproj.GenerateResource.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.csproj.CoreCompileInputs.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.csproj.CopyComplete
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\SAGA.GplotDrawData.pdb

BIN
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.exe


BIN
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.g.resources


BIN
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData.pdb


+ 18 - 0
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData_MarkupCompile.i.lref

@@ -0,0 +1,18 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\GeneratedInternalTypeHelper.g.i.cs
+
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\View\WinMachineRoom.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\View\WinSystem.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinControlRelation-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinControlRelation.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\MainWindow.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\UcShowElement.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawData.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawEndPoint-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawEndPoint.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawPipePoint.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawSpace.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawWaterNode.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinEquipmentRelation-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinMachineRoomView-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinMachineRoomView.xaml;;
+

+ 18 - 0
MBI/SAGA.GplotDrawData/obj/RR17/SAGA.GplotDrawData_MarkupCompile.lref

@@ -0,0 +1,18 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\obj\RR17\GeneratedInternalTypeHelper.g.cs
+
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\View\WinMachineRoom.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\View\WinSystem.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinControlRelation-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinControlRelation.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\MainWindow.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\UcShowElement.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawData.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawEndPoint-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawEndPoint.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawPipePoint.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawSpace.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinDrawWaterNode.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinEquipmentRelation-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinMachineRoomView-Web.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotDrawData\WinMachineRoomView.xaml;;
+

BIN
MBI/SAGA.GplotDrawData/obj/RR17/TempPE/Properties.Resources.Designer.cs.dll


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/RR17/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs


+ 203 - 0
MBI/SAGA.GplotDrawData/obj/RR17/UcShowElement.g.i.cs

@@ -0,0 +1,203 @@
+#pragma checksum "..\..\UcShowElement.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9E3576B49F84A15076B35A505E6DEB51C0CB1862"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// UcShowElement
+    /// </summary>
+    public partial class UcShowElement : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 25 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnComputer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnSave;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ScrollViewer viewer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 40 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 54 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnZoomIn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 55 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnOrigin;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 56 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnZoomOut;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/ucshowelement.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\UcShowElement.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.btnComputer = ((System.Windows.Controls.Button)(target));
+            
+            #line 25 "..\..\UcShowElement.xaml"
+            this.btnComputer.Click += new System.Windows.RoutedEventHandler(this.BtnComputer_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.btnSave = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\UcShowElement.xaml"
+            this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.viewer = ((System.Windows.Controls.ScrollViewer)(target));
+            
+            #line 32 "..\..\UcShowElement.xaml"
+            this.viewer.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.viewer_MouseUp);
+            
+            #line default
+            #line hidden
+            
+            #line 33 "..\..\UcShowElement.xaml"
+            this.viewer.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewer_MouseDown);
+            
+            #line default
+            #line hidden
+            
+            #line 39 "..\..\UcShowElement.xaml"
+            this.viewer.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.viewer_PreviewMouseWheel);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            return;
+            case 5:
+            this.btnZoomIn = ((System.Windows.Controls.Button)(target));
+            
+            #line 54 "..\..\UcShowElement.xaml"
+            this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.btnOrigin = ((System.Windows.Controls.Button)(target));
+            
+            #line 55 "..\..\UcShowElement.xaml"
+            this.btnOrigin.Click += new System.Windows.RoutedEventHandler(this.btnOrigin_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.btnZoomOut = ((System.Windows.Controls.Button)(target));
+            
+            #line 56 "..\..\UcShowElement.xaml"
+            this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 108 - 0
MBI/SAGA.GplotDrawData/obj/RR17/View/WinMachineRoom.g.i.cs

@@ -0,0 +1,108 @@
+#pragma checksum "..\..\..\View\WinMachineRoom.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "64018D89FE67D5F0B5D456D4D91125395D8CD17B"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData.View {
+    
+    
+    /// <summary>
+    /// WinMachineRoom
+    /// </summary>
+    public partial class WinMachineRoom : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 23 "..\..\..\View\WinMachineRoom.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView TreeRootNode;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\..\View\WinMachineRoom.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/view/winmachineroom.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\View\WinMachineRoom.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TreeRootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 23 "..\..\..\View\WinMachineRoom.xaml"
+            this.TreeRootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 119 - 0
MBI/SAGA.GplotDrawData/obj/RR17/View/WinSystem.g.i.cs

@@ -0,0 +1,119 @@
+#pragma checksum "..\..\..\View\WinSystem.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BC9FBD7DC013C26C8B7F00BDB789C589B77EAD07"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData.View {
+    
+    
+    /// <summary>
+    /// WinSystem
+    /// </summary>
+    public partial class WinSystem : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\..\View\WinSystem.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.View.WinSystem win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\..\View\WinSystem.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\..\View\WinSystem.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/view/winsystem.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\View\WinSystem.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.View.WinSystem)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 23 "..\..\..\View\WinSystem.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 119 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinControlRelation-Web.g.i.cs

@@ -0,0 +1,119 @@
+#pragma checksum "..\..\WinControlRelation-Web.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C986AC721355D368CA9963994F0FDCFE1039064B"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinControlRelation_Web
+    /// </summary>
+    public partial class WinControlRelation_Web : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\WinControlRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinControlRelation_Web win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinControlRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\WinControlRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/wincontrolrelation-web.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinControlRelation-Web.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinControlRelation_Web)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 25 "..\..\WinControlRelation-Web.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 125 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinControlRelation.g.i.cs

@@ -0,0 +1,125 @@
+#pragma checksum "..\..\WinControlRelation.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B1637222759C491FBD1649D5273422B509D650A2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// WinControlRelation
+    /// </summary>
+    public partial class WinControlRelation : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 9 "..\..\WinControlRelation.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.WinControlRelation win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\WinControlRelation.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\WinControlRelation.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/wincontrolrelation.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinControlRelation.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((DrawData.WinControlRelation)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 24 "..\..\WinControlRelation.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 126 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawData.g.i.cs

@@ -0,0 +1,126 @@
+#pragma checksum "..\..\WinDrawData.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DC87F2DC430021E4736F84504A3F1039AB30AE25"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.DotNetUtils;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// WinDrawData
+    /// </summary>
+    public partial class WinDrawData : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 11 "..\..\WinDrawData.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.WinDrawData win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinDrawData.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\WinDrawData.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawdata.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawData.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((DrawData.WinDrawData)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 25 "..\..\WinDrawData.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 119 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawEndPoint-Web.g.i.cs

@@ -0,0 +1,119 @@
+#pragma checksum "..\..\WinDrawEndPoint-Web.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A315F04D20202BF99511997F1061937EC4BDF5C4"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinDrawEndPoint_Web
+    /// </summary>
+    public partial class WinDrawEndPoint_Web : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 11 "..\..\WinDrawEndPoint-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinDrawEndPoint_Web win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinDrawEndPoint-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\WinDrawEndPoint-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawendpoint-web.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawEndPoint-Web.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinDrawEndPoint_Web)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 24 "..\..\WinDrawEndPoint-Web.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 126 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawEndPoint.g.i.cs

@@ -0,0 +1,126 @@
+#pragma checksum "..\..\WinDrawEndPoint.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "531FE4A374E1E6E0AD10B83DE4B56409BE105DC9"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.DotNetUtils;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinDrawEndPoint
+    /// </summary>
+    public partial class WinDrawEndPoint : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 11 "..\..\WinDrawEndPoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinDrawEndPoint win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinDrawEndPoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\WinDrawEndPoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawendpoint.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawEndPoint.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinDrawEndPoint)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 24 "..\..\WinDrawEndPoint.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 159 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawPipePoint.g.i.cs

@@ -0,0 +1,159 @@
+#pragma checksum "..\..\WinDrawPipePoint.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FC78B760F7B75E8D57A4910DC070D19EE8748BA1"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// WinDrawPipePoint
+    /// </summary>
+    public partial class WinDrawPipePoint : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ScrollViewer viewer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 19 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas panel;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Media.ScaleTransform scalTrans;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawpipepoint.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawPipePoint.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.viewer = ((System.Windows.Controls.ScrollViewer)(target));
+            return;
+            case 2:
+            this.panel = ((System.Windows.Controls.Canvas)(target));
+            
+            #line 20 "..\..\WinDrawPipePoint.xaml"
+            this.panel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_OnMouseWheel);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.scalTrans = ((System.Windows.Media.ScaleTransform)(target));
+            return;
+            case 4:
+            this.slider = ((System.Windows.Controls.Slider)(target));
+            
+            #line 28 "..\..\WinDrawPipePoint.xaml"
+            this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            
+            #line 29 "..\..\WinDrawPipePoint.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 32 "..\..\WinDrawPipePoint.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 128 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawSpace-Web.g.i.cs

@@ -0,0 +1,128 @@
+#pragma checksum "..\..\WinDrawSpace-Web.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7709B5C65B6B7DEC818C07F11CFBDDA222385530"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinDrawSpace_Web
+    /// </summary>
+    public partial class WinDrawSpace_Web : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 9 "..\..\WinDrawSpace-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinDrawSpace_Web win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 17 "..\..\WinDrawSpace-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Grid grid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 29 "..\..\WinDrawSpace-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\WinDrawSpace-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawspace-web.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawSpace-Web.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinDrawSpace_Web)(target));
+            return;
+            case 2:
+            this.grid = ((System.Windows.Controls.Grid)(target));
+            return;
+            case 3:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            case 4:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 35 "..\..\WinDrawSpace-Web.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 136 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawSpace.g.i.cs

@@ -0,0 +1,136 @@
+#pragma checksum "..\..\WinDrawSpace.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D68ABF6C4B41BAB543199A11D0A588062C7A004D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// WinDrawSpace
+    /// </summary>
+    public partial class WinDrawSpace : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\WinDrawSpace.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.WinDrawSpace win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\WinDrawSpace.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Grid grid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\WinDrawSpace.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 36 "..\..\WinDrawSpace.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawspace.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawSpace.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((DrawData.WinDrawSpace)(target));
+            return;
+            case 2:
+            this.grid = ((System.Windows.Controls.Grid)(target));
+            return;
+            case 3:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            case 4:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 36 "..\..\WinDrawSpace.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 149 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinDrawWaterNode.g.i.cs

@@ -0,0 +1,149 @@
+#pragma checksum "..\..\WinDrawWaterNode.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "38C37F0783C24525B305A075A220A33C11A968BD"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.DotNetUtils;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinDrawWaterNode
+    /// </summary>
+    public partial class WinDrawWaterNode : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 11 "..\..\WinDrawWaterNode.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinDrawWaterNode win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\WinDrawWaterNode.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas panel;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 39 "..\..\WinDrawWaterNode.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawwaternode.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawWaterNode.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinDrawWaterNode)(target));
+            
+            #line 13 "..\..\WinDrawWaterNode.xaml"
+            this.win.SizeChanged += new System.Windows.SizeChangedEventHandler(this.win_SizeChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.panel = ((System.Windows.Controls.Canvas)(target));
+            
+            #line 28 "..\..\WinDrawWaterNode.xaml"
+            this.panel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_OnMouseWheel);
+            
+            #line default
+            #line hidden
+            
+            #line 29 "..\..\WinDrawWaterNode.xaml"
+            this.panel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.panel_MouseUp);
+            
+            #line default
+            #line hidden
+            
+            #line 30 "..\..\WinDrawWaterNode.xaml"
+            this.panel.MouseMove += new System.Windows.Input.MouseEventHandler(this.panel_MouseMove);
+            
+            #line default
+            #line hidden
+            
+            #line 31 "..\..\WinDrawWaterNode.xaml"
+            this.panel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.panel_MouseDown);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 39 "..\..\WinDrawWaterNode.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 119 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinEquipmentRelation-Web.g.i.cs

@@ -0,0 +1,119 @@
+#pragma checksum "..\..\WinEquipmentRelation-Web.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A3F70056BA228FD65555F6EA10F1459D0F228309"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinEquipmentRelation_Web
+    /// </summary>
+    public partial class WinEquipmentRelation_Web : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\WinEquipmentRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotDrawData.WinEquipmentRelation_Web win;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinEquipmentRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\WinEquipmentRelation-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/winequipmentrelation-web.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinEquipmentRelation-Web.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.win = ((SAGA.GplotDrawData.WinEquipmentRelation_Web)(target));
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            case 3:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 25 "..\..\WinEquipmentRelation-Web.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 108 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinMachineRoomView-Web.g.i.cs

@@ -0,0 +1,108 @@
+#pragma checksum "..\..\WinMachineRoomView-Web.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F025E3046B77742BDADC22D3130F66E77B7F50A6"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinMachineRoomView_Web
+    /// </summary>
+    public partial class WinMachineRoomView_Web : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 23 "..\..\WinMachineRoomView-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView TreeRootNode;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\WinMachineRoomView-Web.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal CEFSharpWPF.UcGplotShow ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/winmachineroomview-web.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinMachineRoomView-Web.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TreeRootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 23 "..\..\WinMachineRoomView-Web.xaml"
+            this.TreeRootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.ucShowElement = ((CEFSharpWPF.UcGplotShow)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 115 - 0
MBI/SAGA.GplotDrawData/obj/RR17/WinMachineRoomView.g.i.cs

@@ -0,0 +1,115 @@
+#pragma checksum "..\..\WinMachineRoomView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E232F796F9D56C82FA058722AA74797EAF4CD26D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotDrawData {
+    
+    
+    /// <summary>
+    /// WinMachineRoomView
+    /// </summary>
+    public partial class WinMachineRoomView : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 22 "..\..\WinMachineRoomView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView TreeRootNode;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\WinMachineRoomView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal DrawData.UcShowElement ucShowElement;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/winmachineroomview.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinMachineRoomView.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TreeRootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 22 "..\..\WinMachineRoomView.xaml"
+            this.TreeRootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.ucShowElement = ((DrawData.UcShowElement)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 70 - 0
MBI/SAGA.GplotDrawData/obj/Release/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2D26A8C6AD968ADFF2F352510A71933AEEF71416"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using DrawData;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("Main.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            DrawData.App app = new DrawData.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
MBI/SAGA.GplotDrawData/obj/Release/TempPE/Properties.Resources.Designer.cs.dll


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
MBI/SAGA.GplotDrawData/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs


+ 206 - 0
MBI/SAGA.GplotDrawData/obj/Release/UcShowElement.g.i.cs

@@ -0,0 +1,206 @@
+#pragma checksum "..\..\UcShowElement.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9E3576B49F84A15076B35A505E6DEB51C0CB1862"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using DrawData;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// UcShowElement
+    /// </summary>
+    public partial class UcShowElement : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 25 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnComputer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnSave;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ScrollViewer viewer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 40 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 54 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnZoomIn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 55 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnOrigin;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 56 "..\..\UcShowElement.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button btnZoomOut;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/ucshowelement.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\UcShowElement.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.btnComputer = ((System.Windows.Controls.Button)(target));
+            
+            #line 25 "..\..\UcShowElement.xaml"
+            this.btnComputer.Click += new System.Windows.RoutedEventHandler(this.BtnComputer_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.btnSave = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\UcShowElement.xaml"
+            this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.viewer = ((System.Windows.Controls.ScrollViewer)(target));
+            
+            #line 32 "..\..\UcShowElement.xaml"
+            this.viewer.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.viewer_MouseUp);
+            
+            #line default
+            #line hidden
+            
+            #line 33 "..\..\UcShowElement.xaml"
+            this.viewer.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewer_MouseDown);
+            
+            #line default
+            #line hidden
+            
+            #line 39 "..\..\UcShowElement.xaml"
+            this.viewer.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.viewer_PreviewMouseWheel);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            return;
+            case 5:
+            this.btnZoomIn = ((System.Windows.Controls.Button)(target));
+            
+            #line 54 "..\..\UcShowElement.xaml"
+            this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.btnOrigin = ((System.Windows.Controls.Button)(target));
+            
+            #line 55 "..\..\UcShowElement.xaml"
+            this.btnOrigin.Click += new System.Windows.RoutedEventHandler(this.btnOrigin_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.btnZoomOut = ((System.Windows.Controls.Button)(target));
+            
+            #line 56 "..\..\UcShowElement.xaml"
+            this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 163 - 0
MBI/SAGA.GplotDrawData/obj/Release/WinDrawPipePoint.g.i.cs

@@ -0,0 +1,163 @@
+#pragma checksum "..\..\WinDrawPipePoint.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FC78B760F7B75E8D57A4910DC070D19EE8748BA1"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using CEFSharpWPF;
+using DrawData;
+using SAGA.DotNetUtils;
+using SAGA.GplotDrawData;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace DrawData {
+    
+    
+    /// <summary>
+    /// WinDrawPipePoint
+    /// </summary>
+    public partial class WinDrawPipePoint : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ScrollViewer viewer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 19 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas panel;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 22 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Media.ScaleTransform scalTrans;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Slider slider;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\WinDrawPipePoint.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TreeView rootNode;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/windrawpipepoint.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WinDrawPipePoint.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.viewer = ((System.Windows.Controls.ScrollViewer)(target));
+            return;
+            case 2:
+            this.panel = ((System.Windows.Controls.Canvas)(target));
+            
+            #line 20 "..\..\WinDrawPipePoint.xaml"
+            this.panel.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_OnMouseWheel);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.scalTrans = ((System.Windows.Media.ScaleTransform)(target));
+            return;
+            case 4:
+            this.slider = ((System.Windows.Controls.Slider)(target));
+            
+            #line 28 "..\..\WinDrawPipePoint.xaml"
+            this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            
+            #line 29 "..\..\WinDrawPipePoint.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.rootNode = ((System.Windows.Controls.TreeView)(target));
+            
+            #line 32 "..\..\WinDrawPipePoint.xaml"
+            this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 0 - 0
MBI/SAGA.GplotDrawData/obj/Release/build.force


+ 1 - 6
MBI/SAGA.GplotManage/CheckAndKeepGplotLaster.cs

@@ -1,12 +1,7 @@
-using SAGA.MBI.FileStream;
-using System;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Reflection;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using SAGA.DotNetUtils.AOP;
 using SAGA.DotNetUtils.NPOI;
 using SAGA.Models;
 using SAGA.DotNetUtils.Logger;

+ 37 - 0
MBI/SAGA.GplotManage/GplotCommand.cs

@@ -1,8 +1,11 @@
 using System.Collections.Generic;
 using System.IO;
+using System.Linq;
+using System.Text;
 using System.Threading;
 using Autodesk.Revit.Attributes;
 using Autodesk.Revit.DB;
+using Autodesk.Revit.DB.Plumbing;
 using Autodesk.Revit.UI;
 using Newtonsoft.Json;
 using SAGA.GplotDrawData;
@@ -13,6 +16,7 @@ using SAGA.MBI.Common;
 using SAGA.Models;
 using SAGA.RevitUtils;
 using SAGA.RevitUtils.Extends;
+using SAGA.RevitUtils.Extends;
 
 namespace SAGA.GplotManage
 {
@@ -160,6 +164,39 @@ namespace SAGA.GplotManage
             //};
             //var relation = ConvertJsonString(Criterias);
             //MessageShow.Infomation(relation);
+            #region 连接关系测试
+            //var pickElement = ExternalDataWrapper.Current.UiApp.PickElement("选择元素");
+            //if (pickElement != null)
+            //{
+            //    var paths=pickElement.GetRouteElements((e)=>e is Pipe);
+            //    if (paths.Any())
+            //    {
+            //        StringBuilder sb = new StringBuilder();
+            //        paths.ForEach(p => sb.AppendLine("Rount:" + p.ToString()));
+            //        MessageShow.Infomation(sb.ToString());
+            //    }
+            //    else
+            //    {
+            //        MessageShow.Infomation("未检索到相关路径");
+            //    }
+
+            //    var joinItems = pickElement.GetAllJoinElements();
+            //    var ids = string.Join(",", joinItems.Select(c => c.Id.IntegerValue));
+            //    MessageShow.Infomation(ids);
+            // }
+            #endregion
+
+            //var familyInstances = ExternalDataWrapper.Current.Doc.FilterElements<FamilyInstance>().Where(fi => MBIInfoUtil.IsEquipment(fi))
+            //    .ToList();
+            //var useEquipments = new List<FamilyInstance>();
+            //foreach (var familyInstance in familyInstances)
+            //{
+            //    var fi = familyInstance.GetFamily().Name.Contains("SECB");
+            //    if (fi)
+            //    {
+            //        MessageShow.Infomation(familyInstance.Id.ToString());
+            //    }
+            //}
             return Result.Succeeded;
         }
         private string ConvertJsonString(object object1)

+ 15 - 0
MBI/SAGA.GplotManage/SAGA.GplotManage.csproj

@@ -132,7 +132,14 @@
     <Compile Include="SystemChecks\CheckSystemResultView.xaml.cs">
       <DependentUpon>CheckSystemResultView.xaml</DependentUpon>
     </Compile>
+    <Compile Include="SystemChecks\SourceSettingView.xaml.cs">
+      <DependentUpon>SourceSettingView.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="SystemChecks\VmSourceSetting.cs" />
     <Compile Include="SystemChecks\VmSystemCheck.cs" />
+    <Compile Include="SystemChecks\WinSourceSetting.xaml.cs">
+      <DependentUpon>WinSourceSetting.xaml</DependentUpon>
+    </Compile>
     <Compile Include="SystemChecks\WinSystemCheck.xaml.cs">
       <DependentUpon>WinSystemCheck.xaml</DependentUpon>
     </Compile>
@@ -234,6 +241,14 @@
       <Generator>MSBuild:Compile</Generator>
       <SubType>Designer</SubType>
     </Page>
+    <Page Include="SystemChecks\SourceSettingView.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="SystemChecks\WinSourceSetting.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
     <Page Include="SystemChecks\WinSystemCheck.xaml">
       <SubType>Designer</SubType>
       <Generator>MSBuild:Compile</Generator>

+ 4 - 0
MBI/SAGA.GplotManage/SystemChecks/CheckSystemResultView.xaml

@@ -49,6 +49,10 @@
                                  Value="1">
                             <Setter Property="Background" Value="#FFE6E3DD" />
                         </Trigger>
+                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource  Mode=Self},Path=Item.IsPass}" Value="True">
+                            <Setter  Property="Foreground"  Value="YellowGreen"></Setter>
+                        </DataTrigger>
+                    
                     </Style.Triggers>
                 </Style>
             </DataGrid.RowStyle>

+ 64 - 0
MBI/SAGA.GplotManage/SystemChecks/SourceSettingView.xaml

@@ -0,0 +1,64 @@
+<UserControl x:Class="SAGA.GplotManage.SystemChecks.SourceSettingView"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+             xmlns:local="clr-namespace:SAGA.GplotManage.SystemChecks"
+             mc:Ignorable="d" 
+             d:DesignHeight="450" d:DesignWidth="460" Name="this" Height="{Binding Height,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=UIElement}}"
+             Width="{Binding Width,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=UIElement}}">
+    <UserControl.Resources>
+        <Style x:Key="CenterAlignmentStyle" TargetType="TextBlock">
+            <Setter Property="TextAlignment" Value="Center"/>
+            <Setter Property="VerticalAlignment" Value="Center"/>
+        </Style>
+    </UserControl.Resources>
+    <Grid>
+        <Grid>
+            <DataGrid x:Name="datagrid" RowHeight="30"   AlternationCount="2" SelectionMode="Single" SelectionUnit="Cell" AutoGenerateColumns="False" CanUserAddRows="False"
+                  ItemsSource="{Binding ItemsSource,ElementName=this}" >
+                <DataGrid.RowStyle>
+                    <Style TargetType="DataGridRow">
+                        <Setter Property="Height" Value="30"></Setter>
+                        <Style.Triggers>
+                            <Trigger Property="ItemsControl.AlternationIndex"
+                                 Value="0">
+                                <Setter Property="Background" Value="White" />
+                            </Trigger>
+                            <Trigger Property="ItemsControl.AlternationIndex"
+                                 Value="1">
+                                <Setter Property="Background" Value="#FFE6E3DD" />
+                            </Trigger>
+                            <DataTrigger Binding="{Binding RelativeSource={RelativeSource  Mode=Self},Path=Item.IsPass}" Value="True">
+                                <Setter  Property="Foreground"  Value="YellowGreen"></Setter>
+                            </DataTrigger>
+
+                        </Style.Triggers>
+                    </Style>
+                </DataGrid.RowStyle>
+                <DataGrid.CellStyle>
+                    <Style TargetType="DataGridCell">
+                    </Style>
+                </DataGrid.CellStyle>
+                <DataGrid.ColumnHeaderStyle>
+                    <Style TargetType="DataGridColumnHeader">
+                        <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
+                    </Style>
+                </DataGrid.ColumnHeaderStyle>
+                <DataGrid.Columns>
+                    <DataGridTemplateColumn Header="源" Width="50">
+                        <DataGridTemplateColumn.CellTemplate>
+                            <DataTemplate>
+                                <CheckBox VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="{Binding IsSource,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Command="{x:Static local:SourceSettingView.SourceChangedCommand}" CommandParameter="{Binding}"></CheckBox>
+                            </DataTemplate>
+                        </DataGridTemplateColumn.CellTemplate>
+                    </DataGridTemplateColumn>
+                    <!--<DataGridTextColumn Binding="{Binding BimId}" IsReadOnly="True" Width="*" MinWidth="80" Header="BIMID"  ElementStyle="{StaticResource CenterAlignmentStyle}"></DataGridTextColumn>-->
+                    <DataGridTextColumn Binding="{Binding Name}" IsReadOnly="True" Width="*" MinWidth="100" Header="名称" ElementStyle="{StaticResource CenterAlignmentStyle}"></DataGridTextColumn>
+                    <DataGridTextColumn Binding="{Binding Category}" IsReadOnly="True" Width="*" MinWidth="80" Header="类别" ElementStyle="{StaticResource CenterAlignmentStyle}"></DataGridTextColumn>
+                   
+                </DataGrid.Columns>
+            </DataGrid>
+        </Grid>
+    </Grid>
+</UserControl>

+ 59 - 0
MBI/SAGA.GplotManage/SystemChecks/SourceSettingView.xaml.cs

@@ -0,0 +1,59 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using SAGA.GplotRelationComputerManage.SystemChecks;
+
+namespace SAGA.GplotManage.SystemChecks
+{
+    /// <summary>
+    /// SourceSettingView.xaml 的交互逻辑
+    /// </summary>
+    public partial class SourceSettingView : UserControl
+    {
+        public SourceSettingView()
+        {
+            InitializeComponent();
+            this.CommandBindings.Add(new CommandBinding(SourceChangedCommand, (s, a) => { }));
+        }
+        static SourceSettingView()
+        {
+            /*
+        * 误报:可以不考虑是否修正
+        * 错误:需要考虑是否修正
+        */
+            SourceChangedCommand = new RoutedCommand("源设置改变", typeof(SourceSettingView));
+        }
+        /// <summary>
+        /// 定位
+        /// </summary>
+        public static RoutedCommand SourceChangedCommand { get; private set; }
+        public static DependencyProperty ItemsSourceProperty = DependencyProperty.Register("ItemsSource",
+            typeof(IEnumerable<EquipmentCheckResultItem>), typeof(SourceSettingView),
+            new PropertyMetadata(null, ItemsSourceChangedCallback));
+        internal static void ItemsSourceChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
+        {
+          
+
+        }
+
+        /// <summary>
+        /// 数据源
+        /// </summary>
+        public IEnumerable<EquipmentCheckResultItem> ItemsSource
+        {
+            get { return (IEnumerable<EquipmentCheckResultItem>)this.GetValue(ItemsSourceProperty); }
+            set { this.SetValue(ItemsSourceProperty, value); }
+        }
+    }
+}

+ 100 - 0
MBI/SAGA.GplotManage/SystemChecks/VmSourceSetting.cs

@@ -0,0 +1,100 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:VmSourceSetting
+ * 作者:xulisong
+ * 创建时间: 2019/3/5 11:56:23
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using Autodesk.Revit.DB;
+using Autodesk.Revit.UI;
+using SAGA.DotNetUtils.WPF;
+using SAGA.GplotRelationComputerManage.SystemChecks;
+using SAGA.RevitUtils;
+using SAGA.RevitUtils.Extends;
+using SAGA.RevitUtils.Windows;
+
+namespace SAGA.GplotManage.SystemChecks
+{
+    public class VmSourceSetting : BaseViewModelStub
+    {
+        public VmSourceSetting()
+        {
+            Init();
+        }
+        public VmSourceSetting(List<EquipmentCheckResultItem> items)
+        {
+            EquipmentItems = new ObservableCollection<EquipmentCheckResultItem>(items);
+        }
+        //初始化函数信息
+        private void Init()
+        {
+            EquipmentItems = new ObservableCollection<EquipmentCheckResultItem>();
+        }
+        #region 属性相关
+        private ObservableCollection<EquipmentCheckResultItem> m_EquipmentItems;
+        /// <summary>
+        /// 设备信息
+        /// </summary>
+        public ObservableCollection<EquipmentCheckResultItem> EquipmentItems
+        {
+            get { return this.m_EquipmentItems; }
+            set
+            {
+                this.m_EquipmentItems = value;
+                RaisePropertyChanged(nameof(this.EquipmentItems));
+            }
+        }
+        #endregion
+
+        #region 命令相关
+
+        /// <summary>
+        /// 保存源设置
+        /// </summary>
+        /// <param name="parameter"></param>
+        [Command]
+        public void EnsureCommand(object parameter)
+        {
+            Window win = parameter as Window;
+            if (win != null)
+            {
+                win.DialogResult = true;
+            }
+           
+            var useItems = this.EquipmentItems.Where(e => e.IsSource).ToList();
+            ExecuteCmd.ExecuteCommandOnce(() =>
+            {
+                var document = ExternalDataWrapper.Current.Doc;
+                using (Transaction tran=new Transaction(document, "标记源端"))
+                {
+                    try
+                    {
+                        tran.Start();
+                        GplotSystemCheckManager.CreateEquipmentFlag(document, useItems);
+                        MessageShow.Infomation("设置成功");
+                        tran.Commit();
+                    }
+                    catch (Exception ex)
+                    {
+                        tran.RollBack();
+                        MessageShow.Show(ex);
+                    }
+                }
+                return Result.Succeeded;
+            }, () => Result.Succeeded);
+        }
+        public bool CanEnsureCommand(object parameter)
+        {
+            return true;
+        }
+
+        #endregion
+    }
+}

+ 38 - 1
MBI/SAGA.GplotManage/SystemChecks/VmSystemCheck.cs

@@ -58,7 +58,7 @@ namespace SAGA.GplotManage.SystemChecks
             #region 标题显示
             //{0}管网异常模型清单(最后检查时间  {1})
             var relationItem = RelationTypeManager.GetRelationTypeItem(reportItem.GplotType);
-            var timestring=TimeUtil.ConvertDbStringFormat(reportItem.BuildingTime, "yyyyMMdd (hh:mm)");
+            var timestring=TimeUtil.ConvertDbStringFormat(reportItem.BuildingTime, "yyyyMMdd (HH:mm)");
             //reportItem.BuildingTime
             Title = string.Format("{0}管网异常模型清单(最后检查时间  {1})", relationItem?.Name, timestring);
 
@@ -133,6 +133,7 @@ namespace SAGA.GplotManage.SystemChecks
             }
         }
         #endregion
+        #region 命令相关
         #region 重新检测
         /// <summary>
         /// 重新检查
@@ -148,6 +149,7 @@ namespace SAGA.GplotManage.SystemChecks
                 {
                     CurrentReport = reportItem;
                 }
+                MessageShow.Infomation("重新检测完成");
             }
             catch (Exception ex)
             {
@@ -160,7 +162,40 @@ namespace SAGA.GplotManage.SystemChecks
             return true;
         }
         #endregion
+        #region 标记源设备
 
+        /// <summary>
+        /// 标记源设备
+        /// </summary>
+        /// <param name="parameter"></param>
+        [Command]
+        public void FlagSourceCommand(object parameter)
+        {
+            try
+            {
+                if (CurrentReport == null)
+                    return;
+                var document = ExternalDataWrapper.Current.Doc;
+                var reportItem = CurrentReport;
+                var categoryItems = GplotSystemCheckManager.GetEquipmentItems(document, reportItem.GplotType);
+                VmSourceSetting vmSetting = new VmSourceSetting(categoryItems);
+                WinSourceSetting win = new WinSourceSetting(vmSetting);
+                win.Owner = this.GetRefView() as Window;
+                win.ShowDialog();
+            }
+            catch (Exception ex)
+            {
+
+                MessageShow.Show(ex);
+            }
+        }
+        public bool CanFlagSourceCommand(object parameter)
+        {
+            return true;
+        }
+
+        #endregion
+        #endregion
         #region 定位
         public void PositionCommand(object parameter)
         {
@@ -218,5 +253,7 @@ namespace SAGA.GplotManage.SystemChecks
             }
         }
         #endregion
+
+
     }
 }

+ 23 - 0
MBI/SAGA.GplotManage/SystemChecks/WinSourceSetting.xaml

@@ -0,0 +1,23 @@
+<windows:WinBase x:Class="SAGA.GplotManage.SystemChecks.WinSourceSetting"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:SAGA.GplotManage.SystemChecks"
+        xmlns:windows="clr-namespace:SAGA.RevitUtils.Windows;assembly=SAGA.RevitUtils"
+        mc:Ignorable="d"
+        Title="标记源端" WindowStartupLocation="CenterOwner"
+        Height="550" Width="580" Name="this">
+    <Grid Margin="5">
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition Height="30"></RowDefinition>
+        </Grid.RowDefinitions>
+        <local:SourceSettingView ItemsSource="{Binding EquipmentItems}" HorizontalAlignment="Stretch"></local:SourceSettingView>
+
+        <StackPanel Grid.Row="1"  Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right">
+            <Button Margin="10,0"   Height="23" Width="100"  Command="{Binding Commands.EnsureCommand}" CommandParameter="{Binding ElementName=this}"     Content="确定" />
+            <Button Margin="10,0"    Height="23" Width="100"   Content="取消" Click="Button_Click" />
+        </StackPanel>
+    </Grid>
+</windows:WinBase>

+ 40 - 0
MBI/SAGA.GplotManage/SystemChecks/WinSourceSetting.xaml.cs

@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using SAGA.RevitUtils.Windows;
+
+namespace SAGA.GplotManage.SystemChecks
+{
+    /// <summary>
+    /// WinSourceSetting.xaml 的交互逻辑
+    /// </summary>
+    public partial class WinSourceSetting  : WinBase
+    {
+        private VmSourceSetting m_Vm;
+        public WinSourceSetting() : this(new VmSourceSetting())
+        {
+
+        }
+        public WinSourceSetting(VmSourceSetting vm)
+        {
+            InitializeComponent();
+            this.m_Vm = vm;
+            this.DataContext = this.m_Vm;
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            this.Close();
+        }
+    }
+}

+ 4 - 3
MBI/SAGA.GplotManage/SystemChecks/WinSystemCheck.xaml

@@ -41,14 +41,15 @@
         <Grid>
             <Grid.ColumnDefinitions>
                 <ColumnDefinition></ColumnDefinition>
-                <ColumnDefinition></ColumnDefinition>
+                <ColumnDefinition Width="Auto"></ColumnDefinition>
+                <ColumnDefinition Width="Auto"></ColumnDefinition>
             </Grid.ColumnDefinitions>
             <StackPanel HorizontalAlignment="Stretch" Orientation="Horizontal">
                 <Label Height="25" Content="当前模型:"  VerticalContentAlignment="Center"></Label>
                 <TextBlock   Text="{Binding Path=FloorDisplay}"  VerticalAlignment="Center"></TextBlock>
             </StackPanel>
-
-            <Button Command="{Binding Commands.ReCheckCommand}" Grid.Column="1" Height="25" Width="100" Content="重新检测"   HorizontalAlignment="Right"></Button>
+            <Button Margin="5,0" Command="{Binding Commands.FlagSourceCommand}" Grid.Column="1" Height="25" Width="80" Content="标记源端"   HorizontalAlignment="Right"></Button>
+            <Button Margin="5,0" Command="{Binding Commands.ReCheckCommand}" Grid.Column="2" Height="25" Width="80" Content="重新检测"   HorizontalAlignment="Right"></Button>
         </Grid>
 
         <local:CheckSystemResultView x:Name="View" Grid.Row="1" ItemsSource="{Binding ResultItems,Mode=TwoWay}"></local:CheckSystemResultView>

+ 1 - 0
MBI/SAGA.GplotManage/SystemChecks/WinSystemCheck.xaml.cs

@@ -32,6 +32,7 @@ namespace SAGA.GplotManage.SystemChecks
             InitializeComponent();
             this.m_Vm = vm;
             this.DataContext = this.m_Vm;
+            this.m_Vm.SetRefView(this);
             this.CommandBindings.Add(new CommandBinding(CheckSystemResultView.FixedPositionCommand,
                (e, arg) => { this.m_Vm?.PositionCommand(arg.Parameter); }));
             this.CommandBindings.Add(new CommandBinding(CheckSystemResultView.CorrectedCommand,

+ 70 - 0
MBI/SAGA.GplotManage/obj/RR17/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4CC1F0143DFD755FEA834A7E6BCC084F61DE995D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("Window1.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            SAGA.GplotManage.App app = new SAGA.GplotManage.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 62 - 0
MBI/SAGA.GplotManage/obj/RR17/GeneratedInternalTypeHelper.g.i.cs

@@ -0,0 +1,62 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace XamlGeneratedNamespace {
+    
+    
+    /// <summary>
+    /// GeneratedInternalTypeHelper
+    /// </summary>
+    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+    public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
+        
+        /// <summary>
+        /// CreateInstance
+        /// </summary>
+        protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
+            return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) 
+                            | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
+        }
+        
+        /// <summary>
+        /// GetPropertyValue
+        /// </summary>
+        protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
+            return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// SetPropertyValue
+        /// </summary>
+        protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
+            propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// CreateDelegate
+        /// </summary>
+        protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
+            return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod 
+                            | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
+                        delegateType,
+                        handler}, null)));
+        }
+        
+        /// <summary>
+        /// AddEventHandler
+        /// </summary>
+        protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
+            eventInfo.AddEventHandler(target, handler);
+        }
+    }
+}
+

BIN
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.Properties.Resources.resources


+ 0 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.csproj.CopyComplete


+ 111 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.csproj.FileListAbsolute.txt

@@ -0,0 +1,111 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.csprojAssemblyReference.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\CheckSystemResultView.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\App.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage_Content.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\GeneratedInternalTypeHelper.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage_MarkupCompile.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage_MarkupCompile.lref
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_100_percent.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_200_percent.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\cef_extensions.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\chrome_elf.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\d3dcompiler_47.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\devtools_resources.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\icudtl.dat
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libcef.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libEGL.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\libGLESv2.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\am.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ar.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\bg.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\bn.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ca.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\cs.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\da.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\de.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\el.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\en-GB.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\en-US.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\es-419.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\es.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\et.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fa.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fil.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\fr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\gu.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\he.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\hu.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\id.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\it.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ja.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\kn.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ko.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\lt.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\lv.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ml.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\mr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ms.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\nb.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\nl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pt-BR.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\pt-PT.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ro.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ru.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sk.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sl.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sv.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\sw.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\ta.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\te.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\th.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\tr.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\uk.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\vi.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\zh-CN.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\locales\zh-TW.pak
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\natives_blob.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\snapshot_blob.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\swiftshader\libEGL.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\swiftshader\libGLESv2.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\v8_context_snapshot.bin
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\widevinecdmadapter.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.Core.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.Core.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.BrowserSubprocess.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Core.xml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.XML
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.dll
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\CefSharp.Wpf.XML
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\Logger\log4net.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\Logger\NLog.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\app.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\sagacloud.ico
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotManage.exe.config
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotManage.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\OutputDll\SAGA.GplotManage.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\WinSystemCheck.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\CheckSystemResultView.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\WinSystemCheck.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.g.resources
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.Properties.Resources.resources
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.csproj.GenerateResource.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.csproj.CoreCompileInputs.cache
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.csproj.CopyComplete
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.exe
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SAGA.GplotManage.pdb
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\SourceSettingView.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\WinSourceSetting.g.cs
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\SourceSettingView.baml
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\SystemChecks\WinSourceSetting.baml

BIN
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.exe


+ 1 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.exe.♥MrAdvice

@@ -0,0 +1 @@
+This file is a marker for Mr.Advice to ensure the assembly wan't processed twice (in which case it would be as bad as crossing the streams).

BIN
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.g.resources


BIN
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage.pdb


+ 13 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_Content.g.i.cs

@@ -0,0 +1,13 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sagacloud.ico")]
+
+

+ 7 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_MarkupCompile.i.lref

@@ -0,0 +1,7 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\GeneratedInternalTypeHelper.g.i.cs
+
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\CheckSystemResultView.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\SourceSettingView.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\WinSourceSetting.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\WinSystemCheck.xaml;;
+

+ 7 - 0
MBI/SAGA.GplotManage/obj/RR17/SAGA.GplotManage_MarkupCompile.lref

@@ -0,0 +1,7 @@
+D:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\obj\RR17\GeneratedInternalTypeHelper.g.cs
+
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\CheckSystemResultView.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\SourceSettingView.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\WinSourceSetting.xaml;;
+FD:\MBI\Revit\SAGA.MBI\SAGA.MBI\MBI\SAGA.GplotManage\SystemChecks\WinSystemCheck.xaml;;
+

+ 107 - 0
MBI/SAGA.GplotManage/obj/RR17/SystemChecks/CheckSystemResultView.g.i.cs

@@ -0,0 +1,107 @@
+#pragma checksum "..\..\..\SystemChecks\CheckSystemResultView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8C6C49A84B1D30D47010C6E2F88C704BE59E612C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage.SystemChecks;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage.SystemChecks {
+    
+    
+    /// <summary>
+    /// CheckSystemResultView
+    /// </summary>
+    public partial class CheckSystemResultView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 8 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotManage.SystemChecks.CheckSystemResultView @this;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid datagrid;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotManage;component/systemchecks/checksystemresultview.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.@this = ((SAGA.GplotManage.SystemChecks.CheckSystemResultView)(target));
+            return;
+            case 2:
+            this.datagrid = ((System.Windows.Controls.DataGrid)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 100 - 0
MBI/SAGA.GplotManage/obj/RR17/SystemChecks/SourceSettingView.g.i.cs

@@ -0,0 +1,100 @@
+#pragma checksum "..\..\..\SystemChecks\SourceSettingView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "753FC6773015693CEE79ACF983BC2747A7761822"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage.SystemChecks;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage.SystemChecks {
+    
+    
+    /// <summary>
+    /// SourceSettingView
+    /// </summary>
+    public partial class SourceSettingView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 8 "..\..\..\SystemChecks\SourceSettingView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotManage.SystemChecks.SourceSettingView @this;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\..\SystemChecks\SourceSettingView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid datagrid;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotManage;component/systemchecks/sourcesettingview.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\SystemChecks\SourceSettingView.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.@this = ((SAGA.GplotManage.SystemChecks.SourceSettingView)(target));
+            return;
+            case 2:
+            this.datagrid = ((System.Windows.Controls.DataGrid)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 105 - 0
MBI/SAGA.GplotManage/obj/RR17/SystemChecks/WinSourceSetting.g.i.cs

@@ -0,0 +1,105 @@
+#pragma checksum "..\..\..\SystemChecks\WinSourceSetting.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "235BBE21088D9D4839CFA7D243AA7B0BDDA542D4"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage.SystemChecks;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage.SystemChecks {
+    
+    
+    /// <summary>
+    /// WinSourceSetting
+    /// </summary>
+    public partial class WinSourceSetting : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\..\SystemChecks\WinSourceSetting.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotManage.SystemChecks.WinSourceSetting @this;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotManage;component/systemchecks/winsourcesetting.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\SystemChecks\WinSourceSetting.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.@this = ((SAGA.GplotManage.SystemChecks.WinSourceSetting)(target));
+            return;
+            case 2:
+            
+            #line 20 "..\..\..\SystemChecks\WinSourceSetting.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 97 - 0
MBI/SAGA.GplotManage/obj/RR17/SystemChecks/WinSystemCheck.g.i.cs

@@ -0,0 +1,97 @@
+#pragma checksum "..\..\..\SystemChecks\WinSystemCheck.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "338FD42D12E5D78E983FA6A296959B2ED742481E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage.SystemChecks;
+using SAGA.RevitUtils.Windows;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage.SystemChecks {
+    
+    
+    /// <summary>
+    /// WinSystemCheck
+    /// </summary>
+    public partial class WinSystemCheck : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 55 "..\..\..\SystemChecks\WinSystemCheck.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotManage.SystemChecks.CheckSystemResultView View;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotManage;component/systemchecks/winsystemcheck.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\SystemChecks\WinSystemCheck.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.View = ((SAGA.GplotManage.SystemChecks.CheckSystemResultView)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
MBI/SAGA.GplotManage/obj/RR17/TempPE/Properties.Resources.Designer.cs.dll


+ 0 - 0
MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
MBI/SAGA.GplotManage/obj/RR17/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs


+ 70 - 0
MBI/SAGA.GplotManage/obj/Release/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4CC1F0143DFD755FEA834A7E6BCC084F61DE995D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("Window1.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            SAGA.GplotManage.App app = new SAGA.GplotManage.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 62 - 0
MBI/SAGA.GplotManage/obj/Release/GeneratedInternalTypeHelper.g.i.cs

@@ -0,0 +1,62 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace XamlGeneratedNamespace {
+    
+    
+    /// <summary>
+    /// GeneratedInternalTypeHelper
+    /// </summary>
+    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+    public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
+        
+        /// <summary>
+        /// CreateInstance
+        /// </summary>
+        protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
+            return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) 
+                            | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
+        }
+        
+        /// <summary>
+        /// GetPropertyValue
+        /// </summary>
+        protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
+            return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// SetPropertyValue
+        /// </summary>
+        protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
+            propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
+        }
+        
+        /// <summary>
+        /// CreateDelegate
+        /// </summary>
+        protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
+            return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod 
+                            | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
+                        delegateType,
+                        handler}, null)));
+        }
+        
+        /// <summary>
+        /// AddEventHandler
+        /// </summary>
+        protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
+            eventInfo.AddEventHandler(target, handler);
+        }
+    }
+}
+

+ 13 - 0
MBI/SAGA.GplotManage/obj/Release/SAGA.GplotManage_Content.g.i.cs

@@ -0,0 +1,13 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sagacloud.ico")]
+
+

+ 107 - 0
MBI/SAGA.GplotManage/obj/Release/SystemChecks/CheckSystemResultView.g.i.cs

@@ -0,0 +1,107 @@
+#pragma checksum "..\..\..\SystemChecks\CheckSystemResultView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8C6C49A84B1D30D47010C6E2F88C704BE59E612C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本:4.0.30319.42000
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using SAGA.GplotManage.SystemChecks;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace SAGA.GplotManage.SystemChecks {
+    
+    
+    /// <summary>
+    /// CheckSystemResultView
+    /// </summary>
+    public partial class CheckSystemResultView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 8 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal SAGA.GplotManage.SystemChecks.CheckSystemResultView @this;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid datagrid;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/SAGA.GplotManage;component/systemchecks/checksystemresultview.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\SystemChecks\CheckSystemResultView.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
+            return System.Delegate.CreateDelegate(delegateType, this, handler);
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.@this = ((SAGA.GplotManage.SystemChecks.CheckSystemResultView)(target));
+            return;
+            case 2:
+            this.datagrid = ((System.Windows.Controls.DataGrid)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
MBI/SAGA.GplotManage/obj/Release/TempPE/Properties.Resources.Designer.cs.dll


+ 0 - 0
MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
MBI/SAGA.GplotManage/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs


+ 0 - 0
MBI/SAGA.GplotManage/obj/Release/build.force


+ 1 - 0
MBI/SAGA.GplotRelationComputerManage/Common/ComputerFileSetting.cs

@@ -18,6 +18,7 @@ namespace SAGA.GplotRelationComputerManage
         public const string MachineRoomDraw = "MechineRoomDraw";
         public const string MachineRoomRelation = "MechineRoomRelation";
         public const string FloorMap = "FloorMap";
+        public const string SpaceData = "SpaceData";
         /// <summary>
         /// 获取通用的文件名称
         /// </summary>

+ 3 - 1
MBI/SAGA.GplotRelationComputerManage/Common/MBIInfoUtil.cs

@@ -137,8 +137,10 @@ namespace SAGA.GplotRelationComputerManage
 
         public static bool TryGetEquipmentCategory(string name, out string category)
         {
-            bool result = false;
+            bool result = false;         
             category = null;
+            if (string.IsNullOrWhiteSpace(name))
+                return result;
             var match = Regex.Match(name, @"^(?:((?:[A-Z][A-Z]){2,3})\s*-\s*\S*)");
             if (match.Success)
             {

+ 28 - 0
MBI/SAGA.GplotRelationComputerManage/Common/StorageEnum.cs

@@ -0,0 +1,28 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:StorageEnum
+ * 作者:xulisong
+ * 创建时间: 2019/3/5 10:48:37
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SAGA.GplotRelationComputerManage
+{
+    /// <summary>
+    /// 存储枚举
+    /// </summary>
+    public enum StorageEnum
+    {
+        /// <summary>
+        /// 设备源信息
+        /// </summary>
+        [Description("设备源")]
+        EquipmentSource,
+    }
+}

+ 7 - 636
MBI/SAGA.GplotRelationComputerManage/ReadSpaceCommand.cs

@@ -2,20 +2,8 @@
 using System.Collections.Generic;
 using System.Diagnostics;
 using System.IO;
-using System.Linq;
-using System.Text.RegularExpressions;
-using Autodesk.Revit.DB;
-using Autodesk.Revit.DB.Mechanical;
-using Newtonsoft.Json.Linq;
-using SAGA.DotNetUtils.Extend;
-using SAGA.MBI.DataArrange;
-using SAGA.MBI.Model;
-using SAGA.MBI.RequestData;
 using SAGA.MBI.Tools;
-using SAGA.Models;
-using SAGA.RevitUtils;
-using SAGA.RevitUtils.Extends;
-using Point = System.Windows.Point;
+
 
 namespace SAGA.GplotRelationComputerManage
 {
@@ -23,641 +11,24 @@ namespace SAGA.GplotRelationComputerManage
     /// 空间关系
     /// </summary>
     public class ReadSpaceCommand
-    {
-        List<FamilyInstance> m_doors;
-        List<FamilyInstance> m_windows;
-
-        private Dictionary<Space, List<BoundarySegment>> m_levelSpaceData;
-
-        //存放所有层的楼层名称与所有空间边线
-        Dictionary<string /*楼层*/, Dictionary<Space /*空间*/, List<BoundarySegment> /*边线*/>> allSpace =
-            new Dictionary<string, Dictionary<Space, List<BoundarySegment>>>();
-
-        /// <summary>
-        /// 缓存所有楼层的空间,避免重复加载数据
-        /// </summary>
-        Dictionary<string /*楼层*/, List<Space> /*空间*/> allSpaces =
-           new Dictionary<string, List<Space>>();
-
-        /// <summary>
-        /// 缓存所有转换后的空间对象
-        /// </summary>
-        List<SgSpace> allSgSpaces = new List<SgSpace>();
-        private bool m_isDraw = false;
-        List<SgSpace> m_sgSpaces;
-        private Dictionary<string /*bimId*/, JObject /*类型*/> m_dicServerSpace;
-        List<List<Point>> m_connectionLine = new List<List<Point>>();
-
-        private Document m_doc;
-
-        //需要进行上下比较房间类型
-        private List<string> roomFunCtype = new List<string>() { "140","150","1A0","1B0" };    
-        /// <summary>
-        /// 初始化数据集合
-        /// </summary>
-        void Init()
-        {
-            m_doors = new List<FamilyInstance>();
-            m_windows = new List<FamilyInstance>();
-            m_levelSpaceData = new Dictionary<Space, List<BoundarySegment>>();
-            m_sgSpaces = new List<SgSpace>();
-        }
-
-        /// <summary>
-        /// 向集合内添加空间,防止空间重复
-        /// </summary>
-        /// <param name="sgSpace"></param>
-        public void AddSpaces(SgSpace sgSpace)
-        {
-            var space = m_sgSpaces.FirstOrDefault(t => t.Id == sgSpace.Id);
-            if (sgSpace != null)
-            {
-                m_sgSpaces.Remove(space);
-            }
-            m_sgSpaces.Add(sgSpace);
-        }
-
+    {     
         /// <summary>
         /// 对所有模型进行空间计算
         /// </summary>
         public void Computer()
-        {
-            //缓存所有空间数据
-            //查询所有设备
-            // var str = new string[] { "Si" };//元空间为Si
-            //List<JObject> datas = CommonConvert.QueryObjectInfoByTypes(str);
-            //m_dicServerSpace = new Dictionary<string, JObject>();
-            //datas.ForEach(t =>
-            //{
-            //    var bimId = GetValue(t, "BIMID");
-            //    if (!string.IsNullOrEmpty(bimId))
-            //    {
-            //        m_dicServerSpace[bimId] = t;
-            //    }
-
-            //});
-            //打开所有楼层数据
-            //Stopwatch watch = new Stopwatch();
-            //watch.Start();
-            var fileInfos = RevitModelPath.GetAllRevitFiles();//.Where(t => t.IndexOf("71062c") > -1);
+        {          
+            var fileInfos = RevitModelPath.GetAllRevitFiles();
             SpaceComputerContext context = new SpaceComputerContext();
             foreach (var fileInfo in fileInfos)
             {
                 if (File.Exists(fileInfo))
                 {
-                    //var uiApp = ExternalDataWrapper.Current.UiApp.Application;
-                    //var doc = uiApp.OpenDocumentFile(fileInfo);
                     Trace.Write(fileInfo);
                     FloorSpaceItems floorItems = context.GetFloorItems(fileInfo);
                     floorItems.Parse(context);
-                    //if(floorItems.Document.Application.Creat)
                     floorItems.Document.CloseDocSimple();
-                    //ComputerSpace(doc);
-                }
-            }
-            //MessageShow.Infomation((watch.ElapsedMilliseconds / 1000).ToString());
-            //watch.Stop();
-            //MessageShow.Infomation((watch.ElapsedMilliseconds / 1000).ToString());
-        }
-
-        /// <summary>
-        /// 获取指定属性的值
-        /// </summary>
-        /// <param name="equip"></param>
-        /// <param name="propertyName"></param>
-        /// <returns></returns>
-        public string GetValue(JObject equip, string propertyName)
-        {
-            // equip.GetValue("infos")  
-            string result = "";
-            if (equip != null)
-            {
-                result = equip["infos"][propertyName] + "";
-            }
-
-            return result;
-        }
-
-
-        /// <summary>
-        /// 读取Document里面的所有空间
-        /// </summary>
-        /// <param name="doc"></param>
-        /// <param name="filePath"></param>
-        /// <returns></returns>
-        List<Space> GetSpaces(Document doc, string filePath = "")
-        {
-            if (string.IsNullOrEmpty(filePath))
-                filePath = doc.PathName;
-            var modelId = Path.GetFileNameWithoutExtension(filePath);
-            Debug.Assert(modelId != null, nameof(modelId) + " != null");
-            if (allSpaces.ContainsKey(modelId))
-            {
-                return allSpaces[modelId];
-            }
-
-            if (doc == null)
-            {
-                if (File.Exists(filePath))
-                {
-                    var uiApp = ExternalDataWrapper.Current.UiApp.Application;
-                    doc = uiApp.OpenDocumentFile(filePath);
-                }
-                else
-                    return new List<Space>();
-            }
-
-            List<Space> spaces = doc.GetAllElements().Where(e => e is Space space && !space.Area.IsZero()).Cast<Space>().ToList();
-            allSpaces.Add(modelId, spaces);
-            return spaces;
-        }
-
-        /// <summary>
-        /// 将Revit空间数据转换成可序列化的数据
-        /// </summary>
-        /// <param name="space"></param>
-        /// <param name="isCreate"></param>
-        /// <returns></returns>
-        SgSpace GetSgSpace(Space space, bool isCreate = true)
-        {
-            var sgSpace = allSgSpaces.FirstOrDefault(t => t.Id == space.Id.ToString());
-            if (sgSpace == null || !isCreate)
-            {
-                var floorId = space.Document.PathName.GetFileName();
-                var bimID = string.Format($"{floorId}:{space.Id.ToString()}");
-                var localName = space.Name;
-                var spaceType = string.Empty;
-                 m_dicServerSpace.TryGetValue(bimID, out JObject jo);
-                if (jo != null)
-                {
-                    localName = GetValue(jo, "RoomLocalName");
-                    spaceType=GetValue(jo, "RoomFuncType");                
-                }
-               
-                sgSpace = new SgSpace()
-                {
-                    Id = space.Id.ToString(),
-                    Name =string.IsNullOrEmpty(localName)? space.Name: localName,
-                    Point = space.Location.GetPoint().ToW2DPoint(),
-                    // Point = GetCenter(space).ToW2DPoint(),
-                    RoomFuncType = spaceType,
-                    BoundarySegment = ConvertBoundarySegmentTo2D(new LvSpace(space))
-                };
-                if (isCreate)
-                    allSgSpaces.Add(sgSpace);
-                return sgSpace;
-            }
-            return sgSpace;
-        }
-
-        /// <summary>
-        /// 计算空间关系
-        /// </summary>
-        /// <param name="doc"></param>
-        public void ComputerSpace(Document doc)
-        {
-            m_doc = doc;
-            Init();
-            m_doors = doc.GetElements<FamilyInstance>(BuiltInCategory.OST_Doors);
-            m_windows = doc.GetElements<FamilyInstance>(BuiltInCategory.OST_Windows);
-
-            List<Space>  spaces = GetSpaces(doc);
-
-            #region 计算平面拓扑
-            System.Diagnostics.Debug.WriteLine(DateTime.Now + "平面计算开始");
-
-            //转换所有空间
-            var dataSpaces = ConvertSpace(spaces);
-            //根据边上的Element分组
-            var groupSpaces = dataSpaces.GroupBy(t => t.EdgeElement.Id.IntegerValue).ToList();
-            //合并公共构建,如果是面层墙则进行合并
-            var datas = CombinElement(groupSpaces);
-            foreach (var groupSpace in datas)
-            {        
-                var lSpaces = groupSpace.Value;
-                var count = lSpaces.Count;
-                if (count > 1)
-                {
-                    for (int i = 0; i < count; i++)
-                    {
-                        var ls1 = lSpaces[i];
-                        var mySpace = ls1.Space;
-
-                        SgSpace currSgSpace = GetSgSpace(mySpace);
-
-                        AddSpaces(currSgSpace);
-                        for (int j = i + 1; j < count; j++)
-                        {
-                            var ls2 = lSpaces[j];
-                            var space = ls2.Space;
-
-                            if (mySpace.Id.IsEqual(space.Id)) continue;
-                            var sgSpace = GetSgSpace(space, false);
-
-                            //如果关系已经存在
-                            if ((sgSpace.AdjacentSpaces.Any(t => t.Space.Id == currSgSpace.Id) || currSgSpace.AdjacentSpaces.Any(t => t.Space.Id == sgSpace.Id))) continue;
-
-                            //分别做投影
-                            Curve curve1 = GetProjectLine(ls1.Edge, ls1.SegEdge);
-                            Curve curve2 = GetProjectLine(ls1.Edge, ls2.SegEdge);
-                            //判断投影是否相交或者包含
-                            //var isConn = curve2.Intersect(curve1) != SetComparisonResult.Disjoint;
-                            IntersectionResultArray ira;
-                            var isConn = curve2.Intersect(curve1, out ira) != SetComparisonResult.Disjoint;
-                            if (ira != null && ira.Size == 1) continue;
-                            var isVirtual = ls1.EType == typeof(ModelCurve);
-
-                            if (isConn)
-                            {
-                                //判断关系
-                                var spaceRelated = isVirtual
-                                    ? SpaceRelatedEnum.All
-                                    : JudgeDoorAndWindow(ls1.EdgeElement, curve1,
-                                        curve2);
-
-
-                                var adjacentSpace = new AdjacentSpace()
-                                {
-                                    Space = sgSpace,
-                                    RelatedEnum = spaceRelated
-                                };
-
-                                currSgSpace.AdjacentSpaces.Add(adjacentSpace);
-
-                                m_connectionLine.Add(new List<Point>()
-                                        {
-                                            currSgSpace.Point,
-                                            sgSpace.Point
-                                        });
-                            }
-                        }
-                    }
-                }
-            }
-            #endregion
-
-            System.Diagnostics.Debug.WriteLine(DateTime.Now + "平面计算结束");
-            var name = doc.Title;
-            //上层模型名字
-            var upFloor = GetUpFloorKey(name);
-            if (upFloor != null)
-            {
-                var upSpaces = GetSpaces(null, upFloor.FullPath);
-
-                var upLvSpaces = upSpaces.Select(t => new LvSpace(t)).ToList();
-                var currLvSpaces = spaces.Select(t => new LvSpace(t));
-                foreach (var lvSpace in currLvSpaces)
-                {
-                    ComputerUpDownRelationship(lvSpace, upLvSpaces);
-                }
-
-                //判断上一层是否为夹层
-                if (upFloor.FloorType == "4") //夹层为4
-                {
-                    //取出夹层的上一层
-                    var upUpFloor = GetUpFloorKey(upFloor.FullPath);
-                    if (upUpFloor != null)
-                    {
-                        var upUpSpaces = GetSpaces(null, upUpFloor.FullPath);
-                        var upUpLvSpaces = upUpSpaces.Select(t => new LvSpace(t)).ToList();
-                        foreach (var lvSpace in currLvSpaces.Where(t => t.IsPaired == false))
-                        {
-                            ComputerUpDownRelationship(lvSpace, upUpLvSpaces);
-                        }
-                    }
-                }
-            }
-
-            //保存数据到数据库 
-            var id = Regex.Replace(doc.PathName, @".+\\(\w+)\\(\w+).rvt$", "$1-$2");
-            var saveName = DalProjectTree.GetFloorNameByFloorId(id.Split('-')[1]);
-
-            var levels = doc.GetLevels();
-            string levelName = saveName;
-            var currLevels = levels.FirstOrDefault(t => t.Name.IndexOf("-saga") > -1);
-            if (currLevels != null) levelName = currLevels.Name;
-            FloorSpaceData floorData = new FloorSpaceData
-            {
-                Name = saveName,
-                Id = id,
-                LevelName = levelName.Replace("-saga", "")
-            };
-            m_sgSpaces.ForEach(s => floorData.EndPoints.Add(s));
-
-            //获取标高名称,并按高度排序
-            List<string> levelNames = levels.OrderBy(t => t.Elevation).Where(t => Regex.IsMatch(t.Name, "[F|B]")).Select(t => t.Name.Replace("-saga", "")).ToList();
-            DrawDataServer.SaveSpaceFloorData(new List<FloorSpaceData>() { floorData }, levelNames);
-
-
-            //换成楼层空间数据
-            if (m_levelSpaceData.Count > 0 && !allSpace.ContainsKey(name))
-                allSpace.Add(name, m_levelSpaceData);
-        }
-
-        /// <summary>
-        /// 合并公共构件
-        /// </summary>
-        /// <param name="eleDatas"></param>
-        /// <returns></returns>
-        private List<KeyValuePair<int, List<SpaceEdgeInfo>>> CombinElement(List<IGrouping<int, SpaceEdgeInfo>> eleDatas)
-        {
-            var datas = eleDatas.ToDictionary(t => t.Key, t => t.ToList()).ToList();
-            for (int i = datas.Count - 1; i >= 0; i--)
-            {
-                var d1 = datas[i];
-                var e1 = d1.Value.FirstOrDefault().EdgeElement;
-
-                var thickness1 = 0d;
-                var line1 = GetElementLine(e1, out thickness1);
-                if(line1==null)continue;
-                var middle = line1.MiddlePoint();
-                for (int j = i - 1; j >= 0; j--)
-                {
-                      j = Math.Min(datas.Count-1, j);
-                    var d2 = datas[j];
-
-                    if (d2.Key == d1.Key) continue;
-
-                    var e2 = d2.Value.FirstOrDefault().EdgeElement;
-
-                    var thickness2 = 0d;
-
-                    var line2 = GetElementLine(e2, out thickness2);
-                    if(line2==null||line1==null)continue;
-                    if (line1.IsParallel(line2))//平行
-                    {
-                        //间距小于两个厚度之和的一半
-
-                        var project = line2.GetProjectPt(middle);
-                        var length = (middle - project).GetLength();
-                        if (((thickness1 + thickness2) / 2.0d).IsThanEq(length))
-                        {
-                            //将线投影到另外一条线上,两条线必须共线
-                            var projectLine = GetProjectLine(line1, line2);
-
-                            if (projectLine.Intersect(line1) != SetComparisonResult.Disjoint)
-                            {
-                                //合并两个Element,取长的保留
-                                if (line1.Length < line2.Length)
-                                {
-                                    d2.Value.AddRange(d1.Value);
-                                    datas.RemoveAll(t => t.Key == (d1.Key));
-                                }
-                                else
-                                {
-                                    d1.Value.AddRange(d2.Value);
-                                    datas.RemoveAll(t => t.Key == (d2.Key));
-                                }
-                            }
-                        }
-                    }
                 }
-            }
-
-            return datas;
-        }
-
-        /// <summary>
-        /// 获取Element的厚度以及中轴线
-        /// </summary>
-        /// <param name="ele"></param>
-        /// <param name="width"></param>
-        /// <returns></returns>
-        Line GetElementLine(Element ele, out double width)
-        {
-            width = 0;
-            if (ele is Wall wall)
-            {
-                width = wall.WallType.GetParameterDouble(BuiltInParameter.WALL_ATTR_WIDTH_PARAM);
-            }
-
-            return ele.GetLocationCurve().GetLine();
-        }
-
-        /// <summary>
-        /// 获取Curve1在Curve2上的投影
-        /// </summary>
-        /// <param name="projectLine"></param>
-        /// <param name="line"></param>
-        /// <returns></returns>
-        private Curve GetProjectLine(Curve projectLine, Curve line)
-        {
-            var startPoint = projectLine.GetProjectPt(line.StartPoint());
-            var endPoint = projectLine.GetProjectPt(line.EndPoint());
-            if (projectLine is Arc)
-            {
-                var middle = projectLine.GetProjectPt((startPoint + endPoint) / 2);
-                return Arc.Create(startPoint, endPoint, middle);
-            }
-
-            return Line.CreateBound(startPoint, endPoint);
-        }
-        /// <summary>
-        /// 判断当前两个空间是否有门窗
-        /// </summary>
-        /// <param name="wall"></param>
-        /// <param name="curve1"></param>
-        /// <param name="curve2"></param>
-        /// <returns></returns>
-        private SpaceRelatedEnum JudgeDoorAndWindow(Element wall, Curve curve1, Curve curve2)
-        {
-            var wallId = wall.Id;
-            var wallWidth = (wall as Wall)?.WallType.Width;
-
-            var z = curve1.StartPoint().Z;
-            SpaceRelatedEnum spaceRelated = SpaceRelatedEnum.Adjacent;
-            var doors = m_doors.Where(t => t.Host.Id.IsEqual(wallId));
-            var windows = m_windows.Where(t => t.Host.Id.IsEqual(wallId));
-            Predicate<XYZ> isHost = (point) =>
-            {
-                point = point.NewZ(z);
-                //向两个线上做投影
-                var point1 = curve1.GetProjectPt(point, false);
-                var point2 = curve2.GetProjectPt(point, false);
-                //定位点到两个投影的必须小于墙厚
-                return (point - point1).GetLength() < wallWidth && (point - point2).GetLength() < wallWidth;
-            };
-
-            if (doors.Any(t => isHost(t.GetLocationPoint())))
-                spaceRelated = spaceRelated | SpaceRelatedEnum.Crossing | SpaceRelatedEnum.Ventilation;
-            if (windows.Any(t =>
-                isHost(t.GetLocationPoint())))
-                spaceRelated = spaceRelated | SpaceRelatedEnum.Radiation | SpaceRelatedEnum.Ventilation;
-            return spaceRelated;
-        }
-
-       
-
-
-        /// <summary>
-        /// 计算上层相关联的空间
-        /// </summary>
-        /// <param name="space"></param>
-        /// <param name="upSpaces"></param>
-        void ComputerUpDownRelationship(LvSpace space, List<LvSpace> upSpaces)
-        {
-            var curves = space.ZeroCurves;
-            var sgSpace = m_sgSpaces.FirstOrDefault(t => t.Id == space.Space.Id.ToString()) ?? GetSgSpace(space.Space, false);
-
-            foreach (var upSpace in upSpaces)
-            {
-                if (ClosedIntersect(upSpace.ZeroCurves, curves))
-                {
-
-                    space.IsPaired = true;
-                    var s = GetSgSpace(upSpace.Space, false);
-
-                    var related = SpaceRelatedEnum.Adjacent;
-                    //判断上下关系
-                    //TODO:此处取出空间类型属性,如果一致则建立关系,此处交通必须是一对一,如果不是,则不建立关系(1对多不建立关系)
-                    if (s.RoomFuncType == sgSpace.RoomFuncType && roomFunCtype.Contains(s.RoomFuncType))
-                    {
-                        related = related | SpaceRelatedEnum.Crossing;
-
-                        space.UpLvSpaces.Add(upSpace);
-                    }
-
-                    sgSpace.UpElements.Add(new AdjacentSpace()
-                    {
-                        Space = s,
-                        RelatedEnum = related
-                    });
-                }
-            }
-
-        }
-        /// <summary>
-        /// 将空间轮廓转换成Win2d
-        /// </summary>
-        /// <param name="upSpace"></param>
-        /// <returns></returns>
-        private List<List<Point>> ConvertBoundarySegmentTo2D(LvSpace upSpace)
-        {
-            //取出边缘
-            var datas = new List<List<Point>>();
-            foreach (var curve in upSpace.ZeroCurves)
-            {
-                if (curve is Autodesk.Revit.DB.Line line)
-                {
-                    //  var line = segment.GetCurve().GetLine();
-                    datas.Add(new List<Point>(){
-                        line.GetEndPoint(0).ToW2DPoint()
-                    ,line.GetEndPoint(1).ToW2DPoint() });
-                }
-                else if (curve is Autodesk.Revit.DB.Arc arc)
-                {
-                    datas.Add(arc.Tessellate().Select(xyz => xyz.ToW2DPoint()).ToList());
-                }
-            }
-
-            return datas;
-        }
-
-        /// <summary>
-        /// 判断两个区域是否相交或者相互包含
-        /// </summary>
-        /// <param name="closed1"></param>
-        /// <param name="closed2"></param>
-        /// <returns></returns>
-        public bool ClosedIntersect(List<Curve> closed1, List<Curve> closed2)
-        {
-            //判断所有的线是否有相交
-            foreach (var curve1 in closed1)
-            {
-                if (curve1.IsIntersectPoly(closed2)) return true;
-            }
-
-            //判断是否包含
-            foreach (var curve in closed1)
-            {
-                if (curve.StartPoint().PointInPolygon(closed2)) return true;
-            }
-
-            return closed2.Any(curve => curve.StartPoint().PointInPolygon(closed1));
-        }
-
-        /// <summary>
-        /// 获取上层空间信息
-        /// </summary>
-        /// <param name="key">楼层名称</param>
-        /// <returns>上层楼层名称</returns>
-        MFloor GetUpFloorKey(string key)
-        {
-            var modelName = System.IO.Path.GetFileNameWithoutExtension(key);
-            MFloor floor = DalProjectTree.GetUpperFloor(modelName);
-            return floor;
-        }
-
-        /// <summary>
-        /// 将所有空间转换成边集合对象
-        /// </summary>
-        /// <param name="spaces"></param>
-        /// <returns></returns>
-        private List<SpaceEdgeInfo> ConvertSpace(List<Space> spaces)
-        {
-            var lSpaces = new List<SpaceEdgeInfo>();
-            foreach (var space in spaces)
-            {
-                //如果空间内有多个柱子,每个柱子相当于一个封闭区域,也是一个List<BoundarySegment>,如果一个空间分隔符或者墙上有一个柱子,所在的空间轮廓就会多出两个边分别是柱子左边,柱子,柱子右边,他们三个的ElementId相同,getCurve不同
-                IList<IList<BoundarySegment>> segments = space.GetBoundarySegments(new SpatialElementBoundaryOptions());
-                foreach (IList<BoundarySegment> boundarySegments in segments)
-                {
-                    foreach (var segment in boundarySegments)
-                    {
-                        //去除不能构成边的元素
-                        if (segment.ElementId.IntegerValue != -1)
-                        {
-                            Curve wallLine = null;
-
-                            var elem = m_doc.GetElement(segment.ElementId);
-                            var type = typeof(object);
-                            //这里只处理墙和分隔符
-                            if (elem is Wall wall)
-                            {
-                                wallLine = wall.Location.GetCurve();
-                                type = typeof(Wall);
-                            }
-                            else if (elem is ModelCurve modelCurve)
-                            {
-                                wallLine = modelCurve.GetCurve();
-                                type = typeof(ModelCurve);
-                            }
-                            else
-                            {
-                                continue;
-                            }
-                            Curve segCurve1 = segment.GetCurve();
-                            lSpaces.Add(new SpaceEdgeInfo()
-                            {
-                                Space = space,
-                                Edge = wallLine,
-                                SegEdge = segCurve1,
-                                EdgeElement = elem,
-                                EType = type
-                            });
-                        }
-                    }
-                }
-                // var edgeCopy=Array.Copy()
-            }
-
-            return lSpaces;
-        }
-    }
-
-    /// <summary>
-    /// 比较轮廓边是否相等
-    /// </summary>
-    public class Comparea : IEqualityComparer<SpaceEdgeInfo>
-    {
-        public bool Equals(SpaceEdgeInfo x, SpaceEdgeInfo y)
-        {
-            return x.Space.Id.IsEqual(y.Space.Id);
-        }
-
-        public int GetHashCode(SpaceEdgeInfo obj)
-        {
-            return 0;
-        }
-    }
+            }       
+        }     
+    }   
 }

+ 105 - 2
MBI/SAGA.GplotRelationComputerManage/RevitSystemParse/Handler/GplotGraphParse.cs

@@ -12,6 +12,7 @@ using System.Text;
 using System.Threading.Tasks;
 using Autodesk.Revit.DB;
 using SAGA.DotNetUtils.Data;
+using SAGA.GplotRelationComputerManage.SystemChecks;
 using SAGA.RevitUtils;
 using SAGA.RevitUtils.Data.Graph;
 using SAGA.RevitUtils.Extends;
@@ -149,7 +150,11 @@ namespace SAGA.GplotRelationComputerManage
                                 {
                                     item.Name = string.Format("空间{0}", location.ToString());
                                 }
-                                item.ElementType = ElementType.Space;
+                                item.ElementType = SystemCalcUtil.IsStart(useElement)?ElementType.VerticalPipe: ElementType.Space;
+                                if (SystemCalcUtil.IsStart(useElement))
+                                {
+                                    item.Name = string.Format("【{0}】立管:{1}", (useElement as MEPCurve).GetSystemTypeName(),useElement.Id.ToString());
+                                }
                                 systemVertex.SetEquipment(item);
                                 break;
                             }
@@ -284,7 +289,7 @@ namespace SAGA.GplotRelationComputerManage
         private void ArrangeEdge(SystemGraph graph)
         {
             //有向化处理
-            DirectedEdge(graph);
+            DirectedEdge2(graph);
             graph.IsDirection = true;
             //串并联处理
             //EdgesArrayGraphUtil.GplotAnalyse(graph);
@@ -417,6 +422,104 @@ namespace SAGA.GplotRelationComputerManage
             }    
             #endregion
         }
+
+        /// <summary>
+        /// 确定流向,
+        /// </summary>
+        /// <param name="graph"></param>
+        private void DirectedEdge2(SystemGraph graph)
+        {
+            #region 加载边的系统信息
+            var originEdges = graph.Edges.Where(e => !e.Children.Any()).ToList();
+            foreach (var originEdge in originEdges)
+            {
+                var refElements = originEdge.Data;
+                //获取边系统类型
+                originEdge.SystemName = (refElements.FirstOrDefault(e => e is MEPCurve) as MEPCurve)?.GetSystemTypeName();
+                //根据系统类型和特殊设备确定旁通和补水;未完,待续
+                var systemItem = Setting.RelationTypeShell.GetFirstMatchSystem(originEdge.SystemName);
+                if (systemItem != null)
+                {
+                    originEdge.EdgeCategory = systemItem.ContainEdgeTypes.FirstOrDefault();
+                    originEdge.FlowType = systemItem.FlowType == FlowType.In ? 2 : 1;
+                }
+            }
+            #endregion
+
+            #region 描述
+            /*
+             * 1、查找遍历起点
+             * 2、根据起点遍历所有的节点,并调整节点的顺序
+             */
+            #endregion
+            #region 获取定义端点
+            Document refDocument = null;
+            foreach (var vertex in graph.Vertexes)
+            {
+                if (vertex.Data == null)
+                    continue;
+                refDocument = vertex.Data.FirstOrDefault()?.Document;
+                if (refDocument != null)
+                    break;
+            }
+            if (refDocument == null)
+                return;
+            //获取开始的category
+            //如果没有设定开始点,则使用立管作为开始点
+            List<SystemVertex> vertexes = new List<SystemVertex>();
+            List<string> startCategories = GplotSystemCheckManager.GetSourceCategories(refDocument,Setting.RelationTypeShell.RelationItem.Type);
+            if (startCategories.Any())
+            {
+                vertexes = graph.GetBootVertexs().Where(v => startCategories.Contains(MBIInfoUtil.GetEquipmentCategory(v.GetEquipment()?.Name) ?? string.Empty)).ToList();
+            }
+            else
+            {
+                vertexes = graph.GetBootVertexs().Where(v => v.GetEquipment()!=null&&v.GetEquipment().ElementType==ElementType.VerticalPipe).ToList();
+            }
+            if (!vertexes.Any())
+                return;
+            #endregion
+            #region 确定开始点
+            List<string> edgeIds = new List<string>();
+            List<string> vertexIds = new List<string>();
+            for (int i = 0; i < vertexes.Count; i++)
+            {
+                var currentVertex = vertexes[i];
+                if (vertexIds.Contains(currentVertex.Id))
+                {
+                    continue;
+                }
+                vertexIds.Add(currentVertex.Id);
+                var edges = graph.GetInEdges(currentVertex.Id);
+                foreach (var systemEdge in edges)
+                {
+                    if (systemEdge.FlowType > 2)
+                    {
+                        continue;
+                    }
+                    if (edgeIds.Contains(systemEdge.Id))
+                    {
+                        continue;
+                    }
+                    edgeIds.Add(systemEdge.Id);
+                    if ((systemEdge.FlowType==2&&systemEdge.ContainVertex(currentVertex.Id) == 1)|| (systemEdge.FlowType == 1 && systemEdge.ContainVertex(currentVertex.Id) == 0))
+                    {
+                        systemEdge.Reverse();
+                    }
+
+                    var otherId = systemEdge.GetAnotherVertex(currentVertex.Id);
+                    if (!vertexIds.Contains(otherId))
+                    {
+                        var nextVertex = graph.FindVertex(otherId);
+                        if (nextVertex != null)
+                        {
+                            vertexes.Add(nextVertex);
+                        }
+                    }
+                }
+            }
+            #endregion
+        }
         #endregion
         #endregion
     }

+ 5 - 0
MBI/SAGA.GplotRelationComputerManage/SAGA.GplotRelationComputerManage.csproj

@@ -106,6 +106,7 @@
     <Compile Include="Common\FloorUtil.cs" />
     <Compile Include="Common\MBIInfoUtil.cs" />
     <Compile Include="Common\PointConverter.cs" />
+    <Compile Include="Common\StorageEnum.cs" />
     <Compile Include="ComputerPipes.cs" />
     <Compile Include="ComputerVerticalPipe.cs" />
     <Compile Include="ComputerWalls\ComputerWallsData.cs" />
@@ -161,12 +162,15 @@
     <Compile Include="SpaceRelation\ComputerSpaceItem.cs" />
     <Compile Include="SpaceRelation\FloorSpaceItems.cs" />
     <Compile Include="SpaceRelation\SpaceComputerContext.cs" />
+    <Compile Include="SpaceRelation\SpaceComputerData.cs" />
+    <Compile Include="SpaceRelation\SpaceComputerDataUtil.cs" />
     <Compile Include="SpaceRelation\SpaceComputerHandler.cs" />
     <Compile Include="SpaceRelation\SpaceComputerManager.cs" />
     <Compile Include="SystemChecks\ErrorCodeUtil.cs" />
     <Compile Include="SystemChecks\FloorCheckItem.cs" />
     <Compile Include="SystemChecks\GplotSystemCheckContext.cs" />
     <Compile Include="SystemChecks\GplotSystemCheckManager.cs" />
+    <Compile Include="SystemChecks\Model\EquipmentCheckResultItem.cs" />
     <Compile Include="SystemChecks\Model\ModelConverterUtil.cs" />
     <Compile Include="SystemChecks\Model\SystemCheckResultItem.cs" />
     <Compile Include="SystemChecks\Model\SystemCheckReportItem.cs" />
@@ -183,6 +187,7 @@
     <Compile Include="SystemRelation\Data\SystemDrawItems.cs" />
     <Compile Include="SystemRelation\Data\SystemPointItem.cs" />
     <Compile Include="SystemRelation\FloorSystemItem.cs" />
+    <Compile Include="SystemRelation\FloorSystemItemTest.cs" />
     <Compile Include="SystemRelation\RelationComputerData.cs" />
     <Compile Include="SystemRelation\RelationDataCheck.cs" />
     <Compile Include="SystemRelation\ServerData\FloorDrawData.cs" />

+ 15 - 3
MBI/SAGA.GplotRelationComputerManage/SpaceRelation/FloorSpaceItems.cs

@@ -147,8 +147,13 @@ namespace SAGA.GplotRelationComputerManage
             var saveName = DalProjectTree.GetFloorNameByFloorId(id.Split('-')[1]);
             var levels = doc.GetLevels();
             string levelName = saveName;
-            var currLevels = levels.FirstOrDefault(t => t.Name.IndexOf("-saga") > -1);
-            if (currLevels != null) levelName = currLevels.Name;
+            double elevation = 0;
+            var currLevel = levels.FirstOrDefault(t => t.Name.IndexOf("-saga") > -1);
+            if (currLevel != null)
+            {
+                elevation = currLevel.Elevation;
+                levelName = currLevel.Name;
+            }
             FloorSpaceData floorData = new FloorSpaceData
             {
                 Name = saveName,
@@ -159,6 +164,9 @@ namespace SAGA.GplotRelationComputerManage
             //获取标高名称,并按高度排序
             List<string> levelNames = levels.OrderBy(t => t.Elevation).Where(t => Regex.IsMatch(t.Name, "[F|B]")).Select(t => t.Name.Replace("-saga", "")).ToList();
             DrawDataServer.SaveSpaceFloorData(new List<FloorSpaceData>() { floorData }, levelNames);
+            context.SpaceComputeData.FloorDatas.Add(floorData);
+            context.SpaceComputeData.Levels.Add(new LevelData(){Name=levelName,Elevation= elevation });
+
             #endregion
         }
         /// <summary>
@@ -195,12 +203,16 @@ namespace SAGA.GplotRelationComputerManage
                         refEdgeInfos.AddRange(anSpace.ToList());
                     }
                 }
-                for (int j = 0; j < refEdgeInfos.Count; j++)
+                for (int j = 0; j < refEdgeInfos.Count-1; j++)
                 {
                     var baseEdge = refEdgeInfos[j];
                     for (int k =j + 1; k < refEdgeInfos.Count; k++)
                     {
                         var refEdge = refEdgeInfos[k];
+                        if (baseEdge.Space.Id == refEdge.Space.Id)
+                        {
+                            continue;
+                        }
                         var type = JudgeAdjancentSpace(baseEdge, refEdge);
                         if (type != AdjanceElementType.None)
                         {

+ 19 - 0
MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerContext.cs

@@ -126,5 +126,24 @@ namespace SAGA.GplotRelationComputerManage
 
         #endregion
 
+        #region 计算数据
+
+        public SpaceComputerData SpaceComputeData { get; set; } = new SpaceComputerData();
+        #endregion
+        /// <summary>
+        /// 保存计算数据
+        /// </summary>
+        public void SaveComputerData()
+        {
+            if (SpaceComputeData == null)
+                return;
+            SpaceData spaceData = new SpaceData();
+            spaceData.FloorDatas = SpaceComputeData.FloorDatas ?? new List<FloorSpaceData>();
+            var levels = SpaceComputeData.Levels.OrderBy(c => c.Elevation).ToList();
+            var levelNames = levels.Select(l => l.Name).ToList();
+            spaceData.LevelNames = levelNames;
+            SpaceComputerDataUtil.SaveData(spaceData);
+            //DrawDataServer.SaveSpaceFloorData(new List<FloorSpaceData>(SpaceData.FloorDatas) , SpaceData.LevelNames);
+        }
     }
 }

+ 23 - 0
MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerData.cs

@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:SpaceComputerData
+ * 作者:xulisong
+ * 创建时间: 2019/3/13 14:47:25
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using SAGA.Models;
+
+namespace SAGA.GplotRelationComputerManage
+{
+    public class SpaceComputerData
+    {
+        public List<FloorSpaceData> FloorDatas { get; private set; } = new List<FloorSpaceData>();
+
+        public List<LevelData> Levels { get; private set; } = new List<LevelData>();
+    }
+}

+ 101 - 0
MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerDataUtil.cs

@@ -0,0 +1,101 @@
+/*-------------------------------------------------------------------------
+ * 功能描述:SpaceComputerDataUtil
+ * 作者:xulisong
+ * 创建时间: 2019/3/13 14:12:40
+ * 版本号:v1.0
+ *  -------------------------------------------------------------------------*/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using SAGA.Models;
+
+namespace SAGA.GplotRelationComputerManage
+{
+    public class SpaceComputerDataUtil
+    {
+        #region 数据有效性检测
+        /// <summary>
+        /// 判定数据是否过期
+        /// </summary>
+        /// <param name="dateTime"></param>
+        /// <returns></returns>
+        public static bool IsExpired(DateTime dateTime)
+        {
+            return DataServerUtil.Current.IsExpired(ComputerFileSetting.SpaceData, dateTime);
+        }
+        /// <summary>
+        /// 判断计算数据是否缺失
+        /// </summary>
+        /// <returns></returns>
+        public static bool IsMissData()
+        {
+            return !DataServerUtil.Current.GetFile(ComputerFileSetting.SpaceData).Exists();
+        }
+        /// <summary>
+        /// 判断空间是否重新计算
+        /// </summary>
+        /// <returns></returns>
+        public static bool IsReCompute()
+        {
+            if (IsMissData())
+            {
+                return true;
+            }
+            var lastUpdateTime = RelationTypeUtil.GetLastWriteTime();
+            return IsExpired(lastUpdateTime);
+        }
+        #endregion
+
+        #region 数据保存加载
+
+        public static void SaveData(SpaceData spaceData)
+        {
+            DataServerUtil.Current.SaveData(ComputerFileSetting.SpaceData, spaceData);
+        }
+        public static SpaceData LoadData()
+        {
+           return  DataServerUtil.Current.LoadData<SpaceData>(ComputerFileSetting.SpaceData);
+       
+        }
+        #endregion
+
+        #region 分类别加载数据
+        public static SpaceData GetSpaceDataByType(SpaceRelatedEnum spaceRelated)
+        {
+            var data = LoadData();
+            return GetSpaceDataByType(data, spaceRelated);
+        }
+        public static SpaceData GetSpaceDataByType(SpaceData sourceSpaceData, SpaceRelatedEnum spaceRelated)
+        {
+            //每次读取都是新的数据源
+            SpaceData dn = sourceSpaceData;
+            if (dn == null) return default(SpaceData);
+
+            bool Predicate(AdjacentSpace se)
+            {
+                if (se is AdjacentSpace space)
+                {
+                    return (space.RelatedEnum & spaceRelated) != 0;
+                }
+                return false;
+            }
+            foreach (var fd in dn.FloorDatas)
+            {
+                foreach (var sgElement in fd.EndPoints)
+                {
+                    if (sgElement is SgSpace space)
+                    {
+                        space.AdjacentSpaces = space.AdjacentSpaces.Where(Predicate).ToList();
+                        //垂直空间也处理
+                        space.UpElements = space.UpElements.Where(Predicate).ToList();
+                    }
+                }
+            }
+            return dn;
+        } 
+        #endregion
+    }
+}

+ 40 - 4
MBI/SAGA.GplotRelationComputerManage/SpaceRelation/SpaceComputerHandler.cs

@@ -7,9 +7,12 @@
 
 using System;
 using System.Collections.Generic;
+using System.Diagnostics;
+using System.IO;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using SAGA.MBI.Tools;
 
 namespace SAGA.GplotRelationComputerManage
 {
@@ -18,11 +21,44 @@ namespace SAGA.GplotRelationComputerManage
     /// </summary>
     public class SpaceComputerHandler
     {
-        public List<object> GetParseData(SpaceComputerContext context)
+        /// <summary>
+        /// 根据上下文计算系统数据
+        /// </summary>
+        /// <param name="context"></param>
+        public void Computer(SpaceComputerContext context)
         {
-            List<object> items = new List<object>();
-          
-            return items;
+            var fileInfos = RevitModelPath.GetAllRevitFiles();
+            foreach (var fileInfo in fileInfos)
+            {
+                if (File.Exists(fileInfo))
+                {
+                    Trace.Write(fileInfo);
+                    FloorSpaceItems floorItems = context.GetFloorItems(fileInfo);
+                    floorItems.Parse(context);
+                    floorItems.Document.CloseDocSimple();
+                }
+            }
+            context.SaveComputerData();
+        }
+
+        /// <summary>
+        /// 对所有模型进行空间计算
+        /// </summary>
+        public void Computer()
+        {
+            SpaceComputerContext context = new SpaceComputerContext();
+            Computer(context);
+        }
+        /// <summary>
+        /// 计算没有被缓存或者缓存过期的数据
+        /// </summary>
+        public void ComputerWidthCache()
+        {
+            bool hasCache = SpaceComputerDataUtil.IsReCompute();
+            if (!hasCache)
+            {
+                Computer();
+            }
         }
     }
 }

+ 1 - 0
MBI/SAGA.GplotRelationComputerManage/SystemChecks/ErrorCodeUtil.cs

@@ -17,6 +17,7 @@ namespace SAGA.GplotRelationComputerManage.SystemChecks
             m_Errors.Add("001", "末端未连接任何设备");
             m_Errors.Add("002", "管道两端存在不同类型管道");
             m_Errors.Add("003", "设备两端存在不同类型的管道");
+            m_Errors.Add("004", "误报");
         }
 
         /// <summary>

+ 25 - 21
MBI/SAGA.GplotRelationComputerManage/SystemChecks/FloorCheckItem.cs

@@ -8,13 +8,9 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 using Autodesk.Revit.DB;
-using Autodesk.Revit.DB.Plumbing;
 using SAGA.DotNetUtils.Extend;
 using SAGA.DotNetUtils.Utilities;
-using SAGA.MBI.Tools;
 using SAGA.RevitUtils.Extends;
 using SAGA.RevitUtils.MEP;
 
@@ -49,17 +45,18 @@ namespace SAGA.GplotRelationComputerManage.SystemChecks
         /// </summary>
         public Level UseLevel { get; private set; }
         #endregion
+        #region 解析方法
         public void Parse(GplotSystemCheckContext context)
-        {     
+        {
             var doc = Document;
             var relations = context.Relations;
             foreach (var relation in relations)
             {
                 var shell = context.RelationShells.GetItem(relation);
-                 ParseSystem(context, shell, shell.IsPipeSystem()? Domain.DomainPiping:Domain.DomainHvac);          
+                ParseSystem(context, shell, shell.IsPipeSystem() ? Domain.DomainPiping : Domain.DomainHvac);
             }
         }
-        private void ParseSystem(GplotSystemCheckContext context,RelationTypeShell shell, Domain domain)
+        private void ParseSystem(GplotSystemCheckContext context, RelationTypeShell shell, Domain domain)
         {
             SystemCheckReportItem reportItem = new SystemCheckReportItem();
             reportItem.FloorId = Document.PathName.GetFileName();
@@ -68,7 +65,7 @@ namespace SAGA.GplotRelationComputerManage.SystemChecks
             #region 测试
             //reportItem.FloorId = Document.PathName.GetFileName();
             //reportItem.GplotType = shell.RelationItem.Type;
-            //reportItem.BuildingTime = DateTime.Now.ToString("yyyyMMddmmhhss");
+            //reportItem.BuildingTime = DateTime.Now.ToString("yyyyMMddHHmmss");
             //for (int i = 0; i < 30; i++)
             //{
             //    SystemCheckResultItem item = new SystemCheckResultItem();
@@ -85,38 +82,45 @@ namespace SAGA.GplotRelationComputerManage.SystemChecks
             var elements = Document.FilterElements<MEPCurve>().Where(p => shell.IsMatchSystem(p.GetSystemTypeName())).ToList();
             foreach (var element in elements)
             {
-                var connectors = element.GetConnectors(domain);
                 SystemCheckResultItem item = new SystemCheckResultItem();
                 item.BimId = element.Id.ToString();
                 item.SystemName = element.GetSystemTypeName();
                 item.FlowDirection = "未知";
                 item.IsCorrected = false;
                 item.IsMisinformation = false;
-                if (!connectors.All(c => c.IsConnected))
+                var connectors = element.GetConnectors(domain);
+                if (SystemCalcUtil.IsStart(element))
+                {
+                    //标记立管,所有连接点都未记录则删除                 
+                    //if (!connectors.Any(c => c.IsConnected))
+                    //{
+                    //    item.ErrorCode = "001";
+                    //    reportItem.ResultItems.Add(item);                      
+                    //}
+                    continue;
+                }                       
+                if (connectors.Any(c => !c.IsConnected))
                 {
                     item.ErrorCode = "001";
                     reportItem.ResultItems.Add(item);
                     continue;
                 }
 
-                var pipes1 = element.GetFirstElements<MEPCurve>(connectors[0]);
-                var pipes2 = element.GetFirstElements<MEPCurve>(connectors[1]);
-                List<MEPCurve> curves = new List<MEPCurve>();
-                curves.AddRange(pipes1);
-                curves.AddRange(pipes2);
-                foreach (var pipe1 in curves)
+                var endElements = element.GetFirstElements(null,e=>e is MEPCurve|| MBIInfoUtil.IsEquipment(e));
+                List<MEPCurve> curves = endElements.OfType<MEPCurve>().ToList();
+                foreach (var mepCurve in curves)
                 {
-                    if (item.SystemName != pipe1.GetSystemTypeName())
+                    if (item.SystemName != mepCurve.GetSystemTypeName())
                     {
                         item.ErrorCode = "002";
                         reportItem.ResultItems.Add(item);
                         break;
                     }
                 }
-                //    //if(pipe)
-               }
-                context.ReportItems.Add(reportItem);
-        }
+            }
+            context.ReportItems.Add(reportItem);
+        } 
+        #endregion
 
     }
 }

+ 0 - 0
MBI/SAGA.GplotRelationComputerManage/SystemChecks/GplotSystemCheckManager.cs


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików