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()
产生区域的位元组资讯。
|
java.awt.Color |
getColor()
取得传感值正常时显示颜色。
|
byte |
getCorrection()
取得修正值。
|
BxArea.PolarType |
getCorrectionPolar()
取得修正极性。
|
NoiseBxArea.DisplayType |
getDisplayType()
取得显示格式。
|
java.awt.Color |
getOocColor()
取得传感值超标时显示颜色。
|
byte |
getSensorType()
取得传感器类型。
|
java.lang.String |
getStaticText()
取得静态文字。
|
byte |
getThresh()
取得触发值。
|
void |
setColor(java.awt.Color color)
设定传感值正常时显示颜色。
|
void |
setCorrection(byte correction)
设定修正值。
|
void |
setCorrectionPolar(BxArea.PolarType correctionPolar)
设定修正极性。
|
void |
setDisplayType(NoiseBxArea.DisplayType displayType)
设定显示格式。
|
void |
setOocColor(java.awt.Color oocColor)
设定传感值超标时显示颜色。
|
void |
setSensorType(byte sensorType)
设定传感器类型。
|
void |
setStaticText(java.lang.String staticText)
设定静态文字。
|
void |
setThresh(byte thresh)
设定触发值。
|
java.lang.String |
toString() |
getFont, getFrameMoveStep, getFrameSpeed, getFrameStyle, getFrameWidth, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, preview, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, validatepublic static final byte SENSOR_HZ_IH
public static final byte SENSOR_JX_HS
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[] generate()
throws Bx5GException
BxAreagenerate in class BxAreaBx5GException - 产生区域位元组资讯时发生错误。public java.awt.Color getColor()
public byte getCorrection()
public BxArea.PolarType getCorrectionPolar()
public NoiseBxArea.DisplayType getDisplayType()
public java.awt.Color getOocColor()
public byte getSensorType()
public java.lang.String getStaticText()
public byte getThresh()
public void setColor(java.awt.Color color)
color - 颜色。public void setCorrection(byte correction)
correction - 修正值。public void setCorrectionPolar(BxArea.PolarType correctionPolar)
correctionPolar - 修正极性。public void setDisplayType(NoiseBxArea.DisplayType displayType)
displayType - 显示格式。public void setOocColor(java.awt.Color oocColor)
oocColor - 颜色。public void setSensorType(byte sensorType)
sensorType - 传感器类型。public void setStaticText(java.lang.String staticText)
staticText - 静态文字。public void setThresh(byte thresh)
thresh - 触发值。