public final class NoiseBxArea extends BxArea
Modifier and Type | Class and Description |
---|---|
static class |
NoiseBxArea.DisplayType
噪音讯息显示格式
|
BxArea.PolarType
Modifier and Type | Field and Description |
---|---|
static byte |
SENSOR_HZ_IH
杭州爱华。
|
static byte |
SENSOR_JX_HS
嘉兴恒升。
|
Constructor and Description |
---|
NoiseBxArea(int x,
int y,
int width,
int height,
Bx5GScreenProfile screenProfile)
建构子。
|
NoiseBxArea(onbon.bx05.message.area.NoiseArea area,
Bx5GScreenProfile screenProfile)
建构子。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generate()
产生区域的位元组资讯。
|
Color |
getColor()
取得传感值正常时显示颜色。
|
byte |
getCorrection()
取得修正值。
|
BxArea.PolarType |
getCorrectionPolar()
取得修正极性。
|
NoiseBxArea.DisplayType |
getDisplayType()
取得显示格式。
|
Color |
getOocColor()
取得传感值超标时显示颜色。
|
byte |
getSensorType()
取得传感器类型。
|
String |
getStaticText()
取得静态文字。
|
byte |
getThresh()
取得触发值。
|
void |
setColor(Color color)
设定传感值正常时显示颜色。
|
void |
setCorrection(byte correction)
设定修正值。
|
void |
setCorrectionPolar(BxArea.PolarType correctionPolar)
设定修正极性。
|
void |
setDisplayType(NoiseBxArea.DisplayType displayType)
设定显示格式。
|
void |
setOocColor(Color oocColor)
设定传感值超标时显示颜色。
|
void |
setSensorType(byte sensorType)
设定传感器类型。
|
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 static final byte SENSOR_JX_HS
public static final byte SENSOR_HZ_IH
public NoiseBxArea(int x, int y, int width, int height, Bx5GScreenProfile screenProfile)
x
- X 座标。y
- Y 座标。width
- 区域宽度。height
- 区域高度。screenProfile
- 屏幕规格。public NoiseBxArea(onbon.bx05.message.area.NoiseArea area, Bx5GScreenProfile screenProfile)
area
- 区域screenProfile
- 屏幕规格。public byte getSensorType()
public void setSensorType(byte sensorType)
sensorType
- 传感器类型。public NoiseBxArea.DisplayType getDisplayType()
public void setDisplayType(NoiseBxArea.DisplayType displayType)
displayType
- 显示格式。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.