-
public class GroupRespBean
Describes the group entities that respond to business data.
-
-
Field Summary
Fields Modifier and Type Field Description private long
resptime
private long
id
private String
devId
private String
name
private String
productId
private String
iconUrl
private String
category
private int
type
private String
localId
private String
meshId
private int
displayOrder
private int
homeDisplayOrder
private long
time
private String
localKey
private String
groupKey
private String
productVer
private Map<String, Object>
dpCodes
private boolean
standard
private Map<String, String>
dpName
private int
groupType
private int
deviceNum
private boolean
isShare
private String
pv
private Map<String, Object>
dps
private boolean
decodeRawed
-
Method Summary
Modifier and Type Method Description long
getResptime()
Get resptime. void
setResptime(long resptime)
Set resptime. long
getId()
Get group id. void
setId(long id)
Set group id. String
getDevId()
void
setDevId(String devId)
String
getName()
Get group name. void
setName(String name)
Set group name. String
getProductId()
Get product id. void
setProductId(String productId)
Set product id. String
getIconUrl()
Get icon url. void
setIconUrl(String iconUrl)
Set icon url. String
getCategory()
Get category. void
setCategory(String category)
Set category. int
getType()
Get type. void
setType(int type)
Set type. String
getLocalId()
Get local id. void
setLocalId(String localId)
Set local id. String
getMeshId()
Get mesh id. void
setMeshId(String meshId)
Set mesh id. int
getDisplayOrder()
Get display order. void
setDisplayOrder(int displayOrder)
Set display order. int
getHomeDisplayOrder()
Get home display order. void
setHomeDisplayOrder(int homeDisplayOrder)
Set home display order. long
getTime()
Get group creation time. void
setTime(long time)
Set group creation time. String
getLocalKey()
Get local key. void
setLocalKey(String localKey)
Set local key. String
getGroupKey()
void
setGroupKey(String groupKey)
String
getProductVer()
void
setProductVer(String productVer)
Map<String, Object>
getDpCodes()
Get group data point codes, such as "switch_led:true". void
setDpCodes(Map<String, Object> dpCodes)
Set group data point codes. void
setStandard(boolean standard)
Set is standard data point code. Map<String, String>
getDpName()
Get group data point names. void
setDpName(Map<String, String> dpName)
Set group data point names. int
getGroupType()
Get group type. void
setGroupType(int groupType)
Set group type. int
getDeviceNum()
Get the number of group devices. void
setDeviceNum(int deviceNum)
Set the number of group devices. boolean
isShare()
Is share boolean. String
getPv()
Get pv. void
setPv(String pv)
Set pv. Map<String, Object>
getDps()
Get data points. void
setDps(Map<String, Object> dps)
Set data points. void
setDecodeRawed(boolean decodeRawed)
Set the state of the data parsing operation. boolean
isStandard()
Get code describe is standard data point. void
setShare(boolean share)
Set share. boolean
isDecodeRawed()
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.
-
-
-
-