/**
* @constructor
*/
function XUIGaugePerfect() {
}
XUIGaugePerfect.prototype = {
//组件
/**
"gauge0":{
"title":"仪表盘0",
"name":"gauge0",
"type":"PUIGaugeInterface",
"index":0
}*/
/**
"gauge1":{
"title":"仪表盘1",
"name":"gauge1",
"type":"PUIGaugeInterface",
"index":1
}*/
/**
"gauge2":{
"title":"仪表盘2",
"name":"gauge2",
"type":"PUIGaugeInterface",
"index":2
}*/
/**
"gauge3":{
"title":"仪表盘3",
"name":"gauge3",
"type":"PUIGaugeInterface",
"index":3
}*/
//接口
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BackgroundColor "0xff1b1b1b"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 主仪表大小
* @param {String} strRadiu 中间仪表盘大小
* @property {String} MainRadius "50%"
*/
SetMainRadius:function (strRadiu) {
},
/**
* 主仪表最小值
* @param {Number} nMin 仪表盘数值最小值
* @property {Number} MianMinValue 0
*/
SetMianMinValue:function (nMin) {
},
/**
* 主仪表最大值
* @param {Number} nMax 仪表盘数值最大值
* @property {Number} MainMaxValue 220
*/
SetMainMaxValue:function (nMax) {
},
/**
* 主仪表宽度
* @param {Number} nWidth 坐标轴线宽度
* @property {Number} MainLineWidth 3
*/
SetMainLineWidth:function (nWidth) {
},
/**
* 主仪表刻度长
* @param {Number} nLength 仪表盘刻度长度
* @property {Number} MainLineLength 12
*/
SetMainLineLength:function (nLength) {
},
/**
* 主仪表分割线长
* @param {Number} nLength 分割线长度
* @property {Number} MainSplitLineLength 20
*/
SetMainSplitLineLength:function (nLength) {
},
/**
* 主仪表刻度值色
* @param {String} strColor 数值颜色
* @property {Color} MainNumColor "0xff000000"
*/
SetMainNumColor:function (strColor) {
},
/**
* 主仪表数值内边距
* @param {Number} nPadding 数值内边距
* @property {Number} MainAxisLabelPadding 5
*/
SetMainAxisLabelPadding:function (nPadding) {
},
/**
* 主表刻度值背景色
* @param {String} strColor 表盘数值背景色
* @property {Color} MainAxisLabelBgColor "0x00000000"
*/
SetMainAxisLabelBackgroundColor:function (strColor) {
},
/**
* 主仪表标题颜色
* @param {String} strColor 仪表盘标题颜色
* @property {Color} MainTitleColor "0xFF000000"
*/
SetMainTitleColor:function (strColor) {
},
/**
* 主仪表标题大小
* @param {Number} nSize 表盘标题大小
* @property {Number} MainTitleSize 20
*/
SetMainTitleSize:function (nSize) {
},
/**
* 主仪表数值背景色
* @param {String} strColor 表盘主数值背景色
* @property {Color} MainBgColor "0xFF000000"
*/
SetMainBgColor:function (strColor) {
},
/**
* 主仪表数值框圆角
* @param {Number} nRadius 边框圆角角度
* @property {Number} MainBorderRadius 3
*/
SetMainBorderRadius:function (nRadius) {
},
/**
* 主仪表数值边框宽
* @param {Number} nWidth 边框宽度
* @property {Number} MainBorderWidth 2
*/
SetMainBorderWidth:function (nWidth) {
},
/**
* 主仪表渐变色
* @param {String} strFirstColor 表盘开始颜色
* @param {String} strSecondColor 表盘中间颜色
* @param {String} strThirdColor 表盘结束颜色
* @param {Double} nStart 初段结束比值
* @param {Double} nCenter 中段结束比值
* @param {Double} nEnd 末段结束比值
* @property {Collection} MainCenterColor ["0xFFFF00FF","0xFF0000CD","0xFF90EE90",0.2,0.8,1]
*/
SetMainColor:function (strFirstColor,strSecondColor,strThirdColor,nStart,nCenter,nEnd) {
},
/**
* 主仪表数值
* @param {Number} nValue 仪表盘主数值
* @property {Number} MainNumber 40
*/
SetMainNumber:function (nValue) {
},
/**
* 主仪表数值名
* @param {String} strName 仪表盘主数值名称
* @property {String} MainNumName "示例文本1"
*/
SetMainNumName:function (strName) {
},
/**
* 左仪表大小
* @param {String} nSize 中间仪表盘大小
* @property {String} LeftSize "35%"
*/
SetLeftSize:function (nSize) {
},
/**
* 左仪表宽度
* @param {Number} nWidth 坐标轴线宽度
* @property {Number} LeftLineWidth 8
*/
SetLeftLineWidth:function (nWidth) {
},
/**
* 左仪表刻度长
* @param {Number} nLength 仪表盘刻度长度
* @property {Number} LeftLineLength 12
*/
SetLeftLineLength:function (nLength) {
},
/**
* 左仪表分割线长
* @param {Number} nLength 左侧分割线长度
* @property {Number} LeftSplitLineLength 20
*/
SetLeftSplitLineLength:function (nLength) {
},
/**
* 左仪表数值颜色
* @param {String} strColor 左侧数值颜色
* @property {Color} SeriesLeftNumColor "0xff000000"
*/
SetSeriesLeftNumColor:function (strColor) {
},
/**
* 左仪表渐变色
* @param {String} strLeftFirstColor 表盘开始颜色
* @param {String} strLeftSecondColor 表盘中间颜色
* @param {String} strLeftThirdColor 表盘结束颜色
* @param {Double} nLeftStart 初段结束比值
* @param {Double} nLeftCenter 中段结束比值
* @param {Double} nLeftaEnd 末段结束比值
* @property {Collection} LeftColor ["0xFFFF00FF","0xFF0000CD","0xFF90EE90",0.2,0.8,1]
*/
SetLeftColor:function (strLeftFirstColor,strLeftSecondColor,strLeftThirdColor,nLeftStart,nLeftCenter,nLeftaEnd) {
},
/**
* 左仪表数值颜色
* @param {String} strColor 左侧数值颜色
* @property {Color} LeftNumColor "0xff000000"
*/
SetLeftNumColor:function (strColor) {
},
/**
* 左仪表数值名
* @param {String} strName 仪表盘主数值名称
* @property {String} LeftNumName "示例文本2"
*/
SetLeftNumName:function (strName) {
},
/**
* 左仪表数值
* @param {Double} dNumber 左边仪表盘主数值
* @property {Double} LeftNumber 1.5
*/
SetLeftNumber:function (dNumber) {
},
/**
* 右上表渐变色
* @param {String} strRightFirstColor 表盘开始颜色
* @param {String} strRightSecondColor 表盘中间颜色
* @param {String} strRightThirdColor 表盘结束颜色
* @param {Double} nRightStart 初段结束比值
* @param {Double} nRightCenter 中段结束比值
* @param {Double} nRightaEnd 末段结束比值
* @property {Collection} RightColor ["0xFFFF00FF","0xFF0000CD","0xFF90EE90",0.2,0.8,1]
*/
SetRightColor:function (strRightFirstColor,strRightSecondColor,strRightThirdColor,nRightStart,nRightCenter,nRightaEnd) {
},
/**
* 右上表数值
* @param {Double} dValue 油表数值
* @property {Double} RightTopValue 0.5
*/
SetRightTopValue:function (dValue) {
},
/**
* 右下表颜色
* @param {String} strWaterFirstColor 表盘开始颜色
* @param {String} strWaterSecondColor 表盘中间颜色
* @param {String} strWaterThirdColor 表盘结束颜色
* @param {Double} nWaterStart 初段结束比值
* @param {Double} nWaterCenter 中段结束比值
* @param {Double} nWateraEnd 末段结束比值
* @property {Collection} RightDownColor ["0xFFFF00FF","0xFF0000CD","0xFF90EE90",0.2,0.8,1]
*/
SetRightDownColor:function (strWaterFirstColor,strWaterSecondColor,strWaterThirdColor,nWaterStart,nWaterCenter,nWateraEnd) {
},
/**
* 右下表数值
* @param {Double} dValue 右侧仪表盘水表数值
* @property {Double} RightDownValue 0.5
*/
SetRightDownValue:function (dValue) {
},
/**
* 右上表大小
* @param {String} strSize 右侧油表大小
* @property {String} RightUpSize "30%"
*/
SetRightUpSize:function (strSize) {
},
/**
* 右下表大小
* @param {String} strSize 右侧水表大小
* @property {String} RightDownSize "30%"
*/
SetRightDownSize:function (strSize) {
},
/**
* 主仪表刻度格数
* @param {Number} nNumber 中间仪表盘数值格数
* @property {Number} MainSplitNumber 10
*/
SetMainSplitNumber:function (nNumber) {
},
/**
* 左仪表最小值
* @param {Number} nMin 仪表盘数值最小值
* @property {Number} LeftMinValue 0
*/
SetLeftMinValue:function (nMin) {
},
/**
* 左仪表盘最大值
* @param {Number} nMax 仪表盘数值最大值
* @property {Number} LeftMaxValue 7
*/
SetLeftMaxValue:function (nMax) {
},
/**
* 左仪表刻度格数
* @param {Number} nNumber 中间仪表盘数值格数
* @property {Number} LeftSplitNumber 7
*/
SetLeftSplitNumber:function (nNumber) {
},
/**
* 右上表文本
* @param {String} strLeft 左侧文本
* @param {String} strMiddle 中间文本
* @param {String} strRight 右侧文本
* @property {Collection} RightTopLabel ["E","示例4","F"]
*/
SetRightTopLabel:function (strLeft,strMiddle,strRight) {
},
/**
* 右下表文本
* @param {String} strLeft 左侧文本
* @param {String} strMiddle 中间文本
* @param {String} strRight 右侧文本
* @property {Collection} WaterLabel ["C","示例3","H"]
*/
SetRightDownLabel:function (strLeft,strMiddle,strRight) {
},
/**
* 左仪表标题颜色
* @param {String} strColor 仪表盘标题颜色
* @property {Color} LeftTitleColor "0xffffffff"
*/
SetLeftTitleColor:function (strColor) {
},
/**
* 获取主仪表最大值
* @return {Number}
*/
GetMainMaxValue:function () {
},
/**
* 获取主仪表最小值
* @return {Number}
*/
GetMainMinValue:function () {
},
/**
* 获取主仪表数值
* @return {Number}
*/
GetMainNumber:function () {
},
/**
* 获取左仪表数值
* @return {Number}
*/
GetLeftNumber:function () {
},
/**
* 获取右上表数值
* @return {Number}
*/
GetRightTopValue:function () {
},
/**
* 获取右下表数值
* @return {Number}
*/
GetRightDownValue:function () {
},
/**
* 获取左仪表最小值
* @return {Number}
*/
GetLeftMinValue:function () {
},
/**
* 获取左仪表最大值
* @return {Number}
*/
GetLeftMaxValue:function () {
},
}