onbon.bx06.area
Class TemperatureBxArea

java.lang.Object
  extended by onbon.bx06.area.BxArea
      extended by onbon.bx06.area.SensorBxArea
          extended by onbon.bx06.area.TemperatureBxArea

public class TemperatureBxArea
extends SensorBxArea


Nested Class Summary
static class TemperatureBxArea.DisplayUnitType
          温度讯息显示格式。
 
Nested classes/interfaces inherited from class onbon.bx06.area.SensorBxArea
SensorBxArea.AlarmType, SensorBxArea.PolarType
 
Field Summary
static byte SENSOR_DS18B20
           
static byte SENSOR_SHT1_SERIES
           
 
Fields inherited from class onbon.bx06.area.SensorBxArea
NUMBER_NOLIMIT
 
Constructor Summary
TemperatureBxArea(int x, int y, int width, int height, Bx6GScreenProfile screenProfile)
           
 
Method Summary
 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)
          设定传感器类型。
 
Methods inherited from class 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
 
Methods inherited from class onbon.bx06.area.BxArea
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SENSOR_DS18B20

public static byte SENSOR_DS18B20

SENSOR_SHT1_SERIES

public static byte SENSOR_SHT1_SERIES
Constructor Detail

TemperatureBxArea

public TemperatureBxArea(int x,
                         int y,
                         int width,
                         int height,
                         Bx6GScreenProfile screenProfile)
Method Detail

setSensorType

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

Parameters:
sensorType - 传感器类型。

getDisplayUnitType

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

Returns:
显示格式。

setDisplayUnitType

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

Parameters:
unitType - 显示格式。

getSensorMode

protected byte getSensorMode()
Specified by:
getSensorMode in class SensorBxArea

getSensorType

protected byte getSensorType()
Specified by:
getSensorType in class SensorBxArea

getSensorUnit

protected byte getSensorUnit()
Specified by:
getSensorUnit in class SensorBxArea

getFontData

protected onbon.bx06.message.file.FontData getFontData()
Specified by:
getFontData in class SensorBxArea

preview

public void preview(Graphics2D g2d)
Description copied from class: BxArea
檢視配置。

Overrides:
preview in class BxArea
Parameters:
g2d - 圖。


Copyright © 2020 onbon. All rights reserved.