|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.area.BxArea
onbon.bx06.area.SensorBxArea
public abstract class SensorBxArea
湿度区域。
Nested Class Summary | |
---|---|
static class |
SensorBxArea.AlarmType
|
static class |
SensorBxArea.PolarType
极性类型 |
Field Summary | |
---|---|
static byte |
NUMBER_NOLIMIT
|
Constructor Summary | |
---|---|
SensorBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。 |
|
SensorBxArea(onbon.bx06.message.area.SensorArea area,
Bx6GScreenProfile screenProfile)
建构子。 |
Method Summary | |
---|---|
void |
addThreshold(SensorBxArea.AlarmType alarmType,
int value,
Color normal,
Color alarm)
增加警報界線。 |
void |
clearThresholds()
清除警報界線。 |
byte[] |
generate(ProgramDataBxFile dataFile)
产生区域的位元组资讯。 |
int |
getCorrection()
取得修正值。 |
SensorBxArea.PolarType |
getCorrectionPolar()
取得修正极性。 |
protected abstract onbon.bx06.message.file.FontData |
getFontData()
|
byte |
getNumberFloat()
|
byte |
getNumberInt()
|
protected abstract byte |
getSensorMode()
|
protected abstract byte |
getSensorType()
|
protected abstract byte |
getSensorUnit()
|
String |
getStaticText()
取得静态文字。 |
int |
getTransparency()
取得透明度。 |
boolean |
isBackgroundFlag()
|
boolean |
isFractionalPart()
取得湿度是否显示小数位。 |
boolean |
isSensorUnitFlag()
|
void |
maskByBackground()
显示被背景遮罩的部分。 |
void |
overlayWithBackground()
与背景重叠显示。 |
void |
setBackgroundFlag(boolean backgroundFlag)
|
void |
setCorrection(int correction)
设定修正值。 |
void |
setCorrectionPolar(SensorBxArea.PolarType correctionPolar)
设定修正极性。 |
void |
setFractionalPart(boolean fractionalPart)
设定湿度是否显示小数位。 |
void |
setNumberFloat(byte numberFloat)
|
void |
setNumberInt(byte numberInt)
|
void |
setSensorUnitFlag(boolean sensorUnitFlag)
|
void |
setStaticText(String staticText)
设定静态文字。 |
void |
setTransparency(int transparency)
设定透明度。 1. |
String |
toString()
|
Methods inherited from class onbon.bx06.area.BxArea |
---|
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, 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 |
---|
public static final byte NUMBER_NOLIMIT
Constructor Detail |
---|
public SensorBxArea(int x, int y, int width, int height, Bx6GScreenProfile screenProfile)
x
- X 座标。y
- Y 座标。width
- 区域宽度。height
- 区域高度。screenProfile
- 屏幕规格。public SensorBxArea(onbon.bx06.message.area.SensorArea area, Bx6GScreenProfile screenProfile)
area
- 区域screenProfile
- 屏幕规格。Method Detail |
---|
public boolean isBackgroundFlag()
public void setBackgroundFlag(boolean backgroundFlag)
public int getTransparency()
public void setTransparency(int transparency)
transparency
- 透明度。public void overlayWithBackground()
public void maskByBackground()
public boolean isSensorUnitFlag()
public void setSensorUnitFlag(boolean sensorUnitFlag)
public boolean isFractionalPart()
public void setFractionalPart(boolean fractionalPart)
fractionalPart
- 是否显示小数位。public byte getNumberInt()
public void setNumberInt(byte numberInt)
public byte getNumberFloat()
public void setNumberFloat(byte numberFloat)
public SensorBxArea.PolarType getCorrectionPolar()
public void setCorrectionPolar(SensorBxArea.PolarType correctionPolar)
correctionPolar
- 修正极性。public int getCorrection()
public void setCorrection(int correction)
correction
- 修正值。public String getStaticText()
public void setStaticText(String staticText)
staticText
- 静态文字。public void addThreshold(SensorBxArea.AlarmType alarmType, int value, Color normal, Color alarm)
alarmType
- 警報種類。value
- 值。normal
- 正常訊息顏色。alarm
- 警報訊息顏色。public void clearThresholds()
protected abstract byte getSensorMode()
protected abstract byte getSensorType()
protected abstract byte getSensorUnit()
protected abstract onbon.bx06.message.file.FontData getFontData()
public byte[] generate(ProgramDataBxFile dataFile) throws Bx6GException
BxArea
generate
in class BxArea
dataFile
- 资料。
Bx6GException
- 产生区域位元组资讯时发生错误。public String toString()
toString
in class BxArea
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |