onbon.bx06.area
类 TemperatureBxArea

java.lang.Object
  继承者 onbon.bx06.area.BxArea
      继承者 onbon.bx06.area.SensorBxArea
          继承者 onbon.bx06.area.TemperatureBxArea

public class TemperatureBxArea
extends SensorBxArea


嵌套类摘要
static class TemperatureBxArea.DisplayUnitType
          温度讯息显示格式。
 
从类 onbon.bx06.area.SensorBxArea 继承的嵌套类/接口
SensorBxArea.AlarmType, SensorBxArea.PolarType
 
字段摘要
static byte SENSOR_DS18B20
           
static byte SENSOR_SHT1_SERIES
           
 
从类 onbon.bx06.area.SensorBxArea 继承的字段
NUMBER_NOLIMIT
 
构造方法摘要
TemperatureBxArea(int x, int y, int width, int height, Bx6GScreenProfile screenProfile)
           
 
方法摘要
 TemperatureBxArea.DisplayUnitType getDisplayUnitType()
          取得显示格式。
protected  onbon.bx06.message.file.FontData getFontData()
           
protected  byte getSensorMode()
           
protected  byte getSensorType()
           
protected  byte getSensorUnit()
           
 void preview(Graphics2D g2d)
          檢視配置。
 void setDisplayUnitType(TemperatureBxArea.DisplayUnitType unitType)
          设定显示格式。
 void setSensorType(byte sensorType)
          设定传感器类型。
 
从类 onbon.bx06.area.SensorBxArea 继承的方法
addThreshold, clearThresholds, generate, getCorrection, getCorrectionPolar, getNumberFloat, getNumberInt, getStaticText, getTransparency, isBackgroundFlag, isFractionalPart, isSensorUnitFlag, maskByBackground, overlayWithBackground, setBackgroundFlag, setCorrection, setCorrectionPolar, setFractionalPart, setNumberFloat, setNumberInt, setSensorUnitFlag, setStaticText, setTransparency, toString
 
从类 onbon.bx06.area.BxArea 继承的方法
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, validate
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

SENSOR_DS18B20

public static byte SENSOR_DS18B20

SENSOR_SHT1_SERIES

public static byte SENSOR_SHT1_SERIES
构造方法详细信息

TemperatureBxArea

public TemperatureBxArea(int x,
                         int y,
                         int width,
                         int height,
                         Bx6GScreenProfile screenProfile)
方法详细信息

setSensorType

public void setSensorType(byte sensorType)
设定传感器类型。

参数:
sensorType - 传感器类型。

getDisplayUnitType

public TemperatureBxArea.DisplayUnitType getDisplayUnitType()
取得显示格式。

返回:
显示格式。

setDisplayUnitType

public void setDisplayUnitType(TemperatureBxArea.DisplayUnitType unitType)
设定显示格式。

参数:
unitType - 显示格式。

getSensorMode

protected byte getSensorMode()
指定者:
类 SensorBxArea 中的 getSensorMode

getSensorType

protected byte getSensorType()
指定者:
类 SensorBxArea 中的 getSensorType

getSensorUnit

protected byte getSensorUnit()
指定者:
类 SensorBxArea 中的 getSensorUnit

getFontData

protected onbon.bx06.message.file.FontData getFontData()
指定者:
类 SensorBxArea 中的 getFontData

preview

public void preview(Graphics2D g2d)
从类 BxArea 复制的描述
檢視配置。

覆盖:
类 BxArea 中的 preview
参数:
g2d - 圖。


Copyright © 2018 onbon. All rights reserved.