onbon.bx06
Class Bx6GBrightnessClockEnv

java.lang.Object
  extended by onbon.bx06.Bx6GBrightnessClockEnv

public class Bx6GBrightnessClockEnv
extends Object

時間亮度設定。


Constructor Summary
Bx6GBrightnessClockEnv()
          建构子。
 
Method Summary
 byte[] generate()
          產生資料。
 void setup(int halfHour, int level)
          设定亮度條件。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bx6GBrightnessClockEnv

public Bx6GBrightnessClockEnv()
建构子。

Method Detail

setup

public void setup(int halfHour,
                  int level)
设定亮度條件。

Parameters:
halfHour - 半小時索引。0(00:00-00:29) - 47(23:30-23:59)。
level - 亮度。1 - 16。

generate

public byte[] generate()
產生資料。

Returns:
資料。


Copyright © 2020 onbon. All rights reserved.