-
- 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 classProductBean.SchemaInfoSchema of data points.
-
Field Summary
Fields Modifier and Type Field Description public final static intCAP_WIFIpublic final static intCAP_CABLEpublic final static intCAP_GPRSpublic final static intCAP_NB_IOTpublic final static intCAP_BLUETOOTHpublic final static intCAP_BLEMESHpublic final static intCAP_ZIGBEEpublic final static intCAP_HONGWAIpublic final static intCAP_SIGMESHpublic final static intATTR_HONGWAI_SUBpublic final static intCAP_433public final static intATTRIBUTE_LOW_POWERpublic final static intCAP_BEACONpublic final static intCAP_CAT1public final static intCAP_SMESHpublic final static intCAP_THREADpublic final static intCAP_PLCpublic final static intCAP_WI_SUNprivate longresptimeprivate Stringidprivate booleansupportGroupprivate longattributeprivate Stringcategoryprivate StringmeshCategoryprivate longi18nTimeprivate Map<String, Object>panelConfigprivate ProductBean.SchemaInfoschemaInfoprivate ShortCutBeanshortcutprivate intcapabilityprivate UiInfouiInfoprivate booleanstandardprivate longbizAttributeprivate booleansupportSGroupprivate StringproductVerprivate StringcategoryCode
-
Method Summary
Modifier and Type Method Description longgetResptime()Get server response time. voidsetResptime(long resptime)Set server response time. StringgetId()Get product id. voidsetId(String id)voidsetSupportGroup(boolean supportGroup)longgetAttribute()Get product attribute. voidsetAttribute(long attribute)StringgetCategory()Get the secondary category of product information. voidsetCategory(String category)StringgetMeshCategory()Get Bluetooth Mesh product category. voidsetMeshCategory(String meshCategory)longgetI18nTime()voidsetI18nTime(long i18nTime)Map<String, Object>getPanelConfig()Get panel config. voidsetPanelConfig(Map<String, Object> panelConfig)ProductBean.SchemaInfogetSchemaInfo()Get schema of data point. voidsetSchemaInfo(ProductBean.SchemaInfo schemaInfo)ShortCutBeangetShortcut()voidsetShortcut(ShortCutBean shortcut)intgetCapability()Get product capability. voidsetCapability(int capability)UiInfogetUiInfo()Control panel information supported by the product. voidsetUiInfo(UiInfo uiInfo)voidsetStandard(boolean standard)longgetBizAttribute()voidsetBizAttribute(long bizAttribute)voidsetSupportSGroup(boolean supportSGroup)StringgetProductVer()voidsetProductVer(String productVer)StringgetCategoryCode()Get the three-level category of product information. voidsetCategoryCode(String categoryCode)booleanisSupportSGroup()Determine whether to support standard groups booleanisSupportGroup()Determine whether to support groups ObjectgetKey()Get unique id booleanhasZigBee()Determine whether the current product has zigbee protocol booleanhasPLC()booleanhasWiSun()booleanhasBleMesh()Combine hasBlueMesh and hasSigMesh booleanhasBlueMesh()Determine whether it has Bluetooth Mesh (Thing) capability. booleanhasSigMesh()Determine whether it has Bluetooth Mesh (SIG) capability. booleanhasWifi()Determine whether the current product has wifi protocol booleanisWifi()Determine whether the current product has only wifi protocol booleanhasBluetooth()Determine whether the current product has Bluetooth protocol booleanhasCat1()Determine whether the current product has Cat1 protocol booleanisBeacon()Determine whether the current product has only Beacon protocol booleanisBluetooth()Determine whether the current product has only Bluetooth protocol booleanisInfraredSubDevDisplayInList()Determine whether the infrared sub-device is displayed on the homepage. booleanhasInfrared()Determine whether the product has infrared capability. booleanhas433()Determine whether the product has 433 protocol or Thing-Smesh protocol. booleanhasThread()Determine whether the product has Thread protocol . booleanisThread()Determine whether the product is Thread protocol . StringgetProductKey()StandSchemagetsSchema()Deprecated. voidsetsSchema(StandSchema sSchema)Deprecated. booleanisStandard()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
-
-
-
-