|
@@ -1,4 +1,6 @@
|
|
|
-using CollaborativePlatformMain.DFEntity.MessageSubUtil;
|
|
|
+using CollaborativePlatformMain.CADStartUtil;
|
|
|
+using CollaborativePlatformMain.DFEntity;
|
|
|
+using CollaborativePlatformMain.DFEntity.MessageSubUtil;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Collections.ObjectModel;
|
|
@@ -111,8 +113,21 @@ namespace CollaborativePlatformMain.Form.MessageSubPage.Project
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 点击事件
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="sender"></param>
|
|
|
+ /// <param name="e"></param>
|
|
|
private void tr_threemodel_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
|
|
|
{
|
|
|
+ OperatEntity operatEntity = tr_threemodel.SelectedItem as OperatEntity;
|
|
|
+ if (operatEntity == null) return;
|
|
|
+ if (operatEntity.DrawPath != null && operatEntity.DrawPath != "")
|
|
|
+ {
|
|
|
+ OpenDrawPathData openDrawPathData = new OpenDrawPathData(true, operatEntity.DrawPath);
|
|
|
+
|
|
|
+ StartCADUtil.StartCADMath(false, openDrawPathData);
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|
|
@@ -193,7 +208,7 @@ namespace CollaborativePlatformMain.Form.MessageSubPage.Project
|
|
|
if (!projectName.Contains("项目")) projectName = projectName + "项目";
|
|
|
projectName = projectName + "建筑";
|
|
|
string secondeName = projectName + "图纸更新";
|
|
|
- if (messageData.SeconNode.Replace(" ", "").Equals(secondeName))
|
|
|
+ if (messageData.SeconNode.Replace(" ", "").Equals(secondeName))
|
|
|
{
|
|
|
foreach (var item in UploadDrawingForm.ArchLayerDatas)
|
|
|
{
|