类 LedConfig.Builder
- java.lang.Object
-
- com.inlaylink.rfid.bean.send.LedConfig.Builder
-
- 封闭类:
- LedConfig
public static class LedConfig.Builder extends java.lang.ObjectThe type Builder.
-
-
构造器概要
构造器 构造器 说明 Builder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LedConfigbuild()Build led config.LedConfig.BuildersetAction(LedAction action)Sets action.LedConfig.BuildersetBlue(byte blue)Sets blue.LedConfig.BuildersetGreen(byte green)Sets green.LedConfig.BuildersetRed(byte red)Sets red.
-
-
-
方法详细资料
-
setAction
public LedConfig.Builder setAction(LedAction action)
Sets action.- 参数:
action- the action- 返回:
- the action
-
setRed
public LedConfig.Builder setRed(byte red)
Sets red.- 参数:
red- the red- 返回:
- the red
-
setGreen
public LedConfig.Builder setGreen(byte green)
Sets green.- 参数:
green- the green- 返回:
- the green
-
setBlue
public LedConfig.Builder setBlue(byte blue)
Sets blue.- 参数:
blue- the blue- 返回:
- the blue
-
build
public LedConfig build()
Build led config.- 返回:
- the led config
-
-