com.rscja.deviceapi

## Class LedLight

- java.lang.Object
- - com.rscja.deviceapi.LedLight

- All Implemented Interfaces:
    ILedLight

      public class LedLight
      extends java.lang.Object
      implements ILedLight

  手柄LED灯控制类
  Handdeld LED control type
  Author:
    liuruifeng

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LedLight()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `close()` 关闭LED灯 Switch off LED
    `static LedLight` | `getInstance()` 获取LED灯操作实例 Acquire LED operation example
    `boolean` | `isPowerOn()`
    `boolean` | `open()` 打开LED灯 Switch on LED

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LedLight

          public LedLight()

  - ### Method Detail

    - #### getInstance

          public static LedLight getInstance()

      获取LED灯操作实例
      Acquire LED operation example
      Returns:
        LED operation example

    - #### open

          public boolean open()

      打开LED灯
      Switch on LED
      Specified by:
        `open` in interface `ILedLight`
      Returns:
        成功true，失败false

    - #### close

          public boolean close()

      关闭LED灯
      Switch off LED
      Specified by:
        `close` in interface `ILedLight`
      Returns:
        成功true，失败false

    - #### isPowerOn

          public boolean isPowerOn()

      Specified by:
        `isPowerOn` in interface `ILedLight`