-
- All Implemented Interfaces:
-
com.thingclips.smart.sdk.api.IStorageCache
public class ProductBean implements IStorageCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ProductBean.SchemaInfo
Schema of data points.
-
Field Summary
Fields Modifier and Type Field Description public final static int
CAP_WIFI
public final static int
CAP_CABLE
public final static int
CAP_GPRS
public final static int
CAP_NB_IOT
public final static int
CAP_BLUETOOTH
public final static int
CAP_BLEMESH
public final static int
CAP_ZIGBEE
public final static int
CAP_HONGWAI
public final static int
CAP_SIGMESH
public final static int
ATTR_HONGWAI_SUB
public final static int
CAP_433
public final static int
ATTRIBUTE_LOW_POWER
public final static int
CAP_BEACON
public final static int
CAP_CAT1
public final static int
CAP_SMESH
public final static int
CAP_THREAD
public final static int
CAP_PLC
public final static int
CAP_WI_SUN
private long
resptime
private String
id
private boolean
supportGroup
private long
attribute
private String
category
private String
meshCategory
private long
i18nTime
private Map<String, Object>
panelConfig
private ProductBean.SchemaInfo
schemaInfo
private ShortCutBean
shortcut
private int
capability
private UiInfo
uiInfo
private boolean
standard
private long
bizAttribute
private boolean
supportSGroup
private String
productVer
private String
categoryCode
-
Method Summary
Modifier and Type Method Description long
getResptime()
Get server response time. void
setResptime(long resptime)
Set server response time. String
getId()
Get product id. void
setId(String id)
void
setSupportGroup(boolean supportGroup)
long
getAttribute()
Get product attribute. void
setAttribute(long attribute)
String
getCategory()
Get the secondary category of product information. void
setCategory(String category)
String
getMeshCategory()
Get Bluetooth Mesh product category. void
setMeshCategory(String meshCategory)
long
getI18nTime()
void
setI18nTime(long i18nTime)
Map<String, Object>
getPanelConfig()
Get panel config. void
setPanelConfig(Map<String, Object> panelConfig)
ProductBean.SchemaInfo
getSchemaInfo()
Get schema of data point. void
setSchemaInfo(ProductBean.SchemaInfo schemaInfo)
ShortCutBean
getShortcut()
void
setShortcut(ShortCutBean shortcut)
int
getCapability()
Get product capability. void
setCapability(int capability)
UiInfo
getUiInfo()
Control panel information supported by the product. void
setUiInfo(UiInfo uiInfo)
void
setStandard(boolean standard)
long
getBizAttribute()
void
setBizAttribute(long bizAttribute)
void
setSupportSGroup(boolean supportSGroup)
String
getProductVer()
void
setProductVer(String productVer)
String
getCategoryCode()
Get the three-level category of product information. void
setCategoryCode(String categoryCode)
boolean
isSupportSGroup()
Determine whether to support standard groups boolean
isSupportGroup()
Determine whether to support groups Object
getKey()
Get unique id boolean
hasZigBee()
Determine whether the current product has zigbee protocol boolean
hasPLC()
boolean
hasWiSun()
boolean
hasBleMesh()
Combine hasBlueMesh and hasSigMesh boolean
hasBlueMesh()
Determine whether it has Bluetooth Mesh (Thing) capability. boolean
hasSigMesh()
Determine whether it has Bluetooth Mesh (SIG) capability. boolean
hasWifi()
Determine whether the current product has wifi protocol boolean
isWifi()
Determine whether the current product has only wifi protocol boolean
hasBluetooth()
Determine whether the current product has Bluetooth protocol boolean
hasCat1()
Determine whether the current product has Cat1 protocol boolean
isBeacon()
Determine whether the current product has only Beacon protocol boolean
isBluetooth()
Determine whether the current product has only Bluetooth protocol boolean
isInfraredSubDevDisplayInList()
Determine whether the infrared sub-device is displayed on the homepage. boolean
hasInfrared()
Determine whether the product has infrared capability. boolean
has433()
Determine whether the product has 433 protocol or Thing-Smesh protocol. boolean
hasThread()
Determine whether the product has Thread protocol . boolean
isThread()
Determine whether the product is Thread protocol . String
getProductKey()
StandSchema
getsSchema()
Deprecated. void
setsSchema(StandSchema sSchema)
Deprecated. boolean
isStandard()
Determine whether it is a standard product -
-
Method Detail
-
getResptime
long getResptime()
Get server response time.
-
setResptime
void setResptime(long resptime)
Set server response time.
- Parameters:
resptime
- Server response time.
-
getId
String getId()
Get product id.
-
setId
void setId(String id)
-
setSupportGroup
void setSupportGroup(boolean supportGroup)
-
getAttribute
long getAttribute()
Get product attribute.
-
setAttribute
void setAttribute(long attribute)
-
getCategory
String getCategory()
Get the secondary category of product information.
-
setCategory
void setCategory(String category)
-
getMeshCategory
String getMeshCategory()
Get Bluetooth Mesh product category.
-
setMeshCategory
void setMeshCategory(String meshCategory)
-
getI18nTime
long getI18nTime()
-
setI18nTime
void setI18nTime(long i18nTime)
-
getPanelConfig
Map<String, Object> getPanelConfig()
Get panel config.
-
setPanelConfig
void setPanelConfig(Map<String, Object> panelConfig)
-
getSchemaInfo
ProductBean.SchemaInfo getSchemaInfo()
Get schema of data point.
-
setSchemaInfo
void setSchemaInfo(ProductBean.SchemaInfo schemaInfo)
-
getShortcut
ShortCutBean getShortcut()
-
setShortcut
void setShortcut(ShortCutBean shortcut)
-
getCapability
int getCapability()
Get product capability.
-
setCapability
void setCapability(int capability)
-
getUiInfo
UiInfo getUiInfo()
Control panel information supported by the product.
Provided to ReactNative panel.
-
setStandard
void setStandard(boolean standard)
-
getBizAttribute
long getBizAttribute()
-
setBizAttribute
void setBizAttribute(long bizAttribute)
-
setSupportSGroup
void setSupportSGroup(boolean supportSGroup)
-
getProductVer
String getProductVer()
-
setProductVer
void setProductVer(String productVer)
-
getCategoryCode
String getCategoryCode()
Get the three-level category of product information.
-
setCategoryCode
void setCategoryCode(String categoryCode)
-
isSupportSGroup
boolean isSupportSGroup()
Determine whether to support standard groups
-
isSupportGroup
boolean isSupportGroup()
Determine whether to support groups
-
getKey
Object getKey()
Get unique id
-
hasZigBee
boolean hasZigBee()
Determine whether the current product has zigbee protocol
-
hasPLC
boolean hasPLC()
-
hasWiSun
boolean hasWiSun()
-
hasBleMesh
boolean hasBleMesh()
Combine hasBlueMesh and hasSigMesh
-
hasBlueMesh
boolean hasBlueMesh()
Determine whether it has Bluetooth Mesh (Thing) capability.
Blue mesh is Bluetooth Mesh (Thing) protocol.
-
hasSigMesh
boolean hasSigMesh()
Determine whether it has Bluetooth Mesh (SIG) capability.
Sig mesh is Bluetooth Mesh (SIG) protocol.
-
hasWifi
boolean hasWifi()
Determine whether the current product has wifi protocol
-
isWifi
boolean isWifi()
Determine whether the current product has only wifi protocol
-
hasBluetooth
boolean hasBluetooth()
Determine whether the current product has Bluetooth protocol
-
hasCat1
boolean hasCat1()
Determine whether the current product has Cat1 protocol
-
isBeacon
boolean isBeacon()
Determine whether the current product has only Beacon protocol
-
isBluetooth
boolean isBluetooth()
Determine whether the current product has only Bluetooth protocol
-
isInfraredSubDevDisplayInList
boolean isInfraredSubDevDisplayInList()
Determine whether the infrared sub-device is displayed on the homepage.
This function definition exists when the product information is defined,and it can be judged whether there is this mark to show or hide the infrared sub-device.
-
hasInfrared
boolean hasInfrared()
Determine whether the product has infrared capability.
-
has433
boolean has433()
Determine whether the product has 433 protocol or Thing-Smesh protocol.
-
hasThread
boolean hasThread()
Determine whether the product has Thread protocol .
-
isThread
boolean isThread()
Determine whether the product is Thread protocol .
-
getProductKey
String getProductKey()
-
getsSchema
@Deprecated() StandSchema getsSchema()
Deprecated. Replace by {@Link IThingHomeDataManager#getStandardProductConfig(java.lang.String)}
-
setsSchema
@Deprecated() void setsSchema(StandSchema sSchema)
Deprecated.
-
isStandard
boolean isStandard()
Determine whether it is a standard product
-
-
-
-