/**
* @constructor
*/
function XUICabinetDiagram() {
}
XUICabinetDiagram.prototype = {
//接口
/**
* 机柜设备清单
* @param {Array} arrUnit 计量单位
* @param {Array} arrType 设备类型
*/
SetEquipmentList:function (arrUnit,arrType) {
},
/**
* 清空机柜设备清单
*/
ClearEquipmentList:function () {
},
/**
* 设备警报
* @param {Number} nIndex 索引
*/
SetEquipmentWarningByIndex:function (nIndex) {
},
/**
* 设备警报
* @param {Number} nIndex 索引
*/
SetEquipmentNormalByIndex:function (nIndex) {
},
/**
* 滚动条样式
* @param {Number} nWidth 滚动条宽度
* @param {Number} nTrackR 轨道圆角
* @param {Number} nThumbR 滑块圆角
* @param {Number} nButtonH 按钮高度
* @param {Number} nButtonR 按钮圆角
*/
SetScrollBarFacade:function (nWidth,nTrackR,nThumbR,nButtonH,nButtonR) {
},
/**
* 滚动条颜色
* @param {String} bgColor 滚动条颜色
* @param {String} trackColor 轨道圆角颜色
* @param {String} ThumbColor 滑块颜色
* @param {String} ButtonColor 按钮颜色
*/
SetScrollBarColor:function (bgColor,trackColor,ThumbColor,ButtonColor) {
},
/**
* 背景颜色绘制
* @param {Boolean} bDrawColor
* @property {Boolean} BgDrawColor true
*/
SetBgDrawColor:function (bDrawColor) {
},
/**
* 换肤
* @param {Number} nSkin
*/
SetSkin:function (nSkin) {
},
/**
* 背景是否以颜色绘制
* @return {Boolean}
*/
IsBgDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} CtrlBgColor "0xff0f1c32"
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 背景图片
* @param {ImageProp} strBgImg 背景图片
* @property {ImageProp} CtrlBgImage "NUODT_JTFA/XUICabinetDiagram/images_blue/bg1.jpg"
*/
SetBgImage:function (strBgImg) {
},
/**
* 获取背景图片
* @return {String}
*/
GetBgImage:function () {
},
/**
* 标题文本大小
* @param {Number} nSize 标题文本大小
* @property {Number} TitileFontSize 13
*/
SetTitileFontSize:function (nSize) {
},
/**
* 获取文本大小
* @return {Number}
*/
GetTitileFontSize:function () {
},
/**
* 标题文本颜色
* @param {String} strColor 标题文本颜色
* @property {Color} TitileColor "0xffffffff"
*/
SetTitileColor:function (strColor) {
},
/**
* 获取标题颜色
* @return {String}
*/
GetTitileColor:function () {
},
/**
* 设置标题文本
* @param {String} strName 标题文本
* @property {String} CabinetTitileName "机柜STO201平面示意图"
*/
SetTitileText:function (strName) {
},
/**
* 获取标题文本
* @return {String}
*/
GetTitileText:function () {
},
/**
* 设备文本颜色
* @param {Number} nIndex 设备id
* @param {String} strColor 设备文本颜色
*/
SetEquipmentListColorByIndex:function (nIndex,strColor) {
},
/**
* 获设备文本颜色
* @param {Number} nIndex 设备id
* @return {String}
*/
GetEquipmentListColorByIndex:function (nIndex) {
},
/**
* 设备文本大小
* @param {Number} nIndex 设备id
* @param {Number} nSize 设备文本大小
*/
SetEquipmentListFontSizeByIndex:function (nIndex,nSize) {
},
/**
* 获设备文本大小
* @param {Number} nIndex 设备id
* @return {Number}
*/
GetEquipmentListFontSizeByIndex:function (nIndex) {
},
/**
* 设备文本对齐方式
* @param {Number} nIndex 设备id
* @param {String} strAlign 对齐方式
*/
SetEquipmentListAlign:function (nIndex,strAlign) {
},
/**
* 获取设备文本对齐方式
* @param {Number} nIndex 设备id
* @return {String}
*/
GetEquipmentListAlign:function (nIndex) {
},
}