-
public interface IDpParser<T extends Object>
create by dongdaqingmibo 2023/8/29 14:56
-
-
Method Summary
Modifier and Type Method Description abstract String
getIconFont()
icon font abstract String
getDisplayTitle()
default title for display abstract String
getDisplayStatusForQuickOp()
default value with unit(if available) for display at the quick op area abstract String
getDisplayStatus()
default value with unit(if available) for display at status area abstract String
getDpId()
dp id abstract String
getDpShowType()
show type: percent, percent1, countdown, countdown1, ... abstract String
getType()
origin type: bool, enum, num, string abstract SchemaBean
getSchema()
schema info abstract ProductStandardConfig.FunctionSchemaBean
getStandardSchema()
standard schema info abstract String
getCommands(T status)
abstract T
getValue()
current value -
-
Method Detail
-
getIconFont
abstract String getIconFont()
icon font
-
getDisplayTitle
abstract String getDisplayTitle()
default title for display
-
getDisplayStatusForQuickOp
abstract String getDisplayStatusForQuickOp()
default value with unit(if available) for display at the quick op area
-
getDisplayStatus
abstract String getDisplayStatus()
default value with unit(if available) for display at status area
-
getDpId
abstract String getDpId()
dp id
-
getDpShowType
abstract String getDpShowType()
show type: percent, percent1, countdown, countdown1, ...
-
getType
abstract String getType()
origin type: bool, enum, num, string
-
getSchema
abstract SchemaBean getSchema()
schema info
-
getStandardSchema
abstract ProductStandardConfig.FunctionSchemaBean getStandardSchema()
standard schema info
-
getCommands
abstract String getCommands(T status)
- Parameters:
status
- value to be delivered to device
-
-
-
-