/**
* @constructor
*/
function XUIStateDisplay() {
}
XUIStateDisplay.prototype = {
//接口
/**
* 设置方块宽度
* @param {Number} nBoxWidth 方块宽度
* @property {Number} BoxWidth 70
*/
SetBoxWidth:function (nBoxWidth) {
},
/**
* 获取方块宽度
* @return {Number}
*/
GetBoxWidth:function () {
},
/**
* 设置方块高度
* @param {Number} nBoxHeight 方块高度
* @property {Number} BoxHeight 90
*/
SetBoxHeight:function (nBoxHeight) {
},
/**
* 获取方块高度
* @return {Number}
*/
GetBoxHeight:function () {
},
/**
* 设置电源灯颜色
* @param {String} strLampColor 电源灯颜色
* @property {Color} strLampColor "0xff86E865"
*/
SetLampColor:function (strLampColor) {
},
/**
* 获取电源灯颜色
* @return {String}
*/
GetLampColor:function () {
},
/**
* 设置电源灯宽高
* @param {Number} nLampHeight 方块高度
* @param {Number} nLampWidth 方块宽度
* @property {Collection} LampSize [15,15]
*/
SetLampSize:function (nLampHeight,nLampWidth) {
},
/**
* 获取电源灯宽
* @return {Number}
*/
GetLampWidth:function () {
},
/**
* 获取电源灯高
* @return {Number}
*/
GetLampHeight:function () {
},
/**
* 设置电源灯上下位置
* @param {Number} nLampPostion 电源灯上下位置
* @property {Number} LampPostion 10
*/
SetLampPostion:function (nLampPostion) {
},
/**
* 获取电源灯上下位置
* @return {Number}
*/
GetLampPostion:function () {
},
/**
* 设置电源灯左右位置
* @param {Number} nLampAbout 电源灯左右位置
* @property {Number} LampAbout 0
*/
SetLampAbout:function (nLampAbout) {
},
/**
* 获取电源灯左右位置
* @return {Number}
*/
GetLampAbout:function () {
},
/**
* 设置文字内容
* @param {String} strFontContent 文字内容
* @property {String} strFontContent ""
*/
SetFontContent:function (strFontContent) {
},
/**
* 获取文字内容
* @return {String}
*/
GetFontContent:function () {
},
/**
* 设置文字颜色
* @param {String} strFontColor 文字内容
* @property {Color} strFontColor "0xff000000"
*/
SetFontColor:function (strFontColor) {
},
/**
* 获取文字颜色
* @return {String}
*/
GetFontColor:function () {
},
/**
* 设置文字大小
* @param {Number} nFontSize 文字大小
* @property {Number} FontSize 15
*/
SetFontSize:function (nFontSize) {
},
/**
* 获取文字大小
* @return {Number}
*/
GetFontSize:function () {
},
/**
* 设置文字上下位置
* @param {Number} nFontPostion 文字上下位置
* @property {Number} FontPostion 30
*/
SetFontPostion:function (nFontPostion) {
},
/**
* 获取文字上下位置
* @return {Number}
*/
GetFontPostion:function () {
},
/**
* 设置文字左右位置
* @param {Number} nFontAbout 电源灯左右位置
* @property {Number} FontAbout 0
*/
SetFontAbout:function (nFontAbout) {
},
/**
* 获取文字左右位置
* @return {Number}
*/
GetFontAbout:function () {
},
/**
* 设置指示灯形状
* @param {String} strLampShape 指示灯形状
* @property {Combo} strLampShape ["circular","square"]
*/
SetLampShape:function (strLampShape) {
},
/**
* 获取指示灯形状
* @return {String}
*/
GetLampShape:function () {
},
/**
* 设置指示灯状态及对应数值
* @param {Number} nNum 对应数值
* @param {String} strStates 指示灯颜色
*/
SetStateNum:function (nNum,strStates) {
},
/**
* 获取电源灯颜色
* @return {String}
*/
GetStateColor:function () {
},
/**
* 设置指示灯状态值及其类型
* @param {Number} nStateNum 状态值
* @param {String} nStateStyle 指示灯状态类型
* @property {Collection} nStateNum [1,"background"]
*/
SetStateNumStyle:function (nStateNum,nStateStyle) {
},
/**
* 是否绘制背景色
* @param {Boolean} bDraw true背景色,false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawColor:function (bDraw) {
},
/**
* 是否绘制图标背景色
* @return {Boolean}
*/
IsDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor ""
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImage 颜色
* @property {ImageProp} strImage ""
*/
SetBgImage:function (strImage) {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImage:function () {
},
}