Browse Source

添加统一的判断好哒产品,判断WIFI产品

lcl 7 months ago
parent
commit
a704acb4ce
1 changed files with 36 additions and 0 deletions
  1. 36 0
      Util/Utils.cs

+ 36 - 0
Util/Utils.cs

@@ -456,5 +456,41 @@ namespace MySystem
         }
 
         #endregion
+    
+    
+        #region 判断好哒产品
+
+        public bool IsHaoDa(int BrandId)
+        {
+            List<int> Check = new List<int>();
+            Check.Add(18);
+            Check.Add(19);
+            Check.Add(20);
+            Check.Add(21);
+            Check.Add(29);
+            Check.Add(30);
+            return Check.Contains(BrandId);
+        }
+
+        #endregion
+
+        #region 判断WIFI产品
+
+        public bool IsWifi(int BrandId)
+        {
+            List<int> Check = new List<int>();
+            Check.Add(23);
+            Check.Add(24);
+            Check.Add(25);
+            Check.Add(26);
+            return Check.Contains(BrandId);
+        }
+
+        #endregion
+    
+    
+    
+    
+    
     }
 }