|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.BxArea
onbon.bx06.area.SensorBxArea
public abstract class SensorBxArea
湿度区域。
| 嵌套类摘要 | |
|---|---|
static class |
SensorBxArea.AlarmType
|
static class |
SensorBxArea.PolarType
极性类型 |
| 字段摘要 | |
|---|---|
static byte |
NUMBER_NOLIMIT
|
| 构造方法摘要 | |
|---|---|
SensorBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。 |
|
SensorBxArea(onbon.bx06.message.area.SensorArea area,
Bx6GScreenProfile screenProfile)
建构子。 |
|
| 方法摘要 | |
|---|---|
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)
设定透明度。 |
String |
toString()
|
| 从类 onbon.bx06.area.BxArea 继承的方法 |
|---|
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, preview, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, validate |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public static final byte NUMBER_NOLIMIT
| 构造方法详细信息 |
|---|
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 - 屏幕规格。| 方法详细信息 |
|---|
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 复制的描述
BxArea 中的 generatedataFile - 资料。
Bx6GException - 产生区域位元组资讯时发生错误。public String toString()
BxArea 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||