onbon.bx06.cmd.led
Class ScreenTimingOnOffCmd

java.lang.Object
  extended by onbon.bx06.cmd.led.ScreenTimingOnOffCmd
All Implemented Interfaces:
Bx6GRequestCmd<onbon.bx06.message.global.ACK>

public final class ScreenTimingOnOffCmd
extends Object
implements Bx6GRequestCmd<onbon.bx06.message.global.ACK>

定时开关机。

Author:
ONBON

Constructor Summary
ScreenTimingOnOffCmd()
          建构子。
 
Method Summary
 Bx6GResponseCmd<onbon.bx06.message.global.ACK> accept(Bx6GController controller)
          利用指定控制器进行请求发送与回应处理。
 void addSample1()
           
 void addSample2()
           
 void addSample3()
           
 void addTime(int onHour, int onMin, int offHour, int offMin)
          增加定时开关机时间区段。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenTimingOnOffCmd

public ScreenTimingOnOffCmd()
建构子。

Method Detail

addTime

public void addTime(int onHour,
                    int onMin,
                    int offHour,
                    int offMin)
增加定时开关机时间区段。

Parameters:
onHour - 开机小时。
onMin - 开机分钟。
offHour - 关机小时。
offMin - 关机分钟。

addSample1

public void addSample1()

addSample2

public void addSample2()

addSample3

public void addSample3()

accept

public Bx6GResponseCmd<onbon.bx06.message.global.ACK> accept(Bx6GController controller)
Description copied from interface: Bx6GRequestCmd
利用指定控制器进行请求发送与回应处理。

Specified by:
accept in interface Bx6GRequestCmd<onbon.bx06.message.global.ACK>
Parameters:
controller - 控制器。
Returns:
回应结果。


Copyright © 2020 onbon. All rights reserved.