|
|
@@ -29,6 +29,21 @@ public class QxzTypeUtil {
|
|
|
return isQxz;
|
|
|
}
|
|
|
|
|
|
+ public static boolean isQxSq(String devtypeBid){
|
|
|
+ boolean isQxz = false;
|
|
|
+ switch (devtypeBid){
|
|
|
+ case IotDeviceDictConst.TYPE_YF_QXZ:
|
|
|
+ case IotDeviceDictConst.TYPE_YF_SQZ:
|
|
|
+ case IotDeviceDictConst.TYPE_XPH_YF_QXZ:
|
|
|
+ case IotDeviceDictConst.TYPE_XPH_YF_SQZ:
|
|
|
+ case IotDeviceDictConst.TYPE_XPH_YF_GSSQ:
|
|
|
+ case IotDeviceDictConst.TYPE_ADZN_GSSQ:
|
|
|
+ isQxz = true;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ return isQxz;
|
|
|
+ }
|
|
|
+
|
|
|
public static boolean isYfQxSq(String devtypeBid){
|
|
|
boolean isQxz = false;
|
|
|
switch (devtypeBid){
|