Browse Source

mxg:修正参数赋值判断错误bug

mengxiangge 5 years ago
parent
commit
24e586fa33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MBI/SAGA.MBI/Test/CopyParameterValue.cs

+ 1 - 1
MBI/SAGA.MBI/Test/CopyParameterValue.cs

@@ -44,7 +44,7 @@ namespace SAGA.MBI.Test
 
 
             m_parameterDic = dic;
             m_parameterDic = dic;
             m_copyFamilyRange = copyRange;
             m_copyFamilyRange = copyRange;
-            return (dic == null || m_copyFamilyRange == null);
+            return (dic.Any()&&string.IsNullOrWhiteSpace(m_copyFamilyRange));
         }
         }
 
 
         public string Execute(MFloor floor)
         public string Execute(MFloor floor)