|
@@ -212,7 +212,18 @@ namespace CollaborativePlatformMain.Form.MessageSubPage.Project
|
|
{
|
|
{
|
|
foreach (var item in UploadDrawingForm.ArchLayerDatas)
|
|
foreach (var item in UploadDrawingForm.ArchLayerDatas)
|
|
{
|
|
{
|
|
- messageData.ThreeNodes.Add(projectName + budingName + item.FloorName + "更新");
|
|
|
|
|
|
+ string newProjectName = projectName + budingName + item.FloorName + "更新";
|
|
|
|
+ bool isExProjectThree = false;
|
|
|
|
+ foreach (var threeNode in messageData.ThreeNodes)
|
|
|
|
+ {
|
|
|
|
+ if (threeNode.Equals(newProjectName))
|
|
|
|
+ {
|
|
|
|
+ isExProjectThree = true;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (!isExProjectThree) messageData.ThreeNodes.Add(newProjectName);
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|