Browse Source

xls:电气计算,没有数据进行提示

xulisong 6 years ago
parent
commit
ee8313ba89
1 changed files with 3 additions and 0 deletions
  1. 3 0
      MBI/SAGA.GplotManage/Command.cs

+ 3 - 0
MBI/SAGA.GplotManage/Command.cs

@@ -35,6 +35,7 @@ namespace SAGA.GplotManage
                 if (re[0].Childrens.Count == 0 && re[1].Childrens.Count == 0)
                 {
                     MessageShow.Infomation("不存在相关拓扑数据");
+                    return Result.Succeeded;
                 }
                 WinEquipmentRelation_Web window =
                     new WinEquipmentRelation_Web(re[0].Childrens, re[1].Childrens);
@@ -74,6 +75,7 @@ namespace SAGA.GplotManage
             if (re[0].Childrens.Count == 0 && re[1].Childrens.Count == 0)
             {
                 MessageShow.Infomation("不存在相关拓扑数据");
+                return Result.Succeeded;
             }
 
             WinEquipmentRelation_Web window =
@@ -106,6 +108,7 @@ namespace SAGA.GplotManage
             if (re[0].Childrens.Count == 0 && re[1].Childrens.Count == 0)
             {
                 MessageShow.Infomation("不存在相关拓扑数据");
+                return Result.Succeeded;
             }
 
             WinControlRelation_Web window =