瀏覽代碼

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

xulisong 6 年之前
父節點
當前提交
ee8313ba89
共有 1 個文件被更改,包括 3 次插入0 次删除
  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 =