public class LedLight
extends java.lang.Object
Constructor and Description |
---|
LedLight() |
Modifier and Type | Method and Description |
---|---|
boolean |
close()
关闭LED灯
Switch off LED |
static LedLight |
getInstance()
获取LED灯操作实例
Acquire LED operation example |
boolean |
isPowerOn()
判断设备是否上电
Judge the device is powered on or not. |
boolean |
open()
打开LED灯
Switch on LED |
public static LedLight getInstance()
public boolean open()
public boolean close()
public boolean isPowerOn()