public final class HumidityBxArea extends BxArea
BxArea.PolarType
Constructor and Description |
---|
HumidityBxArea(onbon.bx05.message.area.HumidityArea area,
Bx5GScreenProfile screenProfile)
建构子。
|
HumidityBxArea(int x,
int y,
int width,
int height,
Bx5GScreenProfile screenProfile)
建构子。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generate()
产生区域的位元组资讯。
|
Color |
getColor()
取得传感值正常时显示颜色。
|
byte |
getCorrection()
取得修正值。
|
BxArea.PolarType |
getCorrectionPolar()
取得修正极性。
|
Color |
getOocColor()
取得传感值超标时显示颜色。
|
String |
getStaticText()
取得静态文字。
|
byte |
getThresh()
取得触发值。
|
boolean |
isFractionalPart()
取得湿度是否显示小数位。
|
void |
setColor(Color color)
设定传感值正常时显示颜色。
|
void |
setCorrection(byte correction)
设定修正值。
|
void |
setCorrectionPolar(BxArea.PolarType correctionPolar)
设定修正极性。
|
void |
setFractionalPart(boolean fractionalPart)
设定湿度是否显示小数位。
|
void |
setOocColor(Color oocColor)
设定传感值超标时显示颜色。
|
void |
setStaticText(String staticText)
设定静态文字。
|
void |
setThresh(byte thresh)
设定触发值。
|
String |
toString() |
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getFrameWidth, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, validate
public HumidityBxArea(int x, int y, int width, int height, Bx5GScreenProfile screenProfile)
x
- X 座标。y
- Y 座标。width
- 区域宽度。height
- 区域高度。screenProfile
- 屏幕规格。public HumidityBxArea(onbon.bx05.message.area.HumidityArea area, Bx5GScreenProfile screenProfile)
area
- 区域screenProfile
- 屏幕规格。public boolean isFractionalPart()
public void setFractionalPart(boolean fractionalPart)
fractionalPart
- 是否显示小数位。public BxArea.PolarType getCorrectionPolar()
public void setCorrectionPolar(BxArea.PolarType correctionPolar)
correctionPolar
- 修正极性。public byte getCorrection()
public void setCorrection(byte correction)
correction
- 修正值。public byte getThresh()
public void setThresh(byte thresh)
thresh
- 触发值。public Color getColor()
public void setColor(Color color)
color
- 颜色。public Color getOocColor()
public void setOocColor(Color oocColor)
oocColor
- 颜色。public String getStaticText()
public void setStaticText(String staticText)
staticText
- 静态文字。public byte[] generate() throws Bx5GException
BxArea
generate
in class BxArea
Bx5GException
- 产生区域位元组资讯时发生错误。Copyright © 2020 onbon4j. All rights reserved.