-
public class GroupRespBeanDescribes the group entities that respond to business data.
-
-
Field Summary
Fields Modifier and Type Field Description private longresptimeprivate longidprivate StringdevIdprivate Stringnameprivate StringproductIdprivate StringiconUrlprivate Stringcategoryprivate inttypeprivate StringlocalIdprivate StringmeshIdprivate intdisplayOrderprivate inthomeDisplayOrderprivate longtimeprivate StringlocalKeyprivate StringgroupKeyprivate StringproductVerprivate Map<String, Object>dpCodesprivate booleanstandardprivate Map<String, String>dpNameprivate intgroupTypeprivate intdeviceNumprivate booleanisShareprivate Stringpvprivate Map<String, Object>dpsprivate booleandecodeRawed
-
Method Summary
Modifier and Type Method Description longgetResptime()Get resptime. voidsetResptime(long resptime)Set resptime. longgetId()Get group id. voidsetId(long id)Set group id. StringgetDevId()voidsetDevId(String devId)StringgetName()Get group name. voidsetName(String name)Set group name. StringgetProductId()Get product id. voidsetProductId(String productId)Set product id. StringgetIconUrl()Get icon url. voidsetIconUrl(String iconUrl)Set icon url. StringgetCategory()Get category. voidsetCategory(String category)Set category. intgetType()Get type. voidsetType(int type)Set type. StringgetLocalId()Get local id. voidsetLocalId(String localId)Set local id. StringgetMeshId()Get mesh id. voidsetMeshId(String meshId)Set mesh id. intgetDisplayOrder()Get display order. voidsetDisplayOrder(int displayOrder)Set display order. intgetHomeDisplayOrder()Get home display order. voidsetHomeDisplayOrder(int homeDisplayOrder)Set home display order. longgetTime()Get group creation time. voidsetTime(long time)Set group creation time. StringgetLocalKey()Get local key. voidsetLocalKey(String localKey)Set local key. StringgetGroupKey()voidsetGroupKey(String groupKey)StringgetProductVer()voidsetProductVer(String productVer)Map<String, Object>getDpCodes()Get group data point codes, such as "switch_led:true". voidsetDpCodes(Map<String, Object> dpCodes)Set group data point codes. voidsetStandard(boolean standard)Set is standard data point code. Map<String, String>getDpName()Get group data point names. voidsetDpName(Map<String, String> dpName)Set group data point names. intgetGroupType()Get group type. voidsetGroupType(int groupType)Set group type. intgetDeviceNum()Get the number of group devices. voidsetDeviceNum(int deviceNum)Set the number of group devices. booleanisShare()Is share boolean. StringgetPv()Get pv. voidsetPv(String pv)Set pv. Map<String, Object>getDps()Get data points. voidsetDps(Map<String, Object> dps)Set data points. voidsetDecodeRawed(boolean decodeRawed)Set the state of the data parsing operation. booleanisStandard()Get code describe is standard data point. voidsetShare(boolean share)Set share. booleanisDecodeRawed()Get whether a data point has been resolved into raw data. -
-
Method Detail
-
getResptime
long getResptime()
Get resptime.
-
setResptime
void setResptime(long resptime)
Set resptime.
- Parameters:
resptime- business data response interface return time.
-
getId
long getId()
Get group id.
-
setId
void setId(long id)
Set group id.
- Parameters:
id- group id
-
getDevId
String getDevId()
-
setDevId
void setDevId(String devId)
-
getName
String getName()
Get group name.
-
setName
void setName(String name)
Set group name.
- Parameters:
name- the group name
-
getProductId
String getProductId()
Get product id.
-
setProductId
void setProductId(String productId)
Set product id.
- Parameters:
productId- same product ID, same Schema information
-
getIconUrl
String getIconUrl()
Get icon url.
-
setIconUrl
void setIconUrl(String iconUrl)
Set icon url.
- Parameters:
iconUrl- the url of the device icon
-
getCategory
String getCategory()
Get category.
-
setCategory
void setCategory(String category)
Set category.
- Parameters:
category- category mark of equipment
-
getType
int getType()
Get type.TYPE_WIFI = 0, TYPE_BLE_MESH = 1, TYPE_ZIGBEE = 2
-
setType
void setType(int type)
Set type.
- Parameters:
type- describe group type
-
getLocalId
String getLocalId()
Get local id.
-
setLocalId
void setLocalId(String localId)
Set local id.
- Parameters:
localId- used to distinguish the unique identity of each mesh group in the mesh network
-
getMeshId
String getMeshId()
Get mesh id.
-
setMeshId
void setMeshId(String meshId)
Set mesh id.
- Parameters:
meshId- the gateway id
-
getDisplayOrder
int getDisplayOrder()
Get display order.
-
setDisplayOrder
void setDisplayOrder(int displayOrder)
Set display order.
- Parameters:
displayOrder- describes the value of a room sort
-
getHomeDisplayOrder
int getHomeDisplayOrder()
Get home display order.
-
setHomeDisplayOrder
void setHomeDisplayOrder(int homeDisplayOrder)
Set home display order.
- Parameters:
homeDisplayOrder- describes a home device sort value
-
getTime
long getTime()
Get group creation time.
-
setTime
void setTime(long time)
Set group creation time.
- Parameters:
time- group creation time
-
getLocalKey
String getLocalKey()
Get local key.
-
setLocalKey
void setLocalKey(String localKey)
Set local key.
- Parameters:
localKey- local secret key
-
getGroupKey
String getGroupKey()
-
setGroupKey
void setGroupKey(String groupKey)
-
getProductVer
String getProductVer()
-
setProductVer
void setProductVer(String productVer)
-
getDpCodes
Map<String, Object> getDpCodes()
Get group data point codes, such as "switch_led:true".
The code defined by the group for each function point may be different,depending on the background definition during firmware development.
-
setDpCodes
void setDpCodes(Map<String, Object> dpCodes)
Set group data point codes.
- Parameters:
dpCodes- group data point codes
-
setStandard
void setStandard(boolean standard)
Set is standard data point code.
- Parameters:
standard- is standard data point code
-
getDpName
Map<String, String> getDpName()
Get group data point names.
-
setDpName
void setDpName(Map<String, String> dpName)
Set group data point names.
- Parameters:
dpName- group data point names
-
getGroupType
int getGroupType()
Get group type.TYPE_WIFI = 0, TYPE_BLE_MESH = 1, TYPE_ZIGBEE = 2
-
setGroupType
void setGroupType(int groupType)
Set group type.
- Parameters:
groupType- describe group type
-
getDeviceNum
int getDeviceNum()
Get the number of group devices.
-
setDeviceNum
void setDeviceNum(int deviceNum)
Set the number of group devices.
- Parameters:
deviceNum- the number of group devices
-
isShare
boolean isShare()
Is share boolean.
-
getPv
String getPv()
Get pv.
-
setPv
void setPv(String pv)
Set pv.
- Parameters:
pv- gateway protocol version
-
getDps
Map<String, Object> getDps()
Get data points.
-
setDps
void setDps(Map<String, Object> dps)
Set data points.
- Parameters:
dps- data points
-
setDecodeRawed
void setDecodeRawed(boolean decodeRawed)
Set the state of the data parsing operation.
- Parameters:
decodeRawed- describes whether a data point has been resolved into raw data
-
isStandard
boolean isStandard()
Get code describe is standard data point.
-
setShare
void setShare(boolean share)
Set share.
- Parameters:
share- whether to set the group as a shared group
-
isDecodeRawed
boolean isDecodeRawed()
Get whether a data point has been resolved into raw data.
-
-
-
-