/*@WebApiFunc@*/ var varList = ['demo.DEMO_AI009','HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013','GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006']; var varListObj = {}; var tagInfoDic={}; // 用于保存所有的lib var mouseX=0,mouseY=0; var zoomNodeList = zoomNodeList || []; zoomNodeList.length = 0; var contextMenuOnViewList = contextMenuOnViewList || []; var globalVarNameList = globalVarNameList || []; var ratio = {ratioX: 1, ratioY: 1}; // 保存加上图形旋转之后的缩放比例 var _ratio = {ratioX: 1, ratioY: 1}; var autoAdaptive = '@autoAdaptive@'; var browserSize = { width: window.innerWidth || $window.innerWidth(), height: window.innerHeight || $window.innerHeight() } var globalVarObj = {}; var globarParamsObj = {}; var globalAliasObj = {}; var pageSizeRatioValue; var PAGESCALABLE; // 页面是否可通过滚轮缩放 var PageAdaptMode = { value: 'originSize', minWidth: 1366, minHeight: 768 }; function calcRatio (backSize, browserSize, ratio) { var value = GD.getParams('pageSizeRatioValue') || {}, rt; function cr(adaptMode) { var rx=1, ry=1, w, h; switch (adaptMode) { case 'adaptWidth': rx = ry = browserSize.width / backSize.width; break; case 'adaptHeight': rx = ry = browserSize.width / backSize.width; break; case 'adaptBrowser': rx = browserSize.width / backSize.width; ry = browserSize.height / backSize.height; break; case 'originSize': rx = ry = 1; break; case 'autoResize': w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width; h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height; rx = w / backSize.width; ry = h / backSize.height; rx > ry ? rx = ry : ry = rx; break; } return {rx: rx,ry: ry} } value = value.value || PageAdaptMode.value; pageSizeRatioValue = value; if ($.isNumeric(value)) { rt = cr(PageAdaptMode.value); ratio.ratioX = value*rt.rx; ratio.ratioY = value*rt.ry; } else { rt = cr(value); ratio.ratioX = rt.rx; ratio.ratioY = rt.ry; } ratio.originRatioX = rt.rx; ratio.originRatioY = rt.ry; window.backSize = backSize; } // 页面的依赖 (function (W, GD) { W.GD = GD = GD || {}; GD.relationship = { // hash: ['a.js', 'b.js', 'c.js'], } })(window, window.GD); (function () { for (var i = 0, len = varList.length; i < len; i++) { var varStr = varList[i]; varStr = varStr && varStr.toLowerCase && varStr.toLowerCase(); varStr && (varListObj[varStr] = 0); } })(); jQuery.support.cors = true; ht.Default.appendTimeStamp = function(url) { return url }; function init() { initPage(); // dataModel._libModel = _libModel; try { VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue; } catch (err) {} for(var i=0;i< 3 ;i++){VarValue[i] =0;} graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false view.style.background = 'rgba(255,255,255,1)'; sy=0; ldjsc=0; ztjs=0; sbjz=0; xnfx=0; pjgl=0; zbph=0; dbgl=0; bjzx=0; jrjs=0; sxxny=0; yygjb=0; plhts=0; tqwns=0; gljf=0; hyfy=0; llbts=0; ygcls=0; VIS=0; VIS2=0; VIS3=0; VIS4=0; VIS5=0; VIS6=0; VIS7=0; Node190GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'1'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'2'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'3'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'4'},{'Tag':'demo.day05','Name':'demo.day05','displayName':'5'},{'Tag':'demo.day06','Name':'demo.day06','displayName':'6'},{'Tag':'demo.day07','Name':'demo.day07','displayName':'7'},{'Tag':'demo.day08','Name':'demo.day08','displayName':'8'},{'Tag':'demo.day09','Name':'demo.day09','displayName':'9'},{'Tag':'demo.day10','Name':'demo.day10','displayName':'10'},{'Tag':'demo.day11','Name':'demo.day11','displayName':'11'},{'Tag':'demo.day12','Name':'demo.day12','displayName':'12'},{'Tag':'demo.day13','Name':'demo.day13','displayName':'13'},{'Tag':'demo.day14','Name':'demo.day14','displayName':'14'},{'Tag':'demo.day15','Name':'demo.day15','displayName':'15'},{'Tag':'6emo.day16','Name':'6emo.day16','displayName':'16'},{'Tag':'demo.day17','Name':'demo.day17','displayName':'17'},{'Tag':'demo.day18','Name':'demo.day18','displayName':'18'},{'Tag':'demo.day19','Name':'demo.day19','displayName':'19'},{'Tag':'demo.day20','Name':'demo.day20','displayName':'20'},{'Tag':'demo.day21','Name':'demo.day21','displayName':'21'},{'Tag':'demo.day22','Name':'demo.day22','displayName':'22'},{'Tag':'demo.day23','Name':'demo.day23','displayName':'23'},{'Tag':'demo.day24','Name':'demo.day24','displayName':'24'},{'Tag':'demo.day25','Name':'demo.day25','displayName':'25'},{'Tag':'demo.day26','Name':'demo.day26','displayName':'26'},{'Tag':'demo.day27','Name':'demo.day27','displayName':'27'},{'Tag':'demo.day28','Name':'demo.day28','displayName':'28'},{'Tag':'demo.day29','Name':'demo.day29','displayName':'29'},{'Tag':'demo.day30','Name':'demo.day30','displayName':'30'}]; Node190GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'0, 191, 255','DrawType':0,'StaType':0,'color':'#00bfff'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 99, 71','DrawType':1,'StaType':0,'color':'#ff6347'}]; Node200GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'一月'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'二月'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'三月'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'四月'},{'Tag':'demo.day05','Name':'demo.day05','displayName':''},{'Tag':'demo.day06','Name':'demo.day06','displayName':''},{'Tag':'demo.day07','Name':'demo.day07','displayName':''},{'Tag':'demo.day08','Name':'demo.day08','displayName':''},{'Tag':'demo.day09','Name':'demo.day09','displayName':''},{'Tag':'demo.day10','Name':'demo.day10','displayName':''},{'Tag':'demo.day11','Name':'demo.day11','displayName':''},{'Tag':'demo.day12','Name':'demo.day12','displayName':''}]; Node200GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'64, 224, 208','DrawType':0,'StaType':0,'color':'#40e0d0'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 128, 0','DrawType':0,'StaType':0,'color':'#ff8000'},{'statisticsType':'Avg','Tag':'quick','Name':'quick','displayName':'','Col':'0, 255, 0','DrawType':0,'StaType':0,'color':'#00ff00'}]; Node203RowVarName=[]; /*@PageBeforeInit@*/ ;(function () { var GD = window.GD; if (!GD || typeof GD.useParams !== 'function') return ; GD.useParams(); })(); var backSize = {width: 1899, height: 980};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var PageBackgroundtype = 'rect'; var PageBackground = new ht.Node(), PageBackgroundBorderWidth = 0*2; if (PageBackgroundtype === 'arc') { PageBackgroundBorderWidth *= 0; } PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 980*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@')); PageBackground.setPosition(949*ratio.ratioX, 490*ratio.ratioY); PageBackground.setSize(1899*_ratio.ratioX, 980*_ratio.ratioY); PageBackground.s({ 'pixelPerfect':true /*@AddPara@*/ }); PageBackground.a('node.width', 1899*_ratio.ratioX); PageBackground.a('node.height', 980*_ratio.ratioY); PageBackground.a('node.type', PageBackgroundtype); PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 980*_ratio.ratioY]); PageBackground.a('node.background', 'rgba(255,255,255,1)'); PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)'); PageBackground.a('node.gradient', ''); PageBackground.a('node.borderwidth', PageBackgroundBorderWidth); PageBackground.a('node.color', 'rgba(0,0,0,1)'); PageBackground.a('node.fillrect', [0,0,0,0]); PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)'); PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); PageBackground.a('node.fillgradient', ''); if (PageBackgroundtype !== 'rect') { PageBackground.a('node.arcFrom', parseFloat('@arcFrom@')); PageBackground.a('node.arcTo', parseFloat('@arcTo@')); PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (PageBackgroundtype === 'arc') { PageBackground.a('node.arcOval', true); } PageBackground.setRotation(0*Math.PI/180); PageBackground.borderWidth = PageBackgroundBorderWidth; PageBackground.borderFillwidth = PageBackgroundBorderWidth; dataModel.add(PageBackground); PageBackground._nodename = 'PageBackground' PageBackground._nodeType = 'rect'; zoomNodeList.push({ node: PageBackground, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0type = 'rect'; var Node0 = new ht.Node(), Node0BorderWidth = 1*2; if (Node0type === 'arc') { Node0BorderWidth *= 1; } Node0.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node0.setPosition(1343*ratio.ratioX, 847*ratio.ratioY); Node0.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY); Node0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node0.a('node.width', 1114*_ratio.ratioX); Node0.a('node.height', 208*_ratio.ratioY); Node0.a('node.type', Node0type); Node0.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]); Node0.a('node.background', 'rgba(255,255,255,0.003921569)'); Node0.a('node.gradientcolor', ''); Node0.a('node.gradient', ''); Node0.a('node.borderwidth', Node0BorderWidth); Node0.a('node.color', 'rgba(192,192,192,1)'); Node0.a('node.fillrect', [0,0,0,0]); Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node0.a('node.fillgradient', ''); if (Node0type !== 'rect') { Node0.a('node.arcFrom', parseFloat('@arcFrom@')); Node0.a('node.arcTo', parseFloat('@arcTo@')); Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node0type === 'arc') { Node0.a('node.arcOval', true); } Node0.setRotation(0*Math.PI/180); Node0.borderWidth = Node0BorderWidth; Node0.borderFillwidth = Node0BorderWidth; dataModel.add(Node0); Node0._nodename = 'Node0' Node0._nodeType = 'rect'; zoomNodeList.push({ node: Node0, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node1type = 'rect'; var Node1 = new ht.Node(), Node1BorderWidth = 1*2; if (Node1type === 'arc') { Node1BorderWidth *= 1; } Node1.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node1.setPosition(1343*ratio.ratioX, 637*ratio.ratioY); Node1.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY); Node1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node1.a('node.width', 1114*_ratio.ratioX); Node1.a('node.height', 208*_ratio.ratioY); Node1.a('node.type', Node1type); Node1.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]); Node1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node1.a('node.gradientcolor', ''); Node1.a('node.gradient', ''); Node1.a('node.borderwidth', Node1BorderWidth); Node1.a('node.color', 'rgba(192,192,192,1)'); Node1.a('node.fillrect', [0,0,0,0]); Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node1.a('node.fillgradient', ''); if (Node1type !== 'rect') { Node1.a('node.arcFrom', parseFloat('@arcFrom@')); Node1.a('node.arcTo', parseFloat('@arcTo@')); Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node1type === 'arc') { Node1.a('node.arcOval', true); } Node1.setRotation(0*Math.PI/180); Node1.borderWidth = Node1BorderWidth; Node1.borderFillwidth = Node1BorderWidth; dataModel.add(Node1); Node1._nodename = 'Node1' Node1._nodeType = 'rect'; zoomNodeList.push({ node: Node1, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node2type = 'rect'; var Node2 = new ht.Node(), Node2BorderWidth = 1*2; if (Node2type === 'arc') { Node2BorderWidth *= 1; } Node2.setImage(GD.getRectJSON(510*_ratio.ratioX, 208*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node2.setPosition(1638*ratio.ratioX, 427*ratio.ratioY); Node2.setSize(510*_ratio.ratioX, 208*_ratio.ratioY); Node2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node2.a('node.width', 510*_ratio.ratioX); Node2.a('node.height', 208*_ratio.ratioY); Node2.a('node.type', Node2type); Node2.a('node.rect', [0, 0, 510*_ratio.ratioX, 208*_ratio.ratioY]); Node2.a('node.background', 'rgba(255,255,255,0.003921569)'); Node2.a('node.gradientcolor', ''); Node2.a('node.gradient', ''); Node2.a('node.borderwidth', Node2BorderWidth); Node2.a('node.color', 'rgba(192,192,192,1)'); Node2.a('node.fillrect', [0,0,0,0]); Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node2.a('node.fillgradient', ''); if (Node2type !== 'rect') { Node2.a('node.arcFrom', parseFloat('@arcFrom@')); Node2.a('node.arcTo', parseFloat('@arcTo@')); Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node2type === 'arc') { Node2.a('node.arcOval', true); } Node2.setRotation(0*Math.PI/180); Node2.borderWidth = Node2BorderWidth; Node2.borderFillwidth = Node2BorderWidth; dataModel.add(Node2); Node2._nodename = 'Node2' Node2._nodeType = 'rect'; zoomNodeList.push({ node: Node2, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node2, Node2.getImage());option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:5, min: 0, max: 1250, startAngle:180, endAngle:0, axisTick:{ length:5, lineStyle: { color:'rgba(255,255,255,1)' } }, axisLabel: { // 坐标轴小标记 textStyle: { // 属性lineStyle控制线条样式 color: 'rgba(64,64,64,1)' }, formatter: function (value, index) { return value.toFixed(0); } }, axisLine: { lineStyle: { color: [[0.388888888888889, 'rgba(192,255,255,1)'],[1, 'rgba(192,192,192,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 0 } }, detail: {formatter:'{value}',show:false}, data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node3 = new ht.HtmlNode(); Node3.setPosition({'x':1744*ratio.ratioX,'y':499*ratio.ratioY}); Node3.setWidth(270*_ratio.ratioX); Node3.setHeight(140*_ratio.ratioY); Node3.setScalable(false); Node3.setRotation(0); Node3.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY); Node3.setHtml(chart); var Node3_chart = chart._chart; dataModel.add(Node3);option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:5, min: 0, max: 1250, startAngle:180, endAngle:0, axisTick:{ length:5, lineStyle: { color:'rgba(255,255,255,1)' } }, axisLabel: { // 坐标轴小标记 textStyle: { // 属性lineStyle控制线条样式 color: 'rgba(64,64,64,1)' }, formatter: function (value, index) { return value.toFixed(0); } }, axisLine: { lineStyle: { color: [[0.511111111111111, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 0 } }, detail: {formatter:'{value}',show:false}, data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node4 = new ht.HtmlNode(); Node4.setPosition({'x':1521*ratio.ratioX,'y':494*ratio.ratioY}); Node4.setWidth(270*_ratio.ratioX); Node4.setHeight(140*_ratio.ratioY); Node4.setScalable(false); Node4.setRotation(0); Node4.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY); Node4.setHtml(chart); var Node4_chart = chart._chart; dataModel.add(Node4);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node5type = 'rect'; var Node5 = new ht.Node(), Node5BorderWidth = 1*2; if (Node5type === 'arc') { Node5BorderWidth *= 1; } Node5.setImage(GD.getRectJSON(1113*_ratio.ratioX, 78*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node5.setPosition(1341*ratio.ratioX, 281*ratio.ratioY); Node5.setSize(1113*_ratio.ratioX, 78*_ratio.ratioY); Node5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node5.a('node.width', 1113*_ratio.ratioX); Node5.a('node.height', 78*_ratio.ratioY); Node5.a('node.type', Node5type); Node5.a('node.rect', [0, 0, 1113*_ratio.ratioX, 78*_ratio.ratioY]); Node5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node5.a('node.gradientcolor', ''); Node5.a('node.gradient', ''); Node5.a('node.borderwidth', Node5BorderWidth); Node5.a('node.color', 'rgba(192,192,192,1)'); Node5.a('node.fillrect', [0,0,0,0]); Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node5.a('node.fillgradient', ''); if (Node5type !== 'rect') { Node5.a('node.arcFrom', parseFloat('@arcFrom@')); Node5.a('node.arcTo', parseFloat('@arcTo@')); Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node5type === 'arc') { Node5.a('node.arcOval', true); } Node5.setRotation(0*Math.PI/180); Node5.borderWidth = Node5BorderWidth; Node5.borderFillwidth = Node5BorderWidth; dataModel.add(Node5); Node5._nodename = 'Node5' Node5._nodeType = 'rect'; zoomNodeList.push({ node: Node5, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node6type = 'rect'; var Node6 = new ht.Node(), Node6BorderWidth = 1*2; if (Node6type === 'arc') { Node6BorderWidth *= 1; } Node6.setImage(GD.getRectJSON(570*_ratio.ratioX, 210*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node6.setPosition(1071*ratio.ratioX, 427*ratio.ratioY); Node6.setSize(570*_ratio.ratioX, 210*_ratio.ratioY); Node6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node6.a('node.width', 570*_ratio.ratioX); Node6.a('node.height', 210*_ratio.ratioY); Node6.a('node.type', Node6type); Node6.a('node.rect', [0, 0, 570*_ratio.ratioX, 210*_ratio.ratioY]); Node6.a('node.background', 'rgba(255,255,255,0.003921569)'); Node6.a('node.gradientcolor', ''); Node6.a('node.gradient', ''); Node6.a('node.borderwidth', Node6BorderWidth); Node6.a('node.color', 'rgba(224,224,224,1)'); Node6.a('node.fillrect', [0,0,0,0]); Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node6.a('node.fillgradient', ''); if (Node6type !== 'rect') { Node6.a('node.arcFrom', parseFloat('@arcFrom@')); Node6.a('node.arcTo', parseFloat('@arcTo@')); Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node6type === 'arc') { Node6.a('node.arcOval', true); } Node6.setRotation(0*Math.PI/180); Node6.borderWidth = Node6BorderWidth; Node6.borderFillwidth = Node6BorderWidth; dataModel.add(Node6); Node6._nodename = 'Node6' Node6._nodeType = 'rect'; zoomNodeList.push({ node: Node6, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node6, Node6.getImage());var Node7; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//benner.png', PAGEROOTDIR + 'image//img//benner.png'); Node7 = new ht.Node(); Node7.setPosition(946*ratio.ratioX, 25*ratio.ratioY); Node7.setSize(1899*ratioX, 50*ratioY); Node7.setImage('imgimage//img//benner.png'); Node7.setRotation(0*Math.PI/180); Node7._zoomBy = 'Default'; Node7._nodeType = 'image'; Node7._disallowEvert = true; dataModel.add(Node7); })(); var Node8; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//new_but_bg_a.png', PAGEROOTDIR + 'image//img//new_but_bg_a.png'); Node8 = new ht.Node(); Node8.setPosition(949*ratio.ratioX, 65*ratio.ratioY); Node8.setSize(1899*ratioX, 31*ratioY); Node8.setImage('imgimage//img//new_but_bg_a.png'); Node8.setRotation(0*Math.PI/180); Node8._zoomBy = 'Default'; Node8._nodeType = 'image'; Node8._disallowEvert = true; dataModel.add(Node8); })(); _ratio = GD.getRatioWithRotation(0, ratio); var Node9 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node10 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node11 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 56*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node12 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 57*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node13type = 'rect'; var Node13 = new ht.Node(), Node13BorderWidth = 1*2; if (Node13type === 'arc') { Node13BorderWidth *= 1; } Node13.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node13.setPosition(247*ratio.ratioX, 178*ratio.ratioY); Node13.setSize(120*_ratio.ratioX, 120*_ratio.ratioY); Node13.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node13.a('node.width', 120*_ratio.ratioX); Node13.a('node.height', 120*_ratio.ratioY); Node13.a('node.type', Node13type); Node13.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]); Node13.a('node.background', 'rgba(245,245,245,1)'); Node13.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node13.a('node.gradient', ''); Node13.a('node.borderwidth', Node13BorderWidth); Node13.a('node.color', 'rgba(220,220,220,1)'); Node13.a('node.fillrect', [0,0,0,0]); Node13.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node13.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node13.a('node.fillgradient', ''); if (Node13type !== 'rect') { Node13.a('node.arcFrom', parseFloat('@arcFrom@')); Node13.a('node.arcTo', parseFloat('@arcTo@')); Node13.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node13type === 'arc') { Node13.a('node.arcOval', true); } Node13.setRotation(0*Math.PI/180); Node13.borderWidth = Node13BorderWidth; Node13.borderFillwidth = Node13BorderWidth; dataModel.add(Node13); Node13._nodename = 'Node13' Node13._nodeType = 'rect'; zoomNodeList.push({ node: Node13, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node13, Node13.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node14type = 'rect'; var Node14 = new ht.Node(), Node14BorderWidth = 1*2; if (Node14type === 'arc') { Node14BorderWidth *= 1; } Node14.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node14.setPosition(326*ratio.ratioX, 178*ratio.ratioY); Node14.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY); Node14.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node14.a('node.width', 280.7278*_ratio.ratioX); Node14.a('node.height', 122*_ratio.ratioY); Node14.a('node.type', Node14type); Node14.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]); Node14.a('node.background', 'rgba(255,255,255,0.003921569)'); Node14.a('node.gradientcolor', ''); Node14.a('node.gradient', ''); Node14.a('node.borderwidth', Node14BorderWidth); Node14.a('node.color', 'rgba(220,220,220,1)'); Node14.a('node.fillrect', [0,0,0,0]); Node14.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node14.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node14.a('node.fillgradient', ''); if (Node14type !== 'rect') { Node14.a('node.arcFrom', parseFloat('@arcFrom@')); Node14.a('node.arcTo', parseFloat('@arcTo@')); Node14.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node14type === 'arc') { Node14.a('node.arcOval', true); } Node14.setRotation(0*Math.PI/180); Node14.borderWidth = Node14BorderWidth; Node14.borderFillwidth = Node14BorderWidth; dataModel.add(Node14); Node14._nodename = 'Node14' Node14._nodeType = 'rect'; zoomNodeList.push({ node: Node14, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node14, Node14.getImage());var Node15points=[377, 118,377, 238], Node15rect=ht.Default.unionPoint([{x:377,y:118},{x:377,y:238}]), Node15compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio), _endratio = GD.getRatioWithRotation(7.85398163397448, ratio); for(var i=0;i 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9; Node16textWidth = Node16width; Node16lineStart = 1; } else if (Node16align === 'right') { Node16textStart = 0; Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2; Node16lineStart = (Node16width - (ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node16align === 'center') { Node16textStart = -3; Node16textWidth = Node16width; Node16lineStart = Node16width - ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width - 11; } })(); Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"')) Node16.setPosition(232*ratio.ratioX, 128*ratio.ratioY); Node16.setWidth(Node16width); Node16.setHeight(Node16height); Node16._nodeType = 'text'; Node16._disallowEvert = true; Node16.setRotation(0*Math.PI/180); Node16.a('node.width', Node16width); Node16.a('node.height', Node16height); Node16.a('node.rect', [0, 0, Node16width, Node16height]); Node16.a('node.bordercolor','rgba(0,0,0,1)'); Node16.a('node.borderwidth', 0); Node16.a('node.background','' || 'rgba(0,0,0,0)'); Node16.a('node.gradient',''); Node16.a('node.gradientcolor',''); Node16.a('node.text','装机容量'); Node16.a('node.textalign','left'); Node16.a('node.textvAlign','middle'); Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]); Node16.a('node.color','rgba(0,0,0,1)'); Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"'); Node16.a('node.textvisible',true); Node16.a('node.linefeed',false); if (false) { Node16.a('node.textfunc',function(g) { g.beginPath(); var str=Node16.a('node.text') || '装机容量'; var color=Node16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g); }); } if (false) { Node16.a('node.underlinepoints',[Node16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]); Node16.a('node.underlinevisible',false); Node16.a('node.underlineBorderWidth', 1); } dataModel.add(Node16); zoomNodeList.push({ node: Node16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17 = new ht.Node(); var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 82*_ratio.ratioX, Node17height = 27*_ratio.ratioY; (function () { if (Node17align === 'left') { Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9; Node17textWidth = Node17width; Node17lineStart = 1; } else if (Node17align === 'right') { Node17textStart = 0; Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2; Node17lineStart = (Node17width - (ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node17align === 'center') { Node17textStart = -3; Node17textWidth = Node17width; Node17lineStart = Node17width - ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width - 11; } })(); Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, ' '+ Node17fontSize + 'px "Arial"')) Node17.setPosition(232*ratio.ratioX, 154*ratio.ratioY); Node17.setWidth(Node17width); Node17.setHeight(Node17height); Node17._nodeType = 'text'; Node17._disallowEvert = true; Node17.setRotation(0*Math.PI/180); Node17.a('node.width', Node17width); Node17.a('node.height', Node17height); Node17.a('node.rect', [0, 0, Node17width, Node17height]); Node17.a('node.bordercolor','rgba(0,0,0,1)'); Node17.a('node.borderwidth', 0); Node17.a('node.background','' || 'rgba(0,0,0,0)'); Node17.a('node.gradient',''); Node17.a('node.gradientcolor',''); Node17.a('node.text','月利用小时'); Node17.a('node.textalign','left'); Node17.a('node.textvAlign','middle'); Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]); Node17.a('node.color','rgba(0,0,0,1)'); Node17.a('node.font',' '+ Node17fontSize + 'px "Arial"'); Node17.a('node.textvisible',true); Node17.a('node.linefeed',false); if (false) { Node17.a('node.textfunc',function(g) { g.beginPath(); var str=Node17.a('node.text') || '月利用小时'; var color=Node17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,' '+ Node17fontSize + 'px "Arial"', 0,g); }); } if (false) { Node17.a('node.underlinepoints',[Node17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]); Node17.a('node.underlinevisible',false); Node17.a('node.underlineBorderWidth', 1); } dataModel.add(Node17); zoomNodeList.push({ node: Node17, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node18 = new ht.Node(); var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 82*_ratio.ratioX, Node18height = 27*_ratio.ratioY; (function () { if (Node18align === 'left') { Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9; Node18textWidth = Node18width; Node18lineStart = 1; } else if (Node18align === 'right') { Node18textStart = 0; Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2; Node18lineStart = (Node18width - (ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node18align === 'center') { Node18textStart = -3; Node18textWidth = Node18width; Node18lineStart = Node18width - ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width - 11; } })(); Node18.setImage(GD.getTextJSON(Node18width, Node18height, true, false, false, ' '+ Node18fontSize + 'px "Arial"')) Node18.setPosition(232*ratio.ratioX, 178*ratio.ratioY); Node18.setWidth(Node18width); Node18.setHeight(Node18height); Node18._nodeType = 'text'; Node18._disallowEvert = true; Node18.setRotation(0*Math.PI/180); Node18.a('node.width', Node18width); Node18.a('node.height', Node18height); Node18.a('node.rect', [0, 0, Node18width, Node18height]); Node18.a('node.bordercolor','rgba(0,0,0,1)'); Node18.a('node.borderwidth', 0); Node18.a('node.background','' || 'rgba(0,0,0,0)'); Node18.a('node.gradient',''); Node18.a('node.gradientcolor',''); Node18.a('node.text','年利用小时'); Node18.a('node.textalign','left'); Node18.a('node.textvAlign','middle'); Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]); Node18.a('node.color','rgba(0,0,0,1)'); Node18.a('node.font',' '+ Node18fontSize + 'px "Arial"'); Node18.a('node.textvisible',true); Node18.a('node.linefeed',false); if (false) { Node18.a('node.textfunc',function(g) { g.beginPath(); var str=Node18.a('node.text') || '年利用小时'; var color=Node18.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g); }); } if (false) { Node18.a('node.underlinepoints',[Node18lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]); Node18.a('node.underlinevisible',false); Node18.a('node.underlineBorderWidth', 1); } dataModel.add(Node18); zoomNodeList.push({ node: Node18, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node19 = new ht.Node(); var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 110*_ratio.ratioX, Node19height = 27*_ratio.ratioY; (function () { if (Node19align === 'left') { Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9; Node19textWidth = Node19width; Node19lineStart = 1; } else if (Node19align === 'right') { Node19textStart = 0; Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2; Node19lineStart = (Node19width - (ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node19align === 'center') { Node19textStart = -3; Node19textWidth = Node19width; Node19lineStart = Node19width - ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width - 11; } })(); Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"')) Node19.setPosition(246*ratio.ratioX, 201*ratio.ratioY); Node19.setWidth(Node19width); Node19.setHeight(Node19height); Node19._nodeType = 'text'; Node19._disallowEvert = true; Node19.setRotation(0*Math.PI/180); Node19.a('node.width', Node19width); Node19.a('node.height', Node19height); Node19.a('node.rect', [0, 0, Node19width, Node19height]); Node19.a('node.bordercolor','rgba(0,0,0,1)'); Node19.a('node.borderwidth', 0); Node19.a('node.background','' || 'rgba(0,0,0,0)'); Node19.a('node.gradient',''); Node19.a('node.gradientcolor',''); Node19.a('node.text','月设备可利用率'); Node19.a('node.textalign','left'); Node19.a('node.textvAlign','middle'); Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]); Node19.a('node.color','rgba(0,0,0,1)'); Node19.a('node.font',' '+ Node19fontSize + 'px "Arial"'); Node19.a('node.textvisible',true); Node19.a('node.linefeed',false); if (false) { Node19.a('node.textfunc',function(g) { g.beginPath(); var str=Node19.a('node.text') || '月设备可利用率'; var color=Node19.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g); }); } if (false) { Node19.a('node.underlinepoints',[Node19lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]); Node19.a('node.underlinevisible',false); Node19.a('node.underlineBorderWidth', 1); } dataModel.add(Node19); zoomNodeList.push({ node: Node19, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node20 = new ht.Node(); var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 125*_ratio.ratioX, Node20height = 27*_ratio.ratioY; (function () { if (Node20align === 'left') { Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9; Node20textWidth = Node20width; Node20lineStart = 1; } else if (Node20align === 'right') { Node20textStart = 0; Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2; Node20lineStart = (Node20width - (ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node20align === 'center') { Node20textStart = -3; Node20textWidth = Node20width; Node20lineStart = Node20width - ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width - 11; } })(); Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, ' '+ Node20fontSize + 'px "Arial"')) Node20.setPosition(253*ratio.ratioX, 226*ratio.ratioY); Node20.setWidth(Node20width); Node20.setHeight(Node20height); Node20._nodeType = 'text'; Node20._disallowEvert = true; Node20.setRotation(0*Math.PI/180); Node20.a('node.width', Node20width); Node20.a('node.height', Node20height); Node20.a('node.rect', [0, 0, Node20width, Node20height]); Node20.a('node.bordercolor','rgba(0,0,0,1)'); Node20.a('node.borderwidth', 0); Node20.a('node.background','' || 'rgba(0,0,0,0)'); Node20.a('node.gradient',''); Node20.a('node.gradientcolor',''); Node20.a('node.text','月等效可利用系数'); Node20.a('node.textalign','left'); Node20.a('node.textvAlign','middle'); Node20.a('node.textrect', [Node20textStart, 0, Node20textWidth, Node20height]); Node20.a('node.color','rgba(0,0,0,1)'); Node20.a('node.font',' '+ Node20fontSize + 'px "Arial"'); Node20.a('node.textvisible',true); Node20.a('node.linefeed',false); if (false) { Node20.a('node.textfunc',function(g) { g.beginPath(); var str=Node20.a('node.text') || '月等效可利用系数'; var color=Node20.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g); }); } if (false) { Node20.a('node.underlinepoints',[Node20lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6, (Node20height - Node20fontSize) * 0.5*_ratio.ratioY + Node20fontSize + 2 ]); Node20.a('node.underlinevisible',false); Node20.a('node.underlineBorderWidth', 1); } dataModel.add(Node20); zoomNodeList.push({ node: Node20, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node21 = new ht.Node(); var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 13.3333*_ratio.ratioY,Node21width = 37*_ratio.ratioX, Node21height = 16*_ratio.ratioY; (function () { if (Node21align === 'left') { Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9; Node21textWidth = Node21width; Node21lineStart = 1; } else if (Node21align === 'right') { Node21textStart = 0; Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2; Node21lineStart = (Node21width - (ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node21align === 'center') { Node21textStart = -3; Node21textWidth = Node21width; Node21lineStart = Node21width - ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width - 11; } })(); Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, 'bold '+ Node21fontSize + 'px "Arial"')) Node21.setPosition(342*ratio.ratioX, 128*ratio.ratioY); Node21.setWidth(Node21width); Node21.setHeight(Node21height); Node21._nodeType = 'text'; Node21._disallowEvert = true; Node21.setRotation(0*Math.PI/180); Node21.a('node.width', Node21width); Node21.a('node.height', Node21height); Node21.a('node.rect', [0, 0, Node21width, Node21height]); Node21.a('node.bordercolor','rgba(0,0,0,1)'); Node21.a('node.borderwidth', 0); Node21.a('node.background','' || 'rgba(0,0,0,0)'); Node21.a('node.gradient',''); Node21.a('node.gradientcolor',''); Node21.a('node.text','0'); Node21.a('node.textalign','left'); Node21.a('node.textvAlign','middle'); Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]); Node21.a('node.color','rgba(0,0,0,1)'); Node21.a('node.font','bold '+ Node21fontSize + 'px "Arial"'); Node21.a('node.textvisible',true); Node21.a('node.linefeed',false); if (false) { Node21.a('node.textfunc',function(g) { g.beginPath(); var str=Node21.a('node.text') || '0'; var color=Node21.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node21fontSize + 'px "Arial"', 0,g); }); } if (false) { Node21.a('node.underlinepoints',[Node21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width + 6, (Node21height - Node21fontSize) * 0.5*_ratio.ratioY + Node21fontSize + 2 ]); Node21.a('node.underlinevisible',false); Node21.a('node.underlineBorderWidth', 1); } dataModel.add(Node21); zoomNodeList.push({ node: Node21, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node22 = new ht.Node(); var Node22textStart, Node22textWidth, Node22lineStart, Node22align = 'left', Node22fontSize = 13.3333*_ratio.ratioY,Node22width = 37*_ratio.ratioX, Node22height = 16*_ratio.ratioY; (function () { if (Node22align === 'left') { Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9; Node22textWidth = Node22width; Node22lineStart = 1; } else if (Node22align === 'right') { Node22textStart = 0; Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2; Node22lineStart = (Node22width - (ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node22align === 'center') { Node22textStart = -3; Node22textWidth = Node22width; Node22lineStart = Node22width - ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width - 11; } })(); Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, 'bold '+ Node22fontSize + 'px "Arial"')) Node22.setPosition(342*ratio.ratioX, 152*ratio.ratioY); Node22.setWidth(Node22width); Node22.setHeight(Node22height); Node22._nodeType = 'text'; Node22._disallowEvert = true; Node22.setRotation(0*Math.PI/180); Node22.a('node.width', Node22width); Node22.a('node.height', Node22height); Node22.a('node.rect', [0, 0, Node22width, Node22height]); Node22.a('node.bordercolor','rgba(0,0,0,1)'); Node22.a('node.borderwidth', 0); Node22.a('node.background','' || 'rgba(0,0,0,0)'); Node22.a('node.gradient',''); Node22.a('node.gradientcolor',''); Node22.a('node.text','0'); Node22.a('node.textalign','left'); Node22.a('node.textvAlign','middle'); Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]); Node22.a('node.color','rgba(0,0,0,1)'); Node22.a('node.font','bold '+ Node22fontSize + 'px "Arial"'); Node22.a('node.textvisible',true); Node22.a('node.linefeed',false); if (false) { Node22.a('node.textfunc',function(g) { g.beginPath(); var str=Node22.a('node.text') || '0'; var color=Node22.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node22fontSize + 'px "Arial"', 0,g); }); } if (false) { Node22.a('node.underlinepoints',[Node22lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6, (Node22height - Node22fontSize) * 0.5*_ratio.ratioY + Node22fontSize + 2 ]); Node22.a('node.underlinevisible',false); Node22.a('node.underlineBorderWidth', 1); } dataModel.add(Node22); zoomNodeList.push({ node: Node22, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node23 = new ht.Node(); var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 13.3333*_ratio.ratioY,Node23width = 27*_ratio.ratioX, Node23height = 16*_ratio.ratioY; (function () { if (Node23align === 'left') { Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9; Node23textWidth = Node23width; Node23lineStart = 1; } else if (Node23align === 'right') { Node23textStart = 0; Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2; Node23lineStart = (Node23width - (ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node23align === 'center') { Node23textStart = -3; Node23textWidth = Node23width; Node23lineStart = Node23width - ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width - 11; } })(); Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, 'bold '+ Node23fontSize + 'px "Arial"')) Node23.setPosition(337*ratio.ratioX, 177*ratio.ratioY); Node23.setWidth(Node23width); Node23.setHeight(Node23height); Node23._nodeType = 'text'; Node23._disallowEvert = true; Node23.setRotation(0*Math.PI/180); Node23.a('node.width', Node23width); Node23.a('node.height', Node23height); Node23.a('node.rect', [0, 0, Node23width, Node23height]); Node23.a('node.bordercolor','rgba(0,0,0,1)'); Node23.a('node.borderwidth', 0); Node23.a('node.background','' || 'rgba(0,0,0,0)'); Node23.a('node.gradient',''); Node23.a('node.gradientcolor',''); Node23.a('node.text','0'); Node23.a('node.textalign','left'); Node23.a('node.textvAlign','middle'); Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]); Node23.a('node.color','rgba(0,0,0,1)'); Node23.a('node.font','bold '+ Node23fontSize + 'px "Arial"'); Node23.a('node.textvisible',true); Node23.a('node.linefeed',false); if (false) { Node23.a('node.textfunc',function(g) { g.beginPath(); var str=Node23.a('node.text') || '0'; var color=Node23.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node23fontSize + 'px "Arial"', 0,g); }); } if (false) { Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]); Node23.a('node.underlinevisible',false); Node23.a('node.underlineBorderWidth', 1); } dataModel.add(Node23); zoomNodeList.push({ node: Node23, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node24 = new ht.Node(); var Node24textStart, Node24textWidth, Node24lineStart, Node24align = 'left', Node24fontSize = 13.3333*_ratio.ratioY,Node24width = 37*_ratio.ratioX, Node24height = 16*_ratio.ratioY; (function () { if (Node24align === 'left') { Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9; Node24textWidth = Node24width; Node24lineStart = 1; } else if (Node24align === 'right') { Node24textStart = 0; Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2; Node24lineStart = (Node24width - (ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node24align === 'center') { Node24textStart = -3; Node24textWidth = Node24width; Node24lineStart = Node24width - ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width - 11; } })(); Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, 'bold '+ Node24fontSize + 'px "Arial"')) Node24.setPosition(356*ratio.ratioX, 201*ratio.ratioY); Node24.setWidth(Node24width); Node24.setHeight(Node24height); Node24._nodeType = 'text'; Node24._disallowEvert = true; Node24.setRotation(0*Math.PI/180); Node24.a('node.width', Node24width); Node24.a('node.height', Node24height); Node24.a('node.rect', [0, 0, Node24width, Node24height]); Node24.a('node.bordercolor','rgba(0,0,0,1)'); Node24.a('node.borderwidth', 0); Node24.a('node.background','' || 'rgba(0,0,0,0)'); Node24.a('node.gradient',''); Node24.a('node.gradientcolor',''); Node24.a('node.text','-'); Node24.a('node.textalign','left'); Node24.a('node.textvAlign','middle'); Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]); Node24.a('node.color','rgba(0,0,0,1)'); Node24.a('node.font','bold '+ Node24fontSize + 'px "Arial"'); Node24.a('node.textvisible',true); Node24.a('node.linefeed',false); if (false) { Node24.a('node.textfunc',function(g) { g.beginPath(); var str=Node24.a('node.text') || '-'; var color=Node24.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node24fontSize + 'px "Arial"', 0,g); }); } if (false) { Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6, (Node24height - Node24fontSize) * 0.5*_ratio.ratioY + Node24fontSize + 2 ]); Node24.a('node.underlinevisible',false); Node24.a('node.underlineBorderWidth', 1); } dataModel.add(Node24); zoomNodeList.push({ node: Node24, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node25 = new ht.Node(); var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 47*_ratio.ratioX, Node25height = 17*_ratio.ratioY; (function () { if (Node25align === 'left') { Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9; Node25textWidth = Node25width; Node25lineStart = 1; } else if (Node25align === 'right') { Node25textStart = 0; Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2; Node25lineStart = (Node25width - (ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node25align === 'center') { Node25textStart = -3; Node25textWidth = Node25width; Node25lineStart = Node25width - ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width - 11; } })(); Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"')) Node25.setPosition(410*ratio.ratioX, 127*ratio.ratioY); Node25.setWidth(Node25width); Node25.setHeight(Node25height); Node25._nodeType = 'text'; Node25._disallowEvert = true; Node25.setRotation(0*Math.PI/180); Node25.a('node.width', Node25width); Node25.a('node.height', Node25height); Node25.a('node.rect', [0, 0, Node25width, Node25height]); Node25.a('node.bordercolor','rgba(169,169,169,1)'); Node25.a('node.borderwidth', 0); Node25.a('node.background','' || 'rgba(0,0,0,0)'); Node25.a('node.gradient',''); Node25.a('node.gradientcolor',''); Node25.a('node.text','万kW'); Node25.a('node.textalign','left'); Node25.a('node.textvAlign','middle'); Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]); Node25.a('node.color','rgba(169,169,169,1)'); Node25.a('node.font',' '+ Node25fontSize + 'px "Arial"'); Node25.a('node.textvisible',true); Node25.a('node.linefeed',false); if (false) { Node25.a('node.textfunc',function(g) { g.beginPath(); var str=Node25.a('node.text') || '万kW'; var color=Node25.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,' '+ Node25fontSize + 'px "Arial"', 0,g); }); } if (false) { Node25.a('node.underlinepoints',[Node25lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]); Node25.a('node.underlinevisible',false); Node25.a('node.underlineBorderWidth', 1); } dataModel.add(Node25); zoomNodeList.push({ node: Node25, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node26type = 'rect'; var Node26 = new ht.Node(), Node26BorderWidth = 0*2; if (Node26type === 'arc') { Node26BorderWidth *= 0; } Node26.setImage(GD.getRectJSON(29*_ratio.ratioX, 122*_ratio.ratioY, Node26type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node26.setPosition(17*ratio.ratioX, 178*ratio.ratioY); Node26.setSize(29*_ratio.ratioX, 122*_ratio.ratioY); Node26.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node26.a('node.width', 29*_ratio.ratioX); Node26.a('node.height', 122*_ratio.ratioY); Node26.a('node.type', Node26type); Node26.a('node.rect', [0, 0, 29*_ratio.ratioX, 122*_ratio.ratioY]); Node26.a('node.background', 'rgba(0,132,255,1)'); Node26.a('node.gradientcolor', 'rgba(0,132,255,1)'); Node26.a('node.gradient', ''); Node26.a('node.borderwidth', Node26BorderWidth); Node26.a('node.color', 'rgba(0,0,0,0)'); Node26.a('node.fillrect', [0,0,0,0]); Node26.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node26.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node26.a('node.fillgradient', ''); if (Node26type !== 'rect') { Node26.a('node.arcFrom', parseFloat('@arcFrom@')); Node26.a('node.arcTo', parseFloat('@arcTo@')); Node26.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node26type === 'arc') { Node26.a('node.arcOval', true); } Node26.setRotation(0*Math.PI/180); Node26.borderWidth = Node26BorderWidth; Node26.borderFillwidth = Node26BorderWidth; dataModel.add(Node26); Node26._nodename = 'Node26' Node26._nodeType = 'rect'; zoomNodeList.push({ node: Node26, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node26, Node26.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27 = new ht.Node(); var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'center', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 13*_ratio.ratioX, Node27height = 98*_ratio.ratioY; (function () { if (Node27align === 'left') { Node27textStart = Node27fontSize * 0.2 > 2 ? Node27fontSize * 0.2 - 4 : Node27fontSize * 0.2 - 9; Node27textWidth = Node27width; Node27lineStart = 1; } else if (Node27align === 'right') { Node27textStart = 0; Node27textWidth =Node27fontSize <= 8 ? Node27width + Node27fontSize * 0.2 + 6 : Node27width - Node27fontSize * 0.2; Node27lineStart = (Node27width - (ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node27align === 'center') { Node27textStart = -3; Node27textWidth = Node27width; Node27lineStart = Node27width - ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width - 11; } })(); Node27.setImage(GD.getTextJSON(Node27width, Node27height, false, true, false, 'bold '+ Node27fontSize + 'px "Arial"')) Node27.setPosition(17*ratio.ratioX, 165*ratio.ratioY); Node27.setWidth(Node27width); Node27.setHeight(Node27height); Node27._nodeType = 'text'; Node27._disallowEvert = true; Node27.setRotation(0*Math.PI/180); Node27.a('node.width', Node27width); Node27.a('node.height', Node27height); Node27.a('node.rect', [0, 0, Node27width, Node27height]); Node27.a('node.bordercolor','rgba(255,255,255,1)'); Node27.a('node.borderwidth', 0); Node27.a('node.background','' || 'rgba(0,0,0,0)'); Node27.a('node.gradient',''); Node27.a('node.gradientcolor',''); Node27.a('node.text','综合指标'); Node27.a('node.textalign','center'); Node27.a('node.textvAlign','middle'); Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]); Node27.a('node.color','rgba(255,255,255,1)'); Node27.a('node.font','bold '+ Node27fontSize + 'px "Arial"'); Node27.a('node.textvisible',false); Node27.a('node.linefeed',true); if (true) { Node27.a('node.textfunc',function(g) { g.beginPath(); var str=Node27.a('node.text') || '综合指标'; var color=Node27.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27fontSize + 'px "Arial"', 0,g); }); } if (false) { Node27.a('node.underlinepoints',[Node27lineStart, (98 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width + 6, (Node27height - Node27fontSize) * 0.5*_ratio.ratioY + Node27fontSize + 2 ]); Node27.a('node.underlinevisible',false); Node27.a('node.underlineBorderWidth', 1); } dataModel.add(Node27); zoomNodeList.push({ node: Node27, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28type = 'rect'; var Node28 = new ht.Node(), Node28BorderWidth = 1*2; if (Node28type === 'arc') { Node28BorderWidth *= 1; } Node28.setImage(GD.getRectJSON(155*_ratio.ratioX, 122*_ratio.ratioY, Node28type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node28.setPosition(110*ratio.ratioX, 178*ratio.ratioY); Node28.setSize(155*_ratio.ratioX, 122*_ratio.ratioY); Node28.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node28.a('node.width', 155*_ratio.ratioX); Node28.a('node.height', 122*_ratio.ratioY); Node28.a('node.type', Node28type); Node28.a('node.rect', [0, 0, 155*_ratio.ratioX, 122*_ratio.ratioY]); Node28.a('node.background', 'rgba(255,255,255,0.003921569)'); Node28.a('node.gradientcolor', ''); Node28.a('node.gradient', ''); Node28.a('node.borderwidth', Node28BorderWidth); Node28.a('node.color', 'rgba(220,220,220,1)'); Node28.a('node.fillrect', [0,0,0,0]); Node28.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node28.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node28.a('node.fillgradient', ''); if (Node28type !== 'rect') { Node28.a('node.arcFrom', parseFloat('@arcFrom@')); Node28.a('node.arcTo', parseFloat('@arcTo@')); Node28.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node28type === 'arc') { Node28.a('node.arcOval', true); } Node28.setRotation(0*Math.PI/180); Node28.borderWidth = Node28BorderWidth; Node28.borderFillwidth = Node28BorderWidth; dataModel.add(Node28); Node28._nodename = 'Node28' Node28._nodeType = 'rect'; zoomNodeList.push({ node: Node28, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node28, Node28.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29type = 'rect'; var Node29 = new ht.Node(), Node29BorderWidth = 0*2; if (Node29type === 'arc') { Node29BorderWidth *= 0; } Node29.setImage(GD.getRectJSON(145*_ratio.ratioX, 24*_ratio.ratioY, Node29type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29.setPosition(109*ratio.ratioX, 129*ratio.ratioY); Node29.setSize(145*_ratio.ratioX, 24*_ratio.ratioY); Node29.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29.a('node.width', 145*_ratio.ratioX); Node29.a('node.height', 24*_ratio.ratioY); Node29.a('node.type', Node29type); Node29.a('node.rect', [0, 0, 145*_ratio.ratioX, 24*_ratio.ratioY]); Node29.a('node.background', 'rgba(211,211,211,1)'); Node29.a('node.gradientcolor', 'rgba(211,211,211,1)'); Node29.a('node.gradient', ''); Node29.a('node.borderwidth', Node29BorderWidth); Node29.a('node.color', 'rgba(0,0,0,0)'); Node29.a('node.fillrect', [0,0,0,0]); Node29.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29.a('node.fillgradient', ''); if (Node29type !== 'rect') { Node29.a('node.arcFrom', parseFloat('@arcFrom@')); Node29.a('node.arcTo', parseFloat('@arcTo@')); Node29.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29type === 'arc') { Node29.a('node.arcOval', true); } Node29.setRotation(0*Math.PI/180); Node29.borderWidth = Node29BorderWidth; Node29.borderFillwidth = Node29BorderWidth; dataModel.add(Node29); Node29._nodename = 'Node29' Node29._nodeType = 'rect'; zoomNodeList.push({ node: Node29, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node29, Node29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30 = new ht.Node(); var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 15.99996*_ratio.ratioY,Node30width = 87*_ratio.ratioX, Node30height = 25*_ratio.ratioY; (function () { if (Node30align === 'left') { Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9; Node30textWidth = Node30width; Node30lineStart = 1; } else if (Node30align === 'right') { Node30textStart = 0; Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2; Node30lineStart = (Node30width - (ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node30align === 'center') { Node30textStart = -3; Node30textWidth = Node30width; Node30lineStart = Node30width - ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width - 11; } })(); Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, ' '+ Node30fontSize + 'px "Arial"')) Node30.setPosition(99*ratio.ratioX, 129*ratio.ratioY); Node30.setWidth(Node30width); Node30.setHeight(Node30height); Node30._nodeType = 'text'; Node30._disallowEvert = true; Node30.setRotation(0*Math.PI/180); Node30.a('node.width', Node30width); Node30.a('node.height', Node30height); Node30.a('node.rect', [0, 0, Node30width, Node30height]); Node30.a('node.bordercolor','rgba(0,0,0,1)'); Node30.a('node.borderwidth', 0); Node30.a('node.background','' || 'rgba(0,0,0,0)'); Node30.a('node.gradient',''); Node30.a('node.gradientcolor',''); Node30.a('node.text','安全天数'); Node30.a('node.textalign','left'); Node30.a('node.textvAlign','middle'); Node30.a('node.textrect', [Node30textStart, 0, Node30textWidth, Node30height]); Node30.a('node.color','rgba(0,0,0,1)'); Node30.a('node.font',' '+ Node30fontSize + 'px "Arial"'); Node30.a('node.textvisible',true); Node30.a('node.linefeed',false); if (false) { Node30.a('node.textfunc',function(g) { g.beginPath(); var str=Node30.a('node.text') || '安全天数'; var color=Node30.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node30width,Node30height,15.99996*_ratio.ratioY,"left",color,' '+ Node30fontSize + 'px "Arial"', 0,g); }); } if (false) { Node30.a('node.underlinepoints',[Node30lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]); Node30.a('node.underlinevisible',false); Node30.a('node.underlineBorderWidth', 1); } dataModel.add(Node30); zoomNodeList.push({ node: Node30, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node31type = 'rect'; var Node31 = new ht.Node(), Node31BorderWidth = 0*2; if (Node31type === 'arc') { Node31BorderWidth *= 0; } Node31.setImage(GD.getRectJSON(32*_ratio.ratioX, 32*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node31.setPosition(166*ratio.ratioX, 222*ratio.ratioY); Node31.setSize(32*_ratio.ratioX, 32*_ratio.ratioY); Node31.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node31.a('node.width', 32*_ratio.ratioX); Node31.a('node.height', 32*_ratio.ratioY); Node31.a('node.type', Node31type); Node31.a('node.rect', [0, 0, 32*_ratio.ratioX, 32*_ratio.ratioY]); Node31.a('node.background', 'rgba(255,128,0,1)'); Node31.a('node.gradientcolor', 'rgba(255,128,0,1)'); Node31.a('node.gradient', ''); Node31.a('node.borderwidth', Node31BorderWidth); Node31.a('node.color', 'rgba(0,0,0,0)'); Node31.a('node.fillrect', [0,0,0,0]); Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node31.a('node.fillgradient', ''); if (Node31type !== 'rect') { Node31.a('node.arcFrom', parseFloat('@arcFrom@')); Node31.a('node.arcTo', parseFloat('@arcTo@')); Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node31type === 'arc') { Node31.a('node.arcOval', true); } Node31.setRotation(0*Math.PI/180); Node31.borderWidth = Node31BorderWidth; Node31.borderFillwidth = Node31BorderWidth; dataModel.add(Node31); Node31._nodename = 'Node31' Node31._nodeType = 'rect'; zoomNodeList.push({ node: Node31, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node32 = new ht.Node(); var Node32textStart, Node32textWidth, Node32lineStart, Node32align = 'left', Node32fontSize = 15.99996*_ratio.ratioY,Node32width = 23*_ratio.ratioX, Node32height = 37*_ratio.ratioY; (function () { if (Node32align === 'left') { Node32textStart = Node32fontSize * 0.2 > 2 ? Node32fontSize * 0.2 - 4 : Node32fontSize * 0.2 - 9; Node32textWidth = Node32width; Node32lineStart = 1; } else if (Node32align === 'right') { Node32textStart = 0; Node32textWidth =Node32fontSize <= 8 ? Node32width + Node32fontSize * 0.2 + 6 : Node32width - Node32fontSize * 0.2; Node32lineStart = (Node32width - (ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node32align === 'center') { Node32textStart = -3; Node32textWidth = Node32width; Node32lineStart = Node32width - ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width - 11; } })(); Node32.setImage(GD.getTextJSON(Node32width, Node32height, true, false, false, ' '+ Node32fontSize + 'px "Arial"')) Node32.setPosition(164*ratio.ratioX, 222*ratio.ratioY); Node32.setWidth(Node32width); Node32.setHeight(Node32height); Node32._nodeType = 'text'; Node32._disallowEvert = true; Node32.setRotation(0*Math.PI/180); Node32.a('node.width', Node32width); Node32.a('node.height', Node32height); Node32.a('node.rect', [0, 0, Node32width, Node32height]); Node32.a('node.bordercolor','rgba(255,255,255,1)'); Node32.a('node.borderwidth', 0); Node32.a('node.background','' || 'rgba(0,0,0,0)'); Node32.a('node.gradient',''); Node32.a('node.gradientcolor',''); Node32.a('node.text','天'); Node32.a('node.textalign','left'); Node32.a('node.textvAlign','middle'); Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]); Node32.a('node.color','rgba(255,255,255,1)'); Node32.a('node.font',' '+ Node32fontSize + 'px "Arial"'); Node32.a('node.textvisible',true); Node32.a('node.linefeed',false); if (false) { Node32.a('node.textfunc',function(g) { g.beginPath(); var str=Node32.a('node.text') || '天'; var color=Node32.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node32width,Node32height,15.99996*_ratio.ratioY,"left",color,' '+ Node32fontSize + 'px "Arial"', 0,g); }); } if (false) { Node32.a('node.underlinepoints',[Node32lineStart, (37 - 15.99996) * 0.5 * _ratio.ratioY + Node32fontSize + 2 , ht.Default.getTextSize('天', ' '+ Node32fontSize + 'px "Arial"').width + 6, (Node32height - Node32fontSize) * 0.5*_ratio.ratioY + Node32fontSize + 2 ]); Node32.a('node.underlinevisible',false); Node32.a('node.underlineBorderWidth', 1); } dataModel.add(Node32); zoomNodeList.push({ node: Node32, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node33 = new ht.Node(); var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 29.33326*_ratio.ratioY,Node33width = 87*_ratio.ratioX, Node33height = 37*_ratio.ratioY; (function () { if (Node33align === 'left') { Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9; Node33textWidth = Node33width; Node33lineStart = 1; } else if (Node33align === 'right') { Node33textStart = 0; Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2; Node33lineStart = (Node33width - (ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node33align === 'center') { Node33textStart = -3; Node33textWidth = Node33width; Node33lineStart = Node33width - ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width - 11; } })(); Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"')) Node33.setPosition(99*ratio.ratioX, 181*ratio.ratioY); Node33.setWidth(Node33width); Node33.setHeight(Node33height); Node33._nodeType = 'text'; Node33._disallowEvert = true; Node33.setRotation(0*Math.PI/180); Node33.a('node.width', Node33width); Node33.a('node.height', Node33height); Node33.a('node.rect', [0, 0, Node33width, Node33height]); Node33.a('node.bordercolor','rgba(0,0,0,1)'); Node33.a('node.borderwidth', 0); Node33.a('node.background','' || 'rgba(0,0,0,0)'); Node33.a('node.gradient',''); Node33.a('node.gradientcolor',''); Node33.a('node.text','2974'); Node33.a('node.textalign','left'); Node33.a('node.textvAlign','middle'); Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]); Node33.a('node.color','rgba(0,0,0,1)'); Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"'); Node33.a('node.textvisible',true); Node33.a('node.linefeed',false); if (false) { Node33.a('node.textfunc',function(g) { g.beginPath(); var str=Node33.a('node.text') || '2974'; var color=Node33.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,29.33326*0.5*_ratio.ratioY,Node33width,Node33height,29.33326*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g); }); } if (false) { Node33.a('node.underlinepoints',[Node33lineStart, (37 - 29.33326) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]); Node33.a('node.underlinevisible',false); Node33.a('node.underlineBorderWidth', 1); } dataModel.add(Node33); zoomNodeList.push({ node: Node33, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34 = new ht.Node(); var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 37*_ratio.ratioX, Node34height = 16*_ratio.ratioY; (function () { if (Node34align === 'left') { Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9; Node34textWidth = Node34width; Node34lineStart = 1; } else if (Node34align === 'right') { Node34textStart = 0; Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2; Node34lineStart = (Node34width - (ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node34align === 'center') { Node34textStart = -3; Node34textWidth = Node34width; Node34lineStart = Node34width - ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width - 11; } })(); Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, 'bold '+ Node34fontSize + 'px "Arial"')) Node34.setPosition(357*ratio.ratioX, 226*ratio.ratioY); Node34.setWidth(Node34width); Node34.setHeight(Node34height); Node34._nodeType = 'text'; Node34._disallowEvert = true; Node34.setRotation(0*Math.PI/180); Node34.a('node.width', Node34width); Node34.a('node.height', Node34height); Node34.a('node.rect', [0, 0, Node34width, Node34height]); Node34.a('node.bordercolor','rgba(0,0,0,1)'); Node34.a('node.borderwidth', 0); Node34.a('node.background','' || 'rgba(0,0,0,0)'); Node34.a('node.gradient',''); Node34.a('node.gradientcolor',''); Node34.a('node.text','-'); Node34.a('node.textalign','left'); Node34.a('node.textvAlign','middle'); Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]); Node34.a('node.color','rgba(0,0,0,1)'); Node34.a('node.font','bold '+ Node34fontSize + 'px "Arial"'); Node34.a('node.textvisible',true); Node34.a('node.linefeed',false); if (false) { Node34.a('node.textfunc',function(g) { g.beginPath(); var str=Node34.a('node.text') || '-'; var color=Node34.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node34fontSize + 'px "Arial"', 0,g); }); } if (false) { Node34.a('node.underlinepoints',[Node34lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]); Node34.a('node.underlinevisible',false); Node34.a('node.underlineBorderWidth', 1); } dataModel.add(Node34); zoomNodeList.push({ node: Node34, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node35 = new ht.Node(); var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 47*_ratio.ratioX, Node35height = 17*_ratio.ratioY; (function () { if (Node35align === 'left') { Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9; Node35textWidth = Node35width; Node35lineStart = 1; } else if (Node35align === 'right') { Node35textStart = 0; Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2; Node35lineStart = (Node35width - (ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node35align === 'center') { Node35textStart = -3; Node35textWidth = Node35width; Node35lineStart = Node35width - ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width - 11; } })(); Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"')) Node35.setPosition(410*ratio.ratioX, 153*ratio.ratioY); Node35.setWidth(Node35width); Node35.setHeight(Node35height); Node35._nodeType = 'text'; Node35._disallowEvert = true; Node35.setRotation(0*Math.PI/180); Node35.a('node.width', Node35width); Node35.a('node.height', Node35height); Node35.a('node.rect', [0, 0, Node35width, Node35height]); Node35.a('node.bordercolor','rgba(169,169,169,1)'); Node35.a('node.borderwidth', 0); Node35.a('node.background','' || 'rgba(0,0,0,0)'); Node35.a('node.gradient',''); Node35.a('node.gradientcolor',''); Node35.a('node.text','小时'); Node35.a('node.textalign','left'); Node35.a('node.textvAlign','middle'); Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]); Node35.a('node.color','rgba(169,169,169,1)'); Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"'); Node35.a('node.textvisible',true); Node35.a('node.linefeed',false); if (false) { Node35.a('node.textfunc',function(g) { g.beginPath(); var str=Node35.a('node.text') || '小时'; var color=Node35.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g); }); } if (false) { Node35.a('node.underlinepoints',[Node35lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]); Node35.a('node.underlinevisible',false); Node35.a('node.underlineBorderWidth', 1); } dataModel.add(Node35); zoomNodeList.push({ node: Node35, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36 = new ht.Node(); var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 47*_ratio.ratioX, Node36height = 17*_ratio.ratioY; (function () { if (Node36align === 'left') { Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9; Node36textWidth = Node36width; Node36lineStart = 1; } else if (Node36align === 'right') { Node36textStart = 0; Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2; Node36lineStart = (Node36width - (ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node36align === 'center') { Node36textStart = -3; Node36textWidth = Node36width; Node36lineStart = Node36width - ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width - 11; } })(); Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"')) Node36.setPosition(410*ratio.ratioX, 178*ratio.ratioY); Node36.setWidth(Node36width); Node36.setHeight(Node36height); Node36._nodeType = 'text'; Node36._disallowEvert = true; Node36.setRotation(0*Math.PI/180); Node36.a('node.width', Node36width); Node36.a('node.height', Node36height); Node36.a('node.rect', [0, 0, Node36width, Node36height]); Node36.a('node.bordercolor','rgba(169,169,169,1)'); Node36.a('node.borderwidth', 0); Node36.a('node.background','' || 'rgba(0,0,0,0)'); Node36.a('node.gradient',''); Node36.a('node.gradientcolor',''); Node36.a('node.text','小时'); Node36.a('node.textalign','left'); Node36.a('node.textvAlign','middle'); Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]); Node36.a('node.color','rgba(169,169,169,1)'); Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"'); Node36.a('node.textvisible',true); Node36.a('node.linefeed',false); if (false) { Node36.a('node.textfunc',function(g) { g.beginPath(); var str=Node36.a('node.text') || '小时'; var color=Node36.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g); }); } if (false) { Node36.a('node.underlinepoints',[Node36lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]); Node36.a('node.underlinevisible',false); Node36.a('node.underlineBorderWidth', 1); } dataModel.add(Node36); zoomNodeList.push({ node: Node36, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node37 = new ht.Node(); var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 47*_ratio.ratioX, Node37height = 17*_ratio.ratioY; (function () { if (Node37align === 'left') { Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9; Node37textWidth = Node37width; Node37lineStart = 1; } else if (Node37align === 'right') { Node37textStart = 0; Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2; Node37lineStart = (Node37width - (ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node37align === 'center') { Node37textStart = -3; Node37textWidth = Node37width; Node37lineStart = Node37width - ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width - 11; } })(); Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"')) Node37.setPosition(410*ratio.ratioX, 205*ratio.ratioY); Node37.setWidth(Node37width); Node37.setHeight(Node37height); Node37._nodeType = 'text'; Node37._disallowEvert = true; Node37.setRotation(0*Math.PI/180); Node37.a('node.width', Node37width); Node37.a('node.height', Node37height); Node37.a('node.rect', [0, 0, Node37width, Node37height]); Node37.a('node.bordercolor','rgba(169,169,169,1)'); Node37.a('node.borderwidth', 0); Node37.a('node.background','' || 'rgba(0,0,0,0)'); Node37.a('node.gradient',''); Node37.a('node.gradientcolor',''); Node37.a('node.text','%'); Node37.a('node.textalign','left'); Node37.a('node.textvAlign','middle'); Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]); Node37.a('node.color','rgba(169,169,169,1)'); Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"'); Node37.a('node.textvisible',true); Node37.a('node.linefeed',false); if (false) { Node37.a('node.textfunc',function(g) { g.beginPath(); var str=Node37.a('node.text') || '%'; var color=Node37.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,' '+ Node37fontSize + 'px "Arial"', 0,g); }); } if (false) { Node37.a('node.underlinepoints',[Node37lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]); Node37.a('node.underlinevisible',false); Node37.a('node.underlineBorderWidth', 1); } dataModel.add(Node37); zoomNodeList.push({ node: Node37, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38 = new ht.Node(); var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 47*_ratio.ratioX, Node38height = 17*_ratio.ratioY; (function () { if (Node38align === 'left') { Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9; Node38textWidth = Node38width; Node38lineStart = 1; } else if (Node38align === 'right') { Node38textStart = 0; Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2; Node38lineStart = (Node38width - (ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node38align === 'center') { Node38textStart = -3; Node38textWidth = Node38width; Node38lineStart = Node38width - ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width - 11; } })(); Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"')) Node38.setPosition(410*ratio.ratioX, 227*ratio.ratioY); Node38.setWidth(Node38width); Node38.setHeight(Node38height); Node38._nodeType = 'text'; Node38._disallowEvert = true; Node38.setRotation(0*Math.PI/180); Node38.a('node.width', Node38width); Node38.a('node.height', Node38height); Node38.a('node.rect', [0, 0, Node38width, Node38height]); Node38.a('node.bordercolor','rgba(169,169,169,1)'); Node38.a('node.borderwidth', 0); Node38.a('node.background','' || 'rgba(0,0,0,0)'); Node38.a('node.gradient',''); Node38.a('node.gradientcolor',''); Node38.a('node.text','%'); Node38.a('node.textalign','left'); Node38.a('node.textvAlign','middle'); Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]); Node38.a('node.color','rgba(169,169,169,1)'); Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"'); Node38.a('node.textvisible',true); Node38.a('node.linefeed',false); if (false) { Node38.a('node.textfunc',function(g) { g.beginPath(); var str=Node38.a('node.text') || '%'; var color=Node38.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g); }); } if (false) { Node38.a('node.underlinepoints',[Node38lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]); Node38.a('node.underlinevisible',false); Node38.a('node.underlineBorderWidth', 1); } dataModel.add(Node38); zoomNodeList.push({ node: Node38, borderWidth: 0, attr: 'node.borderwidth' }); var Node39points=[189, 142,466, 142], Node39rect=ht.Default.unionPoint([{x:189,y:142},{x:466,y:142}]), Node39compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9; Node46textWidth = Node46width; Node46lineStart = 1; } else if (Node46align === 'right') { Node46textStart = 0; Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2; Node46lineStart = (Node46width - (ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node46align === 'center') { Node46textStart = -3; Node46textWidth = Node46width; Node46lineStart = Node46width - ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width - 11; } })(); Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"')) Node46.setPosition(516*ratio.ratioX, 128*ratio.ratioY); Node46.setWidth(Node46width); Node46.setHeight(Node46height); Node46._nodeType = 'text'; Node46._disallowEvert = true; Node46.setRotation(0*Math.PI/180); Node46.a('node.width', Node46width); Node46.a('node.height', Node46height); Node46.a('node.rect', [0, 0, Node46width, Node46height]); Node46.a('node.bordercolor','rgba(0,0,0,1)'); Node46.a('node.borderwidth', 0); Node46.a('node.background','' || 'rgba(0,0,0,0)'); Node46.a('node.gradient',''); Node46.a('node.gradientcolor',''); Node46.a('node.text','日发电量'); Node46.a('node.textalign','left'); Node46.a('node.textvAlign','middle'); Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]); Node46.a('node.color','rgba(0,0,0,1)'); Node46.a('node.font',' '+ Node46fontSize + 'px "Arial"'); Node46.a('node.textvisible',true); Node46.a('node.linefeed',false); if (false) { Node46.a('node.textfunc',function(g) { g.beginPath(); var str=Node46.a('node.text') || '日发电量'; var color=Node46.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46width,Node46height,13.3333*_ratio.ratioY,"left",color,' '+ Node46fontSize + 'px "Arial"', 0,g); }); } if (false) { Node46.a('node.underlinepoints',[Node46lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]); Node46.a('node.underlinevisible',false); Node46.a('node.underlineBorderWidth', 1); } dataModel.add(Node46); zoomNodeList.push({ node: Node46, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node47 = new ht.Node(); var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 82*_ratio.ratioX, Node47height = 27*_ratio.ratioY; (function () { if (Node47align === 'left') { Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9; Node47textWidth = Node47width; Node47lineStart = 1; } else if (Node47align === 'right') { Node47textStart = 0; Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2; Node47lineStart = (Node47width - (ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node47align === 'center') { Node47textStart = -3; Node47textWidth = Node47width; Node47lineStart = Node47width - ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width - 11; } })(); Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"')) Node47.setPosition(516*ratio.ratioX, 154*ratio.ratioY); Node47.setWidth(Node47width); Node47.setHeight(Node47height); Node47._nodeType = 'text'; Node47._disallowEvert = true; Node47.setRotation(0*Math.PI/180); Node47.a('node.width', Node47width); Node47.a('node.height', Node47height); Node47.a('node.rect', [0, 0, Node47width, Node47height]); Node47.a('node.bordercolor','rgba(0,0,0,1)'); Node47.a('node.borderwidth', 0); Node47.a('node.background','' || 'rgba(0,0,0,0)'); Node47.a('node.gradient',''); Node47.a('node.gradientcolor',''); Node47.a('node.text','月发电量'); Node47.a('node.textalign','left'); Node47.a('node.textvAlign','middle'); Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]); Node47.a('node.color','rgba(0,0,0,1)'); Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"'); Node47.a('node.textvisible',true); Node47.a('node.linefeed',false); if (false) { Node47.a('node.textfunc',function(g) { g.beginPath(); var str=Node47.a('node.text') || '月发电量'; var color=Node47.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "Arial"', 0,g); }); } if (false) { Node47.a('node.underlinepoints',[Node47lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]); Node47.a('node.underlinevisible',false); Node47.a('node.underlineBorderWidth', 1); } dataModel.add(Node47); zoomNodeList.push({ node: Node47, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48 = new ht.Node(); var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 82*_ratio.ratioX, Node48height = 27*_ratio.ratioY; (function () { if (Node48align === 'left') { Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9; Node48textWidth = Node48width; Node48lineStart = 1; } else if (Node48align === 'right') { Node48textStart = 0; Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2; Node48lineStart = (Node48width - (ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node48align === 'center') { Node48textStart = -3; Node48textWidth = Node48width; Node48lineStart = Node48width - ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width - 11; } })(); Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"')) Node48.setPosition(516*ratio.ratioX, 178*ratio.ratioY); Node48.setWidth(Node48width); Node48.setHeight(Node48height); Node48._nodeType = 'text'; Node48._disallowEvert = true; Node48.setRotation(0*Math.PI/180); Node48.a('node.width', Node48width); Node48.a('node.height', Node48height); Node48.a('node.rect', [0, 0, Node48width, Node48height]); Node48.a('node.bordercolor','rgba(0,0,0,1)'); Node48.a('node.borderwidth', 0); Node48.a('node.background','' || 'rgba(0,0,0,0)'); Node48.a('node.gradient',''); Node48.a('node.gradientcolor',''); Node48.a('node.text','年发电量'); Node48.a('node.textalign','left'); Node48.a('node.textvAlign','middle'); Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]); Node48.a('node.color','rgba(0,0,0,1)'); Node48.a('node.font',' '+ Node48fontSize + 'px "Arial"'); Node48.a('node.textvisible',true); Node48.a('node.linefeed',false); if (false) { Node48.a('node.textfunc',function(g) { g.beginPath(); var str=Node48.a('node.text') || '年发电量'; var color=Node48.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"left",color,' '+ Node48fontSize + 'px "Arial"', 0,g); }); } if (false) { Node48.a('node.underlinepoints',[Node48lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]); Node48.a('node.underlinevisible',false); Node48.a('node.underlineBorderWidth', 1); } dataModel.add(Node48); zoomNodeList.push({ node: Node48, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node49 = new ht.Node(); var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 110*_ratio.ratioX, Node49height = 27*_ratio.ratioY; (function () { if (Node49align === 'left') { Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9; Node49textWidth = Node49width; Node49lineStart = 1; } else if (Node49align === 'right') { Node49textStart = 0; Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2; Node49lineStart = (Node49width - (ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node49align === 'center') { Node49textStart = -3; Node49textWidth = Node49width; Node49lineStart = Node49width - ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width - 11; } })(); Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"')) Node49.setPosition(530*ratio.ratioX, 201*ratio.ratioY); Node49.setWidth(Node49width); Node49.setHeight(Node49height); Node49._nodeType = 'text'; Node49._disallowEvert = true; Node49.setRotation(0*Math.PI/180); Node49.a('node.width', Node49width); Node49.a('node.height', Node49height); Node49.a('node.rect', [0, 0, Node49width, Node49height]); Node49.a('node.bordercolor','rgba(0,0,0,1)'); Node49.a('node.borderwidth', 0); Node49.a('node.background','' || 'rgba(0,0,0,0)'); Node49.a('node.gradient',''); Node49.a('node.gradientcolor',''); Node49.a('node.text','减排二氧化碳'); Node49.a('node.textalign','left'); Node49.a('node.textvAlign','middle'); Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]); Node49.a('node.color','rgba(0,0,0,1)'); Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"'); Node49.a('node.textvisible',true); Node49.a('node.linefeed',false); if (false) { Node49.a('node.textfunc',function(g) { g.beginPath(); var str=Node49.a('node.text') || '减排二氧化碳'; var color=Node49.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g); }); } if (false) { Node49.a('node.underlinepoints',[Node49lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]); Node49.a('node.underlinevisible',false); Node49.a('node.underlineBorderWidth', 1); } dataModel.add(Node49); zoomNodeList.push({ node: Node49, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50 = new ht.Node(); var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 125*_ratio.ratioX, Node50height = 27*_ratio.ratioY; (function () { if (Node50align === 'left') { Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9; Node50textWidth = Node50width; Node50lineStart = 1; } else if (Node50align === 'right') { Node50textStart = 0; Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2; Node50lineStart = (Node50width - (ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node50align === 'center') { Node50textStart = -3; Node50textWidth = Node50width; Node50lineStart = Node50width - ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width - 11; } })(); Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"')) Node50.setPosition(537*ratio.ratioX, 226*ratio.ratioY); Node50.setWidth(Node50width); Node50.setHeight(Node50height); Node50._nodeType = 'text'; Node50._disallowEvert = true; Node50.setRotation(0*Math.PI/180); Node50.a('node.width', Node50width); Node50.a('node.height', Node50height); Node50.a('node.rect', [0, 0, Node50width, Node50height]); Node50.a('node.bordercolor','rgba(0,0,0,1)'); Node50.a('node.borderwidth', 0); Node50.a('node.background','' || 'rgba(0,0,0,0)'); Node50.a('node.gradient',''); Node50.a('node.gradientcolor',''); Node50.a('node.text','减排二氧化硫'); Node50.a('node.textalign','left'); Node50.a('node.textvAlign','middle'); Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]); Node50.a('node.color','rgba(0,0,0,1)'); Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"'); Node50.a('node.textvisible',true); Node50.a('node.linefeed',false); if (false) { Node50.a('node.textfunc',function(g) { g.beginPath(); var str=Node50.a('node.text') || '减排二氧化硫'; var color=Node50.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g); }); } if (false) { Node50.a('node.underlinepoints',[Node50lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]); Node50.a('node.underlinevisible',false); Node50.a('node.underlineBorderWidth', 1); } dataModel.add(Node50); zoomNodeList.push({ node: Node50, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node51 = new ht.Node(); var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 37*_ratio.ratioX, Node51height = 16*_ratio.ratioY; (function () { if (Node51align === 'left') { Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9; Node51textWidth = Node51width; Node51lineStart = 1; } else if (Node51align === 'right') { Node51textStart = 0; Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2; Node51lineStart = (Node51width - (ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node51align === 'center') { Node51textStart = -3; Node51textWidth = Node51width; Node51lineStart = Node51width - ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width - 11; } })(); Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, 'bold '+ Node51fontSize + 'px "Arial"')) Node51.setPosition(626*ratio.ratioX, 128*ratio.ratioY); Node51.setWidth(Node51width); Node51.setHeight(Node51height); Node51._nodeType = 'text'; Node51._disallowEvert = true; Node51.setRotation(0*Math.PI/180); Node51.a('node.width', Node51width); Node51.a('node.height', Node51height); Node51.a('node.rect', [0, 0, Node51width, Node51height]); Node51.a('node.bordercolor','rgba(0,0,0,1)'); Node51.a('node.borderwidth', 0); Node51.a('node.background','' || 'rgba(0,0,0,0)'); Node51.a('node.gradient',''); Node51.a('node.gradientcolor',''); Node51.a('node.text','0'); Node51.a('node.textalign','left'); Node51.a('node.textvAlign','middle'); Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]); Node51.a('node.color','rgba(0,0,0,1)'); Node51.a('node.font','bold '+ Node51fontSize + 'px "Arial"'); Node51.a('node.textvisible',true); Node51.a('node.linefeed',false); if (false) { Node51.a('node.textfunc',function(g) { g.beginPath(); var str=Node51.a('node.text') || '0'; var color=Node51.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node51fontSize + 'px "Arial"', 0,g); }); } if (false) { Node51.a('node.underlinepoints',[Node51lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]); Node51.a('node.underlinevisible',false); Node51.a('node.underlineBorderWidth', 1); } dataModel.add(Node51); zoomNodeList.push({ node: Node51, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node52 = new ht.Node(); var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'left', Node52fontSize = 13.3333*_ratio.ratioY,Node52width = 37*_ratio.ratioX, Node52height = 16*_ratio.ratioY; (function () { if (Node52align === 'left') { Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9; Node52textWidth = Node52width; Node52lineStart = 1; } else if (Node52align === 'right') { Node52textStart = 0; Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2; Node52lineStart = (Node52width - (ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node52align === 'center') { Node52textStart = -3; Node52textWidth = Node52width; Node52lineStart = Node52width - ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width - 11; } })(); Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, 'bold '+ Node52fontSize + 'px "Arial"')) Node52.setPosition(626*ratio.ratioX, 152*ratio.ratioY); Node52.setWidth(Node52width); Node52.setHeight(Node52height); Node52._nodeType = 'text'; Node52._disallowEvert = true; Node52.setRotation(0*Math.PI/180); Node52.a('node.width', Node52width); Node52.a('node.height', Node52height); Node52.a('node.rect', [0, 0, Node52width, Node52height]); Node52.a('node.bordercolor','rgba(0,0,0,1)'); Node52.a('node.borderwidth', 0); Node52.a('node.background','' || 'rgba(0,0,0,0)'); Node52.a('node.gradient',''); Node52.a('node.gradientcolor',''); Node52.a('node.text','0'); Node52.a('node.textalign','left'); Node52.a('node.textvAlign','middle'); Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]); Node52.a('node.color','rgba(0,0,0,1)'); Node52.a('node.font','bold '+ Node52fontSize + 'px "Arial"'); Node52.a('node.textvisible',true); Node52.a('node.linefeed',false); if (false) { Node52.a('node.textfunc',function(g) { g.beginPath(); var str=Node52.a('node.text') || '0'; var color=Node52.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52width,Node52height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node52fontSize + 'px "Arial"', 0,g); }); } if (false) { Node52.a('node.underlinepoints',[Node52lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]); Node52.a('node.underlinevisible',false); Node52.a('node.underlineBorderWidth', 1); } dataModel.add(Node52); zoomNodeList.push({ node: Node52, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node53 = new ht.Node(); var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 27*_ratio.ratioX, Node53height = 16*_ratio.ratioY; (function () { if (Node53align === 'left') { Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9; Node53textWidth = Node53width; Node53lineStart = 1; } else if (Node53align === 'right') { Node53textStart = 0; Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2; Node53lineStart = (Node53width - (ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node53align === 'center') { Node53textStart = -3; Node53textWidth = Node53width; Node53lineStart = Node53width - ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width - 11; } })(); Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"')) Node53.setPosition(621*ratio.ratioX, 177*ratio.ratioY); Node53.setWidth(Node53width); Node53.setHeight(Node53height); Node53._nodeType = 'text'; Node53._disallowEvert = true; Node53.setRotation(0*Math.PI/180); Node53.a('node.width', Node53width); Node53.a('node.height', Node53height); Node53.a('node.rect', [0, 0, Node53width, Node53height]); Node53.a('node.bordercolor','rgba(0,0,0,1)'); Node53.a('node.borderwidth', 0); Node53.a('node.background','' || 'rgba(0,0,0,0)'); Node53.a('node.gradient',''); Node53.a('node.gradientcolor',''); Node53.a('node.text','0'); Node53.a('node.textalign','left'); Node53.a('node.textvAlign','middle'); Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]); Node53.a('node.color','rgba(0,0,0,1)'); Node53.a('node.font','bold '+ Node53fontSize + 'px "Arial"'); Node53.a('node.textvisible',true); Node53.a('node.linefeed',false); if (false) { Node53.a('node.textfunc',function(g) { g.beginPath(); var str=Node53.a('node.text') || '0'; var color=Node53.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g); }); } if (false) { Node53.a('node.underlinepoints',[Node53lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]); Node53.a('node.underlinevisible',false); Node53.a('node.underlineBorderWidth', 1); } dataModel.add(Node53); zoomNodeList.push({ node: Node53, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node54 = new ht.Node(); var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 13.3333*_ratio.ratioY,Node54width = 37*_ratio.ratioX, Node54height = 16*_ratio.ratioY; (function () { if (Node54align === 'left') { Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9; Node54textWidth = Node54width; Node54lineStart = 1; } else if (Node54align === 'right') { Node54textStart = 0; Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2; Node54lineStart = (Node54width - (ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node54align === 'center') { Node54textStart = -3; Node54textWidth = Node54width; Node54lineStart = Node54width - ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width - 11; } })(); Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, 'bold '+ Node54fontSize + 'px "Arial"')) Node54.setPosition(640*ratio.ratioX, 201*ratio.ratioY); Node54.setWidth(Node54width); Node54.setHeight(Node54height); Node54._nodeType = 'text'; Node54._disallowEvert = true; Node54.setRotation(0*Math.PI/180); Node54.a('node.width', Node54width); Node54.a('node.height', Node54height); Node54.a('node.rect', [0, 0, Node54width, Node54height]); Node54.a('node.bordercolor','rgba(0,0,0,1)'); Node54.a('node.borderwidth', 0); Node54.a('node.background','' || 'rgba(0,0,0,0)'); Node54.a('node.gradient',''); Node54.a('node.gradientcolor',''); Node54.a('node.text','-'); Node54.a('node.textalign','left'); Node54.a('node.textvAlign','middle'); Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]); Node54.a('node.color','rgba(0,0,0,1)'); Node54.a('node.font','bold '+ Node54fontSize + 'px "Arial"'); Node54.a('node.textvisible',true); Node54.a('node.linefeed',false); if (false) { Node54.a('node.textfunc',function(g) { g.beginPath(); var str=Node54.a('node.text') || '-'; var color=Node54.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node54width,Node54height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node54fontSize + 'px "Arial"', 0,g); }); } if (false) { Node54.a('node.underlinepoints',[Node54lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]); Node54.a('node.underlinevisible',false); Node54.a('node.underlineBorderWidth', 1); } dataModel.add(Node54); zoomNodeList.push({ node: Node54, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node55 = new ht.Node(); var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 17*_ratio.ratioY; (function () { if (Node55align === 'left') { Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9; Node55textWidth = Node55width; Node55lineStart = 1; } else if (Node55align === 'right') { Node55textStart = 0; Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2; Node55lineStart = (Node55width - (ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node55align === 'center') { Node55textStart = -3; Node55textWidth = Node55width; Node55lineStart = Node55width - ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width - 11; } })(); Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"')) Node55.setPosition(694*ratio.ratioX, 127*ratio.ratioY); Node55.setWidth(Node55width); Node55.setHeight(Node55height); Node55._nodeType = 'text'; Node55._disallowEvert = true; Node55.setRotation(0*Math.PI/180); Node55.a('node.width', Node55width); Node55.a('node.height', Node55height); Node55.a('node.rect', [0, 0, Node55width, Node55height]); Node55.a('node.bordercolor','rgba(169,169,169,1)'); Node55.a('node.borderwidth', 0); Node55.a('node.background','' || 'rgba(0,0,0,0)'); Node55.a('node.gradient',''); Node55.a('node.gradientcolor',''); Node55.a('node.text','万kW'); Node55.a('node.textalign','left'); Node55.a('node.textvAlign','middle'); Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]); Node55.a('node.color','rgba(169,169,169,1)'); Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"'); Node55.a('node.textvisible',true); Node55.a('node.linefeed',false); if (false) { Node55.a('node.textfunc',function(g) { g.beginPath(); var str=Node55.a('node.text') || '万kW'; var color=Node55.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,' '+ Node55fontSize + 'px "Arial"', 0,g); }); } if (false) { Node55.a('node.underlinepoints',[Node55lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]); Node55.a('node.underlinevisible',false); Node55.a('node.underlineBorderWidth', 1); } dataModel.add(Node55); zoomNodeList.push({ node: Node55, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node56 = new ht.Node(); var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 37*_ratio.ratioX, Node56height = 16*_ratio.ratioY; (function () { if (Node56align === 'left') { Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9; Node56textWidth = Node56width; Node56lineStart = 1; } else if (Node56align === 'right') { Node56textStart = 0; Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2; Node56lineStart = (Node56width - (ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node56align === 'center') { Node56textStart = -3; Node56textWidth = Node56width; Node56lineStart = Node56width - ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width - 11; } })(); Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, 'bold '+ Node56fontSize + 'px "Arial"')) Node56.setPosition(641*ratio.ratioX, 226*ratio.ratioY); Node56.setWidth(Node56width); Node56.setHeight(Node56height); Node56._nodeType = 'text'; Node56._disallowEvert = true; Node56.setRotation(0*Math.PI/180); Node56.a('node.width', Node56width); Node56.a('node.height', Node56height); Node56.a('node.rect', [0, 0, Node56width, Node56height]); Node56.a('node.bordercolor','rgba(0,0,0,1)'); Node56.a('node.borderwidth', 0); Node56.a('node.background','' || 'rgba(0,0,0,0)'); Node56.a('node.gradient',''); Node56.a('node.gradientcolor',''); Node56.a('node.text','-'); Node56.a('node.textalign','left'); Node56.a('node.textvAlign','middle'); Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]); Node56.a('node.color','rgba(0,0,0,1)'); Node56.a('node.font','bold '+ Node56fontSize + 'px "Arial"'); Node56.a('node.textvisible',true); Node56.a('node.linefeed',false); if (false) { Node56.a('node.textfunc',function(g) { g.beginPath(); var str=Node56.a('node.text') || '-'; var color=Node56.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node56fontSize + 'px "Arial"', 0,g); }); } if (false) { Node56.a('node.underlinepoints',[Node56lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]); Node56.a('node.underlinevisible',false); Node56.a('node.underlineBorderWidth', 1); } dataModel.add(Node56); zoomNodeList.push({ node: Node56, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node57 = new ht.Node(); var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 47*_ratio.ratioX, Node57height = 17*_ratio.ratioY; (function () { if (Node57align === 'left') { Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9; Node57textWidth = Node57width; Node57lineStart = 1; } else if (Node57align === 'right') { Node57textStart = 0; Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2; Node57lineStart = (Node57width - (ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node57align === 'center') { Node57textStart = -3; Node57textWidth = Node57width; Node57lineStart = Node57width - ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width - 11; } })(); Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"')) Node57.setPosition(694*ratio.ratioX, 153*ratio.ratioY); Node57.setWidth(Node57width); Node57.setHeight(Node57height); Node57._nodeType = 'text'; Node57._disallowEvert = true; Node57.setRotation(0*Math.PI/180); Node57.a('node.width', Node57width); Node57.a('node.height', Node57height); Node57.a('node.rect', [0, 0, Node57width, Node57height]); Node57.a('node.bordercolor','rgba(169,169,169,1)'); Node57.a('node.borderwidth', 0); Node57.a('node.background','' || 'rgba(0,0,0,0)'); Node57.a('node.gradient',''); Node57.a('node.gradientcolor',''); Node57.a('node.text','万kW'); Node57.a('node.textalign','left'); Node57.a('node.textvAlign','middle'); Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]); Node57.a('node.color','rgba(169,169,169,1)'); Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"'); Node57.a('node.textvisible',true); Node57.a('node.linefeed',false); if (false) { Node57.a('node.textfunc',function(g) { g.beginPath(); var str=Node57.a('node.text') || '万kW'; var color=Node57.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g); }); } if (false) { Node57.a('node.underlinepoints',[Node57lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]); Node57.a('node.underlinevisible',false); Node57.a('node.underlineBorderWidth', 1); } dataModel.add(Node57); zoomNodeList.push({ node: Node57, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node58 = new ht.Node(); var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 47*_ratio.ratioX, Node58height = 17*_ratio.ratioY; (function () { if (Node58align === 'left') { Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9; Node58textWidth = Node58width; Node58lineStart = 1; } else if (Node58align === 'right') { Node58textStart = 0; Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2; Node58lineStart = (Node58width - (ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node58align === 'center') { Node58textStart = -3; Node58textWidth = Node58width; Node58lineStart = Node58width - ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width - 11; } })(); Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"')) Node58.setPosition(694*ratio.ratioX, 178*ratio.ratioY); Node58.setWidth(Node58width); Node58.setHeight(Node58height); Node58._nodeType = 'text'; Node58._disallowEvert = true; Node58.setRotation(0*Math.PI/180); Node58.a('node.width', Node58width); Node58.a('node.height', Node58height); Node58.a('node.rect', [0, 0, Node58width, Node58height]); Node58.a('node.bordercolor','rgba(169,169,169,1)'); Node58.a('node.borderwidth', 0); Node58.a('node.background','' || 'rgba(0,0,0,0)'); Node58.a('node.gradient',''); Node58.a('node.gradientcolor',''); Node58.a('node.text','万kW'); Node58.a('node.textalign','left'); Node58.a('node.textvAlign','middle'); Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]); Node58.a('node.color','rgba(169,169,169,1)'); Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"'); Node58.a('node.textvisible',true); Node58.a('node.linefeed',false); if (false) { Node58.a('node.textfunc',function(g) { g.beginPath(); var str=Node58.a('node.text') || '万kW'; var color=Node58.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g); }); } if (false) { Node58.a('node.underlinepoints',[Node58lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]); Node58.a('node.underlinevisible',false); Node58.a('node.underlineBorderWidth', 1); } dataModel.add(Node58); zoomNodeList.push({ node: Node58, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node59 = new ht.Node(); var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 47*_ratio.ratioX, Node59height = 17*_ratio.ratioY; (function () { if (Node59align === 'left') { Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9; Node59textWidth = Node59width; Node59lineStart = 1; } else if (Node59align === 'right') { Node59textStart = 0; Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2; Node59lineStart = (Node59width - (ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node59align === 'center') { Node59textStart = -3; Node59textWidth = Node59width; Node59lineStart = Node59width - ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width - 11; } })(); Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"')) Node59.setPosition(694*ratio.ratioX, 205*ratio.ratioY); Node59.setWidth(Node59width); Node59.setHeight(Node59height); Node59._nodeType = 'text'; Node59._disallowEvert = true; Node59.setRotation(0*Math.PI/180); Node59.a('node.width', Node59width); Node59.a('node.height', Node59height); Node59.a('node.rect', [0, 0, Node59width, Node59height]); Node59.a('node.bordercolor','rgba(169,169,169,1)'); Node59.a('node.borderwidth', 0); Node59.a('node.background','' || 'rgba(0,0,0,0)'); Node59.a('node.gradient',''); Node59.a('node.gradientcolor',''); Node59.a('node.text','吨'); Node59.a('node.textalign','left'); Node59.a('node.textvAlign','middle'); Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]); Node59.a('node.color','rgba(169,169,169,1)'); Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"'); Node59.a('node.textvisible',true); Node59.a('node.linefeed',false); if (false) { Node59.a('node.textfunc',function(g) { g.beginPath(); var str=Node59.a('node.text') || '吨'; var color=Node59.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g); }); } if (false) { Node59.a('node.underlinepoints',[Node59lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]); Node59.a('node.underlinevisible',false); Node59.a('node.underlineBorderWidth', 1); } dataModel.add(Node59); zoomNodeList.push({ node: Node59, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node60 = new ht.Node(); var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 47*_ratio.ratioX, Node60height = 17*_ratio.ratioY; (function () { if (Node60align === 'left') { Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9; Node60textWidth = Node60width; Node60lineStart = 1; } else if (Node60align === 'right') { Node60textStart = 0; Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2; Node60lineStart = (Node60width - (ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node60align === 'center') { Node60textStart = -3; Node60textWidth = Node60width; Node60lineStart = Node60width - ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width - 11; } })(); Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"')) Node60.setPosition(694*ratio.ratioX, 227*ratio.ratioY); Node60.setWidth(Node60width); Node60.setHeight(Node60height); Node60._nodeType = 'text'; Node60._disallowEvert = true; Node60.setRotation(0*Math.PI/180); Node60.a('node.width', Node60width); Node60.a('node.height', Node60height); Node60.a('node.rect', [0, 0, Node60width, Node60height]); Node60.a('node.bordercolor','rgba(169,169,169,1)'); Node60.a('node.borderwidth', 0); Node60.a('node.background','' || 'rgba(0,0,0,0)'); Node60.a('node.gradient',''); Node60.a('node.gradientcolor',''); Node60.a('node.text','吨'); Node60.a('node.textalign','left'); Node60.a('node.textvAlign','middle'); Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]); Node60.a('node.color','rgba(169,169,169,1)'); Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"'); Node60.a('node.textvisible',true); Node60.a('node.linefeed',false); if (false) { Node60.a('node.textfunc',function(g) { g.beginPath(); var str=Node60.a('node.text') || '吨'; var color=Node60.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g); }); } if (false) { Node60.a('node.underlinepoints',[Node60lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]); Node60.a('node.underlinevisible',false); Node60.a('node.underlineBorderWidth', 1); } dataModel.add(Node60); zoomNodeList.push({ node: Node60, borderWidth: 0, attr: 'node.borderwidth' }); var Node61points=[473, 142,750, 142], Node61rect=ht.Default.unionPoint([{x:473,y:142},{x:750,y:142}]), Node61compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9; Node68textWidth = Node68width; Node68lineStart = 1; } else if (Node68align === 'right') { Node68textStart = 0; Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2; Node68lineStart = (Node68width - (ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node68align === 'center') { Node68textStart = -3; Node68textWidth = Node68width; Node68lineStart = Node68width - ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width - 11; } })(); Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"')) Node68.setPosition(802*ratio.ratioX, 129*ratio.ratioY); Node68.setWidth(Node68width); Node68.setHeight(Node68height); Node68._nodeType = 'text'; Node68._disallowEvert = true; Node68.setRotation(0*Math.PI/180); Node68.a('node.width', Node68width); Node68.a('node.height', Node68height); Node68.a('node.rect', [0, 0, Node68width, Node68height]); Node68.a('node.bordercolor','rgba(0,0,0,1)'); Node68.a('node.borderwidth', 0); Node68.a('node.background','' || 'rgba(0,0,0,0)'); Node68.a('node.gradient',''); Node68.a('node.gradientcolor',''); Node68.a('node.text','日上网电量'); Node68.a('node.textalign','left'); Node68.a('node.textvAlign','middle'); Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]); Node68.a('node.color','rgba(0,0,0,1)'); Node68.a('node.font',' '+ Node68fontSize + 'px "Arial"'); Node68.a('node.textvisible',true); Node68.a('node.linefeed',false); if (false) { Node68.a('node.textfunc',function(g) { g.beginPath(); var str=Node68.a('node.text') || '日上网电量'; var color=Node68.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"left",color,' '+ Node68fontSize + 'px "Arial"', 0,g); }); } if (false) { Node68.a('node.underlinepoints',[Node68lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]); Node68.a('node.underlinevisible',false); Node68.a('node.underlineBorderWidth', 1); } dataModel.add(Node68); zoomNodeList.push({ node: Node68, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node69 = new ht.Node(); var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 82*_ratio.ratioX, Node69height = 27*_ratio.ratioY; (function () { if (Node69align === 'left') { Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9; Node69textWidth = Node69width; Node69lineStart = 1; } else if (Node69align === 'right') { Node69textStart = 0; Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2; Node69lineStart = (Node69width - (ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node69align === 'center') { Node69textStart = -3; Node69textWidth = Node69width; Node69lineStart = Node69width - ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width - 11; } })(); Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"')) Node69.setPosition(802*ratio.ratioX, 155*ratio.ratioY); Node69.setWidth(Node69width); Node69.setHeight(Node69height); Node69._nodeType = 'text'; Node69._disallowEvert = true; Node69.setRotation(0*Math.PI/180); Node69.a('node.width', Node69width); Node69.a('node.height', Node69height); Node69.a('node.rect', [0, 0, Node69width, Node69height]); Node69.a('node.bordercolor','rgba(0,0,0,1)'); Node69.a('node.borderwidth', 0); Node69.a('node.background','' || 'rgba(0,0,0,0)'); Node69.a('node.gradient',''); Node69.a('node.gradientcolor',''); Node69.a('node.text','月上网电量'); Node69.a('node.textalign','left'); Node69.a('node.textvAlign','middle'); Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]); Node69.a('node.color','rgba(0,0,0,1)'); Node69.a('node.font',' '+ Node69fontSize + 'px "Arial"'); Node69.a('node.textvisible',true); Node69.a('node.linefeed',false); if (false) { Node69.a('node.textfunc',function(g) { g.beginPath(); var str=Node69.a('node.text') || '月上网电量'; var color=Node69.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g); }); } if (false) { Node69.a('node.underlinepoints',[Node69lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]); Node69.a('node.underlinevisible',false); Node69.a('node.underlineBorderWidth', 1); } dataModel.add(Node69); zoomNodeList.push({ node: Node69, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node70 = new ht.Node(); var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'left', Node70fontSize = 13.3333*_ratio.ratioY,Node70width = 82*_ratio.ratioX, Node70height = 27*_ratio.ratioY; (function () { if (Node70align === 'left') { Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9; Node70textWidth = Node70width; Node70lineStart = 1; } else if (Node70align === 'right') { Node70textStart = 0; Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2; Node70lineStart = (Node70width - (ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node70align === 'center') { Node70textStart = -3; Node70textWidth = Node70width; Node70lineStart = Node70width - ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width - 11; } })(); Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"')) Node70.setPosition(802*ratio.ratioX, 179*ratio.ratioY); Node70.setWidth(Node70width); Node70.setHeight(Node70height); Node70._nodeType = 'text'; Node70._disallowEvert = true; Node70.setRotation(0*Math.PI/180); Node70.a('node.width', Node70width); Node70.a('node.height', Node70height); Node70.a('node.rect', [0, 0, Node70width, Node70height]); Node70.a('node.bordercolor','rgba(0,0,0,1)'); Node70.a('node.borderwidth', 0); Node70.a('node.background','' || 'rgba(0,0,0,0)'); Node70.a('node.gradient',''); Node70.a('node.gradientcolor',''); Node70.a('node.text','年上网电量'); Node70.a('node.textalign','left'); Node70.a('node.textvAlign','middle'); Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]); Node70.a('node.color','rgba(0,0,0,1)'); Node70.a('node.font',' '+ Node70fontSize + 'px "Arial"'); Node70.a('node.textvisible',true); Node70.a('node.linefeed',false); if (false) { Node70.a('node.textfunc',function(g) { g.beginPath(); var str=Node70.a('node.text') || '年上网电量'; var color=Node70.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node70width,Node70height,13.3333*_ratio.ratioY,"left",color,' '+ Node70fontSize + 'px "Arial"', 0,g); }); } if (false) { Node70.a('node.underlinepoints',[Node70lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]); Node70.a('node.underlinevisible',false); Node70.a('node.underlineBorderWidth', 1); } dataModel.add(Node70); zoomNodeList.push({ node: Node70, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node71 = new ht.Node(); var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 110*_ratio.ratioX, Node71height = 27*_ratio.ratioY; (function () { if (Node71align === 'left') { Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9; Node71textWidth = Node71width; Node71lineStart = 1; } else if (Node71align === 'right') { Node71textStart = 0; Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2; Node71lineStart = (Node71width - (ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node71align === 'center') { Node71textStart = -3; Node71textWidth = Node71width; Node71lineStart = Node71width - ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width - 11; } })(); Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"')) Node71.setPosition(816*ratio.ratioX, 202*ratio.ratioY); Node71.setWidth(Node71width); Node71.setHeight(Node71height); Node71._nodeType = 'text'; Node71._disallowEvert = true; Node71.setRotation(0*Math.PI/180); Node71.a('node.width', Node71width); Node71.a('node.height', Node71height); Node71.a('node.rect', [0, 0, Node71width, Node71height]); Node71.a('node.bordercolor','rgba(0,0,0,1)'); Node71.a('node.borderwidth', 0); Node71.a('node.background','' || 'rgba(0,0,0,0)'); Node71.a('node.gradient',''); Node71.a('node.gradientcolor',''); Node71.a('node.text','节约标煤'); Node71.a('node.textalign','left'); Node71.a('node.textvAlign','middle'); Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]); Node71.a('node.color','rgba(0,0,0,1)'); Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"'); Node71.a('node.textvisible',true); Node71.a('node.linefeed',false); if (false) { Node71.a('node.textfunc',function(g) { g.beginPath(); var str=Node71.a('node.text') || '节约标煤'; var color=Node71.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g); }); } if (false) { Node71.a('node.underlinepoints',[Node71lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]); Node71.a('node.underlinevisible',false); Node71.a('node.underlineBorderWidth', 1); } dataModel.add(Node71); zoomNodeList.push({ node: Node71, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node72 = new ht.Node(); var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 125*_ratio.ratioX, Node72height = 27*_ratio.ratioY; (function () { if (Node72align === 'left') { Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9; Node72textWidth = Node72width; Node72lineStart = 1; } else if (Node72align === 'right') { Node72textStart = 0; Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2; Node72lineStart = (Node72width - (ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node72align === 'center') { Node72textStart = -3; Node72textWidth = Node72width; Node72lineStart = Node72width - ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width - 11; } })(); Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"')) Node72.setPosition(823*ratio.ratioX, 226*ratio.ratioY); Node72.setWidth(Node72width); Node72.setHeight(Node72height); Node72._nodeType = 'text'; Node72._disallowEvert = true; Node72.setRotation(0*Math.PI/180); Node72.a('node.width', Node72width); Node72.a('node.height', Node72height); Node72.a('node.rect', [0, 0, Node72width, Node72height]); Node72.a('node.bordercolor','rgba(0,0,0,1)'); Node72.a('node.borderwidth', 0); Node72.a('node.background','' || 'rgba(0,0,0,0)'); Node72.a('node.gradient',''); Node72.a('node.gradientcolor',''); Node72.a('node.text','节约用水'); Node72.a('node.textalign','left'); Node72.a('node.textvAlign','middle'); Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]); Node72.a('node.color','rgba(0,0,0,1)'); Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"'); Node72.a('node.textvisible',true); Node72.a('node.linefeed',false); if (false) { Node72.a('node.textfunc',function(g) { g.beginPath(); var str=Node72.a('node.text') || '节约用水'; var color=Node72.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g); }); } if (false) { Node72.a('node.underlinepoints',[Node72lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]); Node72.a('node.underlinevisible',false); Node72.a('node.underlineBorderWidth', 1); } dataModel.add(Node72); zoomNodeList.push({ node: Node72, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node73 = new ht.Node(); var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 37*_ratio.ratioX, Node73height = 16*_ratio.ratioY; (function () { if (Node73align === 'left') { Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9; Node73textWidth = Node73width; Node73lineStart = 1; } else if (Node73align === 'right') { Node73textStart = 0; Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2; Node73lineStart = (Node73width - (ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node73align === 'center') { Node73textStart = -3; Node73textWidth = Node73width; Node73lineStart = Node73width - ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width - 11; } })(); Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, 'bold '+ Node73fontSize + 'px "Arial"')) Node73.setPosition(912*ratio.ratioX, 128*ratio.ratioY); Node73.setWidth(Node73width); Node73.setHeight(Node73height); Node73._nodeType = 'text'; Node73._disallowEvert = true; Node73.setRotation(0*Math.PI/180); Node73.a('node.width', Node73width); Node73.a('node.height', Node73height); Node73.a('node.rect', [0, 0, Node73width, Node73height]); Node73.a('node.bordercolor','rgba(0,0,0,1)'); Node73.a('node.borderwidth', 0); Node73.a('node.background','' || 'rgba(0,0,0,0)'); Node73.a('node.gradient',''); Node73.a('node.gradientcolor',''); Node73.a('node.text','0'); Node73.a('node.textalign','left'); Node73.a('node.textvAlign','middle'); Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]); Node73.a('node.color','rgba(0,0,0,1)'); Node73.a('node.font','bold '+ Node73fontSize + 'px "Arial"'); Node73.a('node.textvisible',true); Node73.a('node.linefeed',false); if (false) { Node73.a('node.textfunc',function(g) { g.beginPath(); var str=Node73.a('node.text') || '0'; var color=Node73.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node73fontSize + 'px "Arial"', 0,g); }); } if (false) { Node73.a('node.underlinepoints',[Node73lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]); Node73.a('node.underlinevisible',false); Node73.a('node.underlineBorderWidth', 1); } dataModel.add(Node73); zoomNodeList.push({ node: Node73, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node74 = new ht.Node(); var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 37*_ratio.ratioX, Node74height = 16*_ratio.ratioY; (function () { if (Node74align === 'left') { Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9; Node74textWidth = Node74width; Node74lineStart = 1; } else if (Node74align === 'right') { Node74textStart = 0; Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2; Node74lineStart = (Node74width - (ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node74align === 'center') { Node74textStart = -3; Node74textWidth = Node74width; Node74lineStart = Node74width - ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width - 11; } })(); Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, 'bold '+ Node74fontSize + 'px "Arial"')) Node74.setPosition(912*ratio.ratioX, 152*ratio.ratioY); Node74.setWidth(Node74width); Node74.setHeight(Node74height); Node74._nodeType = 'text'; Node74._disallowEvert = true; Node74.setRotation(0*Math.PI/180); Node74.a('node.width', Node74width); Node74.a('node.height', Node74height); Node74.a('node.rect', [0, 0, Node74width, Node74height]); Node74.a('node.bordercolor','rgba(0,0,0,1)'); Node74.a('node.borderwidth', 0); Node74.a('node.background','' || 'rgba(0,0,0,0)'); Node74.a('node.gradient',''); Node74.a('node.gradientcolor',''); Node74.a('node.text','0'); Node74.a('node.textalign','left'); Node74.a('node.textvAlign','middle'); Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]); Node74.a('node.color','rgba(0,0,0,1)'); Node74.a('node.font','bold '+ Node74fontSize + 'px "Arial"'); Node74.a('node.textvisible',true); Node74.a('node.linefeed',false); if (false) { Node74.a('node.textfunc',function(g) { g.beginPath(); var str=Node74.a('node.text') || '0'; var color=Node74.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node74fontSize + 'px "Arial"', 0,g); }); } if (false) { Node74.a('node.underlinepoints',[Node74lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]); Node74.a('node.underlinevisible',false); Node74.a('node.underlineBorderWidth', 1); } dataModel.add(Node74); zoomNodeList.push({ node: Node74, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node75 = new ht.Node(); var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 27*_ratio.ratioX, Node75height = 16*_ratio.ratioY; (function () { if (Node75align === 'left') { Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9; Node75textWidth = Node75width; Node75lineStart = 1; } else if (Node75align === 'right') { Node75textStart = 0; Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2; Node75lineStart = (Node75width - (ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node75align === 'center') { Node75textStart = -3; Node75textWidth = Node75width; Node75lineStart = Node75width - ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width - 11; } })(); Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, 'bold '+ Node75fontSize + 'px "Arial"')) Node75.setPosition(907*ratio.ratioX, 177*ratio.ratioY); Node75.setWidth(Node75width); Node75.setHeight(Node75height); Node75._nodeType = 'text'; Node75._disallowEvert = true; Node75.setRotation(0*Math.PI/180); Node75.a('node.width', Node75width); Node75.a('node.height', Node75height); Node75.a('node.rect', [0, 0, Node75width, Node75height]); Node75.a('node.bordercolor','rgba(0,0,0,1)'); Node75.a('node.borderwidth', 0); Node75.a('node.background','' || 'rgba(0,0,0,0)'); Node75.a('node.gradient',''); Node75.a('node.gradientcolor',''); Node75.a('node.text','0'); Node75.a('node.textalign','left'); Node75.a('node.textvAlign','middle'); Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]); Node75.a('node.color','rgba(0,0,0,1)'); Node75.a('node.font','bold '+ Node75fontSize + 'px "Arial"'); Node75.a('node.textvisible',true); Node75.a('node.linefeed',false); if (false) { Node75.a('node.textfunc',function(g) { g.beginPath(); var str=Node75.a('node.text') || '0'; var color=Node75.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node75fontSize + 'px "Arial"', 0,g); }); } if (false) { Node75.a('node.underlinepoints',[Node75lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]); Node75.a('node.underlinevisible',false); Node75.a('node.underlineBorderWidth', 1); } dataModel.add(Node75); zoomNodeList.push({ node: Node75, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node76 = new ht.Node(); var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 37*_ratio.ratioX, Node76height = 16*_ratio.ratioY; (function () { if (Node76align === 'left') { Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9; Node76textWidth = Node76width; Node76lineStart = 1; } else if (Node76align === 'right') { Node76textStart = 0; Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2; Node76lineStart = (Node76width - (ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node76align === 'center') { Node76textStart = -3; Node76textWidth = Node76width; Node76lineStart = Node76width - ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width - 11; } })(); Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, 'bold '+ Node76fontSize + 'px "Arial"')) Node76.setPosition(926*ratio.ratioX, 201*ratio.ratioY); Node76.setWidth(Node76width); Node76.setHeight(Node76height); Node76._nodeType = 'text'; Node76._disallowEvert = true; Node76.setRotation(0*Math.PI/180); Node76.a('node.width', Node76width); Node76.a('node.height', Node76height); Node76.a('node.rect', [0, 0, Node76width, Node76height]); Node76.a('node.bordercolor','rgba(0,0,0,1)'); Node76.a('node.borderwidth', 0); Node76.a('node.background','' || 'rgba(0,0,0,0)'); Node76.a('node.gradient',''); Node76.a('node.gradientcolor',''); Node76.a('node.text','-'); Node76.a('node.textalign','left'); Node76.a('node.textvAlign','middle'); Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]); Node76.a('node.color','rgba(0,0,0,1)'); Node76.a('node.font','bold '+ Node76fontSize + 'px "Arial"'); Node76.a('node.textvisible',true); Node76.a('node.linefeed',false); if (false) { Node76.a('node.textfunc',function(g) { g.beginPath(); var str=Node76.a('node.text') || '-'; var color=Node76.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node76fontSize + 'px "Arial"', 0,g); }); } if (false) { Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]); Node76.a('node.underlinevisible',false); Node76.a('node.underlineBorderWidth', 1); } dataModel.add(Node76); zoomNodeList.push({ node: Node76, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node77 = new ht.Node(); var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 47*_ratio.ratioX, Node77height = 17*_ratio.ratioY; (function () { if (Node77align === 'left') { Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9; Node77textWidth = Node77width; Node77lineStart = 1; } else if (Node77align === 'right') { Node77textStart = 0; Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2; Node77lineStart = (Node77width - (ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node77align === 'center') { Node77textStart = -3; Node77textWidth = Node77width; Node77lineStart = Node77width - ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width - 11; } })(); Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"')) Node77.setPosition(980*ratio.ratioX, 127*ratio.ratioY); Node77.setWidth(Node77width); Node77.setHeight(Node77height); Node77._nodeType = 'text'; Node77._disallowEvert = true; Node77.setRotation(0*Math.PI/180); Node77.a('node.width', Node77width); Node77.a('node.height', Node77height); Node77.a('node.rect', [0, 0, Node77width, Node77height]); Node77.a('node.bordercolor','rgba(169,169,169,1)'); Node77.a('node.borderwidth', 0); Node77.a('node.background','' || 'rgba(0,0,0,0)'); Node77.a('node.gradient',''); Node77.a('node.gradientcolor',''); Node77.a('node.text','万kW'); Node77.a('node.textalign','left'); Node77.a('node.textvAlign','middle'); Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]); Node77.a('node.color','rgba(169,169,169,1)'); Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"'); Node77.a('node.textvisible',true); Node77.a('node.linefeed',false); if (false) { Node77.a('node.textfunc',function(g) { g.beginPath(); var str=Node77.a('node.text') || '万kW'; var color=Node77.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g); }); } if (false) { Node77.a('node.underlinepoints',[Node77lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]); Node77.a('node.underlinevisible',false); Node77.a('node.underlineBorderWidth', 1); } dataModel.add(Node77); zoomNodeList.push({ node: Node77, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node78 = new ht.Node(); var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'left', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 37*_ratio.ratioX, Node78height = 16*_ratio.ratioY; (function () { if (Node78align === 'left') { Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9; Node78textWidth = Node78width; Node78lineStart = 1; } else if (Node78align === 'right') { Node78textStart = 0; Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2; Node78lineStart = (Node78width - (ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node78align === 'center') { Node78textStart = -3; Node78textWidth = Node78width; Node78lineStart = Node78width - ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width - 11; } })(); Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, 'bold '+ Node78fontSize + 'px "Arial"')) Node78.setPosition(927*ratio.ratioX, 226*ratio.ratioY); Node78.setWidth(Node78width); Node78.setHeight(Node78height); Node78._nodeType = 'text'; Node78._disallowEvert = true; Node78.setRotation(0*Math.PI/180); Node78.a('node.width', Node78width); Node78.a('node.height', Node78height); Node78.a('node.rect', [0, 0, Node78width, Node78height]); Node78.a('node.bordercolor','rgba(0,0,0,1)'); Node78.a('node.borderwidth', 0); Node78.a('node.background','' || 'rgba(0,0,0,0)'); Node78.a('node.gradient',''); Node78.a('node.gradientcolor',''); Node78.a('node.text','-'); Node78.a('node.textalign','left'); Node78.a('node.textvAlign','middle'); Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]); Node78.a('node.color','rgba(0,0,0,1)'); Node78.a('node.font','bold '+ Node78fontSize + 'px "Arial"'); Node78.a('node.textvisible',true); Node78.a('node.linefeed',false); if (false) { Node78.a('node.textfunc',function(g) { g.beginPath(); var str=Node78.a('node.text') || '-'; var color=Node78.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node78fontSize + 'px "Arial"', 0,g); }); } if (false) { Node78.a('node.underlinepoints',[Node78lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]); Node78.a('node.underlinevisible',false); Node78.a('node.underlineBorderWidth', 1); } dataModel.add(Node78); zoomNodeList.push({ node: Node78, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node79 = new ht.Node(); var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'left', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 47*_ratio.ratioX, Node79height = 17*_ratio.ratioY; (function () { if (Node79align === 'left') { Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9; Node79textWidth = Node79width; Node79lineStart = 1; } else if (Node79align === 'right') { Node79textStart = 0; Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2; Node79lineStart = (Node79width - (ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node79align === 'center') { Node79textStart = -3; Node79textWidth = Node79width; Node79lineStart = Node79width - ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width - 11; } })(); Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"')) Node79.setPosition(980*ratio.ratioX, 153*ratio.ratioY); Node79.setWidth(Node79width); Node79.setHeight(Node79height); Node79._nodeType = 'text'; Node79._disallowEvert = true; Node79.setRotation(0*Math.PI/180); Node79.a('node.width', Node79width); Node79.a('node.height', Node79height); Node79.a('node.rect', [0, 0, Node79width, Node79height]); Node79.a('node.bordercolor','rgba(169,169,169,1)'); Node79.a('node.borderwidth', 0); Node79.a('node.background','' || 'rgba(0,0,0,0)'); Node79.a('node.gradient',''); Node79.a('node.gradientcolor',''); Node79.a('node.text','万kW'); Node79.a('node.textalign','left'); Node79.a('node.textvAlign','middle'); Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]); Node79.a('node.color','rgba(169,169,169,1)'); Node79.a('node.font',' '+ Node79fontSize + 'px "Arial"'); Node79.a('node.textvisible',true); Node79.a('node.linefeed',false); if (false) { Node79.a('node.textfunc',function(g) { g.beginPath(); var str=Node79.a('node.text') || '万kW'; var color=Node79.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"left",color,' '+ Node79fontSize + 'px "Arial"', 0,g); }); } if (false) { Node79.a('node.underlinepoints',[Node79lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]); Node79.a('node.underlinevisible',false); Node79.a('node.underlineBorderWidth', 1); } dataModel.add(Node79); zoomNodeList.push({ node: Node79, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node80 = new ht.Node(); var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 47*_ratio.ratioX, Node80height = 17*_ratio.ratioY; (function () { if (Node80align === 'left') { Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9; Node80textWidth = Node80width; Node80lineStart = 1; } else if (Node80align === 'right') { Node80textStart = 0; Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2; Node80lineStart = (Node80width - (ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node80align === 'center') { Node80textStart = -3; Node80textWidth = Node80width; Node80lineStart = Node80width - ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width - 11; } })(); Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"')) Node80.setPosition(980*ratio.ratioX, 178*ratio.ratioY); Node80.setWidth(Node80width); Node80.setHeight(Node80height); Node80._nodeType = 'text'; Node80._disallowEvert = true; Node80.setRotation(0*Math.PI/180); Node80.a('node.width', Node80width); Node80.a('node.height', Node80height); Node80.a('node.rect', [0, 0, Node80width, Node80height]); Node80.a('node.bordercolor','rgba(169,169,169,1)'); Node80.a('node.borderwidth', 0); Node80.a('node.background','' || 'rgba(0,0,0,0)'); Node80.a('node.gradient',''); Node80.a('node.gradientcolor',''); Node80.a('node.text','万kW'); Node80.a('node.textalign','left'); Node80.a('node.textvAlign','middle'); Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]); Node80.a('node.color','rgba(169,169,169,1)'); Node80.a('node.font',' '+ Node80fontSize + 'px "Arial"'); Node80.a('node.textvisible',true); Node80.a('node.linefeed',false); if (false) { Node80.a('node.textfunc',function(g) { g.beginPath(); var str=Node80.a('node.text') || '万kW'; var color=Node80.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g); }); } if (false) { Node80.a('node.underlinepoints',[Node80lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]); Node80.a('node.underlinevisible',false); Node80.a('node.underlineBorderWidth', 1); } dataModel.add(Node80); zoomNodeList.push({ node: Node80, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node81 = new ht.Node(); var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'left', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 47*_ratio.ratioX, Node81height = 17*_ratio.ratioY; (function () { if (Node81align === 'left') { Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9; Node81textWidth = Node81width; Node81lineStart = 1; } else if (Node81align === 'right') { Node81textStart = 0; Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2; Node81lineStart = (Node81width - (ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node81align === 'center') { Node81textStart = -3; Node81textWidth = Node81width; Node81lineStart = Node81width - ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width - 11; } })(); Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"')) Node81.setPosition(980*ratio.ratioX, 205*ratio.ratioY); Node81.setWidth(Node81width); Node81.setHeight(Node81height); Node81._nodeType = 'text'; Node81._disallowEvert = true; Node81.setRotation(0*Math.PI/180); Node81.a('node.width', Node81width); Node81.a('node.height', Node81height); Node81.a('node.rect', [0, 0, Node81width, Node81height]); Node81.a('node.bordercolor','rgba(169,169,169,1)'); Node81.a('node.borderwidth', 0); Node81.a('node.background','' || 'rgba(0,0,0,0)'); Node81.a('node.gradient',''); Node81.a('node.gradientcolor',''); Node81.a('node.text','吨'); Node81.a('node.textalign','left'); Node81.a('node.textvAlign','middle'); Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]); Node81.a('node.color','rgba(169,169,169,1)'); Node81.a('node.font',' '+ Node81fontSize + 'px "Arial"'); Node81.a('node.textvisible',true); Node81.a('node.linefeed',false); if (false) { Node81.a('node.textfunc',function(g) { g.beginPath(); var str=Node81.a('node.text') || '吨'; var color=Node81.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g); }); } if (false) { Node81.a('node.underlinepoints',[Node81lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]); Node81.a('node.underlinevisible',false); Node81.a('node.underlineBorderWidth', 1); } dataModel.add(Node81); zoomNodeList.push({ node: Node81, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node82 = new ht.Node(); var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'left', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 47*_ratio.ratioX, Node82height = 17*_ratio.ratioY; (function () { if (Node82align === 'left') { Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9; Node82textWidth = Node82width; Node82lineStart = 1; } else if (Node82align === 'right') { Node82textStart = 0; Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2; Node82lineStart = (Node82width - (ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node82align === 'center') { Node82textStart = -3; Node82textWidth = Node82width; Node82lineStart = Node82width - ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width - 11; } })(); Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "Arial"')) Node82.setPosition(980*ratio.ratioX, 227*ratio.ratioY); Node82.setWidth(Node82width); Node82.setHeight(Node82height); Node82._nodeType = 'text'; Node82._disallowEvert = true; Node82.setRotation(0*Math.PI/180); Node82.a('node.width', Node82width); Node82.a('node.height', Node82height); Node82.a('node.rect', [0, 0, Node82width, Node82height]); Node82.a('node.bordercolor','rgba(169,169,169,1)'); Node82.a('node.borderwidth', 0); Node82.a('node.background','' || 'rgba(0,0,0,0)'); Node82.a('node.gradient',''); Node82.a('node.gradientcolor',''); Node82.a('node.text','吨'); Node82.a('node.textalign','left'); Node82.a('node.textvAlign','middle'); Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]); Node82.a('node.color','rgba(169,169,169,1)'); Node82.a('node.font',' '+ Node82fontSize + 'px "Arial"'); Node82.a('node.textvisible',true); Node82.a('node.linefeed',false); if (false) { Node82.a('node.textfunc',function(g) { g.beginPath(); var str=Node82.a('node.text') || '吨'; var color=Node82.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "Arial"', 0,g); }); } if (false) { Node82.a('node.underlinepoints',[Node82lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]); Node82.a('node.underlinevisible',false); Node82.a('node.underlineBorderWidth', 1); } dataModel.add(Node82); zoomNodeList.push({ node: Node82, borderWidth: 0, attr: 'node.borderwidth' }); var Node83points=[758, 142,1035, 142], Node83rect=ht.Default.unionPoint([{x:758,y:142},{x:1035,y:142}]), Node83compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9; Node90textWidth = Node90width; Node90lineStart = 1; } else if (Node90align === 'right') { Node90textStart = 0; Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2; Node90lineStart = (Node90width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node90align === 'center') { Node90textStart = -3; Node90textWidth = Node90width; Node90lineStart = Node90width - ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width - 11; } })(); Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"')) Node90.setPosition(1102*ratio.ratioX, 129*ratio.ratioY); Node90.setWidth(Node90width); Node90.setHeight(Node90height); Node90._nodeType = 'text'; Node90._disallowEvert = true; Node90.setRotation(0*Math.PI/180); Node90.a('node.width', Node90width); Node90.a('node.height', Node90height); Node90.a('node.rect', [0, 0, Node90width, Node90height]); Node90.a('node.bordercolor','rgba(0,0,0,1)'); Node90.a('node.borderwidth', 0); Node90.a('node.background','' || 'rgba(0,0,0,0)'); Node90.a('node.gradient',''); Node90.a('node.gradientcolor',''); Node90.a('node.text','日维护损失电量'); Node90.a('node.textalign','left'); Node90.a('node.textvAlign','middle'); Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]); Node90.a('node.color','rgba(0,0,0,1)'); Node90.a('node.font',' '+ Node90fontSize + 'px "Arial"'); Node90.a('node.textvisible',true); Node90.a('node.linefeed',false); if (false) { Node90.a('node.textfunc',function(g) { g.beginPath(); var str=Node90.a('node.text') || '日维护损失电量'; var color=Node90.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "Arial"', 0,g); }); } if (false) { Node90.a('node.underlinepoints',[Node90lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]); Node90.a('node.underlinevisible',false); Node90.a('node.underlineBorderWidth', 1); } dataModel.add(Node90); zoomNodeList.push({ node: Node90, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node91 = new ht.Node(); var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 27*_ratio.ratioY; (function () { if (Node91align === 'left') { Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9; Node91textWidth = Node91width; Node91lineStart = 1; } else if (Node91align === 'right') { Node91textStart = 0; Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2; Node91lineStart = (Node91width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node91align === 'center') { Node91textStart = -3; Node91textWidth = Node91width; Node91lineStart = Node91width - ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width - 11; } })(); Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"')) Node91.setPosition(1102*ratio.ratioX, 155*ratio.ratioY); Node91.setWidth(Node91width); Node91.setHeight(Node91height); Node91._nodeType = 'text'; Node91._disallowEvert = true; Node91.setRotation(0*Math.PI/180); Node91.a('node.width', Node91width); Node91.a('node.height', Node91height); Node91.a('node.rect', [0, 0, Node91width, Node91height]); Node91.a('node.bordercolor','rgba(0,0,0,1)'); Node91.a('node.borderwidth', 0); Node91.a('node.background','' || 'rgba(0,0,0,0)'); Node91.a('node.gradient',''); Node91.a('node.gradientcolor',''); Node91.a('node.text','日故障损失电量'); Node91.a('node.textalign','left'); Node91.a('node.textvAlign','middle'); Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]); Node91.a('node.color','rgba(0,0,0,1)'); Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"'); Node91.a('node.textvisible',true); Node91.a('node.linefeed',false); if (false) { Node91.a('node.textfunc',function(g) { g.beginPath(); var str=Node91.a('node.text') || '日故障损失电量'; var color=Node91.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g); }); } if (false) { Node91.a('node.underlinepoints',[Node91lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]); Node91.a('node.underlinevisible',false); Node91.a('node.underlineBorderWidth', 1); } dataModel.add(Node91); zoomNodeList.push({ node: Node91, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node92 = new ht.Node(); var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 110*_ratio.ratioX, Node92height = 27*_ratio.ratioY; (function () { if (Node92align === 'left') { Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9; Node92textWidth = Node92width; Node92lineStart = 1; } else if (Node92align === 'right') { Node92textStart = 0; Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2; Node92lineStart = (Node92width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node92align === 'center') { Node92textStart = -3; Node92textWidth = Node92width; Node92lineStart = Node92width - ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width - 11; } })(); Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"')) Node92.setPosition(1102*ratio.ratioX, 179*ratio.ratioY); Node92.setWidth(Node92width); Node92.setHeight(Node92height); Node92._nodeType = 'text'; Node92._disallowEvert = true; Node92.setRotation(0*Math.PI/180); Node92.a('node.width', Node92width); Node92.a('node.height', Node92height); Node92.a('node.rect', [0, 0, Node92width, Node92height]); Node92.a('node.bordercolor','rgba(0,0,0,1)'); Node92.a('node.borderwidth', 0); Node92.a('node.background','' || 'rgba(0,0,0,0)'); Node92.a('node.gradient',''); Node92.a('node.gradientcolor',''); Node92.a('node.text','日限电损失电量'); Node92.a('node.textalign','left'); Node92.a('node.textvAlign','middle'); Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]); Node92.a('node.color','rgba(0,0,0,1)'); Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"'); Node92.a('node.textvisible',true); Node92.a('node.linefeed',false); if (false) { Node92.a('node.textfunc',function(g) { g.beginPath(); var str=Node92.a('node.text') || '日限电损失电量'; var color=Node92.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g); }); } if (false) { Node92.a('node.underlinepoints',[Node92lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]); Node92.a('node.underlinevisible',false); Node92.a('node.underlineBorderWidth', 1); } dataModel.add(Node92); zoomNodeList.push({ node: Node92, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node93 = new ht.Node(); var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 110*_ratio.ratioX, Node93height = 27*_ratio.ratioY; (function () { if (Node93align === 'left') { Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9; Node93textWidth = Node93width; Node93lineStart = 1; } else if (Node93align === 'right') { Node93textStart = 0; Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2; Node93lineStart = (Node93width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node93align === 'center') { Node93textStart = -3; Node93textWidth = Node93width; Node93lineStart = Node93width - ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width - 11; } })(); Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"')) Node93.setPosition(1102*ratio.ratioX, 202*ratio.ratioY); Node93.setWidth(Node93width); Node93.setHeight(Node93height); Node93._nodeType = 'text'; Node93._disallowEvert = true; Node93.setRotation(0*Math.PI/180); Node93.a('node.width', Node93width); Node93.a('node.height', Node93height); Node93.a('node.rect', [0, 0, Node93width, Node93height]); Node93.a('node.bordercolor','rgba(0,0,0,1)'); Node93.a('node.borderwidth', 0); Node93.a('node.background','' || 'rgba(0,0,0,0)'); Node93.a('node.gradient',''); Node93.a('node.gradientcolor',''); Node93.a('node.text','日受累损失电量'); Node93.a('node.textalign','left'); Node93.a('node.textvAlign','middle'); Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]); Node93.a('node.color','rgba(0,0,0,1)'); Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"'); Node93.a('node.textvisible',true); Node93.a('node.linefeed',false); if (false) { Node93.a('node.textfunc',function(g) { g.beginPath(); var str=Node93.a('node.text') || '日受累损失电量'; var color=Node93.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g); }); } if (false) { Node93.a('node.underlinepoints',[Node93lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]); Node93.a('node.underlinevisible',false); Node93.a('node.underlineBorderWidth', 1); } dataModel.add(Node93); zoomNodeList.push({ node: Node93, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node94 = new ht.Node(); var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'left', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 125*_ratio.ratioX, Node94height = 27*_ratio.ratioY; (function () { if (Node94align === 'left') { Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9; Node94textWidth = Node94width; Node94lineStart = 1; } else if (Node94align === 'right') { Node94textStart = 0; Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2; Node94lineStart = (Node94width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node94align === 'center') { Node94textStart = -3; Node94textWidth = Node94width; Node94lineStart = Node94width - ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width - 11; } })(); Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"')) Node94.setPosition(1109*ratio.ratioX, 227*ratio.ratioY); Node94.setWidth(Node94width); Node94.setHeight(Node94height); Node94._nodeType = 'text'; Node94._disallowEvert = true; Node94.setRotation(0*Math.PI/180); Node94.a('node.width', Node94width); Node94.a('node.height', Node94height); Node94.a('node.rect', [0, 0, Node94width, Node94height]); Node94.a('node.bordercolor','rgba(0,0,0,1)'); Node94.a('node.borderwidth', 0); Node94.a('node.background','' || 'rgba(0,0,0,0)'); Node94.a('node.gradient',''); Node94.a('node.gradientcolor',''); Node94.a('node.text','日性能损失电量'); Node94.a('node.textalign','left'); Node94.a('node.textvAlign','middle'); Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]); Node94.a('node.color','rgba(0,0,0,1)'); Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"'); Node94.a('node.textvisible',true); Node94.a('node.linefeed',false); if (false) { Node94.a('node.textfunc',function(g) { g.beginPath(); var str=Node94.a('node.text') || '日性能损失电量'; var color=Node94.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g); }); } if (false) { Node94.a('node.underlinepoints',[Node94lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]); Node94.a('node.underlinevisible',false); Node94.a('node.underlineBorderWidth', 1); } dataModel.add(Node94); zoomNodeList.push({ node: Node94, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node95 = new ht.Node(); var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 37*_ratio.ratioX, Node95height = 16*_ratio.ratioY; (function () { if (Node95align === 'left') { Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9; Node95textWidth = Node95width; Node95lineStart = 1; } else if (Node95align === 'right') { Node95textStart = 0; Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2; Node95lineStart = (Node95width - (ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node95align === 'center') { Node95textStart = -3; Node95textWidth = Node95width; Node95lineStart = Node95width - ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width - 11; } })(); Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, 'bold '+ Node95fontSize + 'px "Arial"')) Node95.setPosition(1198*ratio.ratioX, 128*ratio.ratioY); Node95.setWidth(Node95width); Node95.setHeight(Node95height); Node95._nodeType = 'text'; Node95._disallowEvert = true; Node95.setRotation(0*Math.PI/180); Node95.a('node.width', Node95width); Node95.a('node.height', Node95height); Node95.a('node.rect', [0, 0, Node95width, Node95height]); Node95.a('node.bordercolor','rgba(0,0,0,1)'); Node95.a('node.borderwidth', 0); Node95.a('node.background','' || 'rgba(0,0,0,0)'); Node95.a('node.gradient',''); Node95.a('node.gradientcolor',''); Node95.a('node.text','0'); Node95.a('node.textalign','left'); Node95.a('node.textvAlign','middle'); Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]); Node95.a('node.color','rgba(0,0,0,1)'); Node95.a('node.font','bold '+ Node95fontSize + 'px "Arial"'); Node95.a('node.textvisible',true); Node95.a('node.linefeed',false); if (false) { Node95.a('node.textfunc',function(g) { g.beginPath(); var str=Node95.a('node.text') || '0'; var color=Node95.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node95fontSize + 'px "Arial"', 0,g); }); } if (false) { Node95.a('node.underlinepoints',[Node95lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]); Node95.a('node.underlinevisible',false); Node95.a('node.underlineBorderWidth', 1); } dataModel.add(Node95); zoomNodeList.push({ node: Node95, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node96 = new ht.Node(); var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 37*_ratio.ratioX, Node96height = 16*_ratio.ratioY; (function () { if (Node96align === 'left') { Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9; Node96textWidth = Node96width; Node96lineStart = 1; } else if (Node96align === 'right') { Node96textStart = 0; Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2; Node96lineStart = (Node96width - (ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node96align === 'center') { Node96textStart = -3; Node96textWidth = Node96width; Node96lineStart = Node96width - ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width - 11; } })(); Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, 'bold '+ Node96fontSize + 'px "Arial"')) Node96.setPosition(1198*ratio.ratioX, 152*ratio.ratioY); Node96.setWidth(Node96width); Node96.setHeight(Node96height); Node96._nodeType = 'text'; Node96._disallowEvert = true; Node96.setRotation(0*Math.PI/180); Node96.a('node.width', Node96width); Node96.a('node.height', Node96height); Node96.a('node.rect', [0, 0, Node96width, Node96height]); Node96.a('node.bordercolor','rgba(0,0,0,1)'); Node96.a('node.borderwidth', 0); Node96.a('node.background','' || 'rgba(0,0,0,0)'); Node96.a('node.gradient',''); Node96.a('node.gradientcolor',''); Node96.a('node.text','0'); Node96.a('node.textalign','left'); Node96.a('node.textvAlign','middle'); Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]); Node96.a('node.color','rgba(0,0,0,1)'); Node96.a('node.font','bold '+ Node96fontSize + 'px "Arial"'); Node96.a('node.textvisible',true); Node96.a('node.linefeed',false); if (false) { Node96.a('node.textfunc',function(g) { g.beginPath(); var str=Node96.a('node.text') || '0'; var color=Node96.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node96fontSize + 'px "Arial"', 0,g); }); } if (false) { Node96.a('node.underlinepoints',[Node96lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]); Node96.a('node.underlinevisible',false); Node96.a('node.underlineBorderWidth', 1); } dataModel.add(Node96); zoomNodeList.push({ node: Node96, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node97 = new ht.Node(); var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 27*_ratio.ratioX, Node97height = 16*_ratio.ratioY; (function () { if (Node97align === 'left') { Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9; Node97textWidth = Node97width; Node97lineStart = 1; } else if (Node97align === 'right') { Node97textStart = 0; Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2; Node97lineStart = (Node97width - (ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node97align === 'center') { Node97textStart = -3; Node97textWidth = Node97width; Node97lineStart = Node97width - ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width - 11; } })(); Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, 'bold '+ Node97fontSize + 'px "Arial"')) Node97.setPosition(1193*ratio.ratioX, 177*ratio.ratioY); Node97.setWidth(Node97width); Node97.setHeight(Node97height); Node97._nodeType = 'text'; Node97._disallowEvert = true; Node97.setRotation(0*Math.PI/180); Node97.a('node.width', Node97width); Node97.a('node.height', Node97height); Node97.a('node.rect', [0, 0, Node97width, Node97height]); Node97.a('node.bordercolor','rgba(0,0,0,1)'); Node97.a('node.borderwidth', 0); Node97.a('node.background','' || 'rgba(0,0,0,0)'); Node97.a('node.gradient',''); Node97.a('node.gradientcolor',''); Node97.a('node.text','0'); Node97.a('node.textalign','left'); Node97.a('node.textvAlign','middle'); Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]); Node97.a('node.color','rgba(0,0,0,1)'); Node97.a('node.font','bold '+ Node97fontSize + 'px "Arial"'); Node97.a('node.textvisible',true); Node97.a('node.linefeed',false); if (false) { Node97.a('node.textfunc',function(g) { g.beginPath(); var str=Node97.a('node.text') || '0'; var color=Node97.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node97fontSize + 'px "Arial"', 0,g); }); } if (false) { Node97.a('node.underlinepoints',[Node97lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]); Node97.a('node.underlinevisible',false); Node97.a('node.underlineBorderWidth', 1); } dataModel.add(Node97); zoomNodeList.push({ node: Node97, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node98 = new ht.Node(); var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 37*_ratio.ratioX, Node98height = 16*_ratio.ratioY; (function () { if (Node98align === 'left') { Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9; Node98textWidth = Node98width; Node98lineStart = 1; } else if (Node98align === 'right') { Node98textStart = 0; Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2; Node98lineStart = (Node98width - (ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node98align === 'center') { Node98textStart = -3; Node98textWidth = Node98width; Node98lineStart = Node98width - ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width - 11; } })(); Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, 'bold '+ Node98fontSize + 'px "Arial"')) Node98.setPosition(1212*ratio.ratioX, 201*ratio.ratioY); Node98.setWidth(Node98width); Node98.setHeight(Node98height); Node98._nodeType = 'text'; Node98._disallowEvert = true; Node98.setRotation(0*Math.PI/180); Node98.a('node.width', Node98width); Node98.a('node.height', Node98height); Node98.a('node.rect', [0, 0, Node98width, Node98height]); Node98.a('node.bordercolor','rgba(0,0,0,1)'); Node98.a('node.borderwidth', 0); Node98.a('node.background','' || 'rgba(0,0,0,0)'); Node98.a('node.gradient',''); Node98.a('node.gradientcolor',''); Node98.a('node.text','-'); Node98.a('node.textalign','left'); Node98.a('node.textvAlign','middle'); Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]); Node98.a('node.color','rgba(0,0,0,1)'); Node98.a('node.font','bold '+ Node98fontSize + 'px "Arial"'); Node98.a('node.textvisible',true); Node98.a('node.linefeed',false); if (false) { Node98.a('node.textfunc',function(g) { g.beginPath(); var str=Node98.a('node.text') || '-'; var color=Node98.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node98fontSize + 'px "Arial"', 0,g); }); } if (false) { Node98.a('node.underlinepoints',[Node98lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]); Node98.a('node.underlinevisible',false); Node98.a('node.underlineBorderWidth', 1); } dataModel.add(Node98); zoomNodeList.push({ node: Node98, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node99 = new ht.Node(); var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 13.3333*_ratio.ratioY,Node99width = 47*_ratio.ratioX, Node99height = 17*_ratio.ratioY; (function () { if (Node99align === 'left') { Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9; Node99textWidth = Node99width; Node99lineStart = 1; } else if (Node99align === 'right') { Node99textStart = 0; Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2; Node99lineStart = (Node99width - (ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node99align === 'center') { Node99textStart = -3; Node99textWidth = Node99width; Node99lineStart = Node99width - ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width - 11; } })(); Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"')) Node99.setPosition(1266*ratio.ratioX, 128*ratio.ratioY); Node99.setWidth(Node99width); Node99.setHeight(Node99height); Node99._nodeType = 'text'; Node99._disallowEvert = true; Node99.setRotation(0*Math.PI/180); Node99.a('node.width', Node99width); Node99.a('node.height', Node99height); Node99.a('node.rect', [0, 0, Node99width, Node99height]); Node99.a('node.bordercolor','rgba(169,169,169,1)'); Node99.a('node.borderwidth', 0); Node99.a('node.background','' || 'rgba(0,0,0,0)'); Node99.a('node.gradient',''); Node99.a('node.gradientcolor',''); Node99.a('node.text','万kW'); Node99.a('node.textalign','left'); Node99.a('node.textvAlign','middle'); Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]); Node99.a('node.color','rgba(169,169,169,1)'); Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"'); Node99.a('node.textvisible',true); Node99.a('node.linefeed',false); if (false) { Node99.a('node.textfunc',function(g) { g.beginPath(); var str=Node99.a('node.text') || '万kW'; var color=Node99.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node99width,Node99height,13.3333*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g); }); } if (false) { Node99.a('node.underlinepoints',[Node99lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]); Node99.a('node.underlinevisible',false); Node99.a('node.underlineBorderWidth', 1); } dataModel.add(Node99); zoomNodeList.push({ node: Node99, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node100 = new ht.Node(); var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'left', Node100fontSize = 13.3333*_ratio.ratioY,Node100width = 37*_ratio.ratioX, Node100height = 16*_ratio.ratioY; (function () { if (Node100align === 'left') { Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9; Node100textWidth = Node100width; Node100lineStart = 1; } else if (Node100align === 'right') { Node100textStart = 0; Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2; Node100lineStart = (Node100width - (ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node100align === 'center') { Node100textStart = -3; Node100textWidth = Node100width; Node100lineStart = Node100width - ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width - 11; } })(); Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, 'bold '+ Node100fontSize + 'px "Arial"')) Node100.setPosition(1212*ratio.ratioX, 226*ratio.ratioY); Node100.setWidth(Node100width); Node100.setHeight(Node100height); Node100._nodeType = 'text'; Node100._disallowEvert = true; Node100.setRotation(0*Math.PI/180); Node100.a('node.width', Node100width); Node100.a('node.height', Node100height); Node100.a('node.rect', [0, 0, Node100width, Node100height]); Node100.a('node.bordercolor','rgba(0,0,0,1)'); Node100.a('node.borderwidth', 0); Node100.a('node.background','' || 'rgba(0,0,0,0)'); Node100.a('node.gradient',''); Node100.a('node.gradientcolor',''); Node100.a('node.text','-'); Node100.a('node.textalign','left'); Node100.a('node.textvAlign','middle'); Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]); Node100.a('node.color','rgba(0,0,0,1)'); Node100.a('node.font','bold '+ Node100fontSize + 'px "Arial"'); Node100.a('node.textvisible',true); Node100.a('node.linefeed',false); if (false) { Node100.a('node.textfunc',function(g) { g.beginPath(); var str=Node100.a('node.text') || '-'; var color=Node100.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node100width,Node100height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node100fontSize + 'px "Arial"', 0,g); }); } if (false) { Node100.a('node.underlinepoints',[Node100lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]); Node100.a('node.underlinevisible',false); Node100.a('node.underlineBorderWidth', 1); } dataModel.add(Node100); zoomNodeList.push({ node: Node100, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node101 = new ht.Node(); var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 47*_ratio.ratioX, Node101height = 17*_ratio.ratioY; (function () { if (Node101align === 'left') { Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9; Node101textWidth = Node101width; Node101lineStart = 1; } else if (Node101align === 'right') { Node101textStart = 0; Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2; Node101lineStart = (Node101width - (ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node101align === 'center') { Node101textStart = -3; Node101textWidth = Node101width; Node101lineStart = Node101width - ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width - 11; } })(); Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"')) Node101.setPosition(1266*ratio.ratioX, 154*ratio.ratioY); Node101.setWidth(Node101width); Node101.setHeight(Node101height); Node101._nodeType = 'text'; Node101._disallowEvert = true; Node101.setRotation(0*Math.PI/180); Node101.a('node.width', Node101width); Node101.a('node.height', Node101height); Node101.a('node.rect', [0, 0, Node101width, Node101height]); Node101.a('node.bordercolor','rgba(169,169,169,1)'); Node101.a('node.borderwidth', 0); Node101.a('node.background','' || 'rgba(0,0,0,0)'); Node101.a('node.gradient',''); Node101.a('node.gradientcolor',''); Node101.a('node.text','万kW'); Node101.a('node.textalign','left'); Node101.a('node.textvAlign','middle'); Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]); Node101.a('node.color','rgba(169,169,169,1)'); Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"'); Node101.a('node.textvisible',true); Node101.a('node.linefeed',false); if (false) { Node101.a('node.textfunc',function(g) { g.beginPath(); var str=Node101.a('node.text') || '万kW'; var color=Node101.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g); }); } if (false) { Node101.a('node.underlinepoints',[Node101lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]); Node101.a('node.underlinevisible',false); Node101.a('node.underlineBorderWidth', 1); } dataModel.add(Node101); zoomNodeList.push({ node: Node101, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node102 = new ht.Node(); var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 47*_ratio.ratioX, Node102height = 17*_ratio.ratioY; (function () { if (Node102align === 'left') { Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9; Node102textWidth = Node102width; Node102lineStart = 1; } else if (Node102align === 'right') { Node102textStart = 0; Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2; Node102lineStart = (Node102width - (ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node102align === 'center') { Node102textStart = -3; Node102textWidth = Node102width; Node102lineStart = Node102width - ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width - 11; } })(); Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"')) Node102.setPosition(1266*ratio.ratioX, 179*ratio.ratioY); Node102.setWidth(Node102width); Node102.setHeight(Node102height); Node102._nodeType = 'text'; Node102._disallowEvert = true; Node102.setRotation(0*Math.PI/180); Node102.a('node.width', Node102width); Node102.a('node.height', Node102height); Node102.a('node.rect', [0, 0, Node102width, Node102height]); Node102.a('node.bordercolor','rgba(169,169,169,1)'); Node102.a('node.borderwidth', 0); Node102.a('node.background','' || 'rgba(0,0,0,0)'); Node102.a('node.gradient',''); Node102.a('node.gradientcolor',''); Node102.a('node.text','万kW'); Node102.a('node.textalign','left'); Node102.a('node.textvAlign','middle'); Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]); Node102.a('node.color','rgba(169,169,169,1)'); Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"'); Node102.a('node.textvisible',true); Node102.a('node.linefeed',false); if (false) { Node102.a('node.textfunc',function(g) { g.beginPath(); var str=Node102.a('node.text') || '万kW'; var color=Node102.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g); }); } if (false) { Node102.a('node.underlinepoints',[Node102lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]); Node102.a('node.underlinevisible',false); Node102.a('node.underlineBorderWidth', 1); } dataModel.add(Node102); zoomNodeList.push({ node: Node102, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node103 = new ht.Node(); var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 47*_ratio.ratioX, Node103height = 17*_ratio.ratioY; (function () { if (Node103align === 'left') { Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9; Node103textWidth = Node103width; Node103lineStart = 1; } else if (Node103align === 'right') { Node103textStart = 0; Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2; Node103lineStart = (Node103width - (ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node103align === 'center') { Node103textStart = -3; Node103textWidth = Node103width; Node103lineStart = Node103width - ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width - 11; } })(); Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"')) Node103.setPosition(1266*ratio.ratioX, 206*ratio.ratioY); Node103.setWidth(Node103width); Node103.setHeight(Node103height); Node103._nodeType = 'text'; Node103._disallowEvert = true; Node103.setRotation(0*Math.PI/180); Node103.a('node.width', Node103width); Node103.a('node.height', Node103height); Node103.a('node.rect', [0, 0, Node103width, Node103height]); Node103.a('node.bordercolor','rgba(169,169,169,1)'); Node103.a('node.borderwidth', 0); Node103.a('node.background','' || 'rgba(0,0,0,0)'); Node103.a('node.gradient',''); Node103.a('node.gradientcolor',''); Node103.a('node.text','万kW'); Node103.a('node.textalign','left'); Node103.a('node.textvAlign','middle'); Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]); Node103.a('node.color','rgba(169,169,169,1)'); Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"'); Node103.a('node.textvisible',true); Node103.a('node.linefeed',false); if (false) { Node103.a('node.textfunc',function(g) { g.beginPath(); var str=Node103.a('node.text') || '万kW'; var color=Node103.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g); }); } if (false) { Node103.a('node.underlinepoints',[Node103lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]); Node103.a('node.underlinevisible',false); Node103.a('node.underlineBorderWidth', 1); } dataModel.add(Node103); zoomNodeList.push({ node: Node103, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node104 = new ht.Node(); var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'left', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 47*_ratio.ratioX, Node104height = 17*_ratio.ratioY; (function () { if (Node104align === 'left') { Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9; Node104textWidth = Node104width; Node104lineStart = 1; } else if (Node104align === 'right') { Node104textStart = 0; Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2; Node104lineStart = (Node104width - (ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node104align === 'center') { Node104textStart = -3; Node104textWidth = Node104width; Node104lineStart = Node104width - ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width - 11; } })(); Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"')) Node104.setPosition(1265*ratio.ratioX, 228*ratio.ratioY); Node104.setWidth(Node104width); Node104.setHeight(Node104height); Node104._nodeType = 'text'; Node104._disallowEvert = true; Node104.setRotation(0*Math.PI/180); Node104.a('node.width', Node104width); Node104.a('node.height', Node104height); Node104.a('node.rect', [0, 0, Node104width, Node104height]); Node104.a('node.bordercolor','rgba(169,169,169,1)'); Node104.a('node.borderwidth', 0); Node104.a('node.background','' || 'rgba(0,0,0,0)'); Node104.a('node.gradient',''); Node104.a('node.gradientcolor',''); Node104.a('node.text','万kW'); Node104.a('node.textalign','left'); Node104.a('node.textvAlign','middle'); Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]); Node104.a('node.color','rgba(169,169,169,1)'); Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"'); Node104.a('node.textvisible',true); Node104.a('node.linefeed',false); if (false) { Node104.a('node.textfunc',function(g) { g.beginPath(); var str=Node104.a('node.text') || '万kW'; var color=Node104.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g); }); } if (false) { Node104.a('node.underlinepoints',[Node104lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]); Node104.a('node.underlinevisible',false); Node104.a('node.underlineBorderWidth', 1); } dataModel.add(Node104); zoomNodeList.push({ node: Node104, borderWidth: 0, attr: 'node.borderwidth' }); var Node105points=[1045, 142,1322, 142], Node105rect=ht.Default.unionPoint([{x:1045,y:142},{x:1322,y:142}]), Node105compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9; Node112textWidth = Node112width; Node112lineStart = 1; } else if (Node112align === 'right') { Node112textStart = 0; Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2; Node112lineStart = (Node112width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node112align === 'center') { Node112textStart = -3; Node112textWidth = Node112width; Node112lineStart = Node112width - ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width - 11; } })(); Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"')) Node112.setPosition(1389*ratio.ratioX, 129*ratio.ratioY); Node112.setWidth(Node112width); Node112.setHeight(Node112height); Node112._nodeType = 'text'; Node112._disallowEvert = true; Node112.setRotation(0*Math.PI/180); Node112.a('node.width', Node112width); Node112.a('node.height', Node112height); Node112.a('node.rect', [0, 0, Node112width, Node112height]); Node112.a('node.bordercolor','rgba(0,0,0,1)'); Node112.a('node.borderwidth', 0); Node112.a('node.background','' || 'rgba(0,0,0,0)'); Node112.a('node.gradient',''); Node112.a('node.gradientcolor',''); Node112.a('node.text','月维护损失电量'); Node112.a('node.textalign','left'); Node112.a('node.textvAlign','middle'); Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]); Node112.a('node.color','rgba(0,0,0,1)'); Node112.a('node.font',' '+ Node112fontSize + 'px "Arial"'); Node112.a('node.textvisible',true); Node112.a('node.linefeed',false); if (false) { Node112.a('node.textfunc',function(g) { g.beginPath(); var str=Node112.a('node.text') || '月维护损失电量'; var color=Node112.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"left",color,' '+ Node112fontSize + 'px "Arial"', 0,g); }); } if (false) { Node112.a('node.underlinepoints',[Node112lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]); Node112.a('node.underlinevisible',false); Node112.a('node.underlineBorderWidth', 1); } dataModel.add(Node112); zoomNodeList.push({ node: Node112, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node113 = new ht.Node(); var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 110*_ratio.ratioX, Node113height = 27*_ratio.ratioY; (function () { if (Node113align === 'left') { Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9; Node113textWidth = Node113width; Node113lineStart = 1; } else if (Node113align === 'right') { Node113textStart = 0; Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2; Node113lineStart = (Node113width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node113align === 'center') { Node113textStart = -3; Node113textWidth = Node113width; Node113lineStart = Node113width - ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width - 11; } })(); Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"')) Node113.setPosition(1389*ratio.ratioX, 155*ratio.ratioY); Node113.setWidth(Node113width); Node113.setHeight(Node113height); Node113._nodeType = 'text'; Node113._disallowEvert = true; Node113.setRotation(0*Math.PI/180); Node113.a('node.width', Node113width); Node113.a('node.height', Node113height); Node113.a('node.rect', [0, 0, Node113width, Node113height]); Node113.a('node.bordercolor','rgba(0,0,0,1)'); Node113.a('node.borderwidth', 0); Node113.a('node.background','' || 'rgba(0,0,0,0)'); Node113.a('node.gradient',''); Node113.a('node.gradientcolor',''); Node113.a('node.text','月故障损失电量'); Node113.a('node.textalign','left'); Node113.a('node.textvAlign','middle'); Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]); Node113.a('node.color','rgba(0,0,0,1)'); Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"'); Node113.a('node.textvisible',true); Node113.a('node.linefeed',false); if (false) { Node113.a('node.textfunc',function(g) { g.beginPath(); var str=Node113.a('node.text') || '月故障损失电量'; var color=Node113.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "Arial"', 0,g); }); } if (false) { Node113.a('node.underlinepoints',[Node113lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]); Node113.a('node.underlinevisible',false); Node113.a('node.underlineBorderWidth', 1); } dataModel.add(Node113); zoomNodeList.push({ node: Node113, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node114 = new ht.Node(); var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 110*_ratio.ratioX, Node114height = 27*_ratio.ratioY; (function () { if (Node114align === 'left') { Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9; Node114textWidth = Node114width; Node114lineStart = 1; } else if (Node114align === 'right') { Node114textStart = 0; Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2; Node114lineStart = (Node114width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node114align === 'center') { Node114textStart = -3; Node114textWidth = Node114width; Node114lineStart = Node114width - ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width - 11; } })(); Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"')) Node114.setPosition(1389*ratio.ratioX, 179*ratio.ratioY); Node114.setWidth(Node114width); Node114.setHeight(Node114height); Node114._nodeType = 'text'; Node114._disallowEvert = true; Node114.setRotation(0*Math.PI/180); Node114.a('node.width', Node114width); Node114.a('node.height', Node114height); Node114.a('node.rect', [0, 0, Node114width, Node114height]); Node114.a('node.bordercolor','rgba(0,0,0,1)'); Node114.a('node.borderwidth', 0); Node114.a('node.background','' || 'rgba(0,0,0,0)'); Node114.a('node.gradient',''); Node114.a('node.gradientcolor',''); Node114.a('node.text','月限电损失电量'); Node114.a('node.textalign','left'); Node114.a('node.textvAlign','middle'); Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]); Node114.a('node.color','rgba(0,0,0,1)'); Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"'); Node114.a('node.textvisible',true); Node114.a('node.linefeed',false); if (false) { Node114.a('node.textfunc',function(g) { g.beginPath(); var str=Node114.a('node.text') || '月限电损失电量'; var color=Node114.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,' '+ Node114fontSize + 'px "Arial"', 0,g); }); } if (false) { Node114.a('node.underlinepoints',[Node114lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]); Node114.a('node.underlinevisible',false); Node114.a('node.underlineBorderWidth', 1); } dataModel.add(Node114); zoomNodeList.push({ node: Node114, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node115 = new ht.Node(); var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'left', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 110*_ratio.ratioX, Node115height = 27*_ratio.ratioY; (function () { if (Node115align === 'left') { Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9; Node115textWidth = Node115width; Node115lineStart = 1; } else if (Node115align === 'right') { Node115textStart = 0; Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2; Node115lineStart = (Node115width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node115align === 'center') { Node115textStart = -3; Node115textWidth = Node115width; Node115lineStart = Node115width - ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width - 11; } })(); Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"')) Node115.setPosition(1391*ratio.ratioX, 202*ratio.ratioY); Node115.setWidth(Node115width); Node115.setHeight(Node115height); Node115._nodeType = 'text'; Node115._disallowEvert = true; Node115.setRotation(0*Math.PI/180); Node115.a('node.width', Node115width); Node115.a('node.height', Node115height); Node115.a('node.rect', [0, 0, Node115width, Node115height]); Node115.a('node.bordercolor','rgba(0,0,0,1)'); Node115.a('node.borderwidth', 0); Node115.a('node.background','' || 'rgba(0,0,0,0)'); Node115.a('node.gradient',''); Node115.a('node.gradientcolor',''); Node115.a('node.text','月受累损失电量'); Node115.a('node.textalign','left'); Node115.a('node.textvAlign','middle'); Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]); Node115.a('node.color','rgba(0,0,0,1)'); Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"'); Node115.a('node.textvisible',true); Node115.a('node.linefeed',false); if (false) { Node115.a('node.textfunc',function(g) { g.beginPath(); var str=Node115.a('node.text') || '月受累损失电量'; var color=Node115.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"left",color,' '+ Node115fontSize + 'px "Arial"', 0,g); }); } if (false) { Node115.a('node.underlinepoints',[Node115lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]); Node115.a('node.underlinevisible',false); Node115.a('node.underlineBorderWidth', 1); } dataModel.add(Node115); zoomNodeList.push({ node: Node115, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node116 = new ht.Node(); var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'left', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 125*_ratio.ratioX, Node116height = 27*_ratio.ratioY; (function () { if (Node116align === 'left') { Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9; Node116textWidth = Node116width; Node116lineStart = 1; } else if (Node116align === 'right') { Node116textStart = 0; Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2; Node116lineStart = (Node116width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node116align === 'center') { Node116textStart = -3; Node116textWidth = Node116width; Node116lineStart = Node116width - ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width - 11; } })(); Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"')) Node116.setPosition(1396*ratio.ratioX, 227*ratio.ratioY); Node116.setWidth(Node116width); Node116.setHeight(Node116height); Node116._nodeType = 'text'; Node116._disallowEvert = true; Node116.setRotation(0*Math.PI/180); Node116.a('node.width', Node116width); Node116.a('node.height', Node116height); Node116.a('node.rect', [0, 0, Node116width, Node116height]); Node116.a('node.bordercolor','rgba(0,0,0,1)'); Node116.a('node.borderwidth', 0); Node116.a('node.background','' || 'rgba(0,0,0,0)'); Node116.a('node.gradient',''); Node116.a('node.gradientcolor',''); Node116.a('node.text','月性能损失电量'); Node116.a('node.textalign','left'); Node116.a('node.textvAlign','middle'); Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]); Node116.a('node.color','rgba(0,0,0,1)'); Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"'); Node116.a('node.textvisible',true); Node116.a('node.linefeed',false); if (false) { Node116.a('node.textfunc',function(g) { g.beginPath(); var str=Node116.a('node.text') || '月性能损失电量'; var color=Node116.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"left",color,' '+ Node116fontSize + 'px "Arial"', 0,g); }); } if (false) { Node116.a('node.underlinepoints',[Node116lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]); Node116.a('node.underlinevisible',false); Node116.a('node.underlineBorderWidth', 1); } dataModel.add(Node116); zoomNodeList.push({ node: Node116, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node117 = new ht.Node(); var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'left', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 37*_ratio.ratioX, Node117height = 16*_ratio.ratioY; (function () { if (Node117align === 'left') { Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9; Node117textWidth = Node117width; Node117lineStart = 1; } else if (Node117align === 'right') { Node117textStart = 0; Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2; Node117lineStart = (Node117width - (ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node117align === 'center') { Node117textStart = -3; Node117textWidth = Node117width; Node117lineStart = Node117width - ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width - 11; } })(); Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, 'bold '+ Node117fontSize + 'px "Arial"')) Node117.setPosition(1486*ratio.ratioX, 128*ratio.ratioY); Node117.setWidth(Node117width); Node117.setHeight(Node117height); Node117._nodeType = 'text'; Node117._disallowEvert = true; Node117.setRotation(0*Math.PI/180); Node117.a('node.width', Node117width); Node117.a('node.height', Node117height); Node117.a('node.rect', [0, 0, Node117width, Node117height]); Node117.a('node.bordercolor','rgba(0,0,0,1)'); Node117.a('node.borderwidth', 0); Node117.a('node.background','' || 'rgba(0,0,0,0)'); Node117.a('node.gradient',''); Node117.a('node.gradientcolor',''); Node117.a('node.text','0'); Node117.a('node.textalign','left'); Node117.a('node.textvAlign','middle'); Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]); Node117.a('node.color','rgba(0,0,0,1)'); Node117.a('node.font','bold '+ Node117fontSize + 'px "Arial"'); Node117.a('node.textvisible',true); Node117.a('node.linefeed',false); if (false) { Node117.a('node.textfunc',function(g) { g.beginPath(); var str=Node117.a('node.text') || '0'; var color=Node117.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node117fontSize + 'px "Arial"', 0,g); }); } if (false) { Node117.a('node.underlinepoints',[Node117lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]); Node117.a('node.underlinevisible',false); Node117.a('node.underlineBorderWidth', 1); } dataModel.add(Node117); zoomNodeList.push({ node: Node117, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node118 = new ht.Node(); var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'left', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 37*_ratio.ratioX, Node118height = 16*_ratio.ratioY; (function () { if (Node118align === 'left') { Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9; Node118textWidth = Node118width; Node118lineStart = 1; } else if (Node118align === 'right') { Node118textStart = 0; Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2; Node118lineStart = (Node118width - (ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node118align === 'center') { Node118textStart = -3; Node118textWidth = Node118width; Node118lineStart = Node118width - ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width - 11; } })(); Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, 'bold '+ Node118fontSize + 'px "Arial"')) Node118.setPosition(1486*ratio.ratioX, 153*ratio.ratioY); Node118.setWidth(Node118width); Node118.setHeight(Node118height); Node118._nodeType = 'text'; Node118._disallowEvert = true; Node118.setRotation(0*Math.PI/180); Node118.a('node.width', Node118width); Node118.a('node.height', Node118height); Node118.a('node.rect', [0, 0, Node118width, Node118height]); Node118.a('node.bordercolor','rgba(0,0,0,1)'); Node118.a('node.borderwidth', 0); Node118.a('node.background','' || 'rgba(0,0,0,0)'); Node118.a('node.gradient',''); Node118.a('node.gradientcolor',''); Node118.a('node.text','0'); Node118.a('node.textalign','left'); Node118.a('node.textvAlign','middle'); Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]); Node118.a('node.color','rgba(0,0,0,1)'); Node118.a('node.font','bold '+ Node118fontSize + 'px "Arial"'); Node118.a('node.textvisible',true); Node118.a('node.linefeed',false); if (false) { Node118.a('node.textfunc',function(g) { g.beginPath(); var str=Node118.a('node.text') || '0'; var color=Node118.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node118fontSize + 'px "Arial"', 0,g); }); } if (false) { Node118.a('node.underlinepoints',[Node118lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]); Node118.a('node.underlinevisible',false); Node118.a('node.underlineBorderWidth', 1); } dataModel.add(Node118); zoomNodeList.push({ node: Node118, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node119 = new ht.Node(); var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'left', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 27*_ratio.ratioX, Node119height = 16*_ratio.ratioY; (function () { if (Node119align === 'left') { Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9; Node119textWidth = Node119width; Node119lineStart = 1; } else if (Node119align === 'right') { Node119textStart = 0; Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2; Node119lineStart = (Node119width - (ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node119align === 'center') { Node119textStart = -3; Node119textWidth = Node119width; Node119lineStart = Node119width - ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width - 11; } })(); Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, 'bold '+ Node119fontSize + 'px "Arial"')) Node119.setPosition(1481*ratio.ratioX, 178*ratio.ratioY); Node119.setWidth(Node119width); Node119.setHeight(Node119height); Node119._nodeType = 'text'; Node119._disallowEvert = true; Node119.setRotation(0*Math.PI/180); Node119.a('node.width', Node119width); Node119.a('node.height', Node119height); Node119.a('node.rect', [0, 0, Node119width, Node119height]); Node119.a('node.bordercolor','rgba(0,0,0,1)'); Node119.a('node.borderwidth', 0); Node119.a('node.background','' || 'rgba(0,0,0,0)'); Node119.a('node.gradient',''); Node119.a('node.gradientcolor',''); Node119.a('node.text','0'); Node119.a('node.textalign','left'); Node119.a('node.textvAlign','middle'); Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]); Node119.a('node.color','rgba(0,0,0,1)'); Node119.a('node.font','bold '+ Node119fontSize + 'px "Arial"'); Node119.a('node.textvisible',true); Node119.a('node.linefeed',false); if (false) { Node119.a('node.textfunc',function(g) { g.beginPath(); var str=Node119.a('node.text') || '0'; var color=Node119.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node119fontSize + 'px "Arial"', 0,g); }); } if (false) { Node119.a('node.underlinepoints',[Node119lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]); Node119.a('node.underlinevisible',false); Node119.a('node.underlineBorderWidth', 1); } dataModel.add(Node119); zoomNodeList.push({ node: Node119, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node120 = new ht.Node(); var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'left', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 37*_ratio.ratioX, Node120height = 16*_ratio.ratioY; (function () { if (Node120align === 'left') { Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9; Node120textWidth = Node120width; Node120lineStart = 1; } else if (Node120align === 'right') { Node120textStart = 0; Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2; Node120lineStart = (Node120width - (ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node120align === 'center') { Node120textStart = -3; Node120textWidth = Node120width; Node120lineStart = Node120width - ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width - 11; } })(); Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, 'bold '+ Node120fontSize + 'px "Arial"')) Node120.setPosition(1500*ratio.ratioX, 202*ratio.ratioY); Node120.setWidth(Node120width); Node120.setHeight(Node120height); Node120._nodeType = 'text'; Node120._disallowEvert = true; Node120.setRotation(0*Math.PI/180); Node120.a('node.width', Node120width); Node120.a('node.height', Node120height); Node120.a('node.rect', [0, 0, Node120width, Node120height]); Node120.a('node.bordercolor','rgba(0,0,0,1)'); Node120.a('node.borderwidth', 0); Node120.a('node.background','' || 'rgba(0,0,0,0)'); Node120.a('node.gradient',''); Node120.a('node.gradientcolor',''); Node120.a('node.text','-'); Node120.a('node.textalign','left'); Node120.a('node.textvAlign','middle'); Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]); Node120.a('node.color','rgba(0,0,0,1)'); Node120.a('node.font','bold '+ Node120fontSize + 'px "Arial"'); Node120.a('node.textvisible',true); Node120.a('node.linefeed',false); if (false) { Node120.a('node.textfunc',function(g) { g.beginPath(); var str=Node120.a('node.text') || '-'; var color=Node120.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node120fontSize + 'px "Arial"', 0,g); }); } if (false) { Node120.a('node.underlinepoints',[Node120lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]); Node120.a('node.underlinevisible',false); Node120.a('node.underlineBorderWidth', 1); } dataModel.add(Node120); zoomNodeList.push({ node: Node120, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node121 = new ht.Node(); var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'left', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 47*_ratio.ratioX, Node121height = 17*_ratio.ratioY; (function () { if (Node121align === 'left') { Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9; Node121textWidth = Node121width; Node121lineStart = 1; } else if (Node121align === 'right') { Node121textStart = 0; Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2; Node121lineStart = (Node121width - (ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node121align === 'center') { Node121textStart = -3; Node121textWidth = Node121width; Node121lineStart = Node121width - ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width - 11; } })(); Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"')) Node121.setPosition(1554*ratio.ratioX, 128*ratio.ratioY); Node121.setWidth(Node121width); Node121.setHeight(Node121height); Node121._nodeType = 'text'; Node121._disallowEvert = true; Node121.setRotation(0*Math.PI/180); Node121.a('node.width', Node121width); Node121.a('node.height', Node121height); Node121.a('node.rect', [0, 0, Node121width, Node121height]); Node121.a('node.bordercolor','rgba(169,169,169,1)'); Node121.a('node.borderwidth', 0); Node121.a('node.background','' || 'rgba(0,0,0,0)'); Node121.a('node.gradient',''); Node121.a('node.gradientcolor',''); Node121.a('node.text','万kW'); Node121.a('node.textalign','left'); Node121.a('node.textvAlign','middle'); Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]); Node121.a('node.color','rgba(169,169,169,1)'); Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"'); Node121.a('node.textvisible',true); Node121.a('node.linefeed',false); if (false) { Node121.a('node.textfunc',function(g) { g.beginPath(); var str=Node121.a('node.text') || '万kW'; var color=Node121.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g); }); } if (false) { Node121.a('node.underlinepoints',[Node121lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]); Node121.a('node.underlinevisible',false); Node121.a('node.underlineBorderWidth', 1); } dataModel.add(Node121); zoomNodeList.push({ node: Node121, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node122 = new ht.Node(); var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'left', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 37*_ratio.ratioX, Node122height = 16*_ratio.ratioY; (function () { if (Node122align === 'left') { Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9; Node122textWidth = Node122width; Node122lineStart = 1; } else if (Node122align === 'right') { Node122textStart = 0; Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2; Node122lineStart = (Node122width - (ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node122align === 'center') { Node122textStart = -3; Node122textWidth = Node122width; Node122lineStart = Node122width - ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width - 11; } })(); Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, 'bold '+ Node122fontSize + 'px "Arial"')) Node122.setPosition(1500*ratio.ratioX, 227*ratio.ratioY); Node122.setWidth(Node122width); Node122.setHeight(Node122height); Node122._nodeType = 'text'; Node122._disallowEvert = true; Node122.setRotation(0*Math.PI/180); Node122.a('node.width', Node122width); Node122.a('node.height', Node122height); Node122.a('node.rect', [0, 0, Node122width, Node122height]); Node122.a('node.bordercolor','rgba(0,0,0,1)'); Node122.a('node.borderwidth', 0); Node122.a('node.background','' || 'rgba(0,0,0,0)'); Node122.a('node.gradient',''); Node122.a('node.gradientcolor',''); Node122.a('node.text','-'); Node122.a('node.textalign','left'); Node122.a('node.textvAlign','middle'); Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]); Node122.a('node.color','rgba(0,0,0,1)'); Node122.a('node.font','bold '+ Node122fontSize + 'px "Arial"'); Node122.a('node.textvisible',true); Node122.a('node.linefeed',false); if (false) { Node122.a('node.textfunc',function(g) { g.beginPath(); var str=Node122.a('node.text') || '-'; var color=Node122.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node122fontSize + 'px "Arial"', 0,g); }); } if (false) { Node122.a('node.underlinepoints',[Node122lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]); Node122.a('node.underlinevisible',false); Node122.a('node.underlineBorderWidth', 1); } dataModel.add(Node122); zoomNodeList.push({ node: Node122, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node123 = new ht.Node(); var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'left', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 47*_ratio.ratioX, Node123height = 17*_ratio.ratioY; (function () { if (Node123align === 'left') { Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9; Node123textWidth = Node123width; Node123lineStart = 1; } else if (Node123align === 'right') { Node123textStart = 0; Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2; Node123lineStart = (Node123width - (ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node123align === 'center') { Node123textStart = -3; Node123textWidth = Node123width; Node123lineStart = Node123width - ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width - 11; } })(); Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"')) Node123.setPosition(1554*ratio.ratioX, 154*ratio.ratioY); Node123.setWidth(Node123width); Node123.setHeight(Node123height); Node123._nodeType = 'text'; Node123._disallowEvert = true; Node123.setRotation(0*Math.PI/180); Node123.a('node.width', Node123width); Node123.a('node.height', Node123height); Node123.a('node.rect', [0, 0, Node123width, Node123height]); Node123.a('node.bordercolor','rgba(169,169,169,1)'); Node123.a('node.borderwidth', 0); Node123.a('node.background','' || 'rgba(0,0,0,0)'); Node123.a('node.gradient',''); Node123.a('node.gradientcolor',''); Node123.a('node.text','万kW'); Node123.a('node.textalign','left'); Node123.a('node.textvAlign','middle'); Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]); Node123.a('node.color','rgba(169,169,169,1)'); Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"'); Node123.a('node.textvisible',true); Node123.a('node.linefeed',false); if (false) { Node123.a('node.textfunc',function(g) { g.beginPath(); var str=Node123.a('node.text') || '万kW'; var color=Node123.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"left",color,' '+ Node123fontSize + 'px "Arial"', 0,g); }); } if (false) { Node123.a('node.underlinepoints',[Node123lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]); Node123.a('node.underlinevisible',false); Node123.a('node.underlineBorderWidth', 1); } dataModel.add(Node123); zoomNodeList.push({ node: Node123, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node124 = new ht.Node(); var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 47*_ratio.ratioX, Node124height = 17*_ratio.ratioY; (function () { if (Node124align === 'left') { Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9; Node124textWidth = Node124width; Node124lineStart = 1; } else if (Node124align === 'right') { Node124textStart = 0; Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2; Node124lineStart = (Node124width - (ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node124align === 'center') { Node124textStart = -3; Node124textWidth = Node124width; Node124lineStart = Node124width - ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width - 11; } })(); Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"')) Node124.setPosition(1554*ratio.ratioX, 179*ratio.ratioY); Node124.setWidth(Node124width); Node124.setHeight(Node124height); Node124._nodeType = 'text'; Node124._disallowEvert = true; Node124.setRotation(0*Math.PI/180); Node124.a('node.width', Node124width); Node124.a('node.height', Node124height); Node124.a('node.rect', [0, 0, Node124width, Node124height]); Node124.a('node.bordercolor','rgba(169,169,169,1)'); Node124.a('node.borderwidth', 0); Node124.a('node.background','' || 'rgba(0,0,0,0)'); Node124.a('node.gradient',''); Node124.a('node.gradientcolor',''); Node124.a('node.text','万kW'); Node124.a('node.textalign','left'); Node124.a('node.textvAlign','middle'); Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]); Node124.a('node.color','rgba(169,169,169,1)'); Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"'); Node124.a('node.textvisible',true); Node124.a('node.linefeed',false); if (false) { Node124.a('node.textfunc',function(g) { g.beginPath(); var str=Node124.a('node.text') || '万kW'; var color=Node124.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g); }); } if (false) { Node124.a('node.underlinepoints',[Node124lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]); Node124.a('node.underlinevisible',false); Node124.a('node.underlineBorderWidth', 1); } dataModel.add(Node124); zoomNodeList.push({ node: Node124, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node125 = new ht.Node(); var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 47*_ratio.ratioX, Node125height = 17*_ratio.ratioY; (function () { if (Node125align === 'left') { Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9; Node125textWidth = Node125width; Node125lineStart = 1; } else if (Node125align === 'right') { Node125textStart = 0; Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2; Node125lineStart = (Node125width - (ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node125align === 'center') { Node125textStart = -3; Node125textWidth = Node125width; Node125lineStart = Node125width - ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width - 11; } })(); Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"')) Node125.setPosition(1554*ratio.ratioX, 206*ratio.ratioY); Node125.setWidth(Node125width); Node125.setHeight(Node125height); Node125._nodeType = 'text'; Node125._disallowEvert = true; Node125.setRotation(0*Math.PI/180); Node125.a('node.width', Node125width); Node125.a('node.height', Node125height); Node125.a('node.rect', [0, 0, Node125width, Node125height]); Node125.a('node.bordercolor','rgba(169,169,169,1)'); Node125.a('node.borderwidth', 0); Node125.a('node.background','' || 'rgba(0,0,0,0)'); Node125.a('node.gradient',''); Node125.a('node.gradientcolor',''); Node125.a('node.text','万kW'); Node125.a('node.textalign','left'); Node125.a('node.textvAlign','middle'); Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]); Node125.a('node.color','rgba(169,169,169,1)'); Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"'); Node125.a('node.textvisible',true); Node125.a('node.linefeed',false); if (false) { Node125.a('node.textfunc',function(g) { g.beginPath(); var str=Node125.a('node.text') || '万kW'; var color=Node125.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g); }); } if (false) { Node125.a('node.underlinepoints',[Node125lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]); Node125.a('node.underlinevisible',false); Node125.a('node.underlineBorderWidth', 1); } dataModel.add(Node125); zoomNodeList.push({ node: Node125, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node126 = new ht.Node(); var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 47*_ratio.ratioX, Node126height = 17*_ratio.ratioY; (function () { if (Node126align === 'left') { Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9; Node126textWidth = Node126width; Node126lineStart = 1; } else if (Node126align === 'right') { Node126textStart = 0; Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2; Node126lineStart = (Node126width - (ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node126align === 'center') { Node126textStart = -3; Node126textWidth = Node126width; Node126lineStart = Node126width - ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width - 11; } })(); Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"')) Node126.setPosition(1553*ratio.ratioX, 228*ratio.ratioY); Node126.setWidth(Node126width); Node126.setHeight(Node126height); Node126._nodeType = 'text'; Node126._disallowEvert = true; Node126.setRotation(0*Math.PI/180); Node126.a('node.width', Node126width); Node126.a('node.height', Node126height); Node126.a('node.rect', [0, 0, Node126width, Node126height]); Node126.a('node.bordercolor','rgba(169,169,169,1)'); Node126.a('node.borderwidth', 0); Node126.a('node.background','' || 'rgba(0,0,0,0)'); Node126.a('node.gradient',''); Node126.a('node.gradientcolor',''); Node126.a('node.text','万kW'); Node126.a('node.textalign','left'); Node126.a('node.textvAlign','middle'); Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]); Node126.a('node.color','rgba(169,169,169,1)'); Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"'); Node126.a('node.textvisible',true); Node126.a('node.linefeed',false); if (false) { Node126.a('node.textfunc',function(g) { g.beginPath(); var str=Node126.a('node.text') || '万kW'; var color=Node126.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g); }); } if (false) { Node126.a('node.underlinepoints',[Node126lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]); Node126.a('node.underlinevisible',false); Node126.a('node.underlineBorderWidth', 1); } dataModel.add(Node126); zoomNodeList.push({ node: Node126, borderWidth: 0, attr: 'node.borderwidth' }); var Node127points=[1332, 142,1609, 142], Node127rect=ht.Default.unionPoint([{x:1332,y:142},{x:1609,y:142}]), Node127compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9; Node134textWidth = Node134width; Node134lineStart = 1; } else if (Node134align === 'right') { Node134textStart = 0; Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2; Node134lineStart = (Node134width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node134align === 'center') { Node134textStart = -3; Node134textWidth = Node134width; Node134lineStart = Node134width - ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width - 11; } })(); Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"')) Node134.setPosition(1676*ratio.ratioX, 129*ratio.ratioY); Node134.setWidth(Node134width); Node134.setHeight(Node134height); Node134._nodeType = 'text'; Node134._disallowEvert = true; Node134.setRotation(0*Math.PI/180); Node134.a('node.width', Node134width); Node134.a('node.height', Node134height); Node134.a('node.rect', [0, 0, Node134width, Node134height]); Node134.a('node.bordercolor','rgba(0,0,0,1)'); Node134.a('node.borderwidth', 0); Node134.a('node.background','' || 'rgba(0,0,0,0)'); Node134.a('node.gradient',''); Node134.a('node.gradientcolor',''); Node134.a('node.text','年维护损失电量'); Node134.a('node.textalign','left'); Node134.a('node.textvAlign','middle'); Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]); Node134.a('node.color','rgba(0,0,0,1)'); Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"'); Node134.a('node.textvisible',true); Node134.a('node.linefeed',false); if (false) { Node134.a('node.textfunc',function(g) { g.beginPath(); var str=Node134.a('node.text') || '年维护损失电量'; var color=Node134.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "Arial"', 0,g); }); } if (false) { Node134.a('node.underlinepoints',[Node134lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]); Node134.a('node.underlinevisible',false); Node134.a('node.underlineBorderWidth', 1); } dataModel.add(Node134); zoomNodeList.push({ node: Node134, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node135 = new ht.Node(); var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 110*_ratio.ratioX, Node135height = 27*_ratio.ratioY; (function () { if (Node135align === 'left') { Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9; Node135textWidth = Node135width; Node135lineStart = 1; } else if (Node135align === 'right') { Node135textStart = 0; Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2; Node135lineStart = (Node135width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node135align === 'center') { Node135textStart = -3; Node135textWidth = Node135width; Node135lineStart = Node135width - ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width - 11; } })(); Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"')) Node135.setPosition(1676*ratio.ratioX, 155*ratio.ratioY); Node135.setWidth(Node135width); Node135.setHeight(Node135height); Node135._nodeType = 'text'; Node135._disallowEvert = true; Node135.setRotation(0*Math.PI/180); Node135.a('node.width', Node135width); Node135.a('node.height', Node135height); Node135.a('node.rect', [0, 0, Node135width, Node135height]); Node135.a('node.bordercolor','rgba(0,0,0,1)'); Node135.a('node.borderwidth', 0); Node135.a('node.background','' || 'rgba(0,0,0,0)'); Node135.a('node.gradient',''); Node135.a('node.gradientcolor',''); Node135.a('node.text','年故障损失电量'); Node135.a('node.textalign','left'); Node135.a('node.textvAlign','middle'); Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]); Node135.a('node.color','rgba(0,0,0,1)'); Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"'); Node135.a('node.textvisible',true); Node135.a('node.linefeed',false); if (false) { Node135.a('node.textfunc',function(g) { g.beginPath(); var str=Node135.a('node.text') || '年故障损失电量'; var color=Node135.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "Arial"', 0,g); }); } if (false) { Node135.a('node.underlinepoints',[Node135lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]); Node135.a('node.underlinevisible',false); Node135.a('node.underlineBorderWidth', 1); } dataModel.add(Node135); zoomNodeList.push({ node: Node135, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node136 = new ht.Node(); var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 110*_ratio.ratioX, Node136height = 27*_ratio.ratioY; (function () { if (Node136align === 'left') { Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9; Node136textWidth = Node136width; Node136lineStart = 1; } else if (Node136align === 'right') { Node136textStart = 0; Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2; Node136lineStart = (Node136width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node136align === 'center') { Node136textStart = -3; Node136textWidth = Node136width; Node136lineStart = Node136width - ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width - 11; } })(); Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"')) Node136.setPosition(1676*ratio.ratioX, 179*ratio.ratioY); Node136.setWidth(Node136width); Node136.setHeight(Node136height); Node136._nodeType = 'text'; Node136._disallowEvert = true; Node136.setRotation(0*Math.PI/180); Node136.a('node.width', Node136width); Node136.a('node.height', Node136height); Node136.a('node.rect', [0, 0, Node136width, Node136height]); Node136.a('node.bordercolor','rgba(0,0,0,1)'); Node136.a('node.borderwidth', 0); Node136.a('node.background','' || 'rgba(0,0,0,0)'); Node136.a('node.gradient',''); Node136.a('node.gradientcolor',''); Node136.a('node.text','年限电损失电量'); Node136.a('node.textalign','left'); Node136.a('node.textvAlign','middle'); Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]); Node136.a('node.color','rgba(0,0,0,1)'); Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"'); Node136.a('node.textvisible',true); Node136.a('node.linefeed',false); if (false) { Node136.a('node.textfunc',function(g) { g.beginPath(); var str=Node136.a('node.text') || '年限电损失电量'; var color=Node136.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "Arial"', 0,g); }); } if (false) { Node136.a('node.underlinepoints',[Node136lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]); Node136.a('node.underlinevisible',false); Node136.a('node.underlineBorderWidth', 1); } dataModel.add(Node136); zoomNodeList.push({ node: Node136, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node137 = new ht.Node(); var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 110*_ratio.ratioX, Node137height = 27*_ratio.ratioY; (function () { if (Node137align === 'left') { Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9; Node137textWidth = Node137width; Node137lineStart = 1; } else if (Node137align === 'right') { Node137textStart = 0; Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2; Node137lineStart = (Node137width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node137align === 'center') { Node137textStart = -3; Node137textWidth = Node137width; Node137lineStart = Node137width - ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width - 11; } })(); Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"')) Node137.setPosition(1677*ratio.ratioX, 202*ratio.ratioY); Node137.setWidth(Node137width); Node137.setHeight(Node137height); Node137._nodeType = 'text'; Node137._disallowEvert = true; Node137.setRotation(0*Math.PI/180); Node137.a('node.width', Node137width); Node137.a('node.height', Node137height); Node137.a('node.rect', [0, 0, Node137width, Node137height]); Node137.a('node.bordercolor','rgba(0,0,0,1)'); Node137.a('node.borderwidth', 0); Node137.a('node.background','' || 'rgba(0,0,0,0)'); Node137.a('node.gradient',''); Node137.a('node.gradientcolor',''); Node137.a('node.text','年受累损失电量'); Node137.a('node.textalign','left'); Node137.a('node.textvAlign','middle'); Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]); Node137.a('node.color','rgba(0,0,0,1)'); Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"'); Node137.a('node.textvisible',true); Node137.a('node.linefeed',false); if (false) { Node137.a('node.textfunc',function(g) { g.beginPath(); var str=Node137.a('node.text') || '年受累损失电量'; var color=Node137.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g); }); } if (false) { Node137.a('node.underlinepoints',[Node137lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]); Node137.a('node.underlinevisible',false); Node137.a('node.underlineBorderWidth', 1); } dataModel.add(Node137); zoomNodeList.push({ node: Node137, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node138 = new ht.Node(); var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 125*_ratio.ratioX, Node138height = 27*_ratio.ratioY; (function () { if (Node138align === 'left') { Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9; Node138textWidth = Node138width; Node138lineStart = 1; } else if (Node138align === 'right') { Node138textStart = 0; Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2; Node138lineStart = (Node138width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node138align === 'center') { Node138textStart = -3; Node138textWidth = Node138width; Node138lineStart = Node138width - ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width - 11; } })(); Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"')) Node138.setPosition(1682*ratio.ratioX, 227*ratio.ratioY); Node138.setWidth(Node138width); Node138.setHeight(Node138height); Node138._nodeType = 'text'; Node138._disallowEvert = true; Node138.setRotation(0*Math.PI/180); Node138.a('node.width', Node138width); Node138.a('node.height', Node138height); Node138.a('node.rect', [0, 0, Node138width, Node138height]); Node138.a('node.bordercolor','rgba(0,0,0,1)'); Node138.a('node.borderwidth', 0); Node138.a('node.background','' || 'rgba(0,0,0,0)'); Node138.a('node.gradient',''); Node138.a('node.gradientcolor',''); Node138.a('node.text','年性能损失电量'); Node138.a('node.textalign','left'); Node138.a('node.textvAlign','middle'); Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]); Node138.a('node.color','rgba(0,0,0,1)'); Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"'); Node138.a('node.textvisible',true); Node138.a('node.linefeed',false); if (false) { Node138.a('node.textfunc',function(g) { g.beginPath(); var str=Node138.a('node.text') || '年性能损失电量'; var color=Node138.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g); }); } if (false) { Node138.a('node.underlinepoints',[Node138lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]); Node138.a('node.underlinevisible',false); Node138.a('node.underlineBorderWidth', 1); } dataModel.add(Node138); zoomNodeList.push({ node: Node138, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node139 = new ht.Node(); var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'left', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 37*_ratio.ratioX, Node139height = 16*_ratio.ratioY; (function () { if (Node139align === 'left') { Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9; Node139textWidth = Node139width; Node139lineStart = 1; } else if (Node139align === 'right') { Node139textStart = 0; Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2; Node139lineStart = (Node139width - (ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node139align === 'center') { Node139textStart = -3; Node139textWidth = Node139width; Node139lineStart = Node139width - ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width - 11; } })(); Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, 'bold '+ Node139fontSize + 'px "Arial"')) Node139.setPosition(1772*ratio.ratioX, 129*ratio.ratioY); Node139.setWidth(Node139width); Node139.setHeight(Node139height); Node139._nodeType = 'text'; Node139._disallowEvert = true; Node139.setRotation(0*Math.PI/180); Node139.a('node.width', Node139width); Node139.a('node.height', Node139height); Node139.a('node.rect', [0, 0, Node139width, Node139height]); Node139.a('node.bordercolor','rgba(0,0,0,1)'); Node139.a('node.borderwidth', 0); Node139.a('node.background','' || 'rgba(0,0,0,0)'); Node139.a('node.gradient',''); Node139.a('node.gradientcolor',''); Node139.a('node.text','0'); Node139.a('node.textalign','left'); Node139.a('node.textvAlign','middle'); Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]); Node139.a('node.color','rgba(0,0,0,1)'); Node139.a('node.font','bold '+ Node139fontSize + 'px "Arial"'); Node139.a('node.textvisible',true); Node139.a('node.linefeed',false); if (false) { Node139.a('node.textfunc',function(g) { g.beginPath(); var str=Node139.a('node.text') || '0'; var color=Node139.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node139fontSize + 'px "Arial"', 0,g); }); } if (false) { Node139.a('node.underlinepoints',[Node139lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]); Node139.a('node.underlinevisible',false); Node139.a('node.underlineBorderWidth', 1); } dataModel.add(Node139); zoomNodeList.push({ node: Node139, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node140 = new ht.Node(); var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'left', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 37*_ratio.ratioX, Node140height = 16*_ratio.ratioY; (function () { if (Node140align === 'left') { Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9; Node140textWidth = Node140width; Node140lineStart = 1; } else if (Node140align === 'right') { Node140textStart = 0; Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2; Node140lineStart = (Node140width - (ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node140align === 'center') { Node140textStart = -3; Node140textWidth = Node140width; Node140lineStart = Node140width - ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width - 11; } })(); Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, 'bold '+ Node140fontSize + 'px "Arial"')) Node140.setPosition(1772*ratio.ratioX, 153*ratio.ratioY); Node140.setWidth(Node140width); Node140.setHeight(Node140height); Node140._nodeType = 'text'; Node140._disallowEvert = true; Node140.setRotation(0*Math.PI/180); Node140.a('node.width', Node140width); Node140.a('node.height', Node140height); Node140.a('node.rect', [0, 0, Node140width, Node140height]); Node140.a('node.bordercolor','rgba(0,0,0,1)'); Node140.a('node.borderwidth', 0); Node140.a('node.background','' || 'rgba(0,0,0,0)'); Node140.a('node.gradient',''); Node140.a('node.gradientcolor',''); Node140.a('node.text','0'); Node140.a('node.textalign','left'); Node140.a('node.textvAlign','middle'); Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]); Node140.a('node.color','rgba(0,0,0,1)'); Node140.a('node.font','bold '+ Node140fontSize + 'px "Arial"'); Node140.a('node.textvisible',true); Node140.a('node.linefeed',false); if (false) { Node140.a('node.textfunc',function(g) { g.beginPath(); var str=Node140.a('node.text') || '0'; var color=Node140.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node140fontSize + 'px "Arial"', 0,g); }); } if (false) { Node140.a('node.underlinepoints',[Node140lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]); Node140.a('node.underlinevisible',false); Node140.a('node.underlineBorderWidth', 1); } dataModel.add(Node140); zoomNodeList.push({ node: Node140, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node141 = new ht.Node(); var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 27*_ratio.ratioX, Node141height = 16*_ratio.ratioY; (function () { if (Node141align === 'left') { Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9; Node141textWidth = Node141width; Node141lineStart = 1; } else if (Node141align === 'right') { Node141textStart = 0; Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2; Node141lineStart = (Node141width - (ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node141align === 'center') { Node141textStart = -3; Node141textWidth = Node141width; Node141lineStart = Node141width - ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width - 11; } })(); Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, 'bold '+ Node141fontSize + 'px "Arial"')) Node141.setPosition(1767*ratio.ratioX, 178*ratio.ratioY); Node141.setWidth(Node141width); Node141.setHeight(Node141height); Node141._nodeType = 'text'; Node141._disallowEvert = true; Node141.setRotation(0*Math.PI/180); Node141.a('node.width', Node141width); Node141.a('node.height', Node141height); Node141.a('node.rect', [0, 0, Node141width, Node141height]); Node141.a('node.bordercolor','rgba(0,0,0,1)'); Node141.a('node.borderwidth', 0); Node141.a('node.background','' || 'rgba(0,0,0,0)'); Node141.a('node.gradient',''); Node141.a('node.gradientcolor',''); Node141.a('node.text','0'); Node141.a('node.textalign','left'); Node141.a('node.textvAlign','middle'); Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]); Node141.a('node.color','rgba(0,0,0,1)'); Node141.a('node.font','bold '+ Node141fontSize + 'px "Arial"'); Node141.a('node.textvisible',true); Node141.a('node.linefeed',false); if (false) { Node141.a('node.textfunc',function(g) { g.beginPath(); var str=Node141.a('node.text') || '0'; var color=Node141.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node141fontSize + 'px "Arial"', 0,g); }); } if (false) { Node141.a('node.underlinepoints',[Node141lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]); Node141.a('node.underlinevisible',false); Node141.a('node.underlineBorderWidth', 1); } dataModel.add(Node141); zoomNodeList.push({ node: Node141, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node142 = new ht.Node(); var Node142textStart, Node142textWidth, Node142lineStart, Node142align = 'left', Node142fontSize = 13.3333*_ratio.ratioY,Node142width = 37*_ratio.ratioX, Node142height = 16*_ratio.ratioY; (function () { if (Node142align === 'left') { Node142textStart = Node142fontSize * 0.2 > 2 ? Node142fontSize * 0.2 - 4 : Node142fontSize * 0.2 - 9; Node142textWidth = Node142width; Node142lineStart = 1; } else if (Node142align === 'right') { Node142textStart = 0; Node142textWidth =Node142fontSize <= 8 ? Node142width + Node142fontSize * 0.2 + 6 : Node142width - Node142fontSize * 0.2; Node142lineStart = (Node142width - (ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node142align === 'center') { Node142textStart = -3; Node142textWidth = Node142width; Node142lineStart = Node142width - ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width - 11; } })(); Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, 'bold '+ Node142fontSize + 'px "Arial"')) Node142.setPosition(1786*ratio.ratioX, 202*ratio.ratioY); Node142.setWidth(Node142width); Node142.setHeight(Node142height); Node142._nodeType = 'text'; Node142._disallowEvert = true; Node142.setRotation(0*Math.PI/180); Node142.a('node.width', Node142width); Node142.a('node.height', Node142height); Node142.a('node.rect', [0, 0, Node142width, Node142height]); Node142.a('node.bordercolor','rgba(0,0,0,1)'); Node142.a('node.borderwidth', 0); Node142.a('node.background','' || 'rgba(0,0,0,0)'); Node142.a('node.gradient',''); Node142.a('node.gradientcolor',''); Node142.a('node.text','-'); Node142.a('node.textalign','left'); Node142.a('node.textvAlign','middle'); Node142.a('node.textrect', [Node142textStart, 0, Node142textWidth, Node142height]); Node142.a('node.color','rgba(0,0,0,1)'); Node142.a('node.font','bold '+ Node142fontSize + 'px "Arial"'); Node142.a('node.textvisible',true); Node142.a('node.linefeed',false); if (false) { Node142.a('node.textfunc',function(g) { g.beginPath(); var str=Node142.a('node.text') || '-'; var color=Node142.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node142width,Node142height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node142fontSize + 'px "Arial"', 0,g); }); } if (false) { Node142.a('node.underlinepoints',[Node142lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]); Node142.a('node.underlinevisible',false); Node142.a('node.underlineBorderWidth', 1); } dataModel.add(Node142); zoomNodeList.push({ node: Node142, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node143 = new ht.Node(); var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 47*_ratio.ratioX, Node143height = 17*_ratio.ratioY; (function () { if (Node143align === 'left') { Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9; Node143textWidth = Node143width; Node143lineStart = 1; } else if (Node143align === 'right') { Node143textStart = 0; Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2; Node143lineStart = (Node143width - (ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node143align === 'center') { Node143textStart = -3; Node143textWidth = Node143width; Node143lineStart = Node143width - ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width - 11; } })(); Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"')) Node143.setPosition(1840*ratio.ratioX, 128*ratio.ratioY); Node143.setWidth(Node143width); Node143.setHeight(Node143height); Node143._nodeType = 'text'; Node143._disallowEvert = true; Node143.setRotation(0*Math.PI/180); Node143.a('node.width', Node143width); Node143.a('node.height', Node143height); Node143.a('node.rect', [0, 0, Node143width, Node143height]); Node143.a('node.bordercolor','rgba(169,169,169,1)'); Node143.a('node.borderwidth', 0); Node143.a('node.background','' || 'rgba(0,0,0,0)'); Node143.a('node.gradient',''); Node143.a('node.gradientcolor',''); Node143.a('node.text','万kW'); Node143.a('node.textalign','left'); Node143.a('node.textvAlign','middle'); Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]); Node143.a('node.color','rgba(169,169,169,1)'); Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"'); Node143.a('node.textvisible',true); Node143.a('node.linefeed',false); if (false) { Node143.a('node.textfunc',function(g) { g.beginPath(); var str=Node143.a('node.text') || '万kW'; var color=Node143.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"left",color,' '+ Node143fontSize + 'px "Arial"', 0,g); }); } if (false) { Node143.a('node.underlinepoints',[Node143lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]); Node143.a('node.underlinevisible',false); Node143.a('node.underlineBorderWidth', 1); } dataModel.add(Node143); zoomNodeList.push({ node: Node143, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node144 = new ht.Node(); var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'left', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 37*_ratio.ratioX, Node144height = 16*_ratio.ratioY; (function () { if (Node144align === 'left') { Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9; Node144textWidth = Node144width; Node144lineStart = 1; } else if (Node144align === 'right') { Node144textStart = 0; Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2; Node144lineStart = (Node144width - (ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node144align === 'center') { Node144textStart = -3; Node144textWidth = Node144width; Node144lineStart = Node144width - ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width - 11; } })(); Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, 'bold '+ Node144fontSize + 'px "Arial"')) Node144.setPosition(1786*ratio.ratioX, 227*ratio.ratioY); Node144.setWidth(Node144width); Node144.setHeight(Node144height); Node144._nodeType = 'text'; Node144._disallowEvert = true; Node144.setRotation(0*Math.PI/180); Node144.a('node.width', Node144width); Node144.a('node.height', Node144height); Node144.a('node.rect', [0, 0, Node144width, Node144height]); Node144.a('node.bordercolor','rgba(0,0,0,1)'); Node144.a('node.borderwidth', 0); Node144.a('node.background','' || 'rgba(0,0,0,0)'); Node144.a('node.gradient',''); Node144.a('node.gradientcolor',''); Node144.a('node.text','-'); Node144.a('node.textalign','left'); Node144.a('node.textvAlign','middle'); Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]); Node144.a('node.color','rgba(0,0,0,1)'); Node144.a('node.font','bold '+ Node144fontSize + 'px "Arial"'); Node144.a('node.textvisible',true); Node144.a('node.linefeed',false); if (false) { Node144.a('node.textfunc',function(g) { g.beginPath(); var str=Node144.a('node.text') || '-'; var color=Node144.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node144fontSize + 'px "Arial"', 0,g); }); } if (false) { Node144.a('node.underlinepoints',[Node144lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]); Node144.a('node.underlinevisible',false); Node144.a('node.underlineBorderWidth', 1); } dataModel.add(Node144); zoomNodeList.push({ node: Node144, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node145 = new ht.Node(); var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 47*_ratio.ratioX, Node145height = 17*_ratio.ratioY; (function () { if (Node145align === 'left') { Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9; Node145textWidth = Node145width; Node145lineStart = 1; } else if (Node145align === 'right') { Node145textStart = 0; Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2; Node145lineStart = (Node145width - (ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node145align === 'center') { Node145textStart = -3; Node145textWidth = Node145width; Node145lineStart = Node145width - ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width - 11; } })(); Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"')) Node145.setPosition(1840*ratio.ratioX, 154*ratio.ratioY); Node145.setWidth(Node145width); Node145.setHeight(Node145height); Node145._nodeType = 'text'; Node145._disallowEvert = true; Node145.setRotation(0*Math.PI/180); Node145.a('node.width', Node145width); Node145.a('node.height', Node145height); Node145.a('node.rect', [0, 0, Node145width, Node145height]); Node145.a('node.bordercolor','rgba(169,169,169,1)'); Node145.a('node.borderwidth', 0); Node145.a('node.background','' || 'rgba(0,0,0,0)'); Node145.a('node.gradient',''); Node145.a('node.gradientcolor',''); Node145.a('node.text','万kW'); Node145.a('node.textalign','left'); Node145.a('node.textvAlign','middle'); Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]); Node145.a('node.color','rgba(169,169,169,1)'); Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"'); Node145.a('node.textvisible',true); Node145.a('node.linefeed',false); if (false) { Node145.a('node.textfunc',function(g) { g.beginPath(); var str=Node145.a('node.text') || '万kW'; var color=Node145.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"left",color,' '+ Node145fontSize + 'px "Arial"', 0,g); }); } if (false) { Node145.a('node.underlinepoints',[Node145lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]); Node145.a('node.underlinevisible',false); Node145.a('node.underlineBorderWidth', 1); } dataModel.add(Node145); zoomNodeList.push({ node: Node145, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node146 = new ht.Node(); var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'left', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 47*_ratio.ratioX, Node146height = 17*_ratio.ratioY; (function () { if (Node146align === 'left') { Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9; Node146textWidth = Node146width; Node146lineStart = 1; } else if (Node146align === 'right') { Node146textStart = 0; Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2; Node146lineStart = (Node146width - (ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node146align === 'center') { Node146textStart = -3; Node146textWidth = Node146width; Node146lineStart = Node146width - ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width - 11; } })(); Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"')) Node146.setPosition(1840*ratio.ratioX, 179*ratio.ratioY); Node146.setWidth(Node146width); Node146.setHeight(Node146height); Node146._nodeType = 'text'; Node146._disallowEvert = true; Node146.setRotation(0*Math.PI/180); Node146.a('node.width', Node146width); Node146.a('node.height', Node146height); Node146.a('node.rect', [0, 0, Node146width, Node146height]); Node146.a('node.bordercolor','rgba(169,169,169,1)'); Node146.a('node.borderwidth', 0); Node146.a('node.background','' || 'rgba(0,0,0,0)'); Node146.a('node.gradient',''); Node146.a('node.gradientcolor',''); Node146.a('node.text','万kW'); Node146.a('node.textalign','left'); Node146.a('node.textvAlign','middle'); Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]); Node146.a('node.color','rgba(169,169,169,1)'); Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"'); Node146.a('node.textvisible',true); Node146.a('node.linefeed',false); if (false) { Node146.a('node.textfunc',function(g) { g.beginPath(); var str=Node146.a('node.text') || '万kW'; var color=Node146.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"left",color,' '+ Node146fontSize + 'px "Arial"', 0,g); }); } if (false) { Node146.a('node.underlinepoints',[Node146lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]); Node146.a('node.underlinevisible',false); Node146.a('node.underlineBorderWidth', 1); } dataModel.add(Node146); zoomNodeList.push({ node: Node146, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node147 = new ht.Node(); var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'left', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 47*_ratio.ratioX, Node147height = 17*_ratio.ratioY; (function () { if (Node147align === 'left') { Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9; Node147textWidth = Node147width; Node147lineStart = 1; } else if (Node147align === 'right') { Node147textStart = 0; Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2; Node147lineStart = (Node147width - (ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node147align === 'center') { Node147textStart = -3; Node147textWidth = Node147width; Node147lineStart = Node147width - ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width - 11; } })(); Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"')) Node147.setPosition(1840*ratio.ratioX, 206*ratio.ratioY); Node147.setWidth(Node147width); Node147.setHeight(Node147height); Node147._nodeType = 'text'; Node147._disallowEvert = true; Node147.setRotation(0*Math.PI/180); Node147.a('node.width', Node147width); Node147.a('node.height', Node147height); Node147.a('node.rect', [0, 0, Node147width, Node147height]); Node147.a('node.bordercolor','rgba(169,169,169,1)'); Node147.a('node.borderwidth', 0); Node147.a('node.background','' || 'rgba(0,0,0,0)'); Node147.a('node.gradient',''); Node147.a('node.gradientcolor',''); Node147.a('node.text','万kW'); Node147.a('node.textalign','left'); Node147.a('node.textvAlign','middle'); Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]); Node147.a('node.color','rgba(169,169,169,1)'); Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"'); Node147.a('node.textvisible',true); Node147.a('node.linefeed',false); if (false) { Node147.a('node.textfunc',function(g) { g.beginPath(); var str=Node147.a('node.text') || '万kW'; var color=Node147.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"left",color,' '+ Node147fontSize + 'px "Arial"', 0,g); }); } if (false) { Node147.a('node.underlinepoints',[Node147lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]); Node147.a('node.underlinevisible',false); Node147.a('node.underlineBorderWidth', 1); } dataModel.add(Node147); zoomNodeList.push({ node: Node147, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node148 = new ht.Node(); var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 47*_ratio.ratioX, Node148height = 17*_ratio.ratioY; (function () { if (Node148align === 'left') { Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9; Node148textWidth = Node148width; Node148lineStart = 1; } else if (Node148align === 'right') { Node148textStart = 0; Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2; Node148lineStart = (Node148width - (ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node148align === 'center') { Node148textStart = -3; Node148textWidth = Node148width; Node148lineStart = Node148width - ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width - 11; } })(); Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"')) Node148.setPosition(1839*ratio.ratioX, 228*ratio.ratioY); Node148.setWidth(Node148width); Node148.setHeight(Node148height); Node148._nodeType = 'text'; Node148._disallowEvert = true; Node148.setRotation(0*Math.PI/180); Node148.a('node.width', Node148width); Node148.a('node.height', Node148height); Node148.a('node.rect', [0, 0, Node148width, Node148height]); Node148.a('node.bordercolor','rgba(169,169,169,1)'); Node148.a('node.borderwidth', 0); Node148.a('node.background','' || 'rgba(0,0,0,0)'); Node148.a('node.gradient',''); Node148.a('node.gradientcolor',''); Node148.a('node.text','万kW'); Node148.a('node.textalign','left'); Node148.a('node.textvAlign','middle'); Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]); Node148.a('node.color','rgba(169,169,169,1)'); Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"'); Node148.a('node.textvisible',true); Node148.a('node.linefeed',false); if (false) { Node148.a('node.textfunc',function(g) { g.beginPath(); var str=Node148.a('node.text') || '万kW'; var color=Node148.a('node.color') || 'rgba(169,169,169,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"left",color,' '+ Node148fontSize + 'px "Arial"', 0,g); }); } if (false) { Node148.a('node.underlinepoints',[Node148lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]); Node148.a('node.underlinevisible',false); Node148.a('node.underlineBorderWidth', 1); } dataModel.add(Node148); zoomNodeList.push({ node: Node148, borderWidth: 0, attr: 'node.borderwidth' }); var Node149points=[1619, 142,1896, 142], Node149rect=ht.Default.unionPoint([{x:1619,y:142},{x:1896,y:142}]), Node149compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9; Node158textWidth = Node158width; Node158lineStart = 1; } else if (Node158align === 'right') { Node158textStart = 0; Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2; Node158lineStart = (Node158width - (ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node158align === 'center') { Node158textStart = -3; Node158textWidth = Node158width; Node158lineStart = Node158width - ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width - 11; } })(); Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"')) Node158.setPosition(818*ratio.ratioX, 254*ratio.ratioY); Node158.setWidth(Node158width); Node158.setHeight(Node158height); Node158._nodeType = 'text'; Node158._disallowEvert = true; Node158.setRotation(0*Math.PI/180); Node158.a('node.width', Node158width); Node158.a('node.height', Node158height); Node158.a('node.rect', [0, 0, Node158width, Node158height]); Node158.a('node.bordercolor','rgba(0,0,0,1)'); Node158.a('node.borderwidth', 0); Node158.a('node.background','' || 'rgba(0,0,0,0)'); Node158.a('node.gradient',''); Node158.a('node.gradientcolor',''); Node158.a('node.text','投产'); Node158.a('node.textalign','left'); Node158.a('node.textvAlign','middle'); Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]); Node158.a('node.color','rgba(0,0,0,1)'); Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"'); Node158.a('node.textvisible',true); Node158.a('node.linefeed',false); if (false) { Node158.a('node.textfunc',function(g) { g.beginPath(); var str=Node158.a('node.text') || '投产'; var color=Node158.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "Arial"', 0,g); }); } if (false) { Node158.a('node.underlinepoints',[Node158lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]); Node158.a('node.underlinevisible',false); Node158.a('node.underlineBorderWidth', 1); } dataModel.add(Node158); zoomNodeList.push({ node: Node158, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node159 = new ht.Node(); var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'left', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 39*_ratio.ratioX, Node159height = 24*_ratio.ratioY; (function () { if (Node159align === 'left') { Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9; Node159textWidth = Node159width; Node159lineStart = 1; } else if (Node159align === 'right') { Node159textStart = 0; Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2; Node159lineStart = (Node159width - (ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node159align === 'center') { Node159textStart = -3; Node159textWidth = Node159width; Node159lineStart = Node159width - ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width - 11; } })(); Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"')) Node159.setPosition(873*ratio.ratioX, 274*ratio.ratioY); Node159.setWidth(Node159width); Node159.setHeight(Node159height); Node159._nodeType = 'text'; Node159._disallowEvert = true; Node159.setRotation(0*Math.PI/180); Node159.a('node.width', Node159width); Node159.a('node.height', Node159height); Node159.a('node.rect', [0, 0, Node159width, Node159height]); Node159.a('node.bordercolor','rgba(0,0,0,1)'); Node159.a('node.borderwidth', 0); Node159.a('node.background','' || 'rgba(0,0,0,0)'); Node159.a('node.gradient',''); Node159.a('node.gradientcolor',''); Node159.a('node.text','463'); Node159.a('node.textalign','left'); Node159.a('node.textvAlign','middle'); Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]); Node159.a('node.color','rgba(0,0,0,1)'); Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"'); Node159.a('node.textvisible',true); Node159.a('node.linefeed',false); if (false) { Node159.a('node.textfunc',function(g) { g.beginPath(); var str=Node159.a('node.text') || '463'; var color=Node159.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "Arial"', 0,g); }); } if (false) { Node159.a('node.underlinepoints',[Node159lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]); Node159.a('node.underlinevisible',false); Node159.a('node.underlineBorderWidth', 1); } dataModel.add(Node159); zoomNodeList.push({ node: Node159, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node160 = new ht.Node(); var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 29*_ratio.ratioX, Node160height = 24*_ratio.ratioY; (function () { if (Node160align === 'left') { Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9; Node160textWidth = Node160width; Node160lineStart = 1; } else if (Node160align === 'right') { Node160textStart = 0; Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2; Node160lineStart = (Node160width - (ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node160align === 'center') { Node160textStart = -3; Node160textWidth = Node160width; Node160lineStart = Node160width - ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width - 11; } })(); Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"')) Node160.setPosition(935*ratio.ratioX, 300*ratio.ratioY); Node160.setWidth(Node160width); Node160.setHeight(Node160height); Node160._nodeType = 'text'; Node160._disallowEvert = true; Node160.setRotation(0*Math.PI/180); Node160.a('node.width', Node160width); Node160.a('node.height', Node160height); Node160.a('node.rect', [0, 0, Node160width, Node160height]); Node160.a('node.bordercolor','rgba(0,0,0,1)'); Node160.a('node.borderwidth', 0); Node160.a('node.background','' || 'rgba(0,0,0,0)'); Node160.a('node.gradient',''); Node160.a('node.gradientcolor',''); Node160.a('node.text','台'); Node160.a('node.textalign','left'); Node160.a('node.textvAlign','middle'); Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]); Node160.a('node.color','rgba(0,0,0,1)'); Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"'); Node160.a('node.textvisible',true); Node160.a('node.linefeed',false); if (false) { Node160.a('node.textfunc',function(g) { g.beginPath(); var str=Node160.a('node.text') || '台'; var color=Node160.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g); }); } if (false) { Node160.a('node.underlinepoints',[Node160lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]); Node160.a('node.underlinevisible',false); Node160.a('node.underlineBorderWidth', 1); } dataModel.add(Node160); zoomNodeList.push({ node: Node160, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node161type = 'rect'; var Node161 = new ht.Node(), Node161BorderWidth = 1*2; if (Node161type === 'arc') { Node161BorderWidth *= 1; } Node161.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node161.setPosition(1063*ratio.ratioX, 281*ratio.ratioY); Node161.setSize(105*_ratio.ratioX, 78*_ratio.ratioY); Node161.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node161.a('node.width', 105*_ratio.ratioX); Node161.a('node.height', 78*_ratio.ratioY); Node161.a('node.type', Node161type); Node161.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]); Node161.a('node.background', 'rgba(255,255,255,0.003921569)'); Node161.a('node.gradientcolor', ''); Node161.a('node.gradient', ''); Node161.a('node.borderwidth', Node161BorderWidth); Node161.a('node.color', 'rgba(192,192,192,1)'); Node161.a('node.fillrect', [0,0,0,0]); Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node161.a('node.fillgradient', ''); if (Node161type !== 'rect') { Node161.a('node.arcFrom', parseFloat('@arcFrom@')); Node161.a('node.arcTo', parseFloat('@arcTo@')); Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node161type === 'arc') { Node161.a('node.arcOval', true); } Node161.setRotation(0*Math.PI/180); Node161.borderWidth = Node161BorderWidth; Node161.borderFillwidth = Node161BorderWidth; dataModel.add(Node161); Node161._nodename = 'Node161' Node161._nodeType = 'rect'; zoomNodeList.push({ node: Node161, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node161, Node161.getImage());var Node162; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_right_top_right_left_green.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_green.jpg'); Node162 = new ht.Node(); Node162.setPosition(1142*ratio.ratioX, 281*ratio.ratioY); Node162.setSize(52*ratioX, 78*ratioY); Node162.setImage('imgimage//img//index_right_top_right_left_green.jpg'); Node162.setRotation(0*Math.PI/180); Node162._zoomBy = 'Default'; Node162._nodeType = 'image'; Node162._disallowEvert = true; dataModel.add(Node162); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node163 = new ht.Node(); var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'left', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 39*_ratio.ratioX, Node163height = 24*_ratio.ratioY; (function () { if (Node163align === 'left') { Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9; Node163textWidth = Node163width; Node163lineStart = 1; } else if (Node163align === 'right') { Node163textStart = 0; Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2; Node163lineStart = (Node163width - (ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node163align === 'center') { Node163textStart = -3; Node163textWidth = Node163width; Node163lineStart = Node163width - ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width - 11; } })(); Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"')) Node163.setPosition(1036*ratio.ratioX, 254*ratio.ratioY); Node163.setWidth(Node163width); Node163.setHeight(Node163height); Node163._nodeType = 'text'; Node163._disallowEvert = true; Node163.setRotation(0*Math.PI/180); Node163.a('node.width', Node163width); Node163.a('node.height', Node163height); Node163.a('node.rect', [0, 0, Node163width, Node163height]); Node163.a('node.bordercolor','rgba(0,0,0,1)'); Node163.a('node.borderwidth', 0); Node163.a('node.background','' || 'rgba(0,0,0,0)'); Node163.a('node.gradient',''); Node163.a('node.gradientcolor',''); Node163.a('node.text','并网'); Node163.a('node.textalign','left'); Node163.a('node.textvAlign','middle'); Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]); Node163.a('node.color','rgba(0,0,0,1)'); Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"'); Node163.a('node.textvisible',true); Node163.a('node.linefeed',false); if (false) { Node163.a('node.textfunc',function(g) { g.beginPath(); var str=Node163.a('node.text') || '并网'; var color=Node163.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"left",color,' '+ Node163fontSize + 'px "Arial"', 0,g); }); } if (false) { Node163.a('node.underlinepoints',[Node163lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]); Node163.a('node.underlinevisible',false); Node163.a('node.underlineBorderWidth', 1); } dataModel.add(Node163); zoomNodeList.push({ node: Node163, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node164 = new ht.Node(); var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'left', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 39*_ratio.ratioX, Node164height = 24*_ratio.ratioY; (function () { if (Node164align === 'left') { Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9; Node164textWidth = Node164width; Node164lineStart = 1; } else if (Node164align === 'right') { Node164textStart = 0; Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2; Node164lineStart = (Node164width - (ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node164align === 'center') { Node164textStart = -3; Node164textWidth = Node164width; Node164lineStart = Node164width - ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width - 11; } })(); Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"')) Node164.setPosition(1061*ratio.ratioX, 274*ratio.ratioY); Node164.setWidth(Node164width); Node164.setHeight(Node164height); Node164._nodeType = 'text'; Node164._disallowEvert = true; Node164.setRotation(0*Math.PI/180); Node164.a('node.width', Node164width); Node164.a('node.height', Node164height); Node164.a('node.rect', [0, 0, Node164width, Node164height]); Node164.a('node.bordercolor','rgba(0,0,0,1)'); Node164.a('node.borderwidth', 0); Node164.a('node.background','' || 'rgba(0,0,0,0)'); Node164.a('node.gradient',''); Node164.a('node.gradientcolor',''); Node164.a('node.text','463'); Node164.a('node.textalign','left'); Node164.a('node.textvAlign','middle'); Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]); Node164.a('node.color','rgba(0,0,0,1)'); Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"'); Node164.a('node.textvisible',true); Node164.a('node.linefeed',false); if (false) { Node164.a('node.textfunc',function(g) { g.beginPath(); var str=Node164.a('node.text') || '463'; var color=Node164.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g); }); } if (false) { Node164.a('node.underlinepoints',[Node164lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]); Node164.a('node.underlinevisible',false); Node164.a('node.underlineBorderWidth', 1); } dataModel.add(Node164); zoomNodeList.push({ node: Node164, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node165 = new ht.Node(); var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'left', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 29*_ratio.ratioX, Node165height = 24*_ratio.ratioY; (function () { if (Node165align === 'left') { Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9; Node165textWidth = Node165width; Node165lineStart = 1; } else if (Node165align === 'right') { Node165textStart = 0; Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2; Node165lineStart = (Node165width - (ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node165align === 'center') { Node165textStart = -3; Node165textWidth = Node165width; Node165lineStart = Node165width - ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width - 11; } })(); Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"')) Node165.setPosition(1098*ratio.ratioX, 300*ratio.ratioY); Node165.setWidth(Node165width); Node165.setHeight(Node165height); Node165._nodeType = 'text'; Node165._disallowEvert = true; Node165.setRotation(0*Math.PI/180); Node165.a('node.width', Node165width); Node165.a('node.height', Node165height); Node165.a('node.rect', [0, 0, Node165width, Node165height]); Node165.a('node.bordercolor','rgba(0,0,0,1)'); Node165.a('node.borderwidth', 0); Node165.a('node.background','' || 'rgba(0,0,0,0)'); Node165.a('node.gradient',''); Node165.a('node.gradientcolor',''); Node165.a('node.text','台'); Node165.a('node.textalign','left'); Node165.a('node.textvAlign','middle'); Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]); Node165.a('node.color','rgba(0,0,0,1)'); Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"'); Node165.a('node.textvisible',true); Node165.a('node.linefeed',false); if (false) { Node165.a('node.textfunc',function(g) { g.beginPath(); var str=Node165.a('node.text') || '台'; var color=Node165.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"left",color,' '+ Node165fontSize + 'px "Arial"', 0,g); }); } if (false) { Node165.a('node.underlinepoints',[Node165lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]); Node165.a('node.underlinevisible',false); Node165.a('node.underlineBorderWidth', 1); } dataModel.add(Node165); zoomNodeList.push({ node: Node165, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node166type = 'rect'; var Node166 = new ht.Node(), Node166BorderWidth = 1*2; if (Node166type === 'arc') { Node166BorderWidth *= 1; } Node166.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node166.setPosition(1220*ratio.ratioX, 281*ratio.ratioY); Node166.setSize(105*_ratio.ratioX, 78*_ratio.ratioY); Node166.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node166.a('node.width', 105*_ratio.ratioX); Node166.a('node.height', 78*_ratio.ratioY); Node166.a('node.type', Node166type); Node166.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]); Node166.a('node.background', 'rgba(255,255,255,0.003921569)'); Node166.a('node.gradientcolor', ''); Node166.a('node.gradient', ''); Node166.a('node.borderwidth', Node166BorderWidth); Node166.a('node.color', 'rgba(192,192,192,1)'); Node166.a('node.fillrect', [0,0,0,0]); Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node166.a('node.fillgradient', ''); if (Node166type !== 'rect') { Node166.a('node.arcFrom', parseFloat('@arcFrom@')); Node166.a('node.arcTo', parseFloat('@arcTo@')); Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node166type === 'arc') { Node166.a('node.arcOval', true); } Node166.setRotation(0*Math.PI/180); Node166.borderWidth = Node166BorderWidth; Node166.borderFillwidth = Node166BorderWidth; dataModel.add(Node166); Node166._nodename = 'Node166' Node166._nodeType = 'rect'; zoomNodeList.push({ node: Node166, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node166, Node166.getImage());var Node167; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_right_top_right_left_orange.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_orange.jpg'); Node167 = new ht.Node(); Node167.setPosition(1299*ratio.ratioX, 281*ratio.ratioY); Node167.setSize(52*ratioX, 78*ratioY); Node167.setImage('imgimage//img//index_right_top_right_left_orange.jpg'); Node167.setRotation(0*Math.PI/180); Node167._zoomBy = 'Default'; Node167._nodeType = 'image'; Node167._disallowEvert = true; dataModel.add(Node167); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node168 = new ht.Node(); var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 39*_ratio.ratioX, Node168height = 24*_ratio.ratioY; (function () { if (Node168align === 'left') { Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9; Node168textWidth = Node168width; Node168lineStart = 1; } else if (Node168align === 'right') { Node168textStart = 0; Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2; Node168lineStart = (Node168width - (ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node168align === 'center') { Node168textStart = -3; Node168textWidth = Node168width; Node168lineStart = Node168width - ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width - 11; } })(); Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"')) Node168.setPosition(1193*ratio.ratioX, 254*ratio.ratioY); Node168.setWidth(Node168width); Node168.setHeight(Node168height); Node168._nodeType = 'text'; Node168._disallowEvert = true; Node168.setRotation(0*Math.PI/180); Node168.a('node.width', Node168width); Node168.a('node.height', Node168height); Node168.a('node.rect', [0, 0, Node168width, Node168height]); Node168.a('node.bordercolor','rgba(0,0,0,1)'); Node168.a('node.borderwidth', 0); Node168.a('node.background','' || 'rgba(0,0,0,0)'); Node168.a('node.gradient',''); Node168.a('node.gradientcolor',''); Node168.a('node.text','待机'); Node168.a('node.textalign','left'); Node168.a('node.textvAlign','middle'); Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]); Node168.a('node.color','rgba(0,0,0,1)'); Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"'); Node168.a('node.textvisible',true); Node168.a('node.linefeed',false); if (false) { Node168.a('node.textfunc',function(g) { g.beginPath(); var str=Node168.a('node.text') || '待机'; var color=Node168.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"left",color,' '+ Node168fontSize + 'px "Arial"', 0,g); }); } if (false) { Node168.a('node.underlinepoints',[Node168lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]); Node168.a('node.underlinevisible',false); Node168.a('node.underlineBorderWidth', 1); } dataModel.add(Node168); zoomNodeList.push({ node: Node168, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node169 = new ht.Node(); var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 39*_ratio.ratioX, Node169height = 24*_ratio.ratioY; (function () { if (Node169align === 'left') { Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9; Node169textWidth = Node169width; Node169lineStart = 1; } else if (Node169align === 'right') { Node169textStart = 0; Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2; Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node169align === 'center') { Node169textStart = -3; Node169textWidth = Node169width; Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11; } })(); Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"')) Node169.setPosition(1218*ratio.ratioX, 274*ratio.ratioY); Node169.setWidth(Node169width); Node169.setHeight(Node169height); Node169._nodeType = 'text'; Node169._disallowEvert = true; Node169.setRotation(0*Math.PI/180); Node169.a('node.width', Node169width); Node169.a('node.height', Node169height); Node169.a('node.rect', [0, 0, Node169width, Node169height]); Node169.a('node.bordercolor','rgba(0,0,0,1)'); Node169.a('node.borderwidth', 0); Node169.a('node.background','' || 'rgba(0,0,0,0)'); Node169.a('node.gradient',''); Node169.a('node.gradientcolor',''); Node169.a('node.text','0'); Node169.a('node.textalign','left'); Node169.a('node.textvAlign','middle'); Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]); Node169.a('node.color','rgba(0,0,0,1)'); Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"'); Node169.a('node.textvisible',true); Node169.a('node.linefeed',false); if (false) { Node169.a('node.textfunc',function(g) { g.beginPath(); var str=Node169.a('node.text') || '0'; var color=Node169.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g); }); } if (false) { Node169.a('node.underlinepoints',[Node169lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]); Node169.a('node.underlinevisible',false); Node169.a('node.underlineBorderWidth', 1); } dataModel.add(Node169); zoomNodeList.push({ node: Node169, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node170 = new ht.Node(); var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 29*_ratio.ratioX, Node170height = 24*_ratio.ratioY; (function () { if (Node170align === 'left') { Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9; Node170textWidth = Node170width; Node170lineStart = 1; } else if (Node170align === 'right') { Node170textStart = 0; Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2; Node170lineStart = (Node170width - (ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node170align === 'center') { Node170textStart = -3; Node170textWidth = Node170width; Node170lineStart = Node170width - ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width - 11; } })(); Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"')) Node170.setPosition(1255*ratio.ratioX, 300*ratio.ratioY); Node170.setWidth(Node170width); Node170.setHeight(Node170height); Node170._nodeType = 'text'; Node170._disallowEvert = true; Node170.setRotation(0*Math.PI/180); Node170.a('node.width', Node170width); Node170.a('node.height', Node170height); Node170.a('node.rect', [0, 0, Node170width, Node170height]); Node170.a('node.bordercolor','rgba(0,0,0,1)'); Node170.a('node.borderwidth', 0); Node170.a('node.background','' || 'rgba(0,0,0,0)'); Node170.a('node.gradient',''); Node170.a('node.gradientcolor',''); Node170.a('node.text','台'); Node170.a('node.textalign','left'); Node170.a('node.textvAlign','middle'); Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]); Node170.a('node.color','rgba(0,0,0,1)'); Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"'); Node170.a('node.textvisible',true); Node170.a('node.linefeed',false); if (false) { Node170.a('node.textfunc',function(g) { g.beginPath(); var str=Node170.a('node.text') || '台'; var color=Node170.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "Arial"', 0,g); }); } if (false) { Node170.a('node.underlinepoints',[Node170lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]); Node170.a('node.underlinevisible',false); Node170.a('node.underlineBorderWidth', 1); } dataModel.add(Node170); zoomNodeList.push({ node: Node170, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node171type = 'rect'; var Node171 = new ht.Node(), Node171BorderWidth = 1*2; if (Node171type === 'arc') { Node171BorderWidth *= 1; } Node171.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node171type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node171.setPosition(1377*ratio.ratioX, 281*ratio.ratioY); Node171.setSize(105*_ratio.ratioX, 78*_ratio.ratioY); Node171.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node171.a('node.width', 105*_ratio.ratioX); Node171.a('node.height', 78*_ratio.ratioY); Node171.a('node.type', Node171type); Node171.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]); Node171.a('node.background', 'rgba(255,255,255,0.003921569)'); Node171.a('node.gradientcolor', ''); Node171.a('node.gradient', ''); Node171.a('node.borderwidth', Node171BorderWidth); Node171.a('node.color', 'rgba(192,192,192,1)'); Node171.a('node.fillrect', [0,0,0,0]); Node171.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node171.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node171.a('node.fillgradient', ''); if (Node171type !== 'rect') { Node171.a('node.arcFrom', parseFloat('@arcFrom@')); Node171.a('node.arcTo', parseFloat('@arcTo@')); Node171.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node171type === 'arc') { Node171.a('node.arcOval', true); } Node171.setRotation(0*Math.PI/180); Node171.borderWidth = Node171BorderWidth; Node171.borderFillwidth = Node171BorderWidth; dataModel.add(Node171); Node171._nodename = 'Node171' Node171._nodeType = 'rect'; zoomNodeList.push({ node: Node171, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node171, Node171.getImage());var Node172; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_right_top_right_left_red.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_red.jpg'); Node172 = new ht.Node(); Node172.setPosition(1456*ratio.ratioX, 281*ratio.ratioY); Node172.setSize(52*ratioX, 78*ratioY); Node172.setImage('imgimage//img//index_right_top_right_left_red.jpg'); Node172.setRotation(0*Math.PI/180); Node172._zoomBy = 'Default'; Node172._nodeType = 'image'; Node172._disallowEvert = true; dataModel.add(Node172); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node173 = new ht.Node(); var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 39*_ratio.ratioX, Node173height = 24*_ratio.ratioY; (function () { if (Node173align === 'left') { Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9; Node173textWidth = Node173width; Node173lineStart = 1; } else if (Node173align === 'right') { Node173textStart = 0; Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2; Node173lineStart = (Node173width - (ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node173align === 'center') { Node173textStart = -3; Node173textWidth = Node173width; Node173lineStart = Node173width - ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width - 11; } })(); Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"')) Node173.setPosition(1350*ratio.ratioX, 254*ratio.ratioY); Node173.setWidth(Node173width); Node173.setHeight(Node173height); Node173._nodeType = 'text'; Node173._disallowEvert = true; Node173.setRotation(0*Math.PI/180); Node173.a('node.width', Node173width); Node173.a('node.height', Node173height); Node173.a('node.rect', [0, 0, Node173width, Node173height]); Node173.a('node.bordercolor','rgba(0,0,0,1)'); Node173.a('node.borderwidth', 0); Node173.a('node.background','' || 'rgba(0,0,0,0)'); Node173.a('node.gradient',''); Node173.a('node.gradientcolor',''); Node173.a('node.text','维护'); Node173.a('node.textalign','left'); Node173.a('node.textvAlign','middle'); Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]); Node173.a('node.color','rgba(0,0,0,1)'); Node173.a('node.font',' '+ Node173fontSize + 'px "Arial"'); Node173.a('node.textvisible',true); Node173.a('node.linefeed',false); if (false) { Node173.a('node.textfunc',function(g) { g.beginPath(); var str=Node173.a('node.text') || '维护'; var color=Node173.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"left",color,' '+ Node173fontSize + 'px "Arial"', 0,g); }); } if (false) { Node173.a('node.underlinepoints',[Node173lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]); Node173.a('node.underlinevisible',false); Node173.a('node.underlineBorderWidth', 1); } dataModel.add(Node173); zoomNodeList.push({ node: Node173, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node174 = new ht.Node(); var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 39*_ratio.ratioX, Node174height = 24*_ratio.ratioY; (function () { if (Node174align === 'left') { Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9; Node174textWidth = Node174width; Node174lineStart = 1; } else if (Node174align === 'right') { Node174textStart = 0; Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2; Node174lineStart = (Node174width - (ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node174align === 'center') { Node174textStart = -3; Node174textWidth = Node174width; Node174lineStart = Node174width - ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width - 11; } })(); Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"')) Node174.setPosition(1375*ratio.ratioX, 274*ratio.ratioY); Node174.setWidth(Node174width); Node174.setHeight(Node174height); Node174._nodeType = 'text'; Node174._disallowEvert = true; Node174.setRotation(0*Math.PI/180); Node174.a('node.width', Node174width); Node174.a('node.height', Node174height); Node174.a('node.rect', [0, 0, Node174width, Node174height]); Node174.a('node.bordercolor','rgba(0,0,0,1)'); Node174.a('node.borderwidth', 0); Node174.a('node.background','' || 'rgba(0,0,0,0)'); Node174.a('node.gradient',''); Node174.a('node.gradientcolor',''); Node174.a('node.text','0'); Node174.a('node.textalign','left'); Node174.a('node.textvAlign','middle'); Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]); Node174.a('node.color','rgba(0,0,0,1)'); Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"'); Node174.a('node.textvisible',true); Node174.a('node.linefeed',false); if (false) { Node174.a('node.textfunc',function(g) { g.beginPath(); var str=Node174.a('node.text') || '0'; var color=Node174.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g); }); } if (false) { Node174.a('node.underlinepoints',[Node174lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]); Node174.a('node.underlinevisible',false); Node174.a('node.underlineBorderWidth', 1); } dataModel.add(Node174); zoomNodeList.push({ node: Node174, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node175 = new ht.Node(); var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'left', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 29*_ratio.ratioX, Node175height = 24*_ratio.ratioY; (function () { if (Node175align === 'left') { Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9; Node175textWidth = Node175width; Node175lineStart = 1; } else if (Node175align === 'right') { Node175textStart = 0; Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2; Node175lineStart = (Node175width - (ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node175align === 'center') { Node175textStart = -3; Node175textWidth = Node175width; Node175lineStart = Node175width - ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width - 11; } })(); Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"')) Node175.setPosition(1412*ratio.ratioX, 300*ratio.ratioY); Node175.setWidth(Node175width); Node175.setHeight(Node175height); Node175._nodeType = 'text'; Node175._disallowEvert = true; Node175.setRotation(0*Math.PI/180); Node175.a('node.width', Node175width); Node175.a('node.height', Node175height); Node175.a('node.rect', [0, 0, Node175width, Node175height]); Node175.a('node.bordercolor','rgba(0,0,0,1)'); Node175.a('node.borderwidth', 0); Node175.a('node.background','' || 'rgba(0,0,0,0)'); Node175.a('node.gradient',''); Node175.a('node.gradientcolor',''); Node175.a('node.text','台'); Node175.a('node.textalign','left'); Node175.a('node.textvAlign','middle'); Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]); Node175.a('node.color','rgba(0,0,0,1)'); Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"'); Node175.a('node.textvisible',true); Node175.a('node.linefeed',false); if (false) { Node175.a('node.textfunc',function(g) { g.beginPath(); var str=Node175.a('node.text') || '台'; var color=Node175.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g); }); } if (false) { Node175.a('node.underlinepoints',[Node175lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]); Node175.a('node.underlinevisible',false); Node175.a('node.underlineBorderWidth', 1); } dataModel.add(Node175); zoomNodeList.push({ node: Node175, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node176type = 'rect'; var Node176 = new ht.Node(), Node176BorderWidth = 1*2; if (Node176type === 'arc') { Node176BorderWidth *= 1; } Node176.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node176.setPosition(1534*ratio.ratioX, 281*ratio.ratioY); Node176.setSize(105*_ratio.ratioX, 78*_ratio.ratioY); Node176.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node176.a('node.width', 105*_ratio.ratioX); Node176.a('node.height', 78*_ratio.ratioY); Node176.a('node.type', Node176type); Node176.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]); Node176.a('node.background', 'rgba(255,255,255,0.003921569)'); Node176.a('node.gradientcolor', ''); Node176.a('node.gradient', ''); Node176.a('node.borderwidth', Node176BorderWidth); Node176.a('node.color', 'rgba(192,192,192,1)'); Node176.a('node.fillrect', [0,0,0,0]); Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node176.a('node.fillgradient', ''); if (Node176type !== 'rect') { Node176.a('node.arcFrom', parseFloat('@arcFrom@')); Node176.a('node.arcTo', parseFloat('@arcTo@')); Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node176type === 'arc') { Node176.a('node.arcOval', true); } Node176.setRotation(0*Math.PI/180); Node176.borderWidth = Node176BorderWidth; Node176.borderFillwidth = Node176BorderWidth; dataModel.add(Node176); Node176._nodename = 'Node176' Node176._nodeType = 'rect'; zoomNodeList.push({ node: Node176, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node176, Node176.getImage());var Node177; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_right_top_right_left_pink.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_pink.jpg'); Node177 = new ht.Node(); Node177.setPosition(1613*ratio.ratioX, 281*ratio.ratioY); Node177.setSize(52*ratioX, 78*ratioY); Node177.setImage('imgimage//img//index_right_top_right_left_pink.jpg'); Node177.setRotation(0*Math.PI/180); Node177._zoomBy = 'Default'; Node177._nodeType = 'image'; Node177._disallowEvert = true; dataModel.add(Node177); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node178 = new ht.Node(); var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 39*_ratio.ratioX, Node178height = 24*_ratio.ratioY; (function () { if (Node178align === 'left') { Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9; Node178textWidth = Node178width; Node178lineStart = 1; } else if (Node178align === 'right') { Node178textStart = 0; Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2; Node178lineStart = (Node178width - (ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node178align === 'center') { Node178textStart = -3; Node178textWidth = Node178width; Node178lineStart = Node178width - ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width - 11; } })(); Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"')) Node178.setPosition(1507*ratio.ratioX, 254*ratio.ratioY); Node178.setWidth(Node178width); Node178.setHeight(Node178height); Node178._nodeType = 'text'; Node178._disallowEvert = true; Node178.setRotation(0*Math.PI/180); Node178.a('node.width', Node178width); Node178.a('node.height', Node178height); Node178.a('node.rect', [0, 0, Node178width, Node178height]); Node178.a('node.bordercolor','rgba(0,0,0,1)'); Node178.a('node.borderwidth', 0); Node178.a('node.background','' || 'rgba(0,0,0,0)'); Node178.a('node.gradient',''); Node178.a('node.gradientcolor',''); Node178.a('node.text','故障'); Node178.a('node.textalign','left'); Node178.a('node.textvAlign','middle'); Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]); Node178.a('node.color','rgba(0,0,0,1)'); Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"'); Node178.a('node.textvisible',true); Node178.a('node.linefeed',false); if (false) { Node178.a('node.textfunc',function(g) { g.beginPath(); var str=Node178.a('node.text') || '故障'; var color=Node178.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g); }); } if (false) { Node178.a('node.underlinepoints',[Node178lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]); Node178.a('node.underlinevisible',false); Node178.a('node.underlineBorderWidth', 1); } dataModel.add(Node178); zoomNodeList.push({ node: Node178, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node179 = new ht.Node(); var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 39*_ratio.ratioX, Node179height = 24*_ratio.ratioY; (function () { if (Node179align === 'left') { Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9; Node179textWidth = Node179width; Node179lineStart = 1; } else if (Node179align === 'right') { Node179textStart = 0; Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2; Node179lineStart = (Node179width - (ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node179align === 'center') { Node179textStart = -3; Node179textWidth = Node179width; Node179lineStart = Node179width - ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width - 11; } })(); Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"')) Node179.setPosition(1532*ratio.ratioX, 274*ratio.ratioY); Node179.setWidth(Node179width); Node179.setHeight(Node179height); Node179._nodeType = 'text'; Node179._disallowEvert = true; Node179.setRotation(0*Math.PI/180); Node179.a('node.width', Node179width); Node179.a('node.height', Node179height); Node179.a('node.rect', [0, 0, Node179width, Node179height]); Node179.a('node.bordercolor','rgba(0,0,0,1)'); Node179.a('node.borderwidth', 0); Node179.a('node.background','' || 'rgba(0,0,0,0)'); Node179.a('node.gradient',''); Node179.a('node.gradientcolor',''); Node179.a('node.text','0'); Node179.a('node.textalign','left'); Node179.a('node.textvAlign','middle'); Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]); Node179.a('node.color','rgba(0,0,0,1)'); Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"'); Node179.a('node.textvisible',true); Node179.a('node.linefeed',false); if (false) { Node179.a('node.textfunc',function(g) { g.beginPath(); var str=Node179.a('node.text') || '0'; var color=Node179.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g); }); } if (false) { Node179.a('node.underlinepoints',[Node179lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]); Node179.a('node.underlinevisible',false); Node179.a('node.underlineBorderWidth', 1); } dataModel.add(Node179); zoomNodeList.push({ node: Node179, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node180 = new ht.Node(); var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 29*_ratio.ratioX, Node180height = 24*_ratio.ratioY; (function () { if (Node180align === 'left') { Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9; Node180textWidth = Node180width; Node180lineStart = 1; } else if (Node180align === 'right') { Node180textStart = 0; Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2; Node180lineStart = (Node180width - (ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node180align === 'center') { Node180textStart = -3; Node180textWidth = Node180width; Node180lineStart = Node180width - ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width - 11; } })(); Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"')) Node180.setPosition(1569*ratio.ratioX, 300*ratio.ratioY); Node180.setWidth(Node180width); Node180.setHeight(Node180height); Node180._nodeType = 'text'; Node180._disallowEvert = true; Node180.setRotation(0*Math.PI/180); Node180.a('node.width', Node180width); Node180.a('node.height', Node180height); Node180.a('node.rect', [0, 0, Node180width, Node180height]); Node180.a('node.bordercolor','rgba(0,0,0,1)'); Node180.a('node.borderwidth', 0); Node180.a('node.background','' || 'rgba(0,0,0,0)'); Node180.a('node.gradient',''); Node180.a('node.gradientcolor',''); Node180.a('node.text','台'); Node180.a('node.textalign','left'); Node180.a('node.textvAlign','middle'); Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]); Node180.a('node.color','rgba(0,0,0,1)'); Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"'); Node180.a('node.textvisible',true); Node180.a('node.linefeed',false); if (false) { Node180.a('node.textfunc',function(g) { g.beginPath(); var str=Node180.a('node.text') || '台'; var color=Node180.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "Arial"', 0,g); }); } if (false) { Node180.a('node.underlinepoints',[Node180lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]); Node180.a('node.underlinevisible',false); Node180.a('node.underlineBorderWidth', 1); } dataModel.add(Node180); zoomNodeList.push({ node: Node180, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node181type = 'rect'; var Node181 = new ht.Node(), Node181BorderWidth = 1*2; if (Node181type === 'arc') { Node181BorderWidth *= 1; } Node181.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node181type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node181.setPosition(1692*ratio.ratioX, 281*ratio.ratioY); Node181.setSize(105*_ratio.ratioX, 78*_ratio.ratioY); Node181.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node181.a('node.width', 105*_ratio.ratioX); Node181.a('node.height', 78*_ratio.ratioY); Node181.a('node.type', Node181type); Node181.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]); Node181.a('node.background', 'rgba(255,255,255,0.003921569)'); Node181.a('node.gradientcolor', ''); Node181.a('node.gradient', ''); Node181.a('node.borderwidth', Node181BorderWidth); Node181.a('node.color', 'rgba(192,192,192,1)'); Node181.a('node.fillrect', [0,0,0,0]); Node181.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node181.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node181.a('node.fillgradient', ''); if (Node181type !== 'rect') { Node181.a('node.arcFrom', parseFloat('@arcFrom@')); Node181.a('node.arcTo', parseFloat('@arcTo@')); Node181.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node181type === 'arc') { Node181.a('node.arcOval', true); } Node181.setRotation(0*Math.PI/180); Node181.borderWidth = Node181BorderWidth; Node181.borderFillwidth = Node181BorderWidth; dataModel.add(Node181); Node181._nodename = 'Node181' Node181._nodeType = 'rect'; zoomNodeList.push({ node: Node181, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node181, Node181.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node182 = new ht.Node(); var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 39*_ratio.ratioX, Node182height = 24*_ratio.ratioY; (function () { if (Node182align === 'left') { Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9; Node182textWidth = Node182width; Node182lineStart = 1; } else if (Node182align === 'right') { Node182textStart = 0; Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2; Node182lineStart = (Node182width - (ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node182align === 'center') { Node182textStart = -3; Node182textWidth = Node182width; Node182lineStart = Node182width - ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width - 11; } })(); Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"')) Node182.setPosition(1665*ratio.ratioX, 254*ratio.ratioY); Node182.setWidth(Node182width); Node182.setHeight(Node182height); Node182._nodeType = 'text'; Node182._disallowEvert = true; Node182.setRotation(0*Math.PI/180); Node182.a('node.width', Node182width); Node182.a('node.height', Node182height); Node182.a('node.rect', [0, 0, Node182width, Node182height]); Node182.a('node.bordercolor','rgba(0,0,0,1)'); Node182.a('node.borderwidth', 0); Node182.a('node.background','' || 'rgba(0,0,0,0)'); Node182.a('node.gradient',''); Node182.a('node.gradientcolor',''); Node182.a('node.text','限电'); Node182.a('node.textalign','left'); Node182.a('node.textvAlign','middle'); Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]); Node182.a('node.color','rgba(0,0,0,1)'); Node182.a('node.font',' '+ Node182fontSize + 'px "Arial"'); Node182.a('node.textvisible',true); Node182.a('node.linefeed',false); if (false) { Node182.a('node.textfunc',function(g) { g.beginPath(); var str=Node182.a('node.text') || '限电'; var color=Node182.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "Arial"', 0,g); }); } if (false) { Node182.a('node.underlinepoints',[Node182lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]); Node182.a('node.underlinevisible',false); Node182.a('node.underlineBorderWidth', 1); } dataModel.add(Node182); zoomNodeList.push({ node: Node182, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node183 = new ht.Node(); var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 39*_ratio.ratioX, Node183height = 24*_ratio.ratioY; (function () { if (Node183align === 'left') { Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9; Node183textWidth = Node183width; Node183lineStart = 1; } else if (Node183align === 'right') { Node183textStart = 0; Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2; Node183lineStart = (Node183width - (ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node183align === 'center') { Node183textStart = -3; Node183textWidth = Node183width; Node183lineStart = Node183width - ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width - 11; } })(); Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"')) Node183.setPosition(1690*ratio.ratioX, 274*ratio.ratioY); Node183.setWidth(Node183width); Node183.setHeight(Node183height); Node183._nodeType = 'text'; Node183._disallowEvert = true; Node183.setRotation(0*Math.PI/180); Node183.a('node.width', Node183width); Node183.a('node.height', Node183height); Node183.a('node.rect', [0, 0, Node183width, Node183height]); Node183.a('node.bordercolor','rgba(0,0,0,1)'); Node183.a('node.borderwidth', 0); Node183.a('node.background','' || 'rgba(0,0,0,0)'); Node183.a('node.gradient',''); Node183.a('node.gradientcolor',''); Node183.a('node.text','0'); Node183.a('node.textalign','left'); Node183.a('node.textvAlign','middle'); Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]); Node183.a('node.color','rgba(0,0,0,1)'); Node183.a('node.font',' '+ Node183fontSize + 'px "Arial"'); Node183.a('node.textvisible',true); Node183.a('node.linefeed',false); if (false) { Node183.a('node.textfunc',function(g) { g.beginPath(); var str=Node183.a('node.text') || '0'; var color=Node183.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "Arial"', 0,g); }); } if (false) { Node183.a('node.underlinepoints',[Node183lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]); Node183.a('node.underlinevisible',false); Node183.a('node.underlineBorderWidth', 1); } dataModel.add(Node183); zoomNodeList.push({ node: Node183, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node184 = new ht.Node(); var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 29*_ratio.ratioX, Node184height = 24*_ratio.ratioY; (function () { if (Node184align === 'left') { Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9; Node184textWidth = Node184width; Node184lineStart = 1; } else if (Node184align === 'right') { Node184textStart = 0; Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2; Node184lineStart = (Node184width - (ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node184align === 'center') { Node184textStart = -3; Node184textWidth = Node184width; Node184lineStart = Node184width - ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width - 11; } })(); Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "Arial"')) Node184.setPosition(1726*ratio.ratioX, 300*ratio.ratioY); Node184.setWidth(Node184width); Node184.setHeight(Node184height); Node184._nodeType = 'text'; Node184._disallowEvert = true; Node184.setRotation(0*Math.PI/180); Node184.a('node.width', Node184width); Node184.a('node.height', Node184height); Node184.a('node.rect', [0, 0, Node184width, Node184height]); Node184.a('node.bordercolor','rgba(0,0,0,1)'); Node184.a('node.borderwidth', 0); Node184.a('node.background','' || 'rgba(0,0,0,0)'); Node184.a('node.gradient',''); Node184.a('node.gradientcolor',''); Node184.a('node.text','台'); Node184.a('node.textalign','left'); Node184.a('node.textvAlign','middle'); Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]); Node184.a('node.color','rgba(0,0,0,1)'); Node184.a('node.font',' '+ Node184fontSize + 'px "Arial"'); Node184.a('node.textvisible',true); Node184.a('node.linefeed',false); if (false) { Node184.a('node.textfunc',function(g) { g.beginPath(); var str=Node184.a('node.text') || '台'; var color=Node184.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "Arial"', 0,g); }); } if (false) { Node184.a('node.underlinepoints',[Node184lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]); Node184.a('node.underlinevisible',false); Node184.a('node.underlineBorderWidth', 1); } dataModel.add(Node184); zoomNodeList.push({ node: Node184, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node185type = 'rect'; var Node185 = new ht.Node(), Node185BorderWidth = 1*2; if (Node185type === 'arc') { Node185BorderWidth *= 1; } Node185.setImage(GD.getRectJSON(102*_ratio.ratioX, 78*_ratio.ratioY, Node185type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node185.setPosition(1848*ratio.ratioX, 281*ratio.ratioY); Node185.setSize(102*_ratio.ratioX, 78*_ratio.ratioY); Node185.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node185.a('node.width', 102*_ratio.ratioX); Node185.a('node.height', 78*_ratio.ratioY); Node185.a('node.type', Node185type); Node185.a('node.rect', [0, 0, 102*_ratio.ratioX, 78*_ratio.ratioY]); Node185.a('node.background', 'rgba(255,255,255,0.003921569)'); Node185.a('node.gradientcolor', ''); Node185.a('node.gradient', ''); Node185.a('node.borderwidth', Node185BorderWidth); Node185.a('node.color', 'rgba(192,192,192,1)'); Node185.a('node.fillrect', [0,0,0,0]); Node185.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node185.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node185.a('node.fillgradient', ''); if (Node185type !== 'rect') { Node185.a('node.arcFrom', parseFloat('@arcFrom@')); Node185.a('node.arcTo', parseFloat('@arcTo@')); Node185.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node185type === 'arc') { Node185.a('node.arcOval', true); } Node185.setRotation(0*Math.PI/180); Node185.borderWidth = Node185BorderWidth; Node185.borderFillwidth = Node185BorderWidth; dataModel.add(Node185); Node185._nodename = 'Node185' Node185._nodeType = 'rect'; zoomNodeList.push({ node: Node185, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node185, Node185.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node186 = new ht.Node(); var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 39*_ratio.ratioX, Node186height = 24*_ratio.ratioY; (function () { if (Node186align === 'left') { Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9; Node186textWidth = Node186width; Node186lineStart = 1; } else if (Node186align === 'right') { Node186textStart = 0; Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2; Node186lineStart = (Node186width - (ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node186align === 'center') { Node186textStart = -3; Node186textWidth = Node186width; Node186lineStart = Node186width - ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width - 11; } })(); Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"')) Node186.setPosition(1822*ratio.ratioX, 254*ratio.ratioY); Node186.setWidth(Node186width); Node186.setHeight(Node186height); Node186._nodeType = 'text'; Node186._disallowEvert = true; Node186.setRotation(0*Math.PI/180); Node186.a('node.width', Node186width); Node186.a('node.height', Node186height); Node186.a('node.rect', [0, 0, Node186width, Node186height]); Node186.a('node.bordercolor','rgba(0,0,0,1)'); Node186.a('node.borderwidth', 0); Node186.a('node.background','' || 'rgba(0,0,0,0)'); Node186.a('node.gradient',''); Node186.a('node.gradientcolor',''); Node186.a('node.text','离线'); Node186.a('node.textalign','left'); Node186.a('node.textvAlign','middle'); Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]); Node186.a('node.color','rgba(0,0,0,1)'); Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"'); Node186.a('node.textvisible',true); Node186.a('node.linefeed',false); if (false) { Node186.a('node.textfunc',function(g) { g.beginPath(); var str=Node186.a('node.text') || '离线'; var color=Node186.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g); }); } if (false) { Node186.a('node.underlinepoints',[Node186lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]); Node186.a('node.underlinevisible',false); Node186.a('node.underlineBorderWidth', 1); } dataModel.add(Node186); zoomNodeList.push({ node: Node186, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node187 = new ht.Node(); var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 39*_ratio.ratioX, Node187height = 24*_ratio.ratioY; (function () { if (Node187align === 'left') { Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9; Node187textWidth = Node187width; Node187lineStart = 1; } else if (Node187align === 'right') { Node187textStart = 0; Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2; Node187lineStart = (Node187width - (ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node187align === 'center') { Node187textStart = -3; Node187textWidth = Node187width; Node187lineStart = Node187width - ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width - 11; } })(); Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"')) Node187.setPosition(1847*ratio.ratioX, 274*ratio.ratioY); Node187.setWidth(Node187width); Node187.setHeight(Node187height); Node187._nodeType = 'text'; Node187._disallowEvert = true; Node187.setRotation(0*Math.PI/180); Node187.a('node.width', Node187width); Node187.a('node.height', Node187height); Node187.a('node.rect', [0, 0, Node187width, Node187height]); Node187.a('node.bordercolor','rgba(0,0,0,1)'); Node187.a('node.borderwidth', 0); Node187.a('node.background','' || 'rgba(0,0,0,0)'); Node187.a('node.gradient',''); Node187.a('node.gradientcolor',''); Node187.a('node.text','0'); Node187.a('node.textalign','left'); Node187.a('node.textvAlign','middle'); Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]); Node187.a('node.color','rgba(0,0,0,1)'); Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"'); Node187.a('node.textvisible',true); Node187.a('node.linefeed',false); if (false) { Node187.a('node.textfunc',function(g) { g.beginPath(); var str=Node187.a('node.text') || '0'; var color=Node187.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "Arial"', 0,g); }); } if (false) { Node187.a('node.underlinepoints',[Node187lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6, (Node187height - Node187fontSize) * 0.5*_ratio.ratioY + Node187fontSize + 2 ]); Node187.a('node.underlinevisible',false); Node187.a('node.underlineBorderWidth', 1); } dataModel.add(Node187); zoomNodeList.push({ node: Node187, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node188 = new ht.Node(); var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 13.3333*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 24*_ratio.ratioY; (function () { if (Node188align === 'left') { Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9; Node188textWidth = Node188width; Node188lineStart = 1; } else if (Node188align === 'right') { Node188textStart = 0; Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2; Node188lineStart = (Node188width - (ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node188align === 'center') { Node188textStart = -3; Node188textWidth = Node188width; Node188lineStart = Node188width - ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width - 11; } })(); Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"')) Node188.setPosition(1884*ratio.ratioX, 300*ratio.ratioY); Node188.setWidth(Node188width); Node188.setHeight(Node188height); Node188._nodeType = 'text'; Node188._disallowEvert = true; Node188.setRotation(0*Math.PI/180); Node188.a('node.width', Node188width); Node188.a('node.height', Node188height); Node188.a('node.rect', [0, 0, Node188width, Node188height]); Node188.a('node.bordercolor','rgba(0,0,0,1)'); Node188.a('node.borderwidth', 0); Node188.a('node.background','' || 'rgba(0,0,0,0)'); Node188.a('node.gradient',''); Node188.a('node.gradientcolor',''); Node188.a('node.text','台'); Node188.a('node.textalign','left'); Node188.a('node.textvAlign','middle'); Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]); Node188.a('node.color','rgba(0,0,0,1)'); Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"'); Node188.a('node.textvisible',true); Node188.a('node.linefeed',false); if (false) { Node188.a('node.textfunc',function(g) { g.beginPath(); var str=Node188.a('node.text') || '台'; var color=Node188.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node188width,Node188height,13.3333*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g); }); } if (false) { Node188.a('node.underlinepoints',[Node188lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]); Node188.a('node.underlinevisible',false); Node188.a('node.underlineBorderWidth', 1); } dataModel.add(Node188); zoomNodeList.push({ node: Node188, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node189type = 'rect'; var Node189 = new ht.Node(), Node189BorderWidth = 0*2; if (Node189type === 'arc') { Node189BorderWidth *= 0; } Node189.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node189.setPosition(772*ratio.ratioX, 426*ratio.ratioY); Node189.setSize(27*_ratio.ratioX, 208*_ratio.ratioY); Node189.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node189.a('node.width', 27*_ratio.ratioX); Node189.a('node.height', 208*_ratio.ratioY); Node189.a('node.type', Node189type); Node189.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]); Node189.a('node.background', 'rgba(32,191,135,1)'); Node189.a('node.gradientcolor', 'rgba(32,191,135,1)'); Node189.a('node.gradient', ''); Node189.a('node.borderwidth', Node189BorderWidth); Node189.a('node.color', 'rgba(0,0,0,0)'); Node189.a('node.fillrect', [0,0,0,0]); Node189.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node189.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node189.a('node.fillgradient', ''); if (Node189type !== 'rect') { Node189.a('node.arcFrom', parseFloat('@arcFrom@')); Node189.a('node.arcTo', parseFloat('@arcTo@')); Node189.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node189type === 'arc') { Node189.a('node.arcOval', true); } Node189.setRotation(0*Math.PI/180); Node189.borderWidth = Node189BorderWidth; Node189.borderFillwidth = Node189BorderWidth; dataModel.add(Node189); Node189._nodename = 'Node189' Node189._nodeType = 'rect'; zoomNodeList.push({ node: Node189, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node189, Node189.getImage()); var Node190style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"}; var Node190obj=getIndicatorAndSheBeiArr(Node190GroupVarName,Node190GroupInVarName); var Node190series=getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style); Node190series && Node190series[0] && (Node190series[0].barGap = 0); var Node190option = { tooltip : { trigger: 'axis', axisPointer : { type : 'shadow', shadowStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色 }, { offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色 }], globalCoord: false // 缺省为 false }, opacity: 0.2 } }, // formatter:function (params, ticket, callback) { // console.log(params, ticket); // return params.name +':
'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%'; // var result ; // for (var i = 0, len = params.length; i < len; i++) { // } // } }, grid: { left: '0%', right: '0%', bottom: '3%', top:'5%', containLabel: true }, legend:{ show:false, data:Node190obj["indicatorArr"] }, xAxis : [ { type : 'category', splitNumber:0, data :Node190obj["shebeiArr"], axisLine:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, axisLabel:{ inside:false, interval: 0, textStyle:{ fontSize:"13.3333" } }, z: 10, splitLine:{ show:false, lineStyle:{ color:'rgba(211,211,211,1)' } } } ], yAxis : [ { type : 'value', min:0, max:1000, axisTick:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, precision:2, axisLine:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, axisLabel:{ textStyle:{ fontSize:"13.3333" } }, splitLine:{ show:true, lineStyle:{ color:'rgba(211,211,211,1)' } } }], color: Node190obj.colorArr, series : Node190series }; var Node190 = new ht.HtmlNode(); var Node190BeginTime = ""; var Node190endTime = ""; var Node190yRange = 'fixed'; Node190.setPosition({'x':1066*ratio.ratioX,'y':431*ratio.ratioY}); Node190.setWidth(542*ratio.ratioX); Node190.setHeight(208*ratio.ratioY); Node190.setScalable(false); Node190.s({ '2d.selectable': false, '2d.movable': false }); var Node190chart = new ht.Chart(Node190option, 542*ratio.ratioX, 208*ratio.ratioY); Node190.setHtml( Node190chart); var Node190_chart = Node190chart._chart; dataModel.add(Node190); function Node190Refresh(){ var option = Node190chart.getOption(), _option = Node190_chart.getOption(), ses = _option.series; option.series = getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style); if (Node190yRange === 'real') { var maxAndMin = GD.getMaxAndMinFromSeries(ses); option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0; option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000; } Node190_chart.setOption(option, true); } function Node190Search() { var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName="; // var tagsInfo = encodeURIComponent(Node190obj.tagArr.join(',')); var beginTime = "", endTime = "", type = 'static'; // 时间段:当日,当月,当年 。固定时间 var groupbarType = 'snap'; var beginTimeType = 'begin', endTimeType = 'end'; var difTagsInfo = '', staTagsInfo = '', staTagArr = [], difTagArr = []; (function () { var tagsType = Node190obj.statisticsTypeObj, k, v; for (var key in tagsType) { if (tagsType.hasOwnProperty(key)) { k = key; v = tagsType[k]; if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') { difTagArr.push(k); } else { staTagArr.push(k); } } } difTagsInfo = encodeURIComponent(difTagArr.join(',')); staTagsInfo = encodeURIComponent(staTagArr.join(',')); })(); if (groupbarType === 'snap') { Node190Refresh() return; } if (type === 'relday') { if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间 endTimeType = ''; } } else if (type === 'relmonth') { if (endTime === '0m') { endTimeType = '' } } else if (type === 'relyear') { if (endTime === '0y') { endTimeType = '' } } else if (type === 'static') { beginTimeType = ''; endTimeType = ''; } else { beginTimeType = 'begin'; endTimeType = ''; } beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType); endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType); var flag = 0, staData, difData; if (!GD.testSearchTime(beginTime, endTime)) { return false; } if (difTagsInfo) { $.ajax({ url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap', type: 'GET', cache: false, dataType: 'json', success: function (datas) { if (!datas) { difData = {}; return ; } difData = datas; }, complete: function (xhr) { xhr = null; flag ++; } }); } else { flag ++; difData = {}; complete(); } if (staTagsInfo) { $.ajax({ url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true', type: 'GET', cache: false, dataType: 'json', success: function (datas) { if (!datas) { staData = {}; return ; } staData = datas; }, complete: function (xhr) { xhr = null; flag ++; complete() } }); } else { flag ++; staData = {}; complete(); } function complete() { if (flag < 2) { return ; } var datas = staData; for (var key in difData) { if (difData.hasOwnProperty(key)) { if (!datas[key]) { datas[key] = difData[key]; } else { for (var k in difData[key]) { datas[key][k] = difData[key][k]; } } } } var option = Node190chart.getOption(), _option = Node190_chart.getOption(), ses = _option.series; var series = []; for (var i = 0, len = Node190GroupInVarName.length; i < len; i++) { var indiacatorData = Node190GroupInVarName[i]; var data = {}; data.name = indiacatorData.displayName || indiacatorData.Desc; data.type = 'bar'; data.data = []; for (var j = 0, leng = Node190GroupVarName.length; j < leng; j++) { var itemStyle={normal:{color:indiacatorData.color}}; data.itemStyle=itemStyle; var deviceData = Node190GroupVarName[j]; var value = 0; var tagName = '' + deviceData.Name + indiacatorData.Name; var statisticsType = Node190obj.statisticsTypeObj && Node190obj.statisticsTypeObj[tagName]; value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0; data.data.push(value); } series.push(data); } series && series[0] && (series[0].barGap = 0); option.series = series; if (Node190yRange === 'real') { var maxAndMin = GD.getMaxAndMinFromSeries(series); option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0; option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000; } else { option.yAxis[0].min = 0; option.yAxis[0].max = 1000; } Node190_chart.setOption(option, true); } } if(true){ Node190Refresh(); intervalTimers.push(setInterval(function(){ Node190Refresh(); },1000)); } else { // Node190Search(); }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node191type = 'rect'; var Node191 = new ht.Node(), Node191BorderWidth = 0*2; if (Node191type === 'arc') { Node191BorderWidth *= 0; } Node191.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node191type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node191.setPosition(1372*ratio.ratioX, 427*ratio.ratioY); Node191.setSize(27*_ratio.ratioX, 208*_ratio.ratioY); Node191.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node191.a('node.width', 27*_ratio.ratioX); Node191.a('node.height', 208*_ratio.ratioY); Node191.a('node.type', Node191type); Node191.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]); Node191.a('node.background', 'rgba(32,191,135,1)'); Node191.a('node.gradientcolor', 'rgba(32,191,135,1)'); Node191.a('node.gradient', ''); Node191.a('node.borderwidth', Node191BorderWidth); Node191.a('node.color', 'rgba(0,0,0,0)'); Node191.a('node.fillrect', [0,0,0,0]); Node191.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node191.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node191.a('node.fillgradient', ''); if (Node191type !== 'rect') { Node191.a('node.arcFrom', parseFloat('@arcFrom@')); Node191.a('node.arcTo', parseFloat('@arcTo@')); Node191.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node191type === 'arc') { Node191.a('node.arcOval', true); } Node191.setRotation(0*Math.PI/180); Node191.borderWidth = Node191BorderWidth; Node191.borderFillwidth = Node191BorderWidth; dataModel.add(Node191); Node191._nodename = 'Node191' Node191._nodeType = 'rect'; zoomNodeList.push({ node: Node191, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node191, Node191.getImage());option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:5, min: 0, max: 50, startAngle:180, endAngle:0, axisTick:{ length:5, lineStyle: { color:'rgba(255,255,255,1)' } }, axisLabel: { // 坐标轴小标记 textStyle: { // 属性lineStyle控制线条样式 color: 'rgba(64,64,64,1)' }, formatter: function (value, index) { return value.toFixed(0); } }, axisLine: { lineStyle: { color: [[0.2, 'rgba(0,128,0,1)'],[1, 'rgba(192,192,192,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 0 } }, detail: {formatter:'{value}',show:false}, data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node192 = new ht.HtmlNode(); Node192.setPosition({'x':1517*ratio.ratioX,'y':395*ratio.ratioY}); Node192.setWidth(270*_ratio.ratioX); Node192.setHeight(140*_ratio.ratioY); Node192.setScalable(false); Node192.setRotation(0); Node192.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY); Node192.setHtml(chart); var Node192_chart = chart._chart; dataModel.add(Node192);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node193 = new ht.Node(); var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'center', Node193fontSize = 18.66662*_ratio.ratioY,Node193width = 43*_ratio.ratioX, Node193height = 23*_ratio.ratioY; (function () { if (Node193align === 'left') { Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9; Node193textWidth = Node193width; Node193lineStart = 1; } else if (Node193align === 'right') { Node193textStart = 0; Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2; Node193lineStart = (Node193width - (ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node193align === 'center') { Node193textStart = -3; Node193textWidth = Node193width; Node193lineStart = Node193width - ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width - 11; } })(); Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, 'bold '+ Node193fontSize + 'px "Arial"')) Node193.setPosition(1511*ratio.ratioX, 376*ratio.ratioY); Node193.setWidth(Node193width); Node193.setHeight(Node193height); Node193._nodeType = 'text'; Node193._disallowEvert = true; Node193.setRotation(0*Math.PI/180); Node193.a('node.width', Node193width); Node193.a('node.height', Node193height); Node193.a('node.rect', [0, 0, Node193width, Node193height]); Node193.a('node.bordercolor','rgba(0,0,0,1)'); Node193.a('node.borderwidth', 0); Node193.a('node.background','' || 'rgba(0,0,0,0)'); Node193.a('node.gradient',''); Node193.a('node.gradientcolor',''); Node193.a('node.text','9.14'); Node193.a('node.textalign','center'); Node193.a('node.textvAlign','middle'); Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]); Node193.a('node.color','rgba(0,0,0,1)'); Node193.a('node.font','bold '+ Node193fontSize + 'px "Arial"'); Node193.a('node.textvisible',true); Node193.a('node.linefeed',false); if (false) { Node193.a('node.textfunc',function(g) { g.beginPath(); var str=Node193.a('node.text') || '9.14'; var color=Node193.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node193width,Node193height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node193fontSize + 'px "Arial"', 0,g); }); } if (false) { Node193.a('node.underlinepoints',[Node193lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]); Node193.a('node.underlinevisible',false); Node193.a('node.underlineBorderWidth', 1); } dataModel.add(Node193); zoomNodeList.push({ node: Node193, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node194 = new ht.Node(); var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 86*_ratio.ratioX, Node194height = 16*_ratio.ratioY; (function () { if (Node194align === 'left') { Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9; Node194textWidth = Node194width; Node194lineStart = 1; } else if (Node194align === 'right') { Node194textStart = 0; Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2; Node194lineStart = (Node194width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node194align === 'center') { Node194textStart = -3; Node194textWidth = Node194width; Node194lineStart = Node194width - ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width - 11; } })(); Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "Arial"')) Node194.setPosition(1529*ratio.ratioX, 411*ratio.ratioY); Node194.setWidth(Node194width); Node194.setHeight(Node194height); Node194._nodeType = 'text'; Node194._disallowEvert = true; Node194.setRotation(0*Math.PI/180); Node194.a('node.width', Node194width); Node194.a('node.height', Node194height); Node194.a('node.rect', [0, 0, Node194width, Node194height]); Node194.a('node.bordercolor','rgba(0,0,0,1)'); Node194.a('node.borderwidth', 0); Node194.a('node.background','' || 'rgba(0,0,0,0)'); Node194.a('node.gradient',''); Node194.a('node.gradientcolor',''); Node194.a('node.text','风速(m/s)'); Node194.a('node.textalign','left'); Node194.a('node.textvAlign','middle'); Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]); Node194.a('node.color','rgba(0,0,0,1)'); Node194.a('node.font',' '+ Node194fontSize + 'px "Arial"'); Node194.a('node.textvisible',true); Node194.a('node.linefeed',false); if (false) { Node194.a('node.textfunc',function(g) { g.beginPath(); var str=Node194.a('node.text') || '风速(m/s)'; var color=Node194.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "Arial"', 0,g); }); } if (false) { Node194.a('node.underlinepoints',[Node194lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]); Node194.a('node.underlinevisible',false); Node194.a('node.underlineBorderWidth', 1); } dataModel.add(Node194); zoomNodeList.push({ node: Node194, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node195 = new ht.Node(); var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 18.66662*_ratio.ratioY,Node195width = 65*_ratio.ratioX, Node195height = 23*_ratio.ratioY; (function () { if (Node195align === 'left') { Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9; Node195textWidth = Node195width; Node195lineStart = 1; } else if (Node195align === 'right') { Node195textStart = 0; Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2; Node195lineStart = (Node195width - (ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node195align === 'center') { Node195textStart = -3; Node195textWidth = Node195width; Node195lineStart = Node195width - ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width - 11; } })(); Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, 'bold '+ Node195fontSize + 'px "Arial"')) Node195.setPosition(1530*ratio.ratioX, 477*ratio.ratioY); Node195.setWidth(Node195width); Node195.setHeight(Node195height); Node195._nodeType = 'text'; Node195._disallowEvert = true; Node195.setRotation(0*Math.PI/180); Node195.a('node.width', Node195width); Node195.a('node.height', Node195height); Node195.a('node.rect', [0, 0, Node195width, Node195height]); Node195.a('node.bordercolor','rgba(0,0,0,1)'); Node195.a('node.borderwidth', 0); Node195.a('node.background','' || 'rgba(0,0,0,0)'); Node195.a('node.gradient',''); Node195.a('node.gradientcolor',''); Node195.a('node.text','8'); Node195.a('node.textalign','center'); Node195.a('node.textvAlign','middle'); Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]); Node195.a('node.color','rgba(0,0,0,1)'); Node195.a('node.font','bold '+ Node195fontSize + 'px "Arial"'); Node195.a('node.textvisible',true); Node195.a('node.linefeed',false); if (false) { Node195.a('node.textfunc',function(g) { g.beginPath(); var str=Node195.a('node.text') || '8'; var color=Node195.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195width,Node195height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node195fontSize + 'px "Arial"', 0,g); }); } if (false) { Node195.a('node.underlinepoints',[Node195lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]); Node195.a('node.underlinevisible',false); Node195.a('node.underlineBorderWidth', 1); } dataModel.add(Node195); zoomNodeList.push({ node: Node195, borderWidth: 0, attr: 'node.borderwidth' }); option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:5, min: 0, max: 1250, startAngle:180, endAngle:0, axisTick:{ length:5, lineStyle: { color:'rgba(255,255,255,1)' } }, axisLabel: { // 坐标轴小标记 textStyle: { // 属性lineStyle控制线条样式 color: 'rgba(64,64,64,1)' }, formatter: function (value, index) { return value.toFixed(0); } }, axisLine: { lineStyle: { color: [[0.488888888888889, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 0 } }, detail: {formatter:'{value}',show:false}, data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node196 = new ht.HtmlNode(); Node196.setPosition({'x':1746*ratio.ratioX,'y':400*ratio.ratioY}); Node196.setWidth(270*_ratio.ratioX); Node196.setHeight(140*_ratio.ratioY); Node196.setScalable(false); Node196.setRotation(0); Node196.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY); Node196.setHtml(chart); var Node196_chart = chart._chart; dataModel.add(Node196);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node197 = new ht.Node(); var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'center', Node197fontSize = 18.66662*_ratio.ratioY,Node197width = 65*_ratio.ratioX, Node197height = 23*_ratio.ratioY; (function () { if (Node197align === 'left') { Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9; Node197textWidth = Node197width; Node197lineStart = 1; } else if (Node197align === 'right') { Node197textStart = 0; Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2; Node197lineStart = (Node197width - (ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node197align === 'center') { Node197textStart = -3; Node197textWidth = Node197width; Node197lineStart = Node197width - ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width - 11; } })(); Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, 'bold '+ Node197fontSize + 'px "Arial"')) Node197.setPosition(1754*ratio.ratioX, 381*ratio.ratioY); Node197.setWidth(Node197width); Node197.setHeight(Node197height); Node197._nodeType = 'text'; Node197._disallowEvert = true; Node197.setRotation(0*Math.PI/180); Node197.a('node.width', Node197width); Node197.a('node.height', Node197height); Node197.a('node.rect', [0, 0, Node197width, Node197height]); Node197.a('node.bordercolor','rgba(0,0,0,1)'); Node197.a('node.borderwidth', 0); Node197.a('node.background','' || 'rgba(0,0,0,0)'); Node197.a('node.gradient',''); Node197.a('node.gradientcolor',''); Node197.a('node.text','10.1'); Node197.a('node.textalign','center'); Node197.a('node.textvAlign','middle'); Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]); Node197.a('node.color','rgba(0,0,0,1)'); Node197.a('node.font','bold '+ Node197fontSize + 'px "Arial"'); Node197.a('node.textvisible',true); Node197.a('node.linefeed',false); if (false) { Node197.a('node.textfunc',function(g) { g.beginPath(); var str=Node197.a('node.text') || '10.1'; var color=Node197.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node197width,Node197height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node197fontSize + 'px "Arial"', 0,g); }); } if (false) { Node197.a('node.underlinepoints',[Node197lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]); Node197.a('node.underlinevisible',false); Node197.a('node.underlineBorderWidth', 1); } dataModel.add(Node197); zoomNodeList.push({ node: Node197, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node198 = new ht.Node(); var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 98*_ratio.ratioX, Node198height = 16*_ratio.ratioY; (function () { if (Node198align === 'left') { Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9; Node198textWidth = Node198width; Node198lineStart = 1; } else if (Node198align === 'right') { Node198textStart = 0; Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2; Node198lineStart = (Node198width - (ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node198align === 'center') { Node198textStart = -3; Node198textWidth = Node198width; Node198lineStart = Node198width - ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width - 11; } })(); Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"')) Node198.setPosition(1751*ratio.ratioX, 415*ratio.ratioY); Node198.setWidth(Node198width); Node198.setHeight(Node198height); Node198._nodeType = 'text'; Node198._disallowEvert = true; Node198.setRotation(0*Math.PI/180); Node198.a('node.width', Node198width); Node198.a('node.height', Node198height); Node198.a('node.rect', [0, 0, Node198width, Node198height]); Node198.a('node.bordercolor','rgba(0,0,0,1)'); Node198.a('node.borderwidth', 0); Node198.a('node.background','' || 'rgba(0,0,0,0)'); Node198.a('node.gradient',''); Node198.a('node.gradientcolor',''); Node198.a('node.text','实发功率(MW)'); Node198.a('node.textalign','left'); Node198.a('node.textvAlign','middle'); Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]); Node198.a('node.color','rgba(0,0,0,1)'); Node198.a('node.font',' '+ Node198fontSize + 'px "Arial"'); Node198.a('node.textvisible',true); Node198.a('node.linefeed',false); if (false) { Node198.a('node.textfunc',function(g) { g.beginPath(); var str=Node198.a('node.text') || '实发功率(MW)'; var color=Node198.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g); }); } if (false) { Node198.a('node.underlinepoints',[Node198lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]); Node198.a('node.underlinevisible',false); Node198.a('node.underlineBorderWidth', 1); } dataModel.add(Node198); zoomNodeList.push({ node: Node198, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node199 = new ht.Node(); var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'center', Node199fontSize = 18.66662*_ratio.ratioY,Node199width = 65*_ratio.ratioX, Node199height = 23*_ratio.ratioY; (function () { if (Node199align === 'left') { Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9; Node199textWidth = Node199width; Node199lineStart = 1; } else if (Node199align === 'right') { Node199textStart = 0; Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2; Node199lineStart = (Node199width - (ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node199align === 'center') { Node199textStart = -3; Node199textWidth = Node199width; Node199lineStart = Node199width - ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width - 11; } })(); Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"')) Node199.setPosition(1749*ratio.ratioX, 482*ratio.ratioY); Node199.setWidth(Node199width); Node199.setHeight(Node199height); Node199._nodeType = 'text'; Node199._disallowEvert = true; Node199.setRotation(0*Math.PI/180); Node199.a('node.width', Node199width); Node199.a('node.height', Node199height); Node199.a('node.rect', [0, 0, Node199width, Node199height]); Node199.a('node.bordercolor','rgba(0,0,0,1)'); Node199.a('node.borderwidth', 0); Node199.a('node.background','' || 'rgba(0,0,0,0)'); Node199.a('node.gradient',''); Node199.a('node.gradientcolor',''); Node199.a('node.text','12'); Node199.a('node.textalign','center'); Node199.a('node.textvAlign','middle'); Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]); Node199.a('node.color','rgba(0,0,0,1)'); Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"'); Node199.a('node.textvisible',true); Node199.a('node.linefeed',false); if (false) { Node199.a('node.textfunc',function(g) { g.beginPath(); var str=Node199.a('node.text') || '12'; var color=Node199.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node199width,Node199height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g); }); } if (false) { Node199.a('node.underlinepoints',[Node199lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]); Node199.a('node.underlinevisible',false); Node199.a('node.underlineBorderWidth', 1); } dataModel.add(Node199); zoomNodeList.push({ node: Node199, borderWidth: 0, attr: 'node.borderwidth' }); var Node200style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"}; var Node200obj=getIndicatorAndSheBeiArr(Node200GroupVarName,Node200GroupInVarName); var Node200series=getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style); Node200series && Node200series[0] && (Node200series[0].barGap = 0); var Node200option = { tooltip : { trigger: 'axis', axisPointer : { type : 'shadow', shadowStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色 }, { offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色 }], globalCoord: false // 缺省为 false }, opacity: 0.2 } }, // formatter:function (params, ticket, callback) { // console.log(params, ticket); // return params.name +':
'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%'; // var result ; // for (var i = 0, len = params.length; i < len; i++) { // } // } }, grid: { left: '0%', right: '0%', bottom: '3%', top:'5%', containLabel: true }, legend:{ show:false, data:Node200obj["indicatorArr"] }, xAxis : [ { type : 'category', splitNumber:0, data :Node200obj["shebeiArr"], axisLine:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, axisLabel:{ inside:false, interval: 0, textStyle:{ fontSize:"13.3333" } }, z: 10, splitLine:{ show:false, lineStyle:{ color:'rgba(211,211,211,1)' } } } ], yAxis : [ { type : 'value', min:0, max:1000, axisTick:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, precision:2, axisLine:{ lineStyle:{ color:'rgba(128,128,128,1)' } }, axisLabel:{ textStyle:{ fontSize:"13.3333" } }, splitLine:{ show:true, lineStyle:{ color:'rgba(211,211,211,1)' } } }], color: Node200obj.colorArr, series : Node200series }; var Node200 = new ht.HtmlNode(); var Node200BeginTime = ""; var Node200endTime = ""; var Node200yRange = 'fixed'; Node200.setPosition({'x':1354*ratio.ratioX,'y':645*ratio.ratioY}); Node200.setWidth(1110*ratio.ratioX); Node200.setHeight(208*ratio.ratioY); Node200.setScalable(false); Node200.s({ '2d.selectable': false, '2d.movable': false }); var Node200chart = new ht.Chart(Node200option, 1110*ratio.ratioX, 208*ratio.ratioY); Node200.setHtml( Node200chart); var Node200_chart = Node200chart._chart; dataModel.add(Node200); function Node200Refresh(){ var option = Node200chart.getOption(), _option = Node200_chart.getOption(), ses = _option.series; option.series = getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style); if (Node200yRange === 'real') { var maxAndMin = GD.getMaxAndMinFromSeries(ses); option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0; option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000; } Node200_chart.setOption(option, true); } function Node200Search() { var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName="; // var tagsInfo = encodeURIComponent(Node200obj.tagArr.join(',')); var beginTime = "", endTime = "", type = 'static'; // 时间段:当日,当月,当年 。固定时间 var groupbarType = 'snap'; var beginTimeType = 'begin', endTimeType = 'end'; var difTagsInfo = '', staTagsInfo = '', staTagArr = [], difTagArr = []; (function () { var tagsType = Node200obj.statisticsTypeObj, k, v; for (var key in tagsType) { if (tagsType.hasOwnProperty(key)) { k = key; v = tagsType[k]; if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') { difTagArr.push(k); } else { staTagArr.push(k); } } } difTagsInfo = encodeURIComponent(difTagArr.join(',')); staTagsInfo = encodeURIComponent(staTagArr.join(',')); })(); if (groupbarType === 'snap') { Node200Refresh() return; } if (type === 'relday') { if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间 endTimeType = ''; } } else if (type === 'relmonth') { if (endTime === '0m') { endTimeType = '' } } else if (type === 'relyear') { if (endTime === '0y') { endTimeType = '' } } else if (type === 'static') { beginTimeType = ''; endTimeType = ''; } else { beginTimeType = 'begin'; endTimeType = ''; } beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType); endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType); var flag = 0, staData, difData; if (!GD.testSearchTime(beginTime, endTime)) { return false; } if (difTagsInfo) { $.ajax({ url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap', type: 'GET', cache: false, dataType: 'json', success: function (datas) { if (!datas) { difData = {}; return ; } difData = datas; }, complete: function (xhr) { xhr = null; flag ++; } }); } else { flag ++; difData = {}; complete(); } if (staTagsInfo) { $.ajax({ url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true', type: 'GET', cache: false, dataType: 'json', success: function (datas) { if (!datas) { staData = {}; return ; } staData = datas; }, complete: function (xhr) { xhr = null; flag ++; complete() } }); } else { flag ++; staData = {}; complete(); } function complete() { if (flag < 2) { return ; } var datas = staData; for (var key in difData) { if (difData.hasOwnProperty(key)) { if (!datas[key]) { datas[key] = difData[key]; } else { for (var k in difData[key]) { datas[key][k] = difData[key][k]; } } } } var option = Node200chart.getOption(), _option = Node200_chart.getOption(), ses = _option.series; var series = []; for (var i = 0, len = Node200GroupInVarName.length; i < len; i++) { var indiacatorData = Node200GroupInVarName[i]; var data = {}; data.name = indiacatorData.displayName || indiacatorData.Desc; data.type = 'bar'; data.data = []; for (var j = 0, leng = Node200GroupVarName.length; j < leng; j++) { var itemStyle={normal:{color:indiacatorData.color}}; data.itemStyle=itemStyle; var deviceData = Node200GroupVarName[j]; var value = 0; var tagName = '' + deviceData.Name + indiacatorData.Name; var statisticsType = Node200obj.statisticsTypeObj && Node200obj.statisticsTypeObj[tagName]; value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0; data.data.push(value); } series.push(data); } series && series[0] && (series[0].barGap = 0); option.series = series; if (Node200yRange === 'real') { var maxAndMin = GD.getMaxAndMinFromSeries(series); option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0; option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000; } else { option.yAxis[0].min = 0; option.yAxis[0].max = 1000; } Node200_chart.setOption(option, true); } } if(true){ Node200Refresh(); intervalTimers.push(setInterval(function(){ Node200Refresh(); },1000)); } else { // Node200Search(); }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node201type = 'rect'; var Node201 = new ht.Node(), Node201BorderWidth = 0*2; if (Node201type === 'arc') { Node201BorderWidth *= 0; } Node201.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node201type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node201.setPosition(772*ratio.ratioX, 636*ratio.ratioY); Node201.setSize(27*_ratio.ratioX, 208*_ratio.ratioY); Node201.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node201.a('node.width', 27*_ratio.ratioX); Node201.a('node.height', 208*_ratio.ratioY); Node201.a('node.type', Node201type); Node201.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]); Node201.a('node.background', 'rgba(32,191,135,1)'); Node201.a('node.gradientcolor', 'rgba(32,191,135,1)'); Node201.a('node.gradient', ''); Node201.a('node.borderwidth', Node201BorderWidth); Node201.a('node.color', 'rgba(0,0,0,0)'); Node201.a('node.fillrect', [0,0,0,0]); Node201.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node201.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node201.a('node.fillgradient', ''); if (Node201type !== 'rect') { Node201.a('node.arcFrom', parseFloat('@arcFrom@')); Node201.a('node.arcTo', parseFloat('@arcTo@')); Node201.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node201type === 'arc') { Node201.a('node.arcOval', true); } Node201.setRotation(0*Math.PI/180); Node201.borderWidth = Node201BorderWidth; Node201.borderFillwidth = Node201BorderWidth; dataModel.add(Node201); Node201._nodename = 'Node201' Node201._nodeType = 'rect'; zoomNodeList.push({ node: Node201, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node201, Node201.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node202type = 'rect'; var Node202 = new ht.Node(), Node202BorderWidth = 0*2; if (Node202type === 'arc') { Node202BorderWidth *= 0; } Node202.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node202type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node202.setPosition(773*ratio.ratioX, 847*ratio.ratioY); Node202.setSize(27*_ratio.ratioX, 208*_ratio.ratioY); Node202.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node202.a('node.width', 27*_ratio.ratioX); Node202.a('node.height', 208*_ratio.ratioY); Node202.a('node.type', Node202type); Node202.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]); Node202.a('node.background', 'rgba(32,191,135,1)'); Node202.a('node.gradientcolor', 'rgba(32,191,135,1)'); Node202.a('node.gradient', ''); Node202.a('node.borderwidth', Node202BorderWidth); Node202.a('node.color', 'rgba(0,0,0,0)'); Node202.a('node.fillrect', [0,0,0,0]); Node202.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node202.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node202.a('node.fillgradient', ''); if (Node202type !== 'rect') { Node202.a('node.arcFrom', parseFloat('@arcFrom@')); Node202.a('node.arcTo', parseFloat('@arcTo@')); Node202.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node202type === 'arc') { Node202.a('node.arcOval', true); } Node202.setRotation(0*Math.PI/180); Node202.borderWidth = Node202BorderWidth; Node202.borderFillwidth = Node202BorderWidth; dataModel.add(Node202); Node202._nodename = 'Node202' Node202._nodeType = 'rect'; zoomNodeList.push({ node: Node202, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node202, Node202.getImage());var Node203; var Node203_chart; var Node203dictags=''; var Node203tags=''; var Node203YAxisArr = []; var Node203TagsObjArr = [{"pvList":[],"visible":true,"name":"demo.DEMO_AI001","VarName":"demo.DEMO_AI001","Name":"demo.DEMO_AI001","Low":0.0,"High":100.0,"LineWid":1,"Col":"255, 0, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0},{"pvList":[],"visible":true,"name":"demo.DEMO_AI002","VarName":"demo.DEMO_AI002","Name":"demo.DEMO_AI002","Low":0.0,"High":100.0,"LineWid":1,"Col":"0, 192, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0}]; var Node203TagsArr = []; var Node203TagDataArr = [], Node203UnitDicObj = {}; var Node203isMultiYaxis = false, Node203isFreeRange = false; var Node203IntervalTimer; var Node203RefreshCount = 0; var Node203interval, Node203count, Node203pointInterval, Node203contextmenu; function Node203createYAxis (min, max, yAxiColor, gridlinewidth, show) { return { show: show, splitNumber:2, type: 'value', min:min, max:max, interval: parseInt((max - min) / 2) || 20, axisLine:{ lineStyle:{ color:yAxiColor } }, splitLine:{ show: true, lineStyle:{ color:'rgba(192,192,192,1)' , width:gridlinewidth, type:'solid' } }, axisTick:{ show:true, lineStyle:{ color:yAxiColor } }, axisLabel:{ textStyle:{ color:yAxiColor, fontSize:13.3333 }, formatter: function (value) { return value.toFixed(1); } } } } function Node203loadYAxis(tagsArr) { if (!tagsArr) return ; Node203dictags = {}; Node203TagDataArr = []; Node203UnitDicObj = {}; Node203YAxisArr.length = 0; var tag, yAxis, tempArr = [], leftCount = 0, rightCount = 0, hideCount = 0, hideWidth = 0, tagData, tagName; Node203Option.legend.data.length = 0; for (var i = 0, len = tagsArr.length; i < len; i++) { tag = tagsArr[i]; tagData = {}; if(Node203isMultiYaxis||Node203isFreeRange){ yAxis = Node203createYAxis(tag.Low, tag.High, 'rgb('+ tag.Col +')', tag.LineWid, true); }else{ yAxis = Node203createYAxis(0, 1000, 'rgba(105,105,105,1)', tag.LineWid, true); } if (tag.ShowScaleType === 0 ) { yAxis.show = false; yAxis.position = 'left'; yAxis.offset = 0; hideCount ++; hideWidth += GD.measureCanvasText(yAxis.max, 13.3333+'px') + 10; } else if (tag.ShowScaleType === 1) { yAxis.position = 'left'; yAxis.offset = leftCount * 60; leftCount++; } else if (tag.ShowScaleType === 2) { yAxis.position = 'right'; yAxis.offset = rightCount * 60; rightCount ++; } if (Node203isFreeRange) { yAxis.max = function (value) { var t = Math.abs((value.max - value.min) * 0.2); t = t == 0 ? 10 : t; return Math.ceil(value.max + t); }; yAxis.min = function (value) { var t = Math.abs((value.max - value.min) * 0.2); t = t == 0 ? 10 : t; return Math.floor(value.min - t); }; hideCount = 0; } if (!Node203isMultiYaxis) { if (i === 0) { Node203YAxisArr.push(yAxis); hideCount = 0; } } else { Node203YAxisArr.push(yAxis); } if (tag.name) { tagName = tag.name; if (tagName.indexOf('+') !== -1) { tagName = GD.eval(tagName); } getVarValue(tagName); tempArr.push(tagName); tagData.name = tagName; tagData.displayName = tag.displayName; // Node203Option.legend.data[i] = tagData.displayName; Node203UnitDicObj[tagData.displayName] = tagData.Unit; Node203dictags[tagName] = tag.displayName; Node203dictags[tagName + 'index'] = i; } Node203TagDataArr.push(tagData); } Node203tags = tempArr.join(','); Node203TagsArr = tempArr; if (hideCount > 0 && Node203isMultiYaxis) { Node203Option.grid.left = (-1) * hideWidth; } } function Node203GetHistoryData(callback) { var Node203Now = Date.now(); var Node203CmdStr = Node203tags + '&beginTime='+ moment(Node203Now-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss') +'&endTime='+ moment(Node203Now).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count; GD.getHisTrendData(Node203CmdStr, function (data) { Node203SetupHistoryData(data); callback(); }); } function Node203SetupHistoryData(data) { var hisValues = data || {}; var k = 0; var date = []; var test_data = {}; var dictagdesc = Node203dictags, areaStyleShow = false; var option = Node203Option; option.legend && option.legend.data && (option.legend.data.length = 0); for (tag in hisValues) { test_data[tag] = []; option.series[k] = {}; option.series[k].name = dictagdesc[tag]; option.series[k].type = 'line'; option.series[k].showSymbol = false; option.series[k].sampling = 'average'; option.series[k].symbol = "none"; option.series[k].animation = false; if (option.yAxis && option.yAxis.length > 1) { dictagdesc[tag + 'index'] && (option.series[k].yAxisIndex = dictagdesc[tag + 'index']); } if (areaStyleShow) { option.series[k].areaStyle = { normal: {} }; } option.legend && option.legend.data && option.legend.data.push(dictagdesc[tag]); for (var i = 0; i < hisValues[tag].length; i++) { var time = hisValues[tag][i].Time; var timepts = time.split(' '); var timepars = timepts[0].split('/'); if (timepars[1] < 10) { time = time.replace("/" + timepars[1] + "/", "/0" + timepars[1] + "/"); } if (timepars[2] < 10) { time = time.replace("/" + timepars[2] + " ", "/0" + timepars[2] + " "); } //2017-04-01 15:34:28.000 time = time.replace("/", "-"); time = time.replace("/", "-"); time = time.replace(" ", "T"); var tagTime = moment(time).format(); var tagValue = parseFloat(hisValues[tag][i].Value).toFixed(2); test_data[tag][i] = { name: tagTime, value: [ tagTime, tagValue ] }; } option.series[k].data = test_data[tag]; k++; } Node203BindOption(option) } function Node203BindOption(option) { if (option.xAxis) { option.xAxis.interval = 600*1000 / 5; option.xAxis.max = Date.now() + (600 * (1-(0.666 || 1)) * 1000); } Node203_chart.setOption(option, true); } function Node203DisposeChart() { Node203contextmenu && Node203contextmenu.dispose(); Node203_chart.dispose(); } function Node203GetRealData() { var data, tag, newDate, series, currentdata, oldData; series = Node203Option.series; newDate = Date.now(); for (var i = 0, l = Node203TagDataArr.length; i < l; i++) { data = Node203TagDataArr[i]; if (!series[i]) continue; currentdata = series[i].data; oldData = currentdata.shift(); oldData = oldData || {}; oldData.name = moment(newDate).format('YYYY-MM-DD HH:mm:ss'); if (oldData.value) { oldData.value[0] = newDate; oldData.value[1] = (getVarValue(data.name) - 0).toFixed(2); } else { oldData.value = [newDate, (getVarValue(data.name) - 0).toFixed(2)]; } currentdata.push(oldData); if(series[i].data.length > 20000) { series[i].data.splice(0,series[i].data.length-20000); } } if (++ Node203RefreshCount > 900) { // 刷新超过半小时就重置一次 Node203RefreshCount = 0; Node203DisposeChart(); Node203InitChart(); } Node203BindOption(Node203Option) } function Node203AutoRefresh() { Node203IntervalTimer && clearInterval(Node203IntervalTimer); // Node203IntervalTimer = setInterval(Node203GetRealData, 1000); Node203IntervalTimer = setInterval(Node203GetRealData, 1000); intervalTimers.push(Node203IntervalTimer); } function Node203InitChart () { Node203chart = new ht.Chart(Node203Option, 1114*ratio.ratioX, 178*ratio.ratioY); Node203.setHtml(Node203chart); Node203_chart = Node203chart._chart; window.Node203_chart = Node203_chart; Node203chart._chart.getZr().on('mousewheel', function () { Node203IntervalTimer && clearInterval(Node203IntervalTimer); }); setTimeout(function () { var contextmenu = new ht.widget.ContextMenu(), items = [ { label: '重置', action: function (e) { Node203GetHistoryData(Node203AutoRefresh); } } ] contextmenu.beforeShow = function (e) { this.setItems(items); } contextmenu.addTo(Node203chart.getView()); Node203contextmenu = contextmenu; }, 500) } function Node203Init() { Node203loadYAxis(Node203TagsObjArr); Node203 = new ht.HtmlNode(); Node203.setPosition({'x':1357*ratio.ratioX,'y':845*ratio.ratioY}); Node203.setWidth(1114*ratio.ratioX); Node203.setHeight(178*ratio.ratioY); Node203.setScalable(false); Node203.s({ '2d.selectable': false, '2d.movable': false }); Node203InitChart(); dataModel.add(Node203); Node203interval=600; if(Node203interval>3000){ Node203count=3000; Node203pointInterval = Math.ceil(Node203interval / 3000); } else { Node203count = Node203interval; Node203pointInterval = 1; } Node203GetHistoryData(Node203AutoRefresh); } var Node203Option = { color:['rgba(255,0,0,1)','rgba(0,192,0,1)'], tooltip: { trigger: 'axis', position: function (pt) { return [pt[0], '10%']; }, // backgroundColor:"@toolticpback@", backgroundColor: 'rgba(32,178,170,1)', borderWidth: 1, borderColor: 'rgba(32,178,170,1)', textStyle: { color: 'rgba(211,211,211,1)', fontFamily: 'Arail', fontSize: 13 }, formatter: function (params) { var result = '', p, unit; if (params && params.length <= 0) { return ; } result = ''+ moment(params[0].axisValue).format('YYYY-MM-DD hh:mm:ss') +'
' for (var i = 0, len = params.length; i < len; i++) { p = params[i] || {}; p.value = p.value || []; unit = Node203UnitDicObj[p.seriesName]; unit = unit ? ' ('+ unit +')' : ''; result += p.marker + '' + p.seriesName + ' : ' + p.value[1] + unit + '
' } return result; } }, legend: { show:true, top:'top', left:'center', data:[], textStyle:{ fontSize:10.66664, color: 'rgba(105,105,105,1)', fontWeight: 'bold', fontFamily :'Arial' }, inactiveColor: 'rgba(102,121,161,1)', icon: 'roundRect', itemWidth: 16, itemHeight: 16 }, grid: { left: '2%', right: '3%', bottom:'2%', top:true ? '25px' : '5%', show:false, containLabel: true, backgroundColor:'rgba(211,211,211,1)' }, xAxis: { splitNumber:5, type : 'time', boundaryGap : false, axisLine:{ lineStyle:{ color:'rgba(211,211,211,1)' } }, splitLine: { show: false, lineStyle: { color: 'rgba(192,192,192,1)', width:1, type:'solid' }, }, axisTick:{ show:true, lineStyle:{ color:'rgba(211,211,211,1)' } }, axisLabel:{ show:true, textStyle:{ color:"rgba(211,211,211,1)", fontSize:"13.3333" }, formatter:function(value){return moment(value).format('HH:mm:ss');} } }, yAxis: Node203YAxisArr, dataZoom: [ { show: false, realtime: true, start: 0, end: 100 }, { type: 'inside', realtime: true, start: 0, end: 100 } ], series: [] }; function Node203StartGetRealData() { Node203IntervalTimer && clearInterval(Node203IntervalTimer); // Node203IntervalTimer = setInterval(Node203GetRealData, 1000); Node203IntervalTimer = setInterval(Node203RefreshData, 1000); intervalTimers.push(Node203IntervalTimer); }; Node203Init(); function Node203SetOption (varList,beginTime){ var dateNow = Date.now(); beginTime = beginTime || moment(dateNow-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss'); Node203CmdStr = varList + '&beginTime='+ beginTime +'&endTime='+ moment(dateNow).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count; getHisTrendData(Node203CmdStr, function(data){ Node203SetupHistoryData(data); Node203AutoRefresh(); } ); }; function Node203EquipSure() { Node203loadYAxis(Node203TagsObjArr); Node203GetHistoryData(Node203AutoRefresh); };_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node204 = new ht.Node(); var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'center', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 9*_ratio.ratioX, Node204height = 40*_ratio.ratioY; (function () { if (Node204align === 'left') { Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9; Node204textWidth = Node204width; Node204lineStart = 1; } else if (Node204align === 'right') { Node204textStart = 0; Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2; Node204lineStart = (Node204width - (ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node204align === 'center') { Node204textStart = -3; Node204textWidth = Node204width; Node204lineStart = Node204width - ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width - 11; } })(); Node204.setImage(GD.getTextJSON(Node204width, Node204height, false, true, false, ' '+ Node204fontSize + 'px "Arial"')) Node204.setPosition(771*ratio.ratioX, 264*ratio.ratioY); Node204.setWidth(Node204width); Node204.setHeight(Node204height); Node204._nodeType = 'text'; Node204._disallowEvert = true; Node204.setRotation(0*Math.PI/180); Node204.a('node.width', Node204width); Node204.a('node.height', Node204height); Node204.a('node.rect', [0, 0, Node204width, Node204height]); Node204.a('node.bordercolor','rgba(255,255,255,1)'); Node204.a('node.borderwidth', 0); Node204.a('node.background','' || 'rgba(0,0,0,0)'); Node204.a('node.gradient',''); Node204.a('node.gradientcolor',''); Node204.a('node.text','风机状态'); Node204.a('node.textalign','center'); Node204.a('node.textvAlign','middle'); Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]); Node204.a('node.color','rgba(255,255,255,1)'); Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"'); Node204.a('node.textvisible',false); Node204.a('node.linefeed',true); if (true) { Node204.a('node.textfunc',function(g) { g.beginPath(); var str=Node204.a('node.text') || '风机状态'; var color=Node204.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"center",color,' '+ Node204fontSize + 'px "Arial"', 0,g); }); } if (false) { Node204.a('node.underlinepoints',[Node204lineStart, (40 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]); Node204.a('node.underlinevisible',false); Node204.a('node.underlineBorderWidth', 1); } dataModel.add(Node204); zoomNodeList.push({ node: Node204, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node205 = new ht.Node(); var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'center', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 9*_ratio.ratioX, Node205height = 94*_ratio.ratioY; (function () { if (Node205align === 'left') { Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9; Node205textWidth = Node205width; Node205lineStart = 1; } else if (Node205align === 'right') { Node205textStart = 0; Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2; Node205lineStart = (Node205width - (ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node205align === 'center') { Node205textStart = -3; Node205textWidth = Node205width; Node205lineStart = Node205width - ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width - 11; } })(); Node205.setImage(GD.getTextJSON(Node205width, Node205height, false, true, false, ' '+ Node205fontSize + 'px "Arial"')) Node205.setPosition(771*ratio.ratioX, 409*ratio.ratioY); Node205.setWidth(Node205width); Node205.setHeight(Node205height); Node205._nodeType = 'text'; Node205._disallowEvert = true; Node205.setRotation(0*Math.PI/180); Node205.a('node.width', Node205width); Node205.a('node.height', Node205height); Node205.a('node.rect', [0, 0, Node205width, Node205height]); Node205.a('node.bordercolor','rgba(255,255,255,1)'); Node205.a('node.borderwidth', 0); Node205.a('node.background','' || 'rgba(0,0,0,0)'); Node205.a('node.gradient',''); Node205.a('node.gradientcolor',''); Node205.a('node.text','日发电量'); Node205.a('node.textalign','center'); Node205.a('node.textvAlign','middle'); Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]); Node205.a('node.color','rgba(255,255,255,1)'); Node205.a('node.font',' '+ Node205fontSize + 'px "Arial"'); Node205.a('node.textvisible',false); Node205.a('node.linefeed',true); if (true) { Node205.a('node.textfunc',function(g) { g.beginPath(); var str=Node205.a('node.text') || '日发电量'; var color=Node205.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"center",color,' '+ Node205fontSize + 'px "Arial"', 0,g); }); } if (false) { Node205.a('node.underlinepoints',[Node205lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]); Node205.a('node.underlinevisible',false); Node205.a('node.underlineBorderWidth', 1); } dataModel.add(Node205); zoomNodeList.push({ node: Node205, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node206 = new ht.Node(); var Node206textStart, Node206textWidth, Node206lineStart, Node206align = 'center', Node206fontSize = 13.3333*_ratio.ratioY,Node206width = 9*_ratio.ratioX, Node206height = 94*_ratio.ratioY; (function () { if (Node206align === 'left') { Node206textStart = Node206fontSize * 0.2 > 2 ? Node206fontSize * 0.2 - 4 : Node206fontSize * 0.2 - 9; Node206textWidth = Node206width; Node206lineStart = 1; } else if (Node206align === 'right') { Node206textStart = 0; Node206textWidth =Node206fontSize <= 8 ? Node206width + Node206fontSize * 0.2 + 6 : Node206width - Node206fontSize * 0.2; Node206lineStart = (Node206width - (ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node206align === 'center') { Node206textStart = -3; Node206textWidth = Node206width; Node206lineStart = Node206width - ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width - 11; } })(); Node206.setImage(GD.getTextJSON(Node206width, Node206height, false, true, false, ' '+ Node206fontSize + 'px "Arial"')) Node206.setPosition(1371*ratio.ratioX, 399*ratio.ratioY); Node206.setWidth(Node206width); Node206.setHeight(Node206height); Node206._nodeType = 'text'; Node206._disallowEvert = true; Node206.setRotation(0*Math.PI/180); Node206.a('node.width', Node206width); Node206.a('node.height', Node206height); Node206.a('node.rect', [0, 0, Node206width, Node206height]); Node206.a('node.bordercolor','rgba(255,255,255,1)'); Node206.a('node.borderwidth', 0); Node206.a('node.background','' || 'rgba(0,0,0,0)'); Node206.a('node.gradient',''); Node206.a('node.gradientcolor',''); Node206.a('node.text','风机负荷'); Node206.a('node.textalign','center'); Node206.a('node.textvAlign','middle'); Node206.a('node.textrect', [Node206textStart, 0, Node206textWidth, Node206height]); Node206.a('node.color','rgba(255,255,255,1)'); Node206.a('node.font',' '+ Node206fontSize + 'px "Arial"'); Node206.a('node.textvisible',false); Node206.a('node.linefeed',true); if (true) { Node206.a('node.textfunc',function(g) { g.beginPath(); var str=Node206.a('node.text') || '风机负荷'; var color=Node206.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node206width,Node206height,13.3333*_ratio.ratioY,"center",color,' '+ Node206fontSize + 'px "Arial"', 0,g); }); } if (false) { Node206.a('node.underlinepoints',[Node206lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6, (Node206height - Node206fontSize) * 0.5*_ratio.ratioY + Node206fontSize + 2 ]); Node206.a('node.underlinevisible',false); Node206.a('node.underlineBorderWidth', 1); } dataModel.add(Node206); zoomNodeList.push({ node: Node206, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node207 = new ht.Node(); var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'center', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 9*_ratio.ratioX, Node207height = 94*_ratio.ratioY; (function () { if (Node207align === 'left') { Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9; Node207textWidth = Node207width; Node207lineStart = 1; } else if (Node207align === 'right') { Node207textStart = 0; Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2; Node207lineStart = (Node207width - (ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node207align === 'center') { Node207textStart = -3; Node207textWidth = Node207width; Node207lineStart = Node207width - ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width - 11; } })(); Node207.setImage(GD.getTextJSON(Node207width, Node207height, false, true, false, ' '+ Node207fontSize + 'px "Arial"')) Node207.setPosition(771*ratio.ratioX, 619*ratio.ratioY); Node207.setWidth(Node207width); Node207.setHeight(Node207height); Node207._nodeType = 'text'; Node207._disallowEvert = true; Node207.setRotation(0*Math.PI/180); Node207.a('node.width', Node207width); Node207.a('node.height', Node207height); Node207.a('node.rect', [0, 0, Node207width, Node207height]); Node207.a('node.bordercolor','rgba(255,255,255,1)'); Node207.a('node.borderwidth', 0); Node207.a('node.background','' || 'rgba(0,0,0,0)'); Node207.a('node.gradient',''); Node207.a('node.gradientcolor',''); Node207.a('node.text','月发电量'); Node207.a('node.textalign','center'); Node207.a('node.textvAlign','middle'); Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]); Node207.a('node.color','rgba(255,255,255,1)'); Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"'); Node207.a('node.textvisible',false); Node207.a('node.linefeed',true); if (true) { Node207.a('node.textfunc',function(g) { g.beginPath(); var str=Node207.a('node.text') || '月发电量'; var color=Node207.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"center",color,' '+ Node207fontSize + 'px "Arial"', 0,g); }); } if (false) { Node207.a('node.underlinepoints',[Node207lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]); Node207.a('node.underlinevisible',false); Node207.a('node.underlineBorderWidth', 1); } dataModel.add(Node207); zoomNodeList.push({ node: Node207, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node208 = new ht.Node(); var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'center', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 9*_ratio.ratioX, Node208height = 94*_ratio.ratioY; (function () { if (Node208align === 'left') { Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9; Node208textWidth = Node208width; Node208lineStart = 1; } else if (Node208align === 'right') { Node208textStart = 0; Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2; Node208lineStart = (Node208width - (ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node208align === 'center') { Node208textStart = -3; Node208textWidth = Node208width; Node208lineStart = Node208width - ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width - 11; } })(); Node208.setImage(GD.getTextJSON(Node208width, Node208height, false, true, false, ' '+ Node208fontSize + 'px "Arial"')) Node208.setPosition(771*ratio.ratioX, 839*ratio.ratioY); Node208.setWidth(Node208width); Node208.setHeight(Node208height); Node208._nodeType = 'text'; Node208._disallowEvert = true; Node208.setRotation(0*Math.PI/180); Node208.a('node.width', Node208width); Node208.a('node.height', Node208height); Node208.a('node.rect', [0, 0, Node208width, Node208height]); Node208.a('node.bordercolor','rgba(255,255,255,1)'); Node208.a('node.borderwidth', 0); Node208.a('node.background','' || 'rgba(0,0,0,0)'); Node208.a('node.gradient',''); Node208.a('node.gradientcolor',''); Node208.a('node.text','功率曲线'); Node208.a('node.textalign','center'); Node208.a('node.textvAlign','middle'); Node208.a('node.textrect', [Node208textStart, 0, Node208textWidth, Node208height]); Node208.a('node.color','rgba(255,255,255,1)'); Node208.a('node.font',' '+ Node208fontSize + 'px "Arial"'); Node208.a('node.textvisible',false); Node208.a('node.linefeed',true); if (true) { Node208.a('node.textfunc',function(g) { g.beginPath(); var str=Node208.a('node.text') || '功率曲线'; var color=Node208.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node208width,Node208height,13.3333*_ratio.ratioY,"center",color,' '+ Node208fontSize + 'px "Arial"', 0,g); }); } if (false) { Node208.a('node.underlinepoints',[Node208lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]); Node208.a('node.underlinevisible',false); Node208.a('node.underlineBorderWidth', 1); } dataModel.add(Node208); zoomNodeList.push({ node: Node208, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio); var Node209 = new ht.Node(); var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 89*_ratio.ratioX, Node209height = 25*_ratio.ratioY; (function () { if (Node209align === 'left') { Node209textStart = Node209fontSize * 0.2 > 2 ? Node209fontSize * 0.2 - 4 : Node209fontSize * 0.2 - 9; Node209textWidth = Node209width; Node209lineStart = 1; } else if (Node209align === 'right') { Node209textStart = 0; Node209textWidth =Node209fontSize <= 8 ? Node209width + Node209fontSize * 0.2 + 6 : Node209width - Node209fontSize * 0.2; Node209lineStart = (Node209width - (ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node209align === 'center') { Node209textStart = -3; Node209textWidth = Node209width; Node209lineStart = Node209width - ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width - 11; } })(); Node209.setImage(GD.getTextJSON(Node209width, Node209height, false, true, false, ' '+ Node209fontSize + 'px "Arial"')) Node209.setPosition(796*ratio.ratioX, 412*ratio.ratioY); Node209.setWidth(Node209width); Node209.setHeight(Node209height); Node209._nodeType = 'text'; Node209._disallowEvert = true; Node209.setRotation(-89.47369*Math.PI/180); Node209.a('node.width', Node209width); Node209.a('node.height', Node209height); Node209.a('node.rect', [0, 0, Node209width, Node209height]); Node209.a('node.bordercolor','rgba(0,0,0,1)'); Node209.a('node.borderwidth', 0); Node209.a('node.background','' || 'rgba(0,0,0,0)'); Node209.a('node.gradient',''); Node209.a('node.gradientcolor',''); Node209.a('node.text','电量(万kwh)'); Node209.a('node.textalign','left'); Node209.a('node.textvAlign','middle'); Node209.a('node.textrect', [Node209textStart, 0, Node209textWidth, Node209height]); Node209.a('node.color','rgba(0,0,0,1)'); Node209.a('node.font',' '+ Node209fontSize + 'px "Arial"'); Node209.a('node.textvisible',false); Node209.a('node.linefeed',true); if (true) { Node209.a('node.textfunc',function(g) { g.beginPath(); var str=Node209.a('node.text') || '电量(万kwh)'; var color=Node209.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node209width,Node209height,13.3333*_ratio.ratioY,"left",color,' '+ Node209fontSize + 'px "Arial"', 0,g); }); } if (false) { Node209.a('node.underlinepoints',[Node209lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]); Node209.a('node.underlinevisible',false); Node209.a('node.underlineBorderWidth', 1); } dataModel.add(Node209); zoomNodeList.push({ node: Node209, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node210type = 'rect'; var Node210 = new ht.Node(), Node210BorderWidth = 1*2; if (Node210type === 'arc') { Node210BorderWidth *= 1; } Node210.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node210type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node210.setPosition(796*ratio.ratioX, 482*ratio.ratioY); Node210.setSize(20*_ratio.ratioX, 20*_ratio.ratioY); Node210.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node210.a('node.width', 20*_ratio.ratioX); Node210.a('node.height', 20*_ratio.ratioY); Node210.a('node.type', Node210type); Node210.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]); Node210.a('node.background', 'rgba(118,184,244,1)'); Node210.a('node.gradientcolor', 'rgba(118,184,244,1)'); Node210.a('node.gradient', ''); Node210.a('node.borderwidth', Node210BorderWidth); Node210.a('node.color', 'rgba(0,0,0,1)'); Node210.a('node.fillrect', [0,0,0,0]); Node210.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node210.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node210.a('node.fillgradient', ''); if (Node210type !== 'rect') { Node210.a('node.arcFrom', parseFloat('@arcFrom@')); Node210.a('node.arcTo', parseFloat('@arcTo@')); Node210.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node210type === 'arc') { Node210.a('node.arcOval', true); } Node210.setRotation(0*Math.PI/180); Node210.borderWidth = Node210BorderWidth; Node210.borderFillwidth = Node210BorderWidth; dataModel.add(Node210); Node210._nodename = 'Node210' Node210._nodeType = 'rect'; zoomNodeList.push({ node: Node210, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node210, Node210.getImage());_ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio); var Node211_0 = new ht.Node(); var Node211_0textStart, Node211_0textWidth, Node211_0lineStart, Node211_0align = 'left', Node211_0fontSize = 13.3333*_ratio.ratioY,Node211_0width = 79*_ratio.ratioX, Node211_0height = 25*_ratio.ratioY; (function () { if (Node211_0align === 'left') { Node211_0textStart = Node211_0fontSize * 0.2 > 2 ? Node211_0fontSize * 0.2 - 4 : Node211_0fontSize * 0.2 - 9; Node211_0textWidth = Node211_0width; Node211_0lineStart = 1; } else if (Node211_0align === 'right') { Node211_0textStart = 0; Node211_0textWidth =Node211_0fontSize <= 8 ? Node211_0width + Node211_0fontSize * 0.2 + 6 : Node211_0width - Node211_0fontSize * 0.2; Node211_0lineStart = (Node211_0width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node211_0align === 'center') { Node211_0textStart = -3; Node211_0textWidth = Node211_0width; Node211_0lineStart = Node211_0width - ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width - 11; } })(); Node211_0.setImage(GD.getTextJSON(Node211_0width, Node211_0height, false, true, false, ' '+ Node211_0fontSize + 'px "Arial"')) Node211_0.setPosition(1344*ratio.ratioX, 407*ratio.ratioY); Node211_0.setWidth(Node211_0width); Node211_0.setHeight(Node211_0height); Node211_0._nodeType = 'text'; Node211_0._disallowEvert = true; Node211_0.setRotation(-89.47369*Math.PI/180); Node211_0.a('node.width', Node211_0width); Node211_0.a('node.height', Node211_0height); Node211_0.a('node.rect', [0, 0, Node211_0width, Node211_0height]); Node211_0.a('node.bordercolor','rgba(0,0,0,1)'); Node211_0.a('node.borderwidth', 0); Node211_0.a('node.background','' || 'rgba(0,0,0,0)'); Node211_0.a('node.gradient',''); Node211_0.a('node.gradientcolor',''); Node211_0.a('node.text','风速(m/s)'); Node211_0.a('node.textalign','left'); Node211_0.a('node.textvAlign','middle'); Node211_0.a('node.textrect', [Node211_0textStart, 0, Node211_0textWidth, Node211_0height]); Node211_0.a('node.color','rgba(0,0,0,1)'); Node211_0.a('node.font',' '+ Node211_0fontSize + 'px "Arial"'); Node211_0.a('node.textvisible',false); Node211_0.a('node.linefeed',true); if (true) { Node211_0.a('node.textfunc',function(g) { g.beginPath(); var str=Node211_0.a('node.text') || '风速(m/s)'; var color=Node211_0.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node211_0width,Node211_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node211_0fontSize + 'px "Arial"', 0,g); }); } if (false) { Node211_0.a('node.underlinepoints',[Node211_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node211_0fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6, (Node211_0height - Node211_0fontSize) * 0.5*_ratio.ratioY + Node211_0fontSize + 2 ]); Node211_0.a('node.underlinevisible',false); Node211_0.a('node.underlineBorderWidth', 1); } dataModel.add(Node211_0); zoomNodeList.push({ node: Node211_0, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node211_1type = 'rect'; var Node211_1 = new ht.Node(), Node211_1BorderWidth = 1*2; if (Node211_1type === 'arc') { Node211_1BorderWidth *= 1; } Node211_1.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node211_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node211_1.setPosition(1344*ratio.ratioX, 458*ratio.ratioY); Node211_1.setSize(20*_ratio.ratioX, 20*_ratio.ratioY); Node211_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node211_1.a('node.width', 20*_ratio.ratioX); Node211_1.a('node.height', 20*_ratio.ratioY); Node211_1.a('node.type', Node211_1type); Node211_1.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]); Node211_1.a('node.background', 'rgba(249,126,95,1)'); Node211_1.a('node.gradientcolor', 'rgba(249,126,95,1)'); Node211_1.a('node.gradient', ''); Node211_1.a('node.borderwidth', Node211_1BorderWidth); Node211_1.a('node.color', 'rgba(0,0,0,1)'); Node211_1.a('node.fillrect', [0,0,0,0]); Node211_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node211_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node211_1.a('node.fillgradient', ''); if (Node211_1type !== 'rect') { Node211_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node211_1.a('node.arcTo', parseFloat('@arcTo@')); Node211_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node211_1type === 'arc') { Node211_1.a('node.arcOval', true); } Node211_1.setRotation(0*Math.PI/180); Node211_1.borderWidth = Node211_1BorderWidth; Node211_1.borderFillwidth = Node211_1BorderWidth; dataModel.add(Node211_1); Node211_1._nodename = 'Node211_1' Node211_1._nodeType = 'rect'; zoomNodeList.push({ node: Node211_1, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node211_1, Node211_1.getImage());var Node212; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//indexblack.png', PAGEROOTDIR + 'image//img//indexblack.png'); Node212 = new ht.Node(); Node212.setPosition(1771*ratio.ratioX, 281*ratio.ratioY); Node212.setSize(52*ratioX, 78*ratioY); Node212.setImage('imgimage//img//indexblack.png'); Node212.setRotation(0*Math.PI/180); Node212._zoomBy = 'Default'; Node212._nodeType = 'image'; Node212._disallowEvert = true; dataModel.add(Node212); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node213type = 'rect'; var Node213 = new ht.Node(), Node213BorderWidth = 1*2; if (Node213type === 'arc') { Node213BorderWidth *= 1; } Node213.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node213type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node213.setPosition(1824*ratio.ratioX, 559*ratio.ratioY); Node213.setSize(15*_ratio.ratioX, 15*_ratio.ratioY); Node213.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node213.a('node.width', 15*_ratio.ratioX); Node213.a('node.height', 15*_ratio.ratioY); Node213.a('node.type', Node213type); Node213.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]); Node213.a('node.background', 'rgba(0,255,255,1)'); Node213.a('node.gradientcolor', 'rgba(0,255,255,1)'); Node213.a('node.gradient', ''); Node213.a('node.borderwidth', Node213BorderWidth); Node213.a('node.color', 'rgba(0,0,0,1)'); Node213.a('node.fillrect', [0,0,0,0]); Node213.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node213.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node213.a('node.fillgradient', ''); if (Node213type !== 'rect') { Node213.a('node.arcFrom', parseFloat('@arcFrom@')); Node213.a('node.arcTo', parseFloat('@arcTo@')); Node213.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node213type === 'arc') { Node213.a('node.arcOval', true); } Node213.setRotation(0*Math.PI/180); Node213.borderWidth = Node213BorderWidth; Node213.borderFillwidth = Node213BorderWidth; dataModel.add(Node213); Node213._nodename = 'Node213' Node213._nodeType = 'rect'; zoomNodeList.push({ node: Node213, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node213, Node213.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node214 = new ht.Node(); var Node214textStart, Node214textWidth, Node214lineStart, Node214align = 'left', Node214fontSize = 10.66664*_ratio.ratioY,Node214width = 45*_ratio.ratioX, Node214height = 25*_ratio.ratioY; (function () { if (Node214align === 'left') { Node214textStart = Node214fontSize * 0.2 > 2 ? Node214fontSize * 0.2 - 4 : Node214fontSize * 0.2 - 9; Node214textWidth = Node214width; Node214lineStart = 1; } else if (Node214align === 'right') { Node214textStart = 0; Node214textWidth =Node214fontSize <= 8 ? Node214width + Node214fontSize * 0.2 + 6 : Node214width - Node214fontSize * 0.2; Node214lineStart = (Node214width - (ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node214align === 'center') { Node214textStart = -3; Node214textWidth = Node214width; Node214lineStart = Node214width - ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width - 11; } })(); Node214.setImage(GD.getTextJSON(Node214width, Node214height, true, false, false, ' '+ Node214fontSize + 'px "Arial"')) Node214.setPosition(1859*ratio.ratioX, 559*ratio.ratioY); Node214.setWidth(Node214width); Node214.setHeight(Node214height); Node214._nodeType = 'text'; Node214._disallowEvert = true; Node214.setRotation(0*Math.PI/180); Node214.a('node.width', Node214width); Node214.a('node.height', Node214height); Node214.a('node.rect', [0, 0, Node214width, Node214height]); Node214.a('node.bordercolor','rgba(0,0,0,1)'); Node214.a('node.borderwidth', 0); Node214.a('node.background','' || 'rgba(0,0,0,0)'); Node214.a('node.gradient',''); Node214.a('node.gradientcolor',''); Node214.a('node.text','2016年'); Node214.a('node.textalign','left'); Node214.a('node.textvAlign','middle'); Node214.a('node.textrect', [Node214textStart, 0, Node214textWidth, Node214height]); Node214.a('node.color','rgba(0,0,0,1)'); Node214.a('node.font',' '+ Node214fontSize + 'px "Arial"'); Node214.a('node.textvisible',true); Node214.a('node.linefeed',false); if (false) { Node214.a('node.textfunc',function(g) { g.beginPath(); var str=Node214.a('node.text') || '2016年'; var color=Node214.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node214width,Node214height,10.66664*_ratio.ratioY,"left",color,' '+ Node214fontSize + 'px "Arial"', 0,g); }); } if (false) { Node214.a('node.underlinepoints',[Node214lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node214fontSize + 2 , ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6, (Node214height - Node214fontSize) * 0.5*_ratio.ratioY + Node214fontSize + 2 ]); Node214.a('node.underlinevisible',false); Node214.a('node.underlineBorderWidth', 1); } dataModel.add(Node214); zoomNodeList.push({ node: Node214, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node215type = 'rect'; var Node215 = new ht.Node(), Node215BorderWidth = 1*2; if (Node215type === 'arc') { Node215BorderWidth *= 1; } Node215.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node215type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node215.setPosition(1824*ratio.ratioX, 579*ratio.ratioY); Node215.setSize(15*_ratio.ratioX, 15*_ratio.ratioY); Node215.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node215.a('node.width', 15*_ratio.ratioX); Node215.a('node.height', 15*_ratio.ratioY); Node215.a('node.type', Node215type); Node215.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]); Node215.a('node.background', 'rgba(255,255,128,1)'); Node215.a('node.gradientcolor', 'rgba(255,255,128,1)'); Node215.a('node.gradient', ''); Node215.a('node.borderwidth', Node215BorderWidth); Node215.a('node.color', 'rgba(0,0,0,1)'); Node215.a('node.fillrect', [0,0,0,0]); Node215.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node215.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node215.a('node.fillgradient', ''); if (Node215type !== 'rect') { Node215.a('node.arcFrom', parseFloat('@arcFrom@')); Node215.a('node.arcTo', parseFloat('@arcTo@')); Node215.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node215type === 'arc') { Node215.a('node.arcOval', true); } Node215.setRotation(0*Math.PI/180); Node215.borderWidth = Node215BorderWidth; Node215.borderFillwidth = Node215BorderWidth; dataModel.add(Node215); Node215._nodename = 'Node215' Node215._nodeType = 'rect'; zoomNodeList.push({ node: Node215, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node215, Node215.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node216 = new ht.Node(); var Node216textStart, Node216textWidth, Node216lineStart, Node216align = 'left', Node216fontSize = 10.66664*_ratio.ratioY,Node216width = 45*_ratio.ratioX, Node216height = 25*_ratio.ratioY; (function () { if (Node216align === 'left') { Node216textStart = Node216fontSize * 0.2 > 2 ? Node216fontSize * 0.2 - 4 : Node216fontSize * 0.2 - 9; Node216textWidth = Node216width; Node216lineStart = 1; } else if (Node216align === 'right') { Node216textStart = 0; Node216textWidth =Node216fontSize <= 8 ? Node216width + Node216fontSize * 0.2 + 6 : Node216width - Node216fontSize * 0.2; Node216lineStart = (Node216width - (ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node216align === 'center') { Node216textStart = -3; Node216textWidth = Node216width; Node216lineStart = Node216width - ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width - 11; } })(); Node216.setImage(GD.getTextJSON(Node216width, Node216height, true, false, false, ' '+ Node216fontSize + 'px "Arial"')) Node216.setPosition(1859*ratio.ratioX, 579*ratio.ratioY); Node216.setWidth(Node216width); Node216.setHeight(Node216height); Node216._nodeType = 'text'; Node216._disallowEvert = true; Node216.setRotation(0*Math.PI/180); Node216.a('node.width', Node216width); Node216.a('node.height', Node216height); Node216.a('node.rect', [0, 0, Node216width, Node216height]); Node216.a('node.bordercolor','rgba(0,0,0,1)'); Node216.a('node.borderwidth', 0); Node216.a('node.background','' || 'rgba(0,0,0,0)'); Node216.a('node.gradient',''); Node216.a('node.gradientcolor',''); Node216.a('node.text','2017年'); Node216.a('node.textalign','left'); Node216.a('node.textvAlign','middle'); Node216.a('node.textrect', [Node216textStart, 0, Node216textWidth, Node216height]); Node216.a('node.color','rgba(0,0,0,1)'); Node216.a('node.font',' '+ Node216fontSize + 'px "Arial"'); Node216.a('node.textvisible',true); Node216.a('node.linefeed',false); if (false) { Node216.a('node.textfunc',function(g) { g.beginPath(); var str=Node216.a('node.text') || '2017年'; var color=Node216.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node216width,Node216height,10.66664*_ratio.ratioY,"left",color,' '+ Node216fontSize + 'px "Arial"', 0,g); }); } if (false) { Node216.a('node.underlinepoints',[Node216lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node216fontSize + 2 , ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6, (Node216height - Node216fontSize) * 0.5*_ratio.ratioY + Node216fontSize + 2 ]); Node216.a('node.underlinevisible',false); Node216.a('node.underlineBorderWidth', 1); } dataModel.add(Node216); zoomNodeList.push({ node: Node216, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node217type = 'rect'; var Node217 = new ht.Node(), Node217BorderWidth = 1*2; if (Node217type === 'arc') { Node217BorderWidth *= 1; } Node217.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node217type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node217.setPosition(1824*ratio.ratioX, 599*ratio.ratioY); Node217.setSize(15*_ratio.ratioX, 15*_ratio.ratioY); Node217.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node217.a('node.width', 15*_ratio.ratioX); Node217.a('node.height', 15*_ratio.ratioY); Node217.a('node.type', Node217type); Node217.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]); Node217.a('node.background', 'rgba(128,255,128,1)'); Node217.a('node.gradientcolor', 'rgba(128,255,128,1)'); Node217.a('node.gradient', ''); Node217.a('node.borderwidth', Node217BorderWidth); Node217.a('node.color', 'rgba(0,0,0,1)'); Node217.a('node.fillrect', [0,0,0,0]); Node217.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node217.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node217.a('node.fillgradient', ''); if (Node217type !== 'rect') { Node217.a('node.arcFrom', parseFloat('@arcFrom@')); Node217.a('node.arcTo', parseFloat('@arcTo@')); Node217.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node217type === 'arc') { Node217.a('node.arcOval', true); } Node217.setRotation(0*Math.PI/180); Node217.borderWidth = Node217BorderWidth; Node217.borderFillwidth = Node217BorderWidth; dataModel.add(Node217); Node217._nodename = 'Node217' Node217._nodeType = 'rect'; zoomNodeList.push({ node: Node217, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node217, Node217.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node218 = new ht.Node(); var Node218textStart, Node218textWidth, Node218lineStart, Node218align = 'left', Node218fontSize = 10.66664*_ratio.ratioY,Node218width = 45*_ratio.ratioX, Node218height = 25*_ratio.ratioY; (function () { if (Node218align === 'left') { Node218textStart = Node218fontSize * 0.2 > 2 ? Node218fontSize * 0.2 - 4 : Node218fontSize * 0.2 - 9; Node218textWidth = Node218width; Node218lineStart = 1; } else if (Node218align === 'right') { Node218textStart = 0; Node218textWidth =Node218fontSize <= 8 ? Node218width + Node218fontSize * 0.2 + 6 : Node218width - Node218fontSize * 0.2; Node218lineStart = (Node218width - (ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node218align === 'center') { Node218textStart = -3; Node218textWidth = Node218width; Node218lineStart = Node218width - ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width - 11; } })(); Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, ' '+ Node218fontSize + 'px "Arial"')) Node218.setPosition(1859*ratio.ratioX, 599*ratio.ratioY); Node218.setWidth(Node218width); Node218.setHeight(Node218height); Node218._nodeType = 'text'; Node218._disallowEvert = true; Node218.setRotation(0*Math.PI/180); Node218.a('node.width', Node218width); Node218.a('node.height', Node218height); Node218.a('node.rect', [0, 0, Node218width, Node218height]); Node218.a('node.bordercolor','rgba(0,0,0,1)'); Node218.a('node.borderwidth', 0); Node218.a('node.background','' || 'rgba(0,0,0,0)'); Node218.a('node.gradient',''); Node218.a('node.gradientcolor',''); Node218.a('node.text','2018年'); Node218.a('node.textalign','left'); Node218.a('node.textvAlign','middle'); Node218.a('node.textrect', [Node218textStart, 0, Node218textWidth, Node218height]); Node218.a('node.color','rgba(0,0,0,1)'); Node218.a('node.font',' '+ Node218fontSize + 'px "Arial"'); Node218.a('node.textvisible',true); Node218.a('node.linefeed',false); if (false) { Node218.a('node.textfunc',function(g) { g.beginPath(); var str=Node218.a('node.text') || '2018年'; var color=Node218.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node218width,Node218height,10.66664*_ratio.ratioY,"left",color,' '+ Node218fontSize + 'px "Arial"', 0,g); }); } if (false) { Node218.a('node.underlinepoints',[Node218lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6, (Node218height - Node218fontSize) * 0.5*_ratio.ratioY + Node218fontSize + 2 ]); Node218.a('node.underlinevisible',false); Node218.a('node.underlineBorderWidth', 1); } dataModel.add(Node218); zoomNodeList.push({ node: Node218, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node219 = new ht.Node(); var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 13.3333*_ratio.ratioY,Node219width = 98*_ratio.ratioX, Node219height = 16*_ratio.ratioY; (function () { if (Node219align === 'left') { Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9; Node219textWidth = Node219width; Node219lineStart = 1; } else if (Node219align === 'right') { Node219textStart = 0; Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2; Node219lineStart = (Node219width - (ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node219align === 'center') { Node219textStart = -3; Node219textWidth = Node219width; Node219lineStart = Node219width - ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width - 11; } })(); Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"')) Node219.setPosition(1529*ratio.ratioX, 514*ratio.ratioY); Node219.setWidth(Node219width); Node219.setHeight(Node219height); Node219._nodeType = 'text'; Node219._disallowEvert = true; Node219.setRotation(0*Math.PI/180); Node219.a('node.width', Node219width); Node219.a('node.height', Node219height); Node219.a('node.rect', [0, 0, Node219width, Node219height]); Node219.a('node.bordercolor','rgba(0,0,0,1)'); Node219.a('node.borderwidth', 0); Node219.a('node.background','' || 'rgba(0,0,0,0)'); Node219.a('node.gradient',''); Node219.a('node.gradientcolor',''); Node219.a('node.text','应发功率(MW)'); Node219.a('node.textalign','left'); Node219.a('node.textvAlign','middle'); Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]); Node219.a('node.color','rgba(0,0,0,1)'); Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"'); Node219.a('node.textvisible',true); Node219.a('node.linefeed',false); if (false) { Node219.a('node.textfunc',function(g) { g.beginPath(); var str=Node219.a('node.text') || '应发功率(MW)'; var color=Node219.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node219width,Node219height,13.3333*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g); }); } if (false) { Node219.a('node.underlinepoints',[Node219lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]); Node219.a('node.underlinevisible',false); Node219.a('node.underlineBorderWidth', 1); } dataModel.add(Node219); zoomNodeList.push({ node: Node219, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node220 = new ht.Node(); var Node220textStart, Node220textWidth, Node220lineStart, Node220align = 'left', Node220fontSize = 13.3333*_ratio.ratioY,Node220width = 98*_ratio.ratioX, Node220height = 16*_ratio.ratioY; (function () { if (Node220align === 'left') { Node220textStart = Node220fontSize * 0.2 > 2 ? Node220fontSize * 0.2 - 4 : Node220fontSize * 0.2 - 9; Node220textWidth = Node220width; Node220lineStart = 1; } else if (Node220align === 'right') { Node220textStart = 0; Node220textWidth =Node220fontSize <= 8 ? Node220width + Node220fontSize * 0.2 + 6 : Node220width - Node220fontSize * 0.2; Node220lineStart = (Node220width - (ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node220align === 'center') { Node220textStart = -3; Node220textWidth = Node220width; Node220lineStart = Node220width - ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width - 11; } })(); Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"')) Node220.setPosition(1759*ratio.ratioX, 519*ratio.ratioY); Node220.setWidth(Node220width); Node220.setHeight(Node220height); Node220._nodeType = 'text'; Node220._disallowEvert = true; Node220.setRotation(0*Math.PI/180); Node220.a('node.width', Node220width); Node220.a('node.height', Node220height); Node220.a('node.rect', [0, 0, Node220width, Node220height]); Node220.a('node.bordercolor','rgba(0,0,0,1)'); Node220.a('node.borderwidth', 0); Node220.a('node.background','' || 'rgba(0,0,0,0)'); Node220.a('node.gradient',''); Node220.a('node.gradientcolor',''); Node220.a('node.text','保证功率(MW)'); Node220.a('node.textalign','left'); Node220.a('node.textvAlign','middle'); Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]); Node220.a('node.color','rgba(0,0,0,1)'); Node220.a('node.font',' '+ Node220fontSize + 'px "Arial"'); Node220.a('node.textvisible',true); Node220.a('node.linefeed',false); if (false) { Node220.a('node.textfunc',function(g) { g.beginPath(); var str=Node220.a('node.text') || '保证功率(MW)'; var color=Node220.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node220width,Node220height,13.3333*_ratio.ratioY,"left",color,' '+ Node220fontSize + 'px "Arial"', 0,g); }); } if (false) { Node220.a('node.underlinepoints',[Node220lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node220fontSize + 2 , ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6, (Node220height - Node220fontSize) * 0.5*_ratio.ratioY + Node220fontSize + 2 ]); Node220.a('node.underlinevisible',false); Node220.a('node.underlineBorderWidth', 1); } dataModel.add(Node220); zoomNodeList.push({ node: Node220, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node221 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 166*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node222 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 167*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node223 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 276*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node224 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 277*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node225 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 386*ratio.ratioX, 66*ratio.ratioY, 0, {text:'设备矩阵',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node226 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 387*ratio.ratioX, 66*ratio.ratioY, 0, {text:'设备矩阵',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node227 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 496*ratio.ratioX, 66*ratio.ratioY, 0, {text:'性能分析',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node228 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 497*ratio.ratioX, 66*ratio.ratioY, 0, {text:'性能分析',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node229 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 606*ratio.ratioX, 66*ratio.ratioY, 0, {text:'评级管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node230 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 607*ratio.ratioX, 66*ratio.ratioY, 0, {text:'评级管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node231 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 706*ratio.ratioX, 66*ratio.ratioY, 0, {text:'指标排行',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node232 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 707*ratio.ratioX, 66*ratio.ratioY, 0, {text:'指标排行',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node233 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 816*ratio.ratioX, 66*ratio.ratioY, 0, {text:'对标管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node234 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 817*ratio.ratioX, 66*ratio.ratioY, 0, {text:'对标管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node235 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 926*ratio.ratioX, 66*ratio.ratioY, 0, {text:'报警中心',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node236 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 927*ratio.ratioX, 66*ratio.ratioY, 0, {text:'报警中心',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node237 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 66*ratio.ratioY, 0, {text:'接入监视',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node238 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 66*ratio.ratioY, 0, {text:'接入监视',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node239 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node240 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node241 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node242 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node243 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node244 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node245 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node246 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node247 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node248 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node249 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node250 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node251 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node252 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node259_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png'); Node259_0 = new ht.Node(); Node259_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY); Node259_0.setSize(117*ratioX, 26*ratioY); Node259_0.setImage('imgimage//img//index_map_sx_bot1.png'); Node259_0.setRotation(0*Math.PI/180); Node259_0._zoomBy = 'Default'; Node259_0._nodeType = 'image'; Node259_0._disallowEvert = true; dataModel.add(Node259_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node259_1 = new ht.Node(); var Node259_1textStart, Node259_1textWidth, Node259_1lineStart, Node259_1align = 'left', Node259_1fontSize = 13.3333*_ratio.ratioY,Node259_1width = 110*_ratio.ratioX, Node259_1height = 16*_ratio.ratioY; (function () { if (Node259_1align === 'left') { Node259_1textStart = Node259_1fontSize * 0.2 > 2 ? Node259_1fontSize * 0.2 - 4 : Node259_1fontSize * 0.2 - 9; Node259_1textWidth = Node259_1width; Node259_1lineStart = 1; } else if (Node259_1align === 'right') { Node259_1textStart = 0; Node259_1textWidth =Node259_1fontSize <= 8 ? Node259_1width + Node259_1fontSize * 0.2 + 6 : Node259_1width - Node259_1fontSize * 0.2; Node259_1lineStart = (Node259_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node259_1align === 'center') { Node259_1textStart = -3; Node259_1textWidth = Node259_1width; Node259_1lineStart = Node259_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width - 11; } })(); Node259_1.setImage(GD.getTextJSON(Node259_1width, Node259_1height, true, false, false, ' '+ Node259_1fontSize + 'px "宋体"')) Node259_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY); Node259_1.setWidth(Node259_1width); Node259_1.setHeight(Node259_1height); Node259_1._nodeType = 'text'; Node259_1._disallowEvert = true; Node259_1.setRotation(0*Math.PI/180); Node259_1.a('node.width', Node259_1width); Node259_1.a('node.height', Node259_1height); Node259_1.a('node.rect', [0, 0, Node259_1width, Node259_1height]); Node259_1.a('node.bordercolor','rgba(255,255,128,1)'); Node259_1.a('node.borderwidth', 0); Node259_1.a('node.background','' || 'rgba(0,0,0,0)'); Node259_1.a('node.gradient',''); Node259_1.a('node.gradientcolor',''); Node259_1.a('node.text','太旗卧牛山风场'); Node259_1.a('node.textalign','left'); Node259_1.a('node.textvAlign','middle'); Node259_1.a('node.textrect', [Node259_1textStart, 0, Node259_1textWidth, Node259_1height]); Node259_1.a('node.color','rgba(255,255,128,1)'); Node259_1.a('node.font',' '+ Node259_1fontSize + 'px "宋体"'); Node259_1.a('node.textvisible',true); Node259_1.a('node.linefeed',false); if (false) { Node259_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node259_1.a('node.text') || '太旗卧牛山风场'; var color=Node259_1.a('node.color') || 'rgba(255,255,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259_1width,Node259_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node259_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node259_1.a('node.underlinepoints',[Node259_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node259_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6, (Node259_1height - Node259_1fontSize) * 0.5*_ratio.ratioY + Node259_1fontSize + 2 ]); Node259_1.a('node.underlinevisible',false); Node259_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node259_1); zoomNodeList.push({ node: Node259_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node260_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png'); Node260_0 = new ht.Node(); Node260_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY); Node260_0.setSize(117*ratioX, 26*ratioY); Node260_0.setImage('imgimage//img//index_map_sx_bot1.png'); Node260_0.setRotation(0*Math.PI/180); Node260_0._zoomBy = 'Default'; Node260_0._nodeType = 'image'; Node260_0._disallowEvert = true; dataModel.add(Node260_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node260_1 = new ht.Node(); var Node260_1textStart, Node260_1textWidth, Node260_1lineStart, Node260_1align = 'left', Node260_1fontSize = 13.3333*_ratio.ratioY,Node260_1width = 110*_ratio.ratioX, Node260_1height = 16*_ratio.ratioY; (function () { if (Node260_1align === 'left') { Node260_1textStart = Node260_1fontSize * 0.2 > 2 ? Node260_1fontSize * 0.2 - 4 : Node260_1fontSize * 0.2 - 9; Node260_1textWidth = Node260_1width; Node260_1lineStart = 1; } else if (Node260_1align === 'right') { Node260_1textStart = 0; Node260_1textWidth =Node260_1fontSize <= 8 ? Node260_1width + Node260_1fontSize * 0.2 + 6 : Node260_1width - Node260_1fontSize * 0.2; Node260_1lineStart = (Node260_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node260_1align === 'center') { Node260_1textStart = -3; Node260_1textWidth = Node260_1width; Node260_1lineStart = Node260_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width - 11; } })(); Node260_1.setImage(GD.getTextJSON(Node260_1width, Node260_1height, true, false, false, ' '+ Node260_1fontSize + 'px "宋体"')) Node260_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY); Node260_1.setWidth(Node260_1width); Node260_1.setHeight(Node260_1height); Node260_1._nodeType = 'text'; Node260_1._disallowEvert = true; Node260_1.setRotation(0*Math.PI/180); Node260_1.a('node.width', Node260_1width); Node260_1.a('node.height', Node260_1height); Node260_1.a('node.rect', [0, 0, Node260_1width, Node260_1height]); Node260_1.a('node.bordercolor','rgba(255,255,255,1)'); Node260_1.a('node.borderwidth', 0); Node260_1.a('node.background','' || 'rgba(0,0,0,0)'); Node260_1.a('node.gradient',''); Node260_1.a('node.gradientcolor',''); Node260_1.a('node.text','太旗卧牛山风场'); Node260_1.a('node.textalign','left'); Node260_1.a('node.textvAlign','middle'); Node260_1.a('node.textrect', [Node260_1textStart, 0, Node260_1textWidth, Node260_1height]); Node260_1.a('node.color','rgba(255,255,255,1)'); Node260_1.a('node.font',' '+ Node260_1fontSize + 'px "宋体"'); Node260_1.a('node.textvisible',true); Node260_1.a('node.linefeed',false); if (false) { Node260_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node260_1.a('node.text') || '太旗卧牛山风场'; var color=Node260_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_1width,Node260_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node260_1.a('node.underlinepoints',[Node260_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node260_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6, (Node260_1height - Node260_1fontSize) * 0.5*_ratio.ratioY + Node260_1fontSize + 2 ]); Node260_1.a('node.underlinevisible',false); Node260_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node260_1); zoomNodeList.push({ node: Node260_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node261_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node261_0 = new ht.Node(); Node261_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY); Node261_0.setSize(117*ratioX, 26*ratioY); Node261_0.setImage('imgimage//img//index_map_bot.png'); Node261_0.setRotation(0*Math.PI/180); Node261_0._zoomBy = 'Default'; Node261_0._nodeType = 'image'; Node261_0._disallowEvert = true; dataModel.add(Node261_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node261_1 = new ht.Node(); var Node261_1textStart, Node261_1textWidth, Node261_1lineStart, Node261_1align = 'left', Node261_1fontSize = 13.3333*_ratio.ratioY,Node261_1width = 110*_ratio.ratioX, Node261_1height = 16*_ratio.ratioY; (function () { if (Node261_1align === 'left') { Node261_1textStart = Node261_1fontSize * 0.2 > 2 ? Node261_1fontSize * 0.2 - 4 : Node261_1fontSize * 0.2 - 9; Node261_1textWidth = Node261_1width; Node261_1lineStart = 1; } else if (Node261_1align === 'right') { Node261_1textStart = 0; Node261_1textWidth =Node261_1fontSize <= 8 ? Node261_1width + Node261_1fontSize * 0.2 + 6 : Node261_1width - Node261_1fontSize * 0.2; Node261_1lineStart = (Node261_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node261_1align === 'center') { Node261_1textStart = -3; Node261_1textWidth = Node261_1width; Node261_1lineStart = Node261_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width - 11; } })(); Node261_1.setImage(GD.getTextJSON(Node261_1width, Node261_1height, true, false, false, ' '+ Node261_1fontSize + 'px "宋体"')) Node261_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY); Node261_1.setWidth(Node261_1width); Node261_1.setHeight(Node261_1height); Node261_1._nodeType = 'text'; Node261_1._disallowEvert = true; Node261_1.setRotation(0*Math.PI/180); Node261_1.a('node.width', Node261_1width); Node261_1.a('node.height', Node261_1height); Node261_1.a('node.rect', [0, 0, Node261_1width, Node261_1height]); Node261_1.a('node.bordercolor','rgba(255,255,192,1)'); Node261_1.a('node.borderwidth', 0); Node261_1.a('node.background','' || 'rgba(0,0,0,0)'); Node261_1.a('node.gradient',''); Node261_1.a('node.gradientcolor',''); Node261_1.a('node.text','阳高采凉山风场'); Node261_1.a('node.textalign','left'); Node261_1.a('node.textvAlign','middle'); Node261_1.a('node.textrect', [Node261_1textStart, 0, Node261_1textWidth, Node261_1height]); Node261_1.a('node.color','rgba(255,255,192,1)'); Node261_1.a('node.font',' '+ Node261_1fontSize + 'px "宋体"'); Node261_1.a('node.textvisible',true); Node261_1.a('node.linefeed',false); if (false) { Node261_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node261_1.a('node.text') || '阳高采凉山风场'; var color=Node261_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_1width,Node261_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node261_1.a('node.underlinepoints',[Node261_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node261_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6, (Node261_1height - Node261_1fontSize) * 0.5*_ratio.ratioY + Node261_1fontSize + 2 ]); Node261_1.a('node.underlinevisible',false); Node261_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node261_1); zoomNodeList.push({ node: Node261_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node262_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node262_0 = new ht.Node(); Node262_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY); Node262_0.setSize(117*ratioX, 26*ratioY); Node262_0.setImage('imgimage//img//index_map_bot.png'); Node262_0.setRotation(0*Math.PI/180); Node262_0._zoomBy = 'Default'; Node262_0._nodeType = 'image'; Node262_0._disallowEvert = true; dataModel.add(Node262_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node262_1 = new ht.Node(); var Node262_1textStart, Node262_1textWidth, Node262_1lineStart, Node262_1align = 'left', Node262_1fontSize = 13.3333*_ratio.ratioY,Node262_1width = 110*_ratio.ratioX, Node262_1height = 16*_ratio.ratioY; (function () { if (Node262_1align === 'left') { Node262_1textStart = Node262_1fontSize * 0.2 > 2 ? Node262_1fontSize * 0.2 - 4 : Node262_1fontSize * 0.2 - 9; Node262_1textWidth = Node262_1width; Node262_1lineStart = 1; } else if (Node262_1align === 'right') { Node262_1textStart = 0; Node262_1textWidth =Node262_1fontSize <= 8 ? Node262_1width + Node262_1fontSize * 0.2 + 6 : Node262_1width - Node262_1fontSize * 0.2; Node262_1lineStart = (Node262_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node262_1align === 'center') { Node262_1textStart = -3; Node262_1textWidth = Node262_1width; Node262_1lineStart = Node262_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width - 11; } })(); Node262_1.setImage(GD.getTextJSON(Node262_1width, Node262_1height, true, false, false, ' '+ Node262_1fontSize + 'px "宋体"')) Node262_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY); Node262_1.setWidth(Node262_1width); Node262_1.setHeight(Node262_1height); Node262_1._nodeType = 'text'; Node262_1._disallowEvert = true; Node262_1.setRotation(0*Math.PI/180); Node262_1.a('node.width', Node262_1width); Node262_1.a('node.height', Node262_1height); Node262_1.a('node.rect', [0, 0, Node262_1width, Node262_1height]); Node262_1.a('node.bordercolor','rgba(255,255,255,1)'); Node262_1.a('node.borderwidth', 0); Node262_1.a('node.background','' || 'rgba(0,0,0,0)'); Node262_1.a('node.gradient',''); Node262_1.a('node.gradientcolor',''); Node262_1.a('node.text','阳高采凉山风场'); Node262_1.a('node.textalign','left'); Node262_1.a('node.textvAlign','middle'); Node262_1.a('node.textrect', [Node262_1textStart, 0, Node262_1textWidth, Node262_1height]); Node262_1.a('node.color','rgba(255,255,255,1)'); Node262_1.a('node.font',' '+ Node262_1fontSize + 'px "宋体"'); Node262_1.a('node.textvisible',true); Node262_1.a('node.linefeed',false); if (false) { Node262_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node262_1.a('node.text') || '阳高采凉山风场'; var color=Node262_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node262_1width,Node262_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node262_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node262_1.a('node.underlinepoints',[Node262_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node262_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6, (Node262_1height - Node262_1fontSize) * 0.5*_ratio.ratioY + Node262_1fontSize + 2 ]); Node262_1.a('node.underlinevisible',false); Node262_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node262_1); zoomNodeList.push({ node: Node262_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node263_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node263_0 = new ht.Node(); Node263_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY); Node263_0.setSize(117*ratioX, 26*ratioY); Node263_0.setImage('imgimage//img//index_map_bot.png'); Node263_0.setRotation(0*Math.PI/180); Node263_0._zoomBy = 'Default'; Node263_0._nodeType = 'image'; Node263_0._disallowEvert = true; dataModel.add(Node263_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node263_1 = new ht.Node(); var Node263_1textStart, Node263_1textWidth, Node263_1lineStart, Node263_1align = 'left', Node263_1fontSize = 13.3333*_ratio.ratioY,Node263_1width = 86*_ratio.ratioX, Node263_1height = 16*_ratio.ratioY; (function () { if (Node263_1align === 'left') { Node263_1textStart = Node263_1fontSize * 0.2 > 2 ? Node263_1fontSize * 0.2 - 4 : Node263_1fontSize * 0.2 - 9; Node263_1textWidth = Node263_1width; Node263_1lineStart = 1; } else if (Node263_1align === 'right') { Node263_1textStart = 0; Node263_1textWidth =Node263_1fontSize <= 8 ? Node263_1width + Node263_1fontSize * 0.2 + 6 : Node263_1width - Node263_1fontSize * 0.2; Node263_1lineStart = (Node263_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node263_1align === 'center') { Node263_1textStart = -3; Node263_1textWidth = Node263_1width; Node263_1lineStart = Node263_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width - 11; } })(); Node263_1.setImage(GD.getTextJSON(Node263_1width, Node263_1height, true, false, false, ' '+ Node263_1fontSize + 'px "宋体"')) Node263_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY); Node263_1.setWidth(Node263_1width); Node263_1.setHeight(Node263_1height); Node263_1._nodeType = 'text'; Node263_1._disallowEvert = true; Node263_1.setRotation(0*Math.PI/180); Node263_1.a('node.width', Node263_1width); Node263_1.a('node.height', Node263_1height); Node263_1.a('node.rect', [0, 0, Node263_1width, Node263_1height]); Node263_1.a('node.bordercolor','rgba(255,255,192,1)'); Node263_1.a('node.borderwidth', 0); Node263_1.a('node.background','' || 'rgba(0,0,0,0)'); Node263_1.a('node.gradient',''); Node263_1.a('node.gradientcolor',''); Node263_1.a('node.text','浑源峰岳风场'); Node263_1.a('node.textalign','left'); Node263_1.a('node.textvAlign','middle'); Node263_1.a('node.textrect', [Node263_1textStart, 0, Node263_1textWidth, Node263_1height]); Node263_1.a('node.color','rgba(255,255,192,1)'); Node263_1.a('node.font',' '+ Node263_1fontSize + 'px "宋体"'); Node263_1.a('node.textvisible',true); Node263_1.a('node.linefeed',false); if (false) { Node263_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node263_1.a('node.text') || '浑源峰岳风场'; var color=Node263_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263_1width,Node263_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node263_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node263_1.a('node.underlinepoints',[Node263_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node263_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6, (Node263_1height - Node263_1fontSize) * 0.5*_ratio.ratioY + Node263_1fontSize + 2 ]); Node263_1.a('node.underlinevisible',false); Node263_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node263_1); zoomNodeList.push({ node: Node263_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node264_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node264_0 = new ht.Node(); Node264_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY); Node264_0.setSize(117*ratioX, 26*ratioY); Node264_0.setImage('imgimage//img//index_map_bot.png'); Node264_0.setRotation(0*Math.PI/180); Node264_0._zoomBy = 'Default'; Node264_0._nodeType = 'image'; Node264_0._disallowEvert = true; dataModel.add(Node264_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node264_1 = new ht.Node(); var Node264_1textStart, Node264_1textWidth, Node264_1lineStart, Node264_1align = 'left', Node264_1fontSize = 13.3333*_ratio.ratioY,Node264_1width = 86*_ratio.ratioX, Node264_1height = 16*_ratio.ratioY; (function () { if (Node264_1align === 'left') { Node264_1textStart = Node264_1fontSize * 0.2 > 2 ? Node264_1fontSize * 0.2 - 4 : Node264_1fontSize * 0.2 - 9; Node264_1textWidth = Node264_1width; Node264_1lineStart = 1; } else if (Node264_1align === 'right') { Node264_1textStart = 0; Node264_1textWidth =Node264_1fontSize <= 8 ? Node264_1width + Node264_1fontSize * 0.2 + 6 : Node264_1width - Node264_1fontSize * 0.2; Node264_1lineStart = (Node264_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node264_1align === 'center') { Node264_1textStart = -3; Node264_1textWidth = Node264_1width; Node264_1lineStart = Node264_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width - 11; } })(); Node264_1.setImage(GD.getTextJSON(Node264_1width, Node264_1height, true, false, false, ' '+ Node264_1fontSize + 'px "宋体"')) Node264_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY); Node264_1.setWidth(Node264_1width); Node264_1.setHeight(Node264_1height); Node264_1._nodeType = 'text'; Node264_1._disallowEvert = true; Node264_1.setRotation(0*Math.PI/180); Node264_1.a('node.width', Node264_1width); Node264_1.a('node.height', Node264_1height); Node264_1.a('node.rect', [0, 0, Node264_1width, Node264_1height]); Node264_1.a('node.bordercolor','rgba(255,255,255,1)'); Node264_1.a('node.borderwidth', 0); Node264_1.a('node.background','' || 'rgba(0,0,0,0)'); Node264_1.a('node.gradient',''); Node264_1.a('node.gradientcolor',''); Node264_1.a('node.text','浑源峰岳风场'); Node264_1.a('node.textalign','left'); Node264_1.a('node.textvAlign','middle'); Node264_1.a('node.textrect', [Node264_1textStart, 0, Node264_1textWidth, Node264_1height]); Node264_1.a('node.color','rgba(255,255,255,1)'); Node264_1.a('node.font',' '+ Node264_1fontSize + 'px "宋体"'); Node264_1.a('node.textvisible',true); Node264_1.a('node.linefeed',false); if (false) { Node264_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node264_1.a('node.text') || '浑源峰岳风场'; var color=Node264_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264_1width,Node264_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node264_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node264_1.a('node.underlinepoints',[Node264_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node264_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6, (Node264_1height - Node264_1fontSize) * 0.5*_ratio.ratioY + Node264_1fontSize + 2 ]); Node264_1.a('node.underlinevisible',false); Node264_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node264_1); zoomNodeList.push({ node: Node264_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node265_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node265_0 = new ht.Node(); Node265_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY); Node265_0.setSize(117*ratioX, 26*ratioY); Node265_0.setImage('imgimage//img//index_map_bot.png'); Node265_0.setRotation(0*Math.PI/180); Node265_0._zoomBy = 'Default'; Node265_0._nodeType = 'image'; Node265_0._disallowEvert = true; dataModel.add(Node265_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node265_1 = new ht.Node(); var Node265_1textStart, Node265_1textWidth, Node265_1lineStart, Node265_1align = 'left', Node265_1fontSize = 13.3333*_ratio.ratioY,Node265_1width = 110*_ratio.ratioX, Node265_1height = 16*_ratio.ratioY; (function () { if (Node265_1align === 'left') { Node265_1textStart = Node265_1fontSize * 0.2 > 2 ? Node265_1fontSize * 0.2 - 4 : Node265_1fontSize * 0.2 - 9; Node265_1textWidth = Node265_1width; Node265_1lineStart = 1; } else if (Node265_1align === 'right') { Node265_1textStart = 0; Node265_1textWidth =Node265_1fontSize <= 8 ? Node265_1width + Node265_1fontSize * 0.2 + 6 : Node265_1width - Node265_1fontSize * 0.2; Node265_1lineStart = (Node265_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node265_1align === 'center') { Node265_1textStart = -3; Node265_1textWidth = Node265_1width; Node265_1lineStart = Node265_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width - 11; } })(); Node265_1.setImage(GD.getTextJSON(Node265_1width, Node265_1height, true, false, false, ' '+ Node265_1fontSize + 'px "宋体"')) Node265_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY); Node265_1.setWidth(Node265_1width); Node265_1.setHeight(Node265_1height); Node265_1._nodeType = 'text'; Node265_1._disallowEvert = true; Node265_1.setRotation(0*Math.PI/180); Node265_1.a('node.width', Node265_1width); Node265_1.a('node.height', Node265_1height); Node265_1.a('node.rect', [0, 0, Node265_1width, Node265_1height]); Node265_1.a('node.bordercolor','rgba(255,255,192,1)'); Node265_1.a('node.borderwidth', 0); Node265_1.a('node.background','' || 'rgba(0,0,0,0)'); Node265_1.a('node.gradient',''); Node265_1.a('node.gradientcolor',''); Node265_1.a('node.text','右玉高家堡风场'); Node265_1.a('node.textalign','left'); Node265_1.a('node.textvAlign','middle'); Node265_1.a('node.textrect', [Node265_1textStart, 0, Node265_1textWidth, Node265_1height]); Node265_1.a('node.color','rgba(255,255,192,1)'); Node265_1.a('node.font',' '+ Node265_1fontSize + 'px "宋体"'); Node265_1.a('node.textvisible',true); Node265_1.a('node.linefeed',false); if (false) { Node265_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node265_1.a('node.text') || '右玉高家堡风场'; var color=Node265_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265_1width,Node265_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node265_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node265_1.a('node.underlinepoints',[Node265_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node265_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6, (Node265_1height - Node265_1fontSize) * 0.5*_ratio.ratioY + Node265_1fontSize + 2 ]); Node265_1.a('node.underlinevisible',false); Node265_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node265_1); zoomNodeList.push({ node: Node265_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node266_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node266_0 = new ht.Node(); Node266_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY); Node266_0.setSize(117*ratioX, 26*ratioY); Node266_0.setImage('imgimage//img//index_map_bot.png'); Node266_0.setRotation(0*Math.PI/180); Node266_0._zoomBy = 'Default'; Node266_0._nodeType = 'image'; Node266_0._disallowEvert = true; dataModel.add(Node266_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node266_1 = new ht.Node(); var Node266_1textStart, Node266_1textWidth, Node266_1lineStart, Node266_1align = 'left', Node266_1fontSize = 13.3333*_ratio.ratioY,Node266_1width = 110*_ratio.ratioX, Node266_1height = 16*_ratio.ratioY; (function () { if (Node266_1align === 'left') { Node266_1textStart = Node266_1fontSize * 0.2 > 2 ? Node266_1fontSize * 0.2 - 4 : Node266_1fontSize * 0.2 - 9; Node266_1textWidth = Node266_1width; Node266_1lineStart = 1; } else if (Node266_1align === 'right') { Node266_1textStart = 0; Node266_1textWidth =Node266_1fontSize <= 8 ? Node266_1width + Node266_1fontSize * 0.2 + 6 : Node266_1width - Node266_1fontSize * 0.2; Node266_1lineStart = (Node266_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node266_1align === 'center') { Node266_1textStart = -3; Node266_1textWidth = Node266_1width; Node266_1lineStart = Node266_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width - 11; } })(); Node266_1.setImage(GD.getTextJSON(Node266_1width, Node266_1height, true, false, false, ' '+ Node266_1fontSize + 'px "宋体"')) Node266_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY); Node266_1.setWidth(Node266_1width); Node266_1.setHeight(Node266_1height); Node266_1._nodeType = 'text'; Node266_1._disallowEvert = true; Node266_1.setRotation(0*Math.PI/180); Node266_1.a('node.width', Node266_1width); Node266_1.a('node.height', Node266_1height); Node266_1.a('node.rect', [0, 0, Node266_1width, Node266_1height]); Node266_1.a('node.bordercolor','rgba(255,255,255,1)'); Node266_1.a('node.borderwidth', 0); Node266_1.a('node.background','' || 'rgba(0,0,0,0)'); Node266_1.a('node.gradient',''); Node266_1.a('node.gradientcolor',''); Node266_1.a('node.text','右玉高家堡风场'); Node266_1.a('node.textalign','left'); Node266_1.a('node.textvAlign','middle'); Node266_1.a('node.textrect', [Node266_1textStart, 0, Node266_1textWidth, Node266_1height]); Node266_1.a('node.color','rgba(255,255,255,1)'); Node266_1.a('node.font',' '+ Node266_1fontSize + 'px "宋体"'); Node266_1.a('node.textvisible',true); Node266_1.a('node.linefeed',false); if (false) { Node266_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node266_1.a('node.text') || '右玉高家堡风场'; var color=Node266_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_1width,Node266_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node266_1.a('node.underlinepoints',[Node266_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node266_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6, (Node266_1height - Node266_1fontSize) * 0.5*_ratio.ratioY + Node266_1fontSize + 2 ]); Node266_1.a('node.underlinevisible',false); Node266_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node266_1); zoomNodeList.push({ node: Node266_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node267_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node267_0 = new ht.Node(); Node267_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY); Node267_0.setSize(117*ratioX, 26*ratioY); Node267_0.setImage('imgimage//img//index_map_bot.png'); Node267_0.setRotation(0*Math.PI/180); Node267_0._zoomBy = 'Default'; Node267_0._nodeType = 'image'; Node267_0._disallowEvert = true; dataModel.add(Node267_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node267_1 = new ht.Node(); var Node267_1textStart, Node267_1textWidth, Node267_1lineStart, Node267_1align = 'left', Node267_1fontSize = 13.3333*_ratio.ratioY,Node267_1width = 86*_ratio.ratioX, Node267_1height = 16*_ratio.ratioY; (function () { if (Node267_1align === 'left') { Node267_1textStart = Node267_1fontSize * 0.2 > 2 ? Node267_1fontSize * 0.2 - 4 : Node267_1fontSize * 0.2 - 9; Node267_1textWidth = Node267_1width; Node267_1lineStart = 1; } else if (Node267_1align === 'right') { Node267_1textStart = 0; Node267_1textWidth =Node267_1fontSize <= 8 ? Node267_1width + Node267_1fontSize * 0.2 + 6 : Node267_1width - Node267_1fontSize * 0.2; Node267_1lineStart = (Node267_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node267_1align === 'center') { Node267_1textStart = -3; Node267_1textWidth = Node267_1width; Node267_1lineStart = Node267_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width - 11; } })(); Node267_1.setImage(GD.getTextJSON(Node267_1width, Node267_1height, true, false, false, ' '+ Node267_1fontSize + 'px "宋体"')) Node267_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY); Node267_1.setWidth(Node267_1width); Node267_1.setHeight(Node267_1height); Node267_1._nodeType = 'text'; Node267_1._disallowEvert = true; Node267_1.setRotation(0*Math.PI/180); Node267_1.a('node.width', Node267_1width); Node267_1.a('node.height', Node267_1height); Node267_1.a('node.rect', [0, 0, Node267_1width, Node267_1height]); Node267_1.a('node.bordercolor','rgba(255,255,192,1)'); Node267_1.a('node.borderwidth', 0); Node267_1.a('node.background','' || 'rgba(0,0,0,0)'); Node267_1.a('node.gradient',''); Node267_1.a('node.gradientcolor',''); Node267_1.a('node.text','广灵劲风风场'); Node267_1.a('node.textalign','left'); Node267_1.a('node.textvAlign','middle'); Node267_1.a('node.textrect', [Node267_1textStart, 0, Node267_1textWidth, Node267_1height]); Node267_1.a('node.color','rgba(255,255,192,1)'); Node267_1.a('node.font',' '+ Node267_1fontSize + 'px "宋体"'); Node267_1.a('node.textvisible',true); Node267_1.a('node.linefeed',false); if (false) { Node267_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node267_1.a('node.text') || '广灵劲风风场'; var color=Node267_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267_1width,Node267_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node267_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node267_1.a('node.underlinepoints',[Node267_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node267_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6, (Node267_1height - Node267_1fontSize) * 0.5*_ratio.ratioY + Node267_1fontSize + 2 ]); Node267_1.a('node.underlinevisible',false); Node267_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node267_1); zoomNodeList.push({ node: Node267_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node268_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node268_0 = new ht.Node(); Node268_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY); Node268_0.setSize(117*ratioX, 26*ratioY); Node268_0.setImage('imgimage//img//index_map_bot.png'); Node268_0.setRotation(0*Math.PI/180); Node268_0._zoomBy = 'Default'; Node268_0._nodeType = 'image'; Node268_0._disallowEvert = true; dataModel.add(Node268_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node268_1 = new ht.Node(); var Node268_1textStart, Node268_1textWidth, Node268_1lineStart, Node268_1align = 'left', Node268_1fontSize = 13.3333*_ratio.ratioY,Node268_1width = 86*_ratio.ratioX, Node268_1height = 16*_ratio.ratioY; (function () { if (Node268_1align === 'left') { Node268_1textStart = Node268_1fontSize * 0.2 > 2 ? Node268_1fontSize * 0.2 - 4 : Node268_1fontSize * 0.2 - 9; Node268_1textWidth = Node268_1width; Node268_1lineStart = 1; } else if (Node268_1align === 'right') { Node268_1textStart = 0; Node268_1textWidth =Node268_1fontSize <= 8 ? Node268_1width + Node268_1fontSize * 0.2 + 6 : Node268_1width - Node268_1fontSize * 0.2; Node268_1lineStart = (Node268_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node268_1align === 'center') { Node268_1textStart = -3; Node268_1textWidth = Node268_1width; Node268_1lineStart = Node268_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width - 11; } })(); Node268_1.setImage(GD.getTextJSON(Node268_1width, Node268_1height, true, false, false, ' '+ Node268_1fontSize + 'px "宋体"')) Node268_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY); Node268_1.setWidth(Node268_1width); Node268_1.setHeight(Node268_1height); Node268_1._nodeType = 'text'; Node268_1._disallowEvert = true; Node268_1.setRotation(0*Math.PI/180); Node268_1.a('node.width', Node268_1width); Node268_1.a('node.height', Node268_1height); Node268_1.a('node.rect', [0, 0, Node268_1width, Node268_1height]); Node268_1.a('node.bordercolor','rgba(255,255,255,1)'); Node268_1.a('node.borderwidth', 0); Node268_1.a('node.background','' || 'rgba(0,0,0,0)'); Node268_1.a('node.gradient',''); Node268_1.a('node.gradientcolor',''); Node268_1.a('node.text','广灵劲风风场'); Node268_1.a('node.textalign','left'); Node268_1.a('node.textvAlign','middle'); Node268_1.a('node.textrect', [Node268_1textStart, 0, Node268_1textWidth, Node268_1height]); Node268_1.a('node.color','rgba(255,255,255,1)'); Node268_1.a('node.font',' '+ Node268_1fontSize + 'px "宋体"'); Node268_1.a('node.textvisible',true); Node268_1.a('node.linefeed',false); if (false) { Node268_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node268_1.a('node.text') || '广灵劲风风场'; var color=Node268_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268_1width,Node268_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node268_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node268_1.a('node.underlinepoints',[Node268_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node268_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6, (Node268_1height - Node268_1fontSize) * 0.5*_ratio.ratioY + Node268_1fontSize + 2 ]); Node268_1.a('node.underlinevisible',false); Node268_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node268_1); zoomNodeList.push({ node: Node268_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node269_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node269_0 = new ht.Node(); Node269_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY); Node269_0.setSize(117*ratioX, 26*ratioY); Node269_0.setImage('imgimage//img//index_map_bot.png'); Node269_0.setRotation(0*Math.PI/180); Node269_0._zoomBy = 'Default'; Node269_0._nodeType = 'image'; Node269_0._disallowEvert = true; dataModel.add(Node269_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node269_1 = new ht.Node(); var Node269_1textStart, Node269_1textWidth, Node269_1lineStart, Node269_1align = 'left', Node269_1fontSize = 13.3333*_ratio.ratioY,Node269_1width = 100*_ratio.ratioX, Node269_1height = 16*_ratio.ratioY; (function () { if (Node269_1align === 'left') { Node269_1textStart = Node269_1fontSize * 0.2 > 2 ? Node269_1fontSize * 0.2 - 4 : Node269_1fontSize * 0.2 - 9; Node269_1textWidth = Node269_1width; Node269_1lineStart = 1; } else if (Node269_1align === 'right') { Node269_1textStart = 0; Node269_1textWidth =Node269_1fontSize <= 8 ? Node269_1width + Node269_1fontSize * 0.2 + 6 : Node269_1width - Node269_1fontSize * 0.2; Node269_1lineStart = (Node269_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node269_1align === 'center') { Node269_1textStart = -3; Node269_1textWidth = Node269_1width; Node269_1lineStart = Node269_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width - 11; } })(); Node269_1.setImage(GD.getTextJSON(Node269_1width, Node269_1height, true, false, false, ' '+ Node269_1fontSize + 'px "宋体"')) Node269_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY); Node269_1.setWidth(Node269_1width); Node269_1.setHeight(Node269_1height); Node269_1._nodeType = 'text'; Node269_1._disallowEvert = true; Node269_1.setRotation(0*Math.PI/180); Node269_1.a('node.width', Node269_1width); Node269_1.a('node.height', Node269_1height); Node269_1.a('node.rect', [0, 0, Node269_1width, Node269_1height]); Node269_1.a('node.bordercolor','rgba(255,255,192,1)'); Node269_1.a('node.borderwidth', 0); Node269_1.a('node.background','' || 'rgba(0,0,0,0)'); Node269_1.a('node.gradient',''); Node269_1.a('node.gradientcolor',''); Node269_1.a('node.text','平鲁虎头山风场'); Node269_1.a('node.textalign','left'); Node269_1.a('node.textvAlign','middle'); Node269_1.a('node.textrect', [Node269_1textStart, 0, Node269_1textWidth, Node269_1height]); Node269_1.a('node.color','rgba(255,255,192,1)'); Node269_1.a('node.font',' '+ Node269_1fontSize + 'px "宋体"'); Node269_1.a('node.textvisible',true); Node269_1.a('node.linefeed',false); if (false) { Node269_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node269_1.a('node.text') || '平鲁虎头山风场'; var color=Node269_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269_1width,Node269_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node269_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node269_1.a('node.underlinepoints',[Node269_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node269_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6, (Node269_1height - Node269_1fontSize) * 0.5*_ratio.ratioY + Node269_1fontSize + 2 ]); Node269_1.a('node.underlinevisible',false); Node269_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node269_1); zoomNodeList.push({ node: Node269_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node270_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node270_0 = new ht.Node(); Node270_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY); Node270_0.setSize(117*ratioX, 26*ratioY); Node270_0.setImage('imgimage//img//index_map_bot.png'); Node270_0.setRotation(0*Math.PI/180); Node270_0._zoomBy = 'Default'; Node270_0._nodeType = 'image'; Node270_0._disallowEvert = true; dataModel.add(Node270_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node270_1 = new ht.Node(); var Node270_1textStart, Node270_1textWidth, Node270_1lineStart, Node270_1align = 'left', Node270_1fontSize = 13.3333*_ratio.ratioY,Node270_1width = 100*_ratio.ratioX, Node270_1height = 16*_ratio.ratioY; (function () { if (Node270_1align === 'left') { Node270_1textStart = Node270_1fontSize * 0.2 > 2 ? Node270_1fontSize * 0.2 - 4 : Node270_1fontSize * 0.2 - 9; Node270_1textWidth = Node270_1width; Node270_1lineStart = 1; } else if (Node270_1align === 'right') { Node270_1textStart = 0; Node270_1textWidth =Node270_1fontSize <= 8 ? Node270_1width + Node270_1fontSize * 0.2 + 6 : Node270_1width - Node270_1fontSize * 0.2; Node270_1lineStart = (Node270_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node270_1align === 'center') { Node270_1textStart = -3; Node270_1textWidth = Node270_1width; Node270_1lineStart = Node270_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width - 11; } })(); Node270_1.setImage(GD.getTextJSON(Node270_1width, Node270_1height, true, false, false, ' '+ Node270_1fontSize + 'px "宋体"')) Node270_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY); Node270_1.setWidth(Node270_1width); Node270_1.setHeight(Node270_1height); Node270_1._nodeType = 'text'; Node270_1._disallowEvert = true; Node270_1.setRotation(0*Math.PI/180); Node270_1.a('node.width', Node270_1width); Node270_1.a('node.height', Node270_1height); Node270_1.a('node.rect', [0, 0, Node270_1width, Node270_1height]); Node270_1.a('node.bordercolor','rgba(255,255,255,1)'); Node270_1.a('node.borderwidth', 0); Node270_1.a('node.background','' || 'rgba(0,0,0,0)'); Node270_1.a('node.gradient',''); Node270_1.a('node.gradientcolor',''); Node270_1.a('node.text','平鲁虎头山风场'); Node270_1.a('node.textalign','left'); Node270_1.a('node.textvAlign','middle'); Node270_1.a('node.textrect', [Node270_1textStart, 0, Node270_1textWidth, Node270_1height]); Node270_1.a('node.color','rgba(255,255,255,1)'); Node270_1.a('node.font',' '+ Node270_1fontSize + 'px "宋体"'); Node270_1.a('node.textvisible',true); Node270_1.a('node.linefeed',false); if (false) { Node270_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node270_1.a('node.text') || '平鲁虎头山风场'; var color=Node270_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270_1width,Node270_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node270_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node270_1.a('node.underlinepoints',[Node270_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node270_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6, (Node270_1height - Node270_1fontSize) * 0.5*_ratio.ratioY + Node270_1fontSize + 2 ]); Node270_1.a('node.underlinevisible',false); Node270_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node270_1); zoomNodeList.push({ node: Node270_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node271_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node271_0 = new ht.Node(); Node271_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY); Node271_0.setSize(117*ratioX, 26*ratioY); Node271_0.setImage('imgimage//img//index_map_bot.png'); Node271_0.setRotation(0*Math.PI/180); Node271_0._zoomBy = 'Default'; Node271_0._nodeType = 'image'; Node271_0._disallowEvert = true; dataModel.add(Node271_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node271_1 = new ht.Node(); var Node271_1textStart, Node271_1textWidth, Node271_1lineStart, Node271_1align = 'left', Node271_1fontSize = 13.3333*_ratio.ratioY,Node271_1width = 110*_ratio.ratioX, Node271_1height = 16*_ratio.ratioY; (function () { if (Node271_1align === 'left') { Node271_1textStart = Node271_1fontSize * 0.2 > 2 ? Node271_1fontSize * 0.2 - 4 : Node271_1fontSize * 0.2 - 9; Node271_1textWidth = Node271_1width; Node271_1lineStart = 1; } else if (Node271_1align === 'right') { Node271_1textStart = 0; Node271_1textWidth =Node271_1fontSize <= 8 ? Node271_1width + Node271_1fontSize * 0.2 + 6 : Node271_1width - Node271_1fontSize * 0.2; Node271_1lineStart = (Node271_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node271_1align === 'center') { Node271_1textStart = -3; Node271_1textWidth = Node271_1width; Node271_1lineStart = Node271_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width - 11; } })(); Node271_1.setImage(GD.getTextJSON(Node271_1width, Node271_1height, true, false, false, ' '+ Node271_1fontSize + 'px "宋体"')) Node271_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY); Node271_1.setWidth(Node271_1width); Node271_1.setHeight(Node271_1height); Node271_1._nodeType = 'text'; Node271_1._disallowEvert = true; Node271_1.setRotation(0*Math.PI/180); Node271_1.a('node.width', Node271_1width); Node271_1.a('node.height', Node271_1height); Node271_1.a('node.rect', [0, 0, Node271_1width, Node271_1height]); Node271_1.a('node.bordercolor','rgba(255,255,192,1)'); Node271_1.a('node.borderwidth', 0); Node271_1.a('node.background','' || 'rgba(0,0,0,0)'); Node271_1.a('node.gradient',''); Node271_1.a('node.gradientcolor',''); Node271_1.a('node.text','吕梁宝塔山风场'); Node271_1.a('node.textalign','left'); Node271_1.a('node.textvAlign','middle'); Node271_1.a('node.textrect', [Node271_1textStart, 0, Node271_1textWidth, Node271_1height]); Node271_1.a('node.color','rgba(255,255,192,1)'); Node271_1.a('node.font',' '+ Node271_1fontSize + 'px "宋体"'); Node271_1.a('node.textvisible',true); Node271_1.a('node.linefeed',false); if (false) { Node271_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node271_1.a('node.text') || '吕梁宝塔山风场'; var color=Node271_1.a('node.color') || 'rgba(255,255,192,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271_1width,Node271_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node271_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node271_1.a('node.underlinepoints',[Node271_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node271_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6, (Node271_1height - Node271_1fontSize) * 0.5*_ratio.ratioY + Node271_1fontSize + 2 ]); Node271_1.a('node.underlinevisible',false); Node271_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node271_1); zoomNodeList.push({ node: Node271_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node272_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png'); Node272_0 = new ht.Node(); Node272_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY); Node272_0.setSize(117*ratioX, 26*ratioY); Node272_0.setImage('imgimage//img//index_map_bot.png'); Node272_0.setRotation(0*Math.PI/180); Node272_0._zoomBy = 'Default'; Node272_0._nodeType = 'image'; Node272_0._disallowEvert = true; dataModel.add(Node272_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node272_1 = new ht.Node(); var Node272_1textStart, Node272_1textWidth, Node272_1lineStart, Node272_1align = 'left', Node272_1fontSize = 13.3333*_ratio.ratioY,Node272_1width = 110*_ratio.ratioX, Node272_1height = 16*_ratio.ratioY; (function () { if (Node272_1align === 'left') { Node272_1textStart = Node272_1fontSize * 0.2 > 2 ? Node272_1fontSize * 0.2 - 4 : Node272_1fontSize * 0.2 - 9; Node272_1textWidth = Node272_1width; Node272_1lineStart = 1; } else if (Node272_1align === 'right') { Node272_1textStart = 0; Node272_1textWidth =Node272_1fontSize <= 8 ? Node272_1width + Node272_1fontSize * 0.2 + 6 : Node272_1width - Node272_1fontSize * 0.2; Node272_1lineStart = (Node272_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6)) * 0.5; } else if (Node272_1align === 'center') { Node272_1textStart = -3; Node272_1textWidth = Node272_1width; Node272_1lineStart = Node272_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width - 11; } })(); Node272_1.setImage(GD.getTextJSON(Node272_1width, Node272_1height, true, false, false, ' '+ Node272_1fontSize + 'px "宋体"')) Node272_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY); Node272_1.setWidth(Node272_1width); Node272_1.setHeight(Node272_1height); Node272_1._nodeType = 'text'; Node272_1._disallowEvert = true; Node272_1.setRotation(0*Math.PI/180); Node272_1.a('node.width', Node272_1width); Node272_1.a('node.height', Node272_1height); Node272_1.a('node.rect', [0, 0, Node272_1width, Node272_1height]); Node272_1.a('node.bordercolor','rgba(255,255,255,1)'); Node272_1.a('node.borderwidth', 0); Node272_1.a('node.background','' || 'rgba(0,0,0,0)'); Node272_1.a('node.gradient',''); Node272_1.a('node.gradientcolor',''); Node272_1.a('node.text','吕梁宝塔山风场'); Node272_1.a('node.textalign','left'); Node272_1.a('node.textvAlign','middle'); Node272_1.a('node.textrect', [Node272_1textStart, 0, Node272_1textWidth, Node272_1height]); Node272_1.a('node.color','rgba(255,255,255,1)'); Node272_1.a('node.font',' '+ Node272_1fontSize + 'px "宋体"'); Node272_1.a('node.textvisible',true); Node272_1.a('node.linefeed',false); if (false) { Node272_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node272_1.a('node.text') || '吕梁宝塔山风场'; var color=Node272_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272_1width,Node272_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node272_1fontSize + 'px "宋体"', 0,g); }); } if (false) { Node272_1.a('node.underlinepoints',[Node272_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node272_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6, (Node272_1height - Node272_1fontSize) * 0.5*_ratio.ratioY + Node272_1fontSize + 2 ]); Node272_1.a('node.underlinevisible',false); Node272_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node272_1); zoomNodeList.push({ node: Node272_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node273_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node273_0 = new ht.Node(); Node273_0.setPosition(683*ratio.ratioX, 350*ratio.ratioY); Node273_0.setSize(146*ratioX, 141*ratioY); Node273_0.setImage('imgimage//img//map_name_03.png'); Node273_0.setRotation(0*Math.PI/180); Node273_0._zoomBy = 'Default'; Node273_0._nodeType = 'image'; Node273_0._disallowEvert = true; dataModel.add(Node273_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_1 = new ht.Node(); var Node273_1textStart, Node273_1textWidth, Node273_1lineStart, Node273_1align = 'left', Node273_1fontSize = 10.66664*_ratio.ratioY,Node273_1width = 72*_ratio.ratioX, Node273_1height = 27*_ratio.ratioY; (function () { if (Node273_1align === 'left') { Node273_1textStart = Node273_1fontSize * 0.2 > 2 ? Node273_1fontSize * 0.2 - 4 : Node273_1fontSize * 0.2 - 9; Node273_1textWidth = Node273_1width; Node273_1lineStart = 1; } else if (Node273_1align === 'right') { Node273_1textStart = 0; Node273_1textWidth =Node273_1fontSize <= 8 ? Node273_1width + Node273_1fontSize * 0.2 + 6 : Node273_1width - Node273_1fontSize * 0.2; Node273_1lineStart = (Node273_1width - (ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_1align === 'center') { Node273_1textStart = -3; Node273_1textWidth = Node273_1width; Node273_1lineStart = Node273_1width - ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width - 11; } })(); Node273_1.setImage(GD.getTextJSON(Node273_1width, Node273_1height, true, false, false, ' '+ Node273_1fontSize + 'px "Arial"')) Node273_1.setPosition(653*ratio.ratioX, 303*ratio.ratioY); Node273_1.setWidth(Node273_1width); Node273_1.setHeight(Node273_1height); Node273_1._nodeType = 'text'; Node273_1._disallowEvert = true; Node273_1.setRotation(0*Math.PI/180); Node273_1.a('node.width', Node273_1width); Node273_1.a('node.height', Node273_1height); Node273_1.a('node.rect', [0, 0, Node273_1width, Node273_1height]); Node273_1.a('node.bordercolor','rgba(0,0,0,1)'); Node273_1.a('node.borderwidth', 0); Node273_1.a('node.background','' || 'rgba(0,0,0,0)'); Node273_1.a('node.gradient',''); Node273_1.a('node.gradientcolor',''); Node273_1.a('node.text','风机台数'); Node273_1.a('node.textalign','left'); Node273_1.a('node.textvAlign','middle'); Node273_1.a('node.textrect', [Node273_1textStart, 0, Node273_1textWidth, Node273_1height]); Node273_1.a('node.color','rgba(0,0,0,1)'); Node273_1.a('node.font',' '+ Node273_1fontSize + 'px "Arial"'); Node273_1.a('node.textvisible',true); Node273_1.a('node.linefeed',false); if (false) { Node273_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_1.a('node.text') || '风机台数'; var color=Node273_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_1width,Node273_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_1.a('node.underlinepoints',[Node273_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6, (Node273_1height - Node273_1fontSize) * 0.5*_ratio.ratioY + Node273_1fontSize + 2 ]); Node273_1.a('node.underlinevisible',false); Node273_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_1); zoomNodeList.push({ node: Node273_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_2 = new ht.Node(); var Node273_2textStart, Node273_2textWidth, Node273_2lineStart, Node273_2align = 'left', Node273_2fontSize = 10.66664*_ratio.ratioY,Node273_2width = 22*_ratio.ratioX, Node273_2height = 27*_ratio.ratioY; (function () { if (Node273_2align === 'left') { Node273_2textStart = Node273_2fontSize * 0.2 > 2 ? Node273_2fontSize * 0.2 - 4 : Node273_2fontSize * 0.2 - 9; Node273_2textWidth = Node273_2width; Node273_2lineStart = 1; } else if (Node273_2align === 'right') { Node273_2textStart = 0; Node273_2textWidth =Node273_2fontSize <= 8 ? Node273_2width + Node273_2fontSize * 0.2 + 6 : Node273_2width - Node273_2fontSize * 0.2; Node273_2lineStart = (Node273_2width - (ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_2align === 'center') { Node273_2textStart = -3; Node273_2textWidth = Node273_2width; Node273_2lineStart = Node273_2width - ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width - 11; } })(); Node273_2.setImage(GD.getTextJSON(Node273_2width, Node273_2height, true, false, false, ' '+ Node273_2fontSize + 'px "Arial"')) Node273_2.setPosition(691*ratio.ratioX, 303*ratio.ratioY); Node273_2.setWidth(Node273_2width); Node273_2.setHeight(Node273_2height); Node273_2._nodeType = 'text'; Node273_2._disallowEvert = true; Node273_2.setRotation(0*Math.PI/180); Node273_2.a('node.width', Node273_2width); Node273_2.a('node.height', Node273_2height); Node273_2.a('node.rect', [0, 0, Node273_2width, Node273_2height]); Node273_2.a('node.bordercolor','rgba(192,0,0,1)'); Node273_2.a('node.borderwidth', 0); Node273_2.a('node.background','' || 'rgba(0,0,0,0)'); Node273_2.a('node.gradient',''); Node273_2.a('node.gradientcolor',''); Node273_2.a('node.text','99'); Node273_2.a('node.textalign','left'); Node273_2.a('node.textvAlign','middle'); Node273_2.a('node.textrect', [Node273_2textStart, 0, Node273_2textWidth, Node273_2height]); Node273_2.a('node.color','rgba(192,0,0,1)'); Node273_2.a('node.font',' '+ Node273_2fontSize + 'px "Arial"'); Node273_2.a('node.textvisible',true); Node273_2.a('node.linefeed',false); if (false) { Node273_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_2.a('node.text') || '99'; var color=Node273_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_2width,Node273_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_2.a('node.underlinepoints',[Node273_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6, (Node273_2height - Node273_2fontSize) * 0.5*_ratio.ratioY + Node273_2fontSize + 2 ]); Node273_2.a('node.underlinevisible',false); Node273_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_2); zoomNodeList.push({ node: Node273_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_3 = new ht.Node(); var Node273_3textStart, Node273_3textWidth, Node273_3lineStart, Node273_3align = 'left', Node273_3fontSize = 10.66664*_ratio.ratioY,Node273_3width = 43*_ratio.ratioX, Node273_3height = 27*_ratio.ratioY; (function () { if (Node273_3align === 'left') { Node273_3textStart = Node273_3fontSize * 0.2 > 2 ? Node273_3fontSize * 0.2 - 4 : Node273_3fontSize * 0.2 - 9; Node273_3textWidth = Node273_3width; Node273_3lineStart = 1; } else if (Node273_3align === 'right') { Node273_3textStart = 0; Node273_3textWidth =Node273_3fontSize <= 8 ? Node273_3width + Node273_3fontSize * 0.2 + 6 : Node273_3width - Node273_3fontSize * 0.2; Node273_3lineStart = (Node273_3width - (ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_3align === 'center') { Node273_3textStart = -3; Node273_3textWidth = Node273_3width; Node273_3lineStart = Node273_3width - ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width - 11; } })(); Node273_3.setImage(GD.getTextJSON(Node273_3width, Node273_3height, true, false, false, ' '+ Node273_3fontSize + 'px "Arial"')) Node273_3.setPosition(738*ratio.ratioX, 303*ratio.ratioY); Node273_3.setWidth(Node273_3width); Node273_3.setHeight(Node273_3height); Node273_3._nodeType = 'text'; Node273_3._disallowEvert = true; Node273_3.setRotation(0*Math.PI/180); Node273_3.a('node.width', Node273_3width); Node273_3.a('node.height', Node273_3height); Node273_3.a('node.rect', [0, 0, Node273_3width, Node273_3height]); Node273_3.a('node.bordercolor','rgba(0,0,0,1)'); Node273_3.a('node.borderwidth', 0); Node273_3.a('node.background','' || 'rgba(0,0,0,0)'); Node273_3.a('node.gradient',''); Node273_3.a('node.gradientcolor',''); Node273_3.a('node.text','万kwh'); Node273_3.a('node.textalign','left'); Node273_3.a('node.textvAlign','middle'); Node273_3.a('node.textrect', [Node273_3textStart, 0, Node273_3textWidth, Node273_3height]); Node273_3.a('node.color','rgba(0,0,0,1)'); Node273_3.a('node.font',' '+ Node273_3fontSize + 'px "Arial"'); Node273_3.a('node.textvisible',true); Node273_3.a('node.linefeed',false); if (false) { Node273_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_3.a('node.text') || '万kwh'; var color=Node273_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_3width,Node273_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_3.a('node.underlinepoints',[Node273_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6, (Node273_3height - Node273_3fontSize) * 0.5*_ratio.ratioY + Node273_3fontSize + 2 ]); Node273_3.a('node.underlinevisible',false); Node273_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_3); zoomNodeList.push({ node: Node273_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_4 = new ht.Node(); var Node273_4textStart, Node273_4textWidth, Node273_4lineStart, Node273_4align = 'left', Node273_4fontSize = 10.66664*_ratio.ratioY,Node273_4width = 72*_ratio.ratioX, Node273_4height = 27*_ratio.ratioY; (function () { if (Node273_4align === 'left') { Node273_4textStart = Node273_4fontSize * 0.2 > 2 ? Node273_4fontSize * 0.2 - 4 : Node273_4fontSize * 0.2 - 9; Node273_4textWidth = Node273_4width; Node273_4lineStart = 1; } else if (Node273_4align === 'right') { Node273_4textStart = 0; Node273_4textWidth =Node273_4fontSize <= 8 ? Node273_4width + Node273_4fontSize * 0.2 + 6 : Node273_4width - Node273_4fontSize * 0.2; Node273_4lineStart = (Node273_4width - (ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_4align === 'center') { Node273_4textStart = -3; Node273_4textWidth = Node273_4width; Node273_4lineStart = Node273_4width - ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width - 11; } })(); Node273_4.setImage(GD.getTextJSON(Node273_4width, Node273_4height, true, false, false, ' '+ Node273_4fontSize + 'px "Arial"')) Node273_4.setPosition(653*ratio.ratioX, 329*ratio.ratioY); Node273_4.setWidth(Node273_4width); Node273_4.setHeight(Node273_4height); Node273_4._nodeType = 'text'; Node273_4._disallowEvert = true; Node273_4.setRotation(0*Math.PI/180); Node273_4.a('node.width', Node273_4width); Node273_4.a('node.height', Node273_4height); Node273_4.a('node.rect', [0, 0, Node273_4width, Node273_4height]); Node273_4.a('node.bordercolor','rgba(0,0,0,1)'); Node273_4.a('node.borderwidth', 0); Node273_4.a('node.background','' || 'rgba(0,0,0,0)'); Node273_4.a('node.gradient',''); Node273_4.a('node.gradientcolor',''); Node273_4.a('node.text','装机容量'); Node273_4.a('node.textalign','left'); Node273_4.a('node.textvAlign','middle'); Node273_4.a('node.textrect', [Node273_4textStart, 0, Node273_4textWidth, Node273_4height]); Node273_4.a('node.color','rgba(0,0,0,1)'); Node273_4.a('node.font',' '+ Node273_4fontSize + 'px "Arial"'); Node273_4.a('node.textvisible',true); Node273_4.a('node.linefeed',false); if (false) { Node273_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_4.a('node.text') || '装机容量'; var color=Node273_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_4width,Node273_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_4.a('node.underlinepoints',[Node273_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6, (Node273_4height - Node273_4fontSize) * 0.5*_ratio.ratioY + Node273_4fontSize + 2 ]); Node273_4.a('node.underlinevisible',false); Node273_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_4); zoomNodeList.push({ node: Node273_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_5 = new ht.Node(); var Node273_5textStart, Node273_5textWidth, Node273_5lineStart, Node273_5align = 'left', Node273_5fontSize = 10.66664*_ratio.ratioY,Node273_5width = 31*_ratio.ratioX, Node273_5height = 27*_ratio.ratioY; (function () { if (Node273_5align === 'left') { Node273_5textStart = Node273_5fontSize * 0.2 > 2 ? Node273_5fontSize * 0.2 - 4 : Node273_5fontSize * 0.2 - 9; Node273_5textWidth = Node273_5width; Node273_5lineStart = 1; } else if (Node273_5align === 'right') { Node273_5textStart = 0; Node273_5textWidth =Node273_5fontSize <= 8 ? Node273_5width + Node273_5fontSize * 0.2 + 6 : Node273_5width - Node273_5fontSize * 0.2; Node273_5lineStart = (Node273_5width - (ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_5align === 'center') { Node273_5textStart = -3; Node273_5textWidth = Node273_5width; Node273_5lineStart = Node273_5width - ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width - 11; } })(); Node273_5.setImage(GD.getTextJSON(Node273_5width, Node273_5height, true, false, false, ' '+ Node273_5fontSize + 'px "Arial"')) Node273_5.setPosition(696*ratio.ratioX, 329*ratio.ratioY); Node273_5.setWidth(Node273_5width); Node273_5.setHeight(Node273_5height); Node273_5._nodeType = 'text'; Node273_5._disallowEvert = true; Node273_5.setRotation(0*Math.PI/180); Node273_5.a('node.width', Node273_5width); Node273_5.a('node.height', Node273_5height); Node273_5.a('node.rect', [0, 0, Node273_5width, Node273_5height]); Node273_5.a('node.bordercolor','rgba(192,0,0,1)'); Node273_5.a('node.borderwidth', 0); Node273_5.a('node.background','' || 'rgba(0,0,0,0)'); Node273_5.a('node.gradient',''); Node273_5.a('node.gradientcolor',''); Node273_5.a('node.text','14.85'); Node273_5.a('node.textalign','left'); Node273_5.a('node.textvAlign','middle'); Node273_5.a('node.textrect', [Node273_5textStart, 0, Node273_5textWidth, Node273_5height]); Node273_5.a('node.color','rgba(192,0,0,1)'); Node273_5.a('node.font',' '+ Node273_5fontSize + 'px "Arial"'); Node273_5.a('node.textvisible',true); Node273_5.a('node.linefeed',false); if (false) { Node273_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_5.a('node.text') || '14.85'; var color=Node273_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_5width,Node273_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_5.a('node.underlinepoints',[Node273_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6, (Node273_5height - Node273_5fontSize) * 0.5*_ratio.ratioY + Node273_5fontSize + 2 ]); Node273_5.a('node.underlinevisible',false); Node273_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_5); zoomNodeList.push({ node: Node273_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_6 = new ht.Node(); var Node273_6textStart, Node273_6textWidth, Node273_6lineStart, Node273_6align = 'left', Node273_6fontSize = 10.66664*_ratio.ratioY,Node273_6width = 43*_ratio.ratioX, Node273_6height = 27*_ratio.ratioY; (function () { if (Node273_6align === 'left') { Node273_6textStart = Node273_6fontSize * 0.2 > 2 ? Node273_6fontSize * 0.2 - 4 : Node273_6fontSize * 0.2 - 9; Node273_6textWidth = Node273_6width; Node273_6lineStart = 1; } else if (Node273_6align === 'right') { Node273_6textStart = 0; Node273_6textWidth =Node273_6fontSize <= 8 ? Node273_6width + Node273_6fontSize * 0.2 + 6 : Node273_6width - Node273_6fontSize * 0.2; Node273_6lineStart = (Node273_6width - (ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_6align === 'center') { Node273_6textStart = -3; Node273_6textWidth = Node273_6width; Node273_6lineStart = Node273_6width - ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width - 11; } })(); Node273_6.setImage(GD.getTextJSON(Node273_6width, Node273_6height, true, false, false, ' '+ Node273_6fontSize + 'px "Arial"')) Node273_6.setPosition(738*ratio.ratioX, 329*ratio.ratioY); Node273_6.setWidth(Node273_6width); Node273_6.setHeight(Node273_6height); Node273_6._nodeType = 'text'; Node273_6._disallowEvert = true; Node273_6.setRotation(0*Math.PI/180); Node273_6.a('node.width', Node273_6width); Node273_6.a('node.height', Node273_6height); Node273_6.a('node.rect', [0, 0, Node273_6width, Node273_6height]); Node273_6.a('node.bordercolor','rgba(0,0,0,1)'); Node273_6.a('node.borderwidth', 0); Node273_6.a('node.background','' || 'rgba(0,0,0,0)'); Node273_6.a('node.gradient',''); Node273_6.a('node.gradientcolor',''); Node273_6.a('node.text','万kwh'); Node273_6.a('node.textalign','left'); Node273_6.a('node.textvAlign','middle'); Node273_6.a('node.textrect', [Node273_6textStart, 0, Node273_6textWidth, Node273_6height]); Node273_6.a('node.color','rgba(0,0,0,1)'); Node273_6.a('node.font',' '+ Node273_6fontSize + 'px "Arial"'); Node273_6.a('node.textvisible',true); Node273_6.a('node.linefeed',false); if (false) { Node273_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_6.a('node.text') || '万kwh'; var color=Node273_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_6width,Node273_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_6.a('node.underlinepoints',[Node273_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6, (Node273_6height - Node273_6fontSize) * 0.5*_ratio.ratioY + Node273_6fontSize + 2 ]); Node273_6.a('node.underlinevisible',false); Node273_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_6); zoomNodeList.push({ node: Node273_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_7 = new ht.Node(); var Node273_7textStart, Node273_7textWidth, Node273_7lineStart, Node273_7align = 'left', Node273_7fontSize = 10.66664*_ratio.ratioY,Node273_7width = 72*_ratio.ratioX, Node273_7height = 27*_ratio.ratioY; (function () { if (Node273_7align === 'left') { Node273_7textStart = Node273_7fontSize * 0.2 > 2 ? Node273_7fontSize * 0.2 - 4 : Node273_7fontSize * 0.2 - 9; Node273_7textWidth = Node273_7width; Node273_7lineStart = 1; } else if (Node273_7align === 'right') { Node273_7textStart = 0; Node273_7textWidth =Node273_7fontSize <= 8 ? Node273_7width + Node273_7fontSize * 0.2 + 6 : Node273_7width - Node273_7fontSize * 0.2; Node273_7lineStart = (Node273_7width - (ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_7align === 'center') { Node273_7textStart = -3; Node273_7textWidth = Node273_7width; Node273_7lineStart = Node273_7width - ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width - 11; } })(); Node273_7.setImage(GD.getTextJSON(Node273_7width, Node273_7height, true, false, false, ' '+ Node273_7fontSize + 'px "Arial"')) Node273_7.setPosition(653*ratio.ratioX, 354*ratio.ratioY); Node273_7.setWidth(Node273_7width); Node273_7.setHeight(Node273_7height); Node273_7._nodeType = 'text'; Node273_7._disallowEvert = true; Node273_7.setRotation(0*Math.PI/180); Node273_7.a('node.width', Node273_7width); Node273_7.a('node.height', Node273_7height); Node273_7.a('node.rect', [0, 0, Node273_7width, Node273_7height]); Node273_7.a('node.bordercolor','rgba(0,0,0,1)'); Node273_7.a('node.borderwidth', 0); Node273_7.a('node.background','' || 'rgba(0,0,0,0)'); Node273_7.a('node.gradient',''); Node273_7.a('node.gradientcolor',''); Node273_7.a('node.text','平均风速'); Node273_7.a('node.textalign','left'); Node273_7.a('node.textvAlign','middle'); Node273_7.a('node.textrect', [Node273_7textStart, 0, Node273_7textWidth, Node273_7height]); Node273_7.a('node.color','rgba(0,0,0,1)'); Node273_7.a('node.font',' '+ Node273_7fontSize + 'px "Arial"'); Node273_7.a('node.textvisible',true); Node273_7.a('node.linefeed',false); if (false) { Node273_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_7.a('node.text') || '平均风速'; var color=Node273_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_7width,Node273_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_7.a('node.underlinepoints',[Node273_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6, (Node273_7height - Node273_7fontSize) * 0.5*_ratio.ratioY + Node273_7fontSize + 2 ]); Node273_7.a('node.underlinevisible',false); Node273_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_7); zoomNodeList.push({ node: Node273_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_8 = new ht.Node(); var Node273_8textStart, Node273_8textWidth, Node273_8lineStart, Node273_8align = 'left', Node273_8fontSize = 10.66664*_ratio.ratioY,Node273_8width = 22*_ratio.ratioX, Node273_8height = 27*_ratio.ratioY; (function () { if (Node273_8align === 'left') { Node273_8textStart = Node273_8fontSize * 0.2 > 2 ? Node273_8fontSize * 0.2 - 4 : Node273_8fontSize * 0.2 - 9; Node273_8textWidth = Node273_8width; Node273_8lineStart = 1; } else if (Node273_8align === 'right') { Node273_8textStart = 0; Node273_8textWidth =Node273_8fontSize <= 8 ? Node273_8width + Node273_8fontSize * 0.2 + 6 : Node273_8width - Node273_8fontSize * 0.2; Node273_8lineStart = (Node273_8width - (ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_8align === 'center') { Node273_8textStart = -3; Node273_8textWidth = Node273_8width; Node273_8lineStart = Node273_8width - ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width - 11; } })(); Node273_8.setImage(GD.getTextJSON(Node273_8width, Node273_8height, true, false, false, ' '+ Node273_8fontSize + 'px "Arial"')) Node273_8.setPosition(691*ratio.ratioX, 354*ratio.ratioY); Node273_8.setWidth(Node273_8width); Node273_8.setHeight(Node273_8height); Node273_8._nodeType = 'text'; Node273_8._disallowEvert = true; Node273_8.setRotation(0*Math.PI/180); Node273_8.a('node.width', Node273_8width); Node273_8.a('node.height', Node273_8height); Node273_8.a('node.rect', [0, 0, Node273_8width, Node273_8height]); Node273_8.a('node.bordercolor','rgba(192,0,0,1)'); Node273_8.a('node.borderwidth', 0); Node273_8.a('node.background','' || 'rgba(0,0,0,0)'); Node273_8.a('node.gradient',''); Node273_8.a('node.gradientcolor',''); Node273_8.a('node.text','-'); Node273_8.a('node.textalign','left'); Node273_8.a('node.textvAlign','middle'); Node273_8.a('node.textrect', [Node273_8textStart, 0, Node273_8textWidth, Node273_8height]); Node273_8.a('node.color','rgba(192,0,0,1)'); Node273_8.a('node.font',' '+ Node273_8fontSize + 'px "Arial"'); Node273_8.a('node.textvisible',true); Node273_8.a('node.linefeed',false); if (false) { Node273_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_8.a('node.text') || '-'; var color=Node273_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_8width,Node273_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_8.a('node.underlinepoints',[Node273_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6, (Node273_8height - Node273_8fontSize) * 0.5*_ratio.ratioY + Node273_8fontSize + 2 ]); Node273_8.a('node.underlinevisible',false); Node273_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_8); zoomNodeList.push({ node: Node273_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_9 = new ht.Node(); var Node273_9textStart, Node273_9textWidth, Node273_9lineStart, Node273_9align = 'left', Node273_9fontSize = 10.66664*_ratio.ratioY,Node273_9width = 43*_ratio.ratioX, Node273_9height = 27*_ratio.ratioY; (function () { if (Node273_9align === 'left') { Node273_9textStart = Node273_9fontSize * 0.2 > 2 ? Node273_9fontSize * 0.2 - 4 : Node273_9fontSize * 0.2 - 9; Node273_9textWidth = Node273_9width; Node273_9lineStart = 1; } else if (Node273_9align === 'right') { Node273_9textStart = 0; Node273_9textWidth =Node273_9fontSize <= 8 ? Node273_9width + Node273_9fontSize * 0.2 + 6 : Node273_9width - Node273_9fontSize * 0.2; Node273_9lineStart = (Node273_9width - (ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_9align === 'center') { Node273_9textStart = -3; Node273_9textWidth = Node273_9width; Node273_9lineStart = Node273_9width - ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width - 11; } })(); Node273_9.setImage(GD.getTextJSON(Node273_9width, Node273_9height, true, false, false, ' '+ Node273_9fontSize + 'px "Arial"')) Node273_9.setPosition(738*ratio.ratioX, 354*ratio.ratioY); Node273_9.setWidth(Node273_9width); Node273_9.setHeight(Node273_9height); Node273_9._nodeType = 'text'; Node273_9._disallowEvert = true; Node273_9.setRotation(0*Math.PI/180); Node273_9.a('node.width', Node273_9width); Node273_9.a('node.height', Node273_9height); Node273_9.a('node.rect', [0, 0, Node273_9width, Node273_9height]); Node273_9.a('node.bordercolor','rgba(0,0,0,1)'); Node273_9.a('node.borderwidth', 0); Node273_9.a('node.background','' || 'rgba(0,0,0,0)'); Node273_9.a('node.gradient',''); Node273_9.a('node.gradientcolor',''); Node273_9.a('node.text','万kwh'); Node273_9.a('node.textalign','left'); Node273_9.a('node.textvAlign','middle'); Node273_9.a('node.textrect', [Node273_9textStart, 0, Node273_9textWidth, Node273_9height]); Node273_9.a('node.color','rgba(0,0,0,1)'); Node273_9.a('node.font',' '+ Node273_9fontSize + 'px "Arial"'); Node273_9.a('node.textvisible',true); Node273_9.a('node.linefeed',false); if (false) { Node273_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_9.a('node.text') || '万kwh'; var color=Node273_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_9width,Node273_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_9.a('node.underlinepoints',[Node273_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6, (Node273_9height - Node273_9fontSize) * 0.5*_ratio.ratioY + Node273_9fontSize + 2 ]); Node273_9.a('node.underlinevisible',false); Node273_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_9); zoomNodeList.push({ node: Node273_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_10 = new ht.Node(); var Node273_10textStart, Node273_10textWidth, Node273_10lineStart, Node273_10align = 'left', Node273_10fontSize = 10.66664*_ratio.ratioY,Node273_10width = 72*_ratio.ratioX, Node273_10height = 27*_ratio.ratioY; (function () { if (Node273_10align === 'left') { Node273_10textStart = Node273_10fontSize * 0.2 > 2 ? Node273_10fontSize * 0.2 - 4 : Node273_10fontSize * 0.2 - 9; Node273_10textWidth = Node273_10width; Node273_10lineStart = 1; } else if (Node273_10align === 'right') { Node273_10textStart = 0; Node273_10textWidth =Node273_10fontSize <= 8 ? Node273_10width + Node273_10fontSize * 0.2 + 6 : Node273_10width - Node273_10fontSize * 0.2; Node273_10lineStart = (Node273_10width - (ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_10align === 'center') { Node273_10textStart = -3; Node273_10textWidth = Node273_10width; Node273_10lineStart = Node273_10width - ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width - 11; } })(); Node273_10.setImage(GD.getTextJSON(Node273_10width, Node273_10height, true, false, false, ' '+ Node273_10fontSize + 'px "Arial"')) Node273_10.setPosition(653*ratio.ratioX, 380*ratio.ratioY); Node273_10.setWidth(Node273_10width); Node273_10.setHeight(Node273_10height); Node273_10._nodeType = 'text'; Node273_10._disallowEvert = true; Node273_10.setRotation(0*Math.PI/180); Node273_10.a('node.width', Node273_10width); Node273_10.a('node.height', Node273_10height); Node273_10.a('node.rect', [0, 0, Node273_10width, Node273_10height]); Node273_10.a('node.bordercolor','rgba(0,0,0,1)'); Node273_10.a('node.borderwidth', 0); Node273_10.a('node.background','' || 'rgba(0,0,0,0)'); Node273_10.a('node.gradient',''); Node273_10.a('node.gradientcolor',''); Node273_10.a('node.text','日发电量'); Node273_10.a('node.textalign','left'); Node273_10.a('node.textvAlign','middle'); Node273_10.a('node.textrect', [Node273_10textStart, 0, Node273_10textWidth, Node273_10height]); Node273_10.a('node.color','rgba(0,0,0,1)'); Node273_10.a('node.font',' '+ Node273_10fontSize + 'px "Arial"'); Node273_10.a('node.textvisible',true); Node273_10.a('node.linefeed',false); if (false) { Node273_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_10.a('node.text') || '日发电量'; var color=Node273_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_10width,Node273_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_10.a('node.underlinepoints',[Node273_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6, (Node273_10height - Node273_10fontSize) * 0.5*_ratio.ratioY + Node273_10fontSize + 2 ]); Node273_10.a('node.underlinevisible',false); Node273_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_10); zoomNodeList.push({ node: Node273_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_11 = new ht.Node(); var Node273_11textStart, Node273_11textWidth, Node273_11lineStart, Node273_11align = 'left', Node273_11fontSize = 10.66664*_ratio.ratioY,Node273_11width = 31*_ratio.ratioX, Node273_11height = 27*_ratio.ratioY; (function () { if (Node273_11align === 'left') { Node273_11textStart = Node273_11fontSize * 0.2 > 2 ? Node273_11fontSize * 0.2 - 4 : Node273_11fontSize * 0.2 - 9; Node273_11textWidth = Node273_11width; Node273_11lineStart = 1; } else if (Node273_11align === 'right') { Node273_11textStart = 0; Node273_11textWidth =Node273_11fontSize <= 8 ? Node273_11width + Node273_11fontSize * 0.2 + 6 : Node273_11width - Node273_11fontSize * 0.2; Node273_11lineStart = (Node273_11width - (ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_11align === 'center') { Node273_11textStart = -3; Node273_11textWidth = Node273_11width; Node273_11lineStart = Node273_11width - ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width - 11; } })(); Node273_11.setImage(GD.getTextJSON(Node273_11width, Node273_11height, true, false, false, ' '+ Node273_11fontSize + 'px "Arial"')) Node273_11.setPosition(696*ratio.ratioX, 380*ratio.ratioY); Node273_11.setWidth(Node273_11width); Node273_11.setHeight(Node273_11height); Node273_11._nodeType = 'text'; Node273_11._disallowEvert = true; Node273_11.setRotation(0*Math.PI/180); Node273_11.a('node.width', Node273_11width); Node273_11.a('node.height', Node273_11height); Node273_11.a('node.rect', [0, 0, Node273_11width, Node273_11height]); Node273_11.a('node.bordercolor','rgba(192,0,0,1)'); Node273_11.a('node.borderwidth', 0); Node273_11.a('node.background','' || 'rgba(0,0,0,0)'); Node273_11.a('node.gradient',''); Node273_11.a('node.gradientcolor',''); Node273_11.a('node.text','-'); Node273_11.a('node.textalign','left'); Node273_11.a('node.textvAlign','middle'); Node273_11.a('node.textrect', [Node273_11textStart, 0, Node273_11textWidth, Node273_11height]); Node273_11.a('node.color','rgba(192,0,0,1)'); Node273_11.a('node.font',' '+ Node273_11fontSize + 'px "Arial"'); Node273_11.a('node.textvisible',true); Node273_11.a('node.linefeed',false); if (false) { Node273_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_11.a('node.text') || '-'; var color=Node273_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_11width,Node273_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_11.a('node.underlinepoints',[Node273_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6, (Node273_11height - Node273_11fontSize) * 0.5*_ratio.ratioY + Node273_11fontSize + 2 ]); Node273_11.a('node.underlinevisible',false); Node273_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_11); zoomNodeList.push({ node: Node273_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_12 = new ht.Node(); var Node273_12textStart, Node273_12textWidth, Node273_12lineStart, Node273_12align = 'left', Node273_12fontSize = 10.66664*_ratio.ratioY,Node273_12width = 43*_ratio.ratioX, Node273_12height = 27*_ratio.ratioY; (function () { if (Node273_12align === 'left') { Node273_12textStart = Node273_12fontSize * 0.2 > 2 ? Node273_12fontSize * 0.2 - 4 : Node273_12fontSize * 0.2 - 9; Node273_12textWidth = Node273_12width; Node273_12lineStart = 1; } else if (Node273_12align === 'right') { Node273_12textStart = 0; Node273_12textWidth =Node273_12fontSize <= 8 ? Node273_12width + Node273_12fontSize * 0.2 + 6 : Node273_12width - Node273_12fontSize * 0.2; Node273_12lineStart = (Node273_12width - (ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_12align === 'center') { Node273_12textStart = -3; Node273_12textWidth = Node273_12width; Node273_12lineStart = Node273_12width - ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width - 11; } })(); Node273_12.setImage(GD.getTextJSON(Node273_12width, Node273_12height, true, false, false, ' '+ Node273_12fontSize + 'px "Arial"')) Node273_12.setPosition(738*ratio.ratioX, 380*ratio.ratioY); Node273_12.setWidth(Node273_12width); Node273_12.setHeight(Node273_12height); Node273_12._nodeType = 'text'; Node273_12._disallowEvert = true; Node273_12.setRotation(0*Math.PI/180); Node273_12.a('node.width', Node273_12width); Node273_12.a('node.height', Node273_12height); Node273_12.a('node.rect', [0, 0, Node273_12width, Node273_12height]); Node273_12.a('node.bordercolor','rgba(0,0,0,1)'); Node273_12.a('node.borderwidth', 0); Node273_12.a('node.background','' || 'rgba(0,0,0,0)'); Node273_12.a('node.gradient',''); Node273_12.a('node.gradientcolor',''); Node273_12.a('node.text','万kwh'); Node273_12.a('node.textalign','left'); Node273_12.a('node.textvAlign','middle'); Node273_12.a('node.textrect', [Node273_12textStart, 0, Node273_12textWidth, Node273_12height]); Node273_12.a('node.color','rgba(0,0,0,1)'); Node273_12.a('node.font',' '+ Node273_12fontSize + 'px "Arial"'); Node273_12.a('node.textvisible',true); Node273_12.a('node.linefeed',false); if (false) { Node273_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_12.a('node.text') || '万kwh'; var color=Node273_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_12width,Node273_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_12.a('node.underlinepoints',[Node273_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6, (Node273_12height - Node273_12fontSize) * 0.5*_ratio.ratioY + Node273_12fontSize + 2 ]); Node273_12.a('node.underlinevisible',false); Node273_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_12); zoomNodeList.push({ node: Node273_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_13 = new ht.Node(); var Node273_13textStart, Node273_13textWidth, Node273_13lineStart, Node273_13align = 'left', Node273_13fontSize = 10.66664*_ratio.ratioY,Node273_13width = 72*_ratio.ratioX, Node273_13height = 27*_ratio.ratioY; (function () { if (Node273_13align === 'left') { Node273_13textStart = Node273_13fontSize * 0.2 > 2 ? Node273_13fontSize * 0.2 - 4 : Node273_13fontSize * 0.2 - 9; Node273_13textWidth = Node273_13width; Node273_13lineStart = 1; } else if (Node273_13align === 'right') { Node273_13textStart = 0; Node273_13textWidth =Node273_13fontSize <= 8 ? Node273_13width + Node273_13fontSize * 0.2 + 6 : Node273_13width - Node273_13fontSize * 0.2; Node273_13lineStart = (Node273_13width - (ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_13align === 'center') { Node273_13textStart = -3; Node273_13textWidth = Node273_13width; Node273_13lineStart = Node273_13width - ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width - 11; } })(); Node273_13.setImage(GD.getTextJSON(Node273_13width, Node273_13height, true, false, false, ' '+ Node273_13fontSize + 'px "Arial"')) Node273_13.setPosition(653*ratio.ratioX, 407*ratio.ratioY); Node273_13.setWidth(Node273_13width); Node273_13.setHeight(Node273_13height); Node273_13._nodeType = 'text'; Node273_13._disallowEvert = true; Node273_13.setRotation(0*Math.PI/180); Node273_13.a('node.width', Node273_13width); Node273_13.a('node.height', Node273_13height); Node273_13.a('node.rect', [0, 0, Node273_13width, Node273_13height]); Node273_13.a('node.bordercolor','rgba(0,0,0,1)'); Node273_13.a('node.borderwidth', 0); Node273_13.a('node.background','' || 'rgba(0,0,0,0)'); Node273_13.a('node.gradient',''); Node273_13.a('node.gradientcolor',''); Node273_13.a('node.text','有功功率'); Node273_13.a('node.textalign','left'); Node273_13.a('node.textvAlign','middle'); Node273_13.a('node.textrect', [Node273_13textStart, 0, Node273_13textWidth, Node273_13height]); Node273_13.a('node.color','rgba(0,0,0,1)'); Node273_13.a('node.font',' '+ Node273_13fontSize + 'px "Arial"'); Node273_13.a('node.textvisible',true); Node273_13.a('node.linefeed',false); if (false) { Node273_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_13.a('node.text') || '有功功率'; var color=Node273_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_13width,Node273_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_13.a('node.underlinepoints',[Node273_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6, (Node273_13height - Node273_13fontSize) * 0.5*_ratio.ratioY + Node273_13fontSize + 2 ]); Node273_13.a('node.underlinevisible',false); Node273_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_13); zoomNodeList.push({ node: Node273_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_14 = new ht.Node(); var Node273_14textStart, Node273_14textWidth, Node273_14lineStart, Node273_14align = 'left', Node273_14fontSize = 10.66664*_ratio.ratioY,Node273_14width = 22*_ratio.ratioX, Node273_14height = 27*_ratio.ratioY; (function () { if (Node273_14align === 'left') { Node273_14textStart = Node273_14fontSize * 0.2 > 2 ? Node273_14fontSize * 0.2 - 4 : Node273_14fontSize * 0.2 - 9; Node273_14textWidth = Node273_14width; Node273_14lineStart = 1; } else if (Node273_14align === 'right') { Node273_14textStart = 0; Node273_14textWidth =Node273_14fontSize <= 8 ? Node273_14width + Node273_14fontSize * 0.2 + 6 : Node273_14width - Node273_14fontSize * 0.2; Node273_14lineStart = (Node273_14width - (ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_14align === 'center') { Node273_14textStart = -3; Node273_14textWidth = Node273_14width; Node273_14lineStart = Node273_14width - ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width - 11; } })(); Node273_14.setImage(GD.getTextJSON(Node273_14width, Node273_14height, true, false, false, ' '+ Node273_14fontSize + 'px "Arial"')) Node273_14.setPosition(691*ratio.ratioX, 407*ratio.ratioY); Node273_14.setWidth(Node273_14width); Node273_14.setHeight(Node273_14height); Node273_14._nodeType = 'text'; Node273_14._disallowEvert = true; Node273_14.setRotation(0*Math.PI/180); Node273_14.a('node.width', Node273_14width); Node273_14.a('node.height', Node273_14height); Node273_14.a('node.rect', [0, 0, Node273_14width, Node273_14height]); Node273_14.a('node.bordercolor','rgba(192,0,0,1)'); Node273_14.a('node.borderwidth', 0); Node273_14.a('node.background','' || 'rgba(0,0,0,0)'); Node273_14.a('node.gradient',''); Node273_14.a('node.gradientcolor',''); Node273_14.a('node.text','-'); Node273_14.a('node.textalign','left'); Node273_14.a('node.textvAlign','middle'); Node273_14.a('node.textrect', [Node273_14textStart, 0, Node273_14textWidth, Node273_14height]); Node273_14.a('node.color','rgba(192,0,0,1)'); Node273_14.a('node.font',' '+ Node273_14fontSize + 'px "Arial"'); Node273_14.a('node.textvisible',true); Node273_14.a('node.linefeed',false); if (false) { Node273_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_14.a('node.text') || '-'; var color=Node273_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_14width,Node273_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_14.a('node.underlinepoints',[Node273_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6, (Node273_14height - Node273_14fontSize) * 0.5*_ratio.ratioY + Node273_14fontSize + 2 ]); Node273_14.a('node.underlinevisible',false); Node273_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_14); zoomNodeList.push({ node: Node273_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273_15 = new ht.Node(); var Node273_15textStart, Node273_15textWidth, Node273_15lineStart, Node273_15align = 'left', Node273_15fontSize = 10.66664*_ratio.ratioY,Node273_15width = 43*_ratio.ratioX, Node273_15height = 27*_ratio.ratioY; (function () { if (Node273_15align === 'left') { Node273_15textStart = Node273_15fontSize * 0.2 > 2 ? Node273_15fontSize * 0.2 - 4 : Node273_15fontSize * 0.2 - 9; Node273_15textWidth = Node273_15width; Node273_15lineStart = 1; } else if (Node273_15align === 'right') { Node273_15textStart = 0; Node273_15textWidth =Node273_15fontSize <= 8 ? Node273_15width + Node273_15fontSize * 0.2 + 6 : Node273_15width - Node273_15fontSize * 0.2; Node273_15lineStart = (Node273_15width - (ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node273_15align === 'center') { Node273_15textStart = -3; Node273_15textWidth = Node273_15width; Node273_15lineStart = Node273_15width - ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width - 11; } })(); Node273_15.setImage(GD.getTextJSON(Node273_15width, Node273_15height, true, false, false, ' '+ Node273_15fontSize + 'px "Arial"')) Node273_15.setPosition(738*ratio.ratioX, 407*ratio.ratioY); Node273_15.setWidth(Node273_15width); Node273_15.setHeight(Node273_15height); Node273_15._nodeType = 'text'; Node273_15._disallowEvert = true; Node273_15.setRotation(0*Math.PI/180); Node273_15.a('node.width', Node273_15width); Node273_15.a('node.height', Node273_15height); Node273_15.a('node.rect', [0, 0, Node273_15width, Node273_15height]); Node273_15.a('node.bordercolor','rgba(0,0,0,1)'); Node273_15.a('node.borderwidth', 0); Node273_15.a('node.background','' || 'rgba(0,0,0,0)'); Node273_15.a('node.gradient',''); Node273_15.a('node.gradientcolor',''); Node273_15.a('node.text','万kwh'); Node273_15.a('node.textalign','left'); Node273_15.a('node.textvAlign','middle'); Node273_15.a('node.textrect', [Node273_15textStart, 0, Node273_15textWidth, Node273_15height]); Node273_15.a('node.color','rgba(0,0,0,1)'); Node273_15.a('node.font',' '+ Node273_15fontSize + 'px "Arial"'); Node273_15.a('node.textvisible',true); Node273_15.a('node.linefeed',false); if (false) { Node273_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node273_15.a('node.text') || '万kwh'; var color=Node273_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_15width,Node273_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node273_15.a('node.underlinepoints',[Node273_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6, (Node273_15height - Node273_15fontSize) * 0.5*_ratio.ratioY + Node273_15fontSize + 2 ]); Node273_15.a('node.underlinevisible',false); Node273_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node273_15); zoomNodeList.push({ node: Node273_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node274_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node274_0 = new ht.Node(); Node274_0.setPosition(633*ratio.ratioX, 450*ratio.ratioY); Node274_0.setSize(146*ratioX, 141*ratioY); Node274_0.setImage('imgimage//img//map_name_03.png'); Node274_0.setRotation(0*Math.PI/180); Node274_0._zoomBy = 'Default'; Node274_0._nodeType = 'image'; Node274_0._disallowEvert = true; dataModel.add(Node274_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_1 = new ht.Node(); var Node274_1textStart, Node274_1textWidth, Node274_1lineStart, Node274_1align = 'left', Node274_1fontSize = 10.66664*_ratio.ratioY,Node274_1width = 72*_ratio.ratioX, Node274_1height = 27*_ratio.ratioY; (function () { if (Node274_1align === 'left') { Node274_1textStart = Node274_1fontSize * 0.2 > 2 ? Node274_1fontSize * 0.2 - 4 : Node274_1fontSize * 0.2 - 9; Node274_1textWidth = Node274_1width; Node274_1lineStart = 1; } else if (Node274_1align === 'right') { Node274_1textStart = 0; Node274_1textWidth =Node274_1fontSize <= 8 ? Node274_1width + Node274_1fontSize * 0.2 + 6 : Node274_1width - Node274_1fontSize * 0.2; Node274_1lineStart = (Node274_1width - (ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_1align === 'center') { Node274_1textStart = -3; Node274_1textWidth = Node274_1width; Node274_1lineStart = Node274_1width - ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width - 11; } })(); Node274_1.setImage(GD.getTextJSON(Node274_1width, Node274_1height, true, false, false, ' '+ Node274_1fontSize + 'px "Arial"')) Node274_1.setPosition(603*ratio.ratioX, 403*ratio.ratioY); Node274_1.setWidth(Node274_1width); Node274_1.setHeight(Node274_1height); Node274_1._nodeType = 'text'; Node274_1._disallowEvert = true; Node274_1.setRotation(0*Math.PI/180); Node274_1.a('node.width', Node274_1width); Node274_1.a('node.height', Node274_1height); Node274_1.a('node.rect', [0, 0, Node274_1width, Node274_1height]); Node274_1.a('node.bordercolor','rgba(0,0,0,1)'); Node274_1.a('node.borderwidth', 0); Node274_1.a('node.background','' || 'rgba(0,0,0,0)'); Node274_1.a('node.gradient',''); Node274_1.a('node.gradientcolor',''); Node274_1.a('node.text','风机台数'); Node274_1.a('node.textalign','left'); Node274_1.a('node.textvAlign','middle'); Node274_1.a('node.textrect', [Node274_1textStart, 0, Node274_1textWidth, Node274_1height]); Node274_1.a('node.color','rgba(0,0,0,1)'); Node274_1.a('node.font',' '+ Node274_1fontSize + 'px "Arial"'); Node274_1.a('node.textvisible',true); Node274_1.a('node.linefeed',false); if (false) { Node274_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_1.a('node.text') || '风机台数'; var color=Node274_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_1width,Node274_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_1.a('node.underlinepoints',[Node274_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6, (Node274_1height - Node274_1fontSize) * 0.5*_ratio.ratioY + Node274_1fontSize + 2 ]); Node274_1.a('node.underlinevisible',false); Node274_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_1); zoomNodeList.push({ node: Node274_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_2 = new ht.Node(); var Node274_2textStart, Node274_2textWidth, Node274_2lineStart, Node274_2align = 'left', Node274_2fontSize = 10.66664*_ratio.ratioY,Node274_2width = 22*_ratio.ratioX, Node274_2height = 27*_ratio.ratioY; (function () { if (Node274_2align === 'left') { Node274_2textStart = Node274_2fontSize * 0.2 > 2 ? Node274_2fontSize * 0.2 - 4 : Node274_2fontSize * 0.2 - 9; Node274_2textWidth = Node274_2width; Node274_2lineStart = 1; } else if (Node274_2align === 'right') { Node274_2textStart = 0; Node274_2textWidth =Node274_2fontSize <= 8 ? Node274_2width + Node274_2fontSize * 0.2 + 6 : Node274_2width - Node274_2fontSize * 0.2; Node274_2lineStart = (Node274_2width - (ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_2align === 'center') { Node274_2textStart = -3; Node274_2textWidth = Node274_2width; Node274_2lineStart = Node274_2width - ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width - 11; } })(); Node274_2.setImage(GD.getTextJSON(Node274_2width, Node274_2height, true, false, false, ' '+ Node274_2fontSize + 'px "Arial"')) Node274_2.setPosition(641*ratio.ratioX, 403*ratio.ratioY); Node274_2.setWidth(Node274_2width); Node274_2.setHeight(Node274_2height); Node274_2._nodeType = 'text'; Node274_2._disallowEvert = true; Node274_2.setRotation(0*Math.PI/180); Node274_2.a('node.width', Node274_2width); Node274_2.a('node.height', Node274_2height); Node274_2.a('node.rect', [0, 0, Node274_2width, Node274_2height]); Node274_2.a('node.bordercolor','rgba(192,0,0,1)'); Node274_2.a('node.borderwidth', 0); Node274_2.a('node.background','' || 'rgba(0,0,0,0)'); Node274_2.a('node.gradient',''); Node274_2.a('node.gradientcolor',''); Node274_2.a('node.text','99'); Node274_2.a('node.textalign','left'); Node274_2.a('node.textvAlign','middle'); Node274_2.a('node.textrect', [Node274_2textStart, 0, Node274_2textWidth, Node274_2height]); Node274_2.a('node.color','rgba(192,0,0,1)'); Node274_2.a('node.font',' '+ Node274_2fontSize + 'px "Arial"'); Node274_2.a('node.textvisible',true); Node274_2.a('node.linefeed',false); if (false) { Node274_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_2.a('node.text') || '99'; var color=Node274_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_2width,Node274_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_2.a('node.underlinepoints',[Node274_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6, (Node274_2height - Node274_2fontSize) * 0.5*_ratio.ratioY + Node274_2fontSize + 2 ]); Node274_2.a('node.underlinevisible',false); Node274_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_2); zoomNodeList.push({ node: Node274_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_3 = new ht.Node(); var Node274_3textStart, Node274_3textWidth, Node274_3lineStart, Node274_3align = 'left', Node274_3fontSize = 10.66664*_ratio.ratioY,Node274_3width = 43*_ratio.ratioX, Node274_3height = 27*_ratio.ratioY; (function () { if (Node274_3align === 'left') { Node274_3textStart = Node274_3fontSize * 0.2 > 2 ? Node274_3fontSize * 0.2 - 4 : Node274_3fontSize * 0.2 - 9; Node274_3textWidth = Node274_3width; Node274_3lineStart = 1; } else if (Node274_3align === 'right') { Node274_3textStart = 0; Node274_3textWidth =Node274_3fontSize <= 8 ? Node274_3width + Node274_3fontSize * 0.2 + 6 : Node274_3width - Node274_3fontSize * 0.2; Node274_3lineStart = (Node274_3width - (ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_3align === 'center') { Node274_3textStart = -3; Node274_3textWidth = Node274_3width; Node274_3lineStart = Node274_3width - ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width - 11; } })(); Node274_3.setImage(GD.getTextJSON(Node274_3width, Node274_3height, true, false, false, ' '+ Node274_3fontSize + 'px "Arial"')) Node274_3.setPosition(688*ratio.ratioX, 403*ratio.ratioY); Node274_3.setWidth(Node274_3width); Node274_3.setHeight(Node274_3height); Node274_3._nodeType = 'text'; Node274_3._disallowEvert = true; Node274_3.setRotation(0*Math.PI/180); Node274_3.a('node.width', Node274_3width); Node274_3.a('node.height', Node274_3height); Node274_3.a('node.rect', [0, 0, Node274_3width, Node274_3height]); Node274_3.a('node.bordercolor','rgba(0,0,0,1)'); Node274_3.a('node.borderwidth', 0); Node274_3.a('node.background','' || 'rgba(0,0,0,0)'); Node274_3.a('node.gradient',''); Node274_3.a('node.gradientcolor',''); Node274_3.a('node.text','万kwh'); Node274_3.a('node.textalign','left'); Node274_3.a('node.textvAlign','middle'); Node274_3.a('node.textrect', [Node274_3textStart, 0, Node274_3textWidth, Node274_3height]); Node274_3.a('node.color','rgba(0,0,0,1)'); Node274_3.a('node.font',' '+ Node274_3fontSize + 'px "Arial"'); Node274_3.a('node.textvisible',true); Node274_3.a('node.linefeed',false); if (false) { Node274_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_3.a('node.text') || '万kwh'; var color=Node274_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_3width,Node274_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_3.a('node.underlinepoints',[Node274_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6, (Node274_3height - Node274_3fontSize) * 0.5*_ratio.ratioY + Node274_3fontSize + 2 ]); Node274_3.a('node.underlinevisible',false); Node274_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_3); zoomNodeList.push({ node: Node274_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_4 = new ht.Node(); var Node274_4textStart, Node274_4textWidth, Node274_4lineStart, Node274_4align = 'left', Node274_4fontSize = 10.66664*_ratio.ratioY,Node274_4width = 72*_ratio.ratioX, Node274_4height = 27*_ratio.ratioY; (function () { if (Node274_4align === 'left') { Node274_4textStart = Node274_4fontSize * 0.2 > 2 ? Node274_4fontSize * 0.2 - 4 : Node274_4fontSize * 0.2 - 9; Node274_4textWidth = Node274_4width; Node274_4lineStart = 1; } else if (Node274_4align === 'right') { Node274_4textStart = 0; Node274_4textWidth =Node274_4fontSize <= 8 ? Node274_4width + Node274_4fontSize * 0.2 + 6 : Node274_4width - Node274_4fontSize * 0.2; Node274_4lineStart = (Node274_4width - (ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_4align === 'center') { Node274_4textStart = -3; Node274_4textWidth = Node274_4width; Node274_4lineStart = Node274_4width - ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width - 11; } })(); Node274_4.setImage(GD.getTextJSON(Node274_4width, Node274_4height, true, false, false, ' '+ Node274_4fontSize + 'px "Arial"')) Node274_4.setPosition(603*ratio.ratioX, 429*ratio.ratioY); Node274_4.setWidth(Node274_4width); Node274_4.setHeight(Node274_4height); Node274_4._nodeType = 'text'; Node274_4._disallowEvert = true; Node274_4.setRotation(0*Math.PI/180); Node274_4.a('node.width', Node274_4width); Node274_4.a('node.height', Node274_4height); Node274_4.a('node.rect', [0, 0, Node274_4width, Node274_4height]); Node274_4.a('node.bordercolor','rgba(0,0,0,1)'); Node274_4.a('node.borderwidth', 0); Node274_4.a('node.background','' || 'rgba(0,0,0,0)'); Node274_4.a('node.gradient',''); Node274_4.a('node.gradientcolor',''); Node274_4.a('node.text','装机容量'); Node274_4.a('node.textalign','left'); Node274_4.a('node.textvAlign','middle'); Node274_4.a('node.textrect', [Node274_4textStart, 0, Node274_4textWidth, Node274_4height]); Node274_4.a('node.color','rgba(0,0,0,1)'); Node274_4.a('node.font',' '+ Node274_4fontSize + 'px "Arial"'); Node274_4.a('node.textvisible',true); Node274_4.a('node.linefeed',false); if (false) { Node274_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_4.a('node.text') || '装机容量'; var color=Node274_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_4width,Node274_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_4.a('node.underlinepoints',[Node274_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6, (Node274_4height - Node274_4fontSize) * 0.5*_ratio.ratioY + Node274_4fontSize + 2 ]); Node274_4.a('node.underlinevisible',false); Node274_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_4); zoomNodeList.push({ node: Node274_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_5 = new ht.Node(); var Node274_5textStart, Node274_5textWidth, Node274_5lineStart, Node274_5align = 'left', Node274_5fontSize = 10.66664*_ratio.ratioY,Node274_5width = 31*_ratio.ratioX, Node274_5height = 27*_ratio.ratioY; (function () { if (Node274_5align === 'left') { Node274_5textStart = Node274_5fontSize * 0.2 > 2 ? Node274_5fontSize * 0.2 - 4 : Node274_5fontSize * 0.2 - 9; Node274_5textWidth = Node274_5width; Node274_5lineStart = 1; } else if (Node274_5align === 'right') { Node274_5textStart = 0; Node274_5textWidth =Node274_5fontSize <= 8 ? Node274_5width + Node274_5fontSize * 0.2 + 6 : Node274_5width - Node274_5fontSize * 0.2; Node274_5lineStart = (Node274_5width - (ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_5align === 'center') { Node274_5textStart = -3; Node274_5textWidth = Node274_5width; Node274_5lineStart = Node274_5width - ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width - 11; } })(); Node274_5.setImage(GD.getTextJSON(Node274_5width, Node274_5height, true, false, false, ' '+ Node274_5fontSize + 'px "Arial"')) Node274_5.setPosition(646*ratio.ratioX, 429*ratio.ratioY); Node274_5.setWidth(Node274_5width); Node274_5.setHeight(Node274_5height); Node274_5._nodeType = 'text'; Node274_5._disallowEvert = true; Node274_5.setRotation(0*Math.PI/180); Node274_5.a('node.width', Node274_5width); Node274_5.a('node.height', Node274_5height); Node274_5.a('node.rect', [0, 0, Node274_5width, Node274_5height]); Node274_5.a('node.bordercolor','rgba(192,0,0,1)'); Node274_5.a('node.borderwidth', 0); Node274_5.a('node.background','' || 'rgba(0,0,0,0)'); Node274_5.a('node.gradient',''); Node274_5.a('node.gradientcolor',''); Node274_5.a('node.text','14.85'); Node274_5.a('node.textalign','left'); Node274_5.a('node.textvAlign','middle'); Node274_5.a('node.textrect', [Node274_5textStart, 0, Node274_5textWidth, Node274_5height]); Node274_5.a('node.color','rgba(192,0,0,1)'); Node274_5.a('node.font',' '+ Node274_5fontSize + 'px "Arial"'); Node274_5.a('node.textvisible',true); Node274_5.a('node.linefeed',false); if (false) { Node274_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_5.a('node.text') || '14.85'; var color=Node274_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_5width,Node274_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_5.a('node.underlinepoints',[Node274_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6, (Node274_5height - Node274_5fontSize) * 0.5*_ratio.ratioY + Node274_5fontSize + 2 ]); Node274_5.a('node.underlinevisible',false); Node274_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_5); zoomNodeList.push({ node: Node274_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_6 = new ht.Node(); var Node274_6textStart, Node274_6textWidth, Node274_6lineStart, Node274_6align = 'left', Node274_6fontSize = 10.66664*_ratio.ratioY,Node274_6width = 43*_ratio.ratioX, Node274_6height = 27*_ratio.ratioY; (function () { if (Node274_6align === 'left') { Node274_6textStart = Node274_6fontSize * 0.2 > 2 ? Node274_6fontSize * 0.2 - 4 : Node274_6fontSize * 0.2 - 9; Node274_6textWidth = Node274_6width; Node274_6lineStart = 1; } else if (Node274_6align === 'right') { Node274_6textStart = 0; Node274_6textWidth =Node274_6fontSize <= 8 ? Node274_6width + Node274_6fontSize * 0.2 + 6 : Node274_6width - Node274_6fontSize * 0.2; Node274_6lineStart = (Node274_6width - (ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_6align === 'center') { Node274_6textStart = -3; Node274_6textWidth = Node274_6width; Node274_6lineStart = Node274_6width - ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width - 11; } })(); Node274_6.setImage(GD.getTextJSON(Node274_6width, Node274_6height, true, false, false, ' '+ Node274_6fontSize + 'px "Arial"')) Node274_6.setPosition(688*ratio.ratioX, 429*ratio.ratioY); Node274_6.setWidth(Node274_6width); Node274_6.setHeight(Node274_6height); Node274_6._nodeType = 'text'; Node274_6._disallowEvert = true; Node274_6.setRotation(0*Math.PI/180); Node274_6.a('node.width', Node274_6width); Node274_6.a('node.height', Node274_6height); Node274_6.a('node.rect', [0, 0, Node274_6width, Node274_6height]); Node274_6.a('node.bordercolor','rgba(0,0,0,1)'); Node274_6.a('node.borderwidth', 0); Node274_6.a('node.background','' || 'rgba(0,0,0,0)'); Node274_6.a('node.gradient',''); Node274_6.a('node.gradientcolor',''); Node274_6.a('node.text','万kwh'); Node274_6.a('node.textalign','left'); Node274_6.a('node.textvAlign','middle'); Node274_6.a('node.textrect', [Node274_6textStart, 0, Node274_6textWidth, Node274_6height]); Node274_6.a('node.color','rgba(0,0,0,1)'); Node274_6.a('node.font',' '+ Node274_6fontSize + 'px "Arial"'); Node274_6.a('node.textvisible',true); Node274_6.a('node.linefeed',false); if (false) { Node274_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_6.a('node.text') || '万kwh'; var color=Node274_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_6width,Node274_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_6.a('node.underlinepoints',[Node274_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6, (Node274_6height - Node274_6fontSize) * 0.5*_ratio.ratioY + Node274_6fontSize + 2 ]); Node274_6.a('node.underlinevisible',false); Node274_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_6); zoomNodeList.push({ node: Node274_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_7 = new ht.Node(); var Node274_7textStart, Node274_7textWidth, Node274_7lineStart, Node274_7align = 'left', Node274_7fontSize = 10.66664*_ratio.ratioY,Node274_7width = 72*_ratio.ratioX, Node274_7height = 27*_ratio.ratioY; (function () { if (Node274_7align === 'left') { Node274_7textStart = Node274_7fontSize * 0.2 > 2 ? Node274_7fontSize * 0.2 - 4 : Node274_7fontSize * 0.2 - 9; Node274_7textWidth = Node274_7width; Node274_7lineStart = 1; } else if (Node274_7align === 'right') { Node274_7textStart = 0; Node274_7textWidth =Node274_7fontSize <= 8 ? Node274_7width + Node274_7fontSize * 0.2 + 6 : Node274_7width - Node274_7fontSize * 0.2; Node274_7lineStart = (Node274_7width - (ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_7align === 'center') { Node274_7textStart = -3; Node274_7textWidth = Node274_7width; Node274_7lineStart = Node274_7width - ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width - 11; } })(); Node274_7.setImage(GD.getTextJSON(Node274_7width, Node274_7height, true, false, false, ' '+ Node274_7fontSize + 'px "Arial"')) Node274_7.setPosition(603*ratio.ratioX, 454*ratio.ratioY); Node274_7.setWidth(Node274_7width); Node274_7.setHeight(Node274_7height); Node274_7._nodeType = 'text'; Node274_7._disallowEvert = true; Node274_7.setRotation(0*Math.PI/180); Node274_7.a('node.width', Node274_7width); Node274_7.a('node.height', Node274_7height); Node274_7.a('node.rect', [0, 0, Node274_7width, Node274_7height]); Node274_7.a('node.bordercolor','rgba(0,0,0,1)'); Node274_7.a('node.borderwidth', 0); Node274_7.a('node.background','' || 'rgba(0,0,0,0)'); Node274_7.a('node.gradient',''); Node274_7.a('node.gradientcolor',''); Node274_7.a('node.text','平均风速'); Node274_7.a('node.textalign','left'); Node274_7.a('node.textvAlign','middle'); Node274_7.a('node.textrect', [Node274_7textStart, 0, Node274_7textWidth, Node274_7height]); Node274_7.a('node.color','rgba(0,0,0,1)'); Node274_7.a('node.font',' '+ Node274_7fontSize + 'px "Arial"'); Node274_7.a('node.textvisible',true); Node274_7.a('node.linefeed',false); if (false) { Node274_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_7.a('node.text') || '平均风速'; var color=Node274_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_7width,Node274_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_7.a('node.underlinepoints',[Node274_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6, (Node274_7height - Node274_7fontSize) * 0.5*_ratio.ratioY + Node274_7fontSize + 2 ]); Node274_7.a('node.underlinevisible',false); Node274_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_7); zoomNodeList.push({ node: Node274_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_8 = new ht.Node(); var Node274_8textStart, Node274_8textWidth, Node274_8lineStart, Node274_8align = 'left', Node274_8fontSize = 10.66664*_ratio.ratioY,Node274_8width = 22*_ratio.ratioX, Node274_8height = 27*_ratio.ratioY; (function () { if (Node274_8align === 'left') { Node274_8textStart = Node274_8fontSize * 0.2 > 2 ? Node274_8fontSize * 0.2 - 4 : Node274_8fontSize * 0.2 - 9; Node274_8textWidth = Node274_8width; Node274_8lineStart = 1; } else if (Node274_8align === 'right') { Node274_8textStart = 0; Node274_8textWidth =Node274_8fontSize <= 8 ? Node274_8width + Node274_8fontSize * 0.2 + 6 : Node274_8width - Node274_8fontSize * 0.2; Node274_8lineStart = (Node274_8width - (ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_8align === 'center') { Node274_8textStart = -3; Node274_8textWidth = Node274_8width; Node274_8lineStart = Node274_8width - ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width - 11; } })(); Node274_8.setImage(GD.getTextJSON(Node274_8width, Node274_8height, true, false, false, ' '+ Node274_8fontSize + 'px "Arial"')) Node274_8.setPosition(641*ratio.ratioX, 454*ratio.ratioY); Node274_8.setWidth(Node274_8width); Node274_8.setHeight(Node274_8height); Node274_8._nodeType = 'text'; Node274_8._disallowEvert = true; Node274_8.setRotation(0*Math.PI/180); Node274_8.a('node.width', Node274_8width); Node274_8.a('node.height', Node274_8height); Node274_8.a('node.rect', [0, 0, Node274_8width, Node274_8height]); Node274_8.a('node.bordercolor','rgba(192,0,0,1)'); Node274_8.a('node.borderwidth', 0); Node274_8.a('node.background','' || 'rgba(0,0,0,0)'); Node274_8.a('node.gradient',''); Node274_8.a('node.gradientcolor',''); Node274_8.a('node.text','-'); Node274_8.a('node.textalign','left'); Node274_8.a('node.textvAlign','middle'); Node274_8.a('node.textrect', [Node274_8textStart, 0, Node274_8textWidth, Node274_8height]); Node274_8.a('node.color','rgba(192,0,0,1)'); Node274_8.a('node.font',' '+ Node274_8fontSize + 'px "Arial"'); Node274_8.a('node.textvisible',true); Node274_8.a('node.linefeed',false); if (false) { Node274_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_8.a('node.text') || '-'; var color=Node274_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_8width,Node274_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_8.a('node.underlinepoints',[Node274_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6, (Node274_8height - Node274_8fontSize) * 0.5*_ratio.ratioY + Node274_8fontSize + 2 ]); Node274_8.a('node.underlinevisible',false); Node274_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_8); zoomNodeList.push({ node: Node274_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_9 = new ht.Node(); var Node274_9textStart, Node274_9textWidth, Node274_9lineStart, Node274_9align = 'left', Node274_9fontSize = 10.66664*_ratio.ratioY,Node274_9width = 43*_ratio.ratioX, Node274_9height = 27*_ratio.ratioY; (function () { if (Node274_9align === 'left') { Node274_9textStart = Node274_9fontSize * 0.2 > 2 ? Node274_9fontSize * 0.2 - 4 : Node274_9fontSize * 0.2 - 9; Node274_9textWidth = Node274_9width; Node274_9lineStart = 1; } else if (Node274_9align === 'right') { Node274_9textStart = 0; Node274_9textWidth =Node274_9fontSize <= 8 ? Node274_9width + Node274_9fontSize * 0.2 + 6 : Node274_9width - Node274_9fontSize * 0.2; Node274_9lineStart = (Node274_9width - (ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_9align === 'center') { Node274_9textStart = -3; Node274_9textWidth = Node274_9width; Node274_9lineStart = Node274_9width - ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width - 11; } })(); Node274_9.setImage(GD.getTextJSON(Node274_9width, Node274_9height, true, false, false, ' '+ Node274_9fontSize + 'px "Arial"')) Node274_9.setPosition(688*ratio.ratioX, 454*ratio.ratioY); Node274_9.setWidth(Node274_9width); Node274_9.setHeight(Node274_9height); Node274_9._nodeType = 'text'; Node274_9._disallowEvert = true; Node274_9.setRotation(0*Math.PI/180); Node274_9.a('node.width', Node274_9width); Node274_9.a('node.height', Node274_9height); Node274_9.a('node.rect', [0, 0, Node274_9width, Node274_9height]); Node274_9.a('node.bordercolor','rgba(0,0,0,1)'); Node274_9.a('node.borderwidth', 0); Node274_9.a('node.background','' || 'rgba(0,0,0,0)'); Node274_9.a('node.gradient',''); Node274_9.a('node.gradientcolor',''); Node274_9.a('node.text','万kwh'); Node274_9.a('node.textalign','left'); Node274_9.a('node.textvAlign','middle'); Node274_9.a('node.textrect', [Node274_9textStart, 0, Node274_9textWidth, Node274_9height]); Node274_9.a('node.color','rgba(0,0,0,1)'); Node274_9.a('node.font',' '+ Node274_9fontSize + 'px "Arial"'); Node274_9.a('node.textvisible',true); Node274_9.a('node.linefeed',false); if (false) { Node274_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_9.a('node.text') || '万kwh'; var color=Node274_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_9width,Node274_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_9.a('node.underlinepoints',[Node274_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6, (Node274_9height - Node274_9fontSize) * 0.5*_ratio.ratioY + Node274_9fontSize + 2 ]); Node274_9.a('node.underlinevisible',false); Node274_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_9); zoomNodeList.push({ node: Node274_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_10 = new ht.Node(); var Node274_10textStart, Node274_10textWidth, Node274_10lineStart, Node274_10align = 'left', Node274_10fontSize = 10.66664*_ratio.ratioY,Node274_10width = 72*_ratio.ratioX, Node274_10height = 27*_ratio.ratioY; (function () { if (Node274_10align === 'left') { Node274_10textStart = Node274_10fontSize * 0.2 > 2 ? Node274_10fontSize * 0.2 - 4 : Node274_10fontSize * 0.2 - 9; Node274_10textWidth = Node274_10width; Node274_10lineStart = 1; } else if (Node274_10align === 'right') { Node274_10textStart = 0; Node274_10textWidth =Node274_10fontSize <= 8 ? Node274_10width + Node274_10fontSize * 0.2 + 6 : Node274_10width - Node274_10fontSize * 0.2; Node274_10lineStart = (Node274_10width - (ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_10align === 'center') { Node274_10textStart = -3; Node274_10textWidth = Node274_10width; Node274_10lineStart = Node274_10width - ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width - 11; } })(); Node274_10.setImage(GD.getTextJSON(Node274_10width, Node274_10height, true, false, false, ' '+ Node274_10fontSize + 'px "Arial"')) Node274_10.setPosition(603*ratio.ratioX, 480*ratio.ratioY); Node274_10.setWidth(Node274_10width); Node274_10.setHeight(Node274_10height); Node274_10._nodeType = 'text'; Node274_10._disallowEvert = true; Node274_10.setRotation(0*Math.PI/180); Node274_10.a('node.width', Node274_10width); Node274_10.a('node.height', Node274_10height); Node274_10.a('node.rect', [0, 0, Node274_10width, Node274_10height]); Node274_10.a('node.bordercolor','rgba(0,0,0,1)'); Node274_10.a('node.borderwidth', 0); Node274_10.a('node.background','' || 'rgba(0,0,0,0)'); Node274_10.a('node.gradient',''); Node274_10.a('node.gradientcolor',''); Node274_10.a('node.text','日发电量'); Node274_10.a('node.textalign','left'); Node274_10.a('node.textvAlign','middle'); Node274_10.a('node.textrect', [Node274_10textStart, 0, Node274_10textWidth, Node274_10height]); Node274_10.a('node.color','rgba(0,0,0,1)'); Node274_10.a('node.font',' '+ Node274_10fontSize + 'px "Arial"'); Node274_10.a('node.textvisible',true); Node274_10.a('node.linefeed',false); if (false) { Node274_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_10.a('node.text') || '日发电量'; var color=Node274_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_10width,Node274_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_10.a('node.underlinepoints',[Node274_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6, (Node274_10height - Node274_10fontSize) * 0.5*_ratio.ratioY + Node274_10fontSize + 2 ]); Node274_10.a('node.underlinevisible',false); Node274_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_10); zoomNodeList.push({ node: Node274_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_11 = new ht.Node(); var Node274_11textStart, Node274_11textWidth, Node274_11lineStart, Node274_11align = 'left', Node274_11fontSize = 10.66664*_ratio.ratioY,Node274_11width = 31*_ratio.ratioX, Node274_11height = 27*_ratio.ratioY; (function () { if (Node274_11align === 'left') { Node274_11textStart = Node274_11fontSize * 0.2 > 2 ? Node274_11fontSize * 0.2 - 4 : Node274_11fontSize * 0.2 - 9; Node274_11textWidth = Node274_11width; Node274_11lineStart = 1; } else if (Node274_11align === 'right') { Node274_11textStart = 0; Node274_11textWidth =Node274_11fontSize <= 8 ? Node274_11width + Node274_11fontSize * 0.2 + 6 : Node274_11width - Node274_11fontSize * 0.2; Node274_11lineStart = (Node274_11width - (ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_11align === 'center') { Node274_11textStart = -3; Node274_11textWidth = Node274_11width; Node274_11lineStart = Node274_11width - ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width - 11; } })(); Node274_11.setImage(GD.getTextJSON(Node274_11width, Node274_11height, true, false, false, ' '+ Node274_11fontSize + 'px "Arial"')) Node274_11.setPosition(646*ratio.ratioX, 480*ratio.ratioY); Node274_11.setWidth(Node274_11width); Node274_11.setHeight(Node274_11height); Node274_11._nodeType = 'text'; Node274_11._disallowEvert = true; Node274_11.setRotation(0*Math.PI/180); Node274_11.a('node.width', Node274_11width); Node274_11.a('node.height', Node274_11height); Node274_11.a('node.rect', [0, 0, Node274_11width, Node274_11height]); Node274_11.a('node.bordercolor','rgba(192,0,0,1)'); Node274_11.a('node.borderwidth', 0); Node274_11.a('node.background','' || 'rgba(0,0,0,0)'); Node274_11.a('node.gradient',''); Node274_11.a('node.gradientcolor',''); Node274_11.a('node.text','-'); Node274_11.a('node.textalign','left'); Node274_11.a('node.textvAlign','middle'); Node274_11.a('node.textrect', [Node274_11textStart, 0, Node274_11textWidth, Node274_11height]); Node274_11.a('node.color','rgba(192,0,0,1)'); Node274_11.a('node.font',' '+ Node274_11fontSize + 'px "Arial"'); Node274_11.a('node.textvisible',true); Node274_11.a('node.linefeed',false); if (false) { Node274_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_11.a('node.text') || '-'; var color=Node274_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_11width,Node274_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_11.a('node.underlinepoints',[Node274_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6, (Node274_11height - Node274_11fontSize) * 0.5*_ratio.ratioY + Node274_11fontSize + 2 ]); Node274_11.a('node.underlinevisible',false); Node274_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_11); zoomNodeList.push({ node: Node274_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_12 = new ht.Node(); var Node274_12textStart, Node274_12textWidth, Node274_12lineStart, Node274_12align = 'left', Node274_12fontSize = 10.66664*_ratio.ratioY,Node274_12width = 43*_ratio.ratioX, Node274_12height = 27*_ratio.ratioY; (function () { if (Node274_12align === 'left') { Node274_12textStart = Node274_12fontSize * 0.2 > 2 ? Node274_12fontSize * 0.2 - 4 : Node274_12fontSize * 0.2 - 9; Node274_12textWidth = Node274_12width; Node274_12lineStart = 1; } else if (Node274_12align === 'right') { Node274_12textStart = 0; Node274_12textWidth =Node274_12fontSize <= 8 ? Node274_12width + Node274_12fontSize * 0.2 + 6 : Node274_12width - Node274_12fontSize * 0.2; Node274_12lineStart = (Node274_12width - (ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_12align === 'center') { Node274_12textStart = -3; Node274_12textWidth = Node274_12width; Node274_12lineStart = Node274_12width - ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width - 11; } })(); Node274_12.setImage(GD.getTextJSON(Node274_12width, Node274_12height, true, false, false, ' '+ Node274_12fontSize + 'px "Arial"')) Node274_12.setPosition(688*ratio.ratioX, 480*ratio.ratioY); Node274_12.setWidth(Node274_12width); Node274_12.setHeight(Node274_12height); Node274_12._nodeType = 'text'; Node274_12._disallowEvert = true; Node274_12.setRotation(0*Math.PI/180); Node274_12.a('node.width', Node274_12width); Node274_12.a('node.height', Node274_12height); Node274_12.a('node.rect', [0, 0, Node274_12width, Node274_12height]); Node274_12.a('node.bordercolor','rgba(0,0,0,1)'); Node274_12.a('node.borderwidth', 0); Node274_12.a('node.background','' || 'rgba(0,0,0,0)'); Node274_12.a('node.gradient',''); Node274_12.a('node.gradientcolor',''); Node274_12.a('node.text','万kwh'); Node274_12.a('node.textalign','left'); Node274_12.a('node.textvAlign','middle'); Node274_12.a('node.textrect', [Node274_12textStart, 0, Node274_12textWidth, Node274_12height]); Node274_12.a('node.color','rgba(0,0,0,1)'); Node274_12.a('node.font',' '+ Node274_12fontSize + 'px "Arial"'); Node274_12.a('node.textvisible',true); Node274_12.a('node.linefeed',false); if (false) { Node274_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_12.a('node.text') || '万kwh'; var color=Node274_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_12width,Node274_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_12.a('node.underlinepoints',[Node274_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6, (Node274_12height - Node274_12fontSize) * 0.5*_ratio.ratioY + Node274_12fontSize + 2 ]); Node274_12.a('node.underlinevisible',false); Node274_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_12); zoomNodeList.push({ node: Node274_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_13 = new ht.Node(); var Node274_13textStart, Node274_13textWidth, Node274_13lineStart, Node274_13align = 'left', Node274_13fontSize = 10.66664*_ratio.ratioY,Node274_13width = 72*_ratio.ratioX, Node274_13height = 27*_ratio.ratioY; (function () { if (Node274_13align === 'left') { Node274_13textStart = Node274_13fontSize * 0.2 > 2 ? Node274_13fontSize * 0.2 - 4 : Node274_13fontSize * 0.2 - 9; Node274_13textWidth = Node274_13width; Node274_13lineStart = 1; } else if (Node274_13align === 'right') { Node274_13textStart = 0; Node274_13textWidth =Node274_13fontSize <= 8 ? Node274_13width + Node274_13fontSize * 0.2 + 6 : Node274_13width - Node274_13fontSize * 0.2; Node274_13lineStart = (Node274_13width - (ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_13align === 'center') { Node274_13textStart = -3; Node274_13textWidth = Node274_13width; Node274_13lineStart = Node274_13width - ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width - 11; } })(); Node274_13.setImage(GD.getTextJSON(Node274_13width, Node274_13height, true, false, false, ' '+ Node274_13fontSize + 'px "Arial"')) Node274_13.setPosition(603*ratio.ratioX, 507*ratio.ratioY); Node274_13.setWidth(Node274_13width); Node274_13.setHeight(Node274_13height); Node274_13._nodeType = 'text'; Node274_13._disallowEvert = true; Node274_13.setRotation(0*Math.PI/180); Node274_13.a('node.width', Node274_13width); Node274_13.a('node.height', Node274_13height); Node274_13.a('node.rect', [0, 0, Node274_13width, Node274_13height]); Node274_13.a('node.bordercolor','rgba(0,0,0,1)'); Node274_13.a('node.borderwidth', 0); Node274_13.a('node.background','' || 'rgba(0,0,0,0)'); Node274_13.a('node.gradient',''); Node274_13.a('node.gradientcolor',''); Node274_13.a('node.text','有功功率'); Node274_13.a('node.textalign','left'); Node274_13.a('node.textvAlign','middle'); Node274_13.a('node.textrect', [Node274_13textStart, 0, Node274_13textWidth, Node274_13height]); Node274_13.a('node.color','rgba(0,0,0,1)'); Node274_13.a('node.font',' '+ Node274_13fontSize + 'px "Arial"'); Node274_13.a('node.textvisible',true); Node274_13.a('node.linefeed',false); if (false) { Node274_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_13.a('node.text') || '有功功率'; var color=Node274_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_13width,Node274_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_13.a('node.underlinepoints',[Node274_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6, (Node274_13height - Node274_13fontSize) * 0.5*_ratio.ratioY + Node274_13fontSize + 2 ]); Node274_13.a('node.underlinevisible',false); Node274_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_13); zoomNodeList.push({ node: Node274_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_14 = new ht.Node(); var Node274_14textStart, Node274_14textWidth, Node274_14lineStart, Node274_14align = 'left', Node274_14fontSize = 10.66664*_ratio.ratioY,Node274_14width = 22*_ratio.ratioX, Node274_14height = 27*_ratio.ratioY; (function () { if (Node274_14align === 'left') { Node274_14textStart = Node274_14fontSize * 0.2 > 2 ? Node274_14fontSize * 0.2 - 4 : Node274_14fontSize * 0.2 - 9; Node274_14textWidth = Node274_14width; Node274_14lineStart = 1; } else if (Node274_14align === 'right') { Node274_14textStart = 0; Node274_14textWidth =Node274_14fontSize <= 8 ? Node274_14width + Node274_14fontSize * 0.2 + 6 : Node274_14width - Node274_14fontSize * 0.2; Node274_14lineStart = (Node274_14width - (ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_14align === 'center') { Node274_14textStart = -3; Node274_14textWidth = Node274_14width; Node274_14lineStart = Node274_14width - ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width - 11; } })(); Node274_14.setImage(GD.getTextJSON(Node274_14width, Node274_14height, true, false, false, ' '+ Node274_14fontSize + 'px "Arial"')) Node274_14.setPosition(641*ratio.ratioX, 507*ratio.ratioY); Node274_14.setWidth(Node274_14width); Node274_14.setHeight(Node274_14height); Node274_14._nodeType = 'text'; Node274_14._disallowEvert = true; Node274_14.setRotation(0*Math.PI/180); Node274_14.a('node.width', Node274_14width); Node274_14.a('node.height', Node274_14height); Node274_14.a('node.rect', [0, 0, Node274_14width, Node274_14height]); Node274_14.a('node.bordercolor','rgba(192,0,0,1)'); Node274_14.a('node.borderwidth', 0); Node274_14.a('node.background','' || 'rgba(0,0,0,0)'); Node274_14.a('node.gradient',''); Node274_14.a('node.gradientcolor',''); Node274_14.a('node.text','-'); Node274_14.a('node.textalign','left'); Node274_14.a('node.textvAlign','middle'); Node274_14.a('node.textrect', [Node274_14textStart, 0, Node274_14textWidth, Node274_14height]); Node274_14.a('node.color','rgba(192,0,0,1)'); Node274_14.a('node.font',' '+ Node274_14fontSize + 'px "Arial"'); Node274_14.a('node.textvisible',true); Node274_14.a('node.linefeed',false); if (false) { Node274_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_14.a('node.text') || '-'; var color=Node274_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_14width,Node274_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_14.a('node.underlinepoints',[Node274_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6, (Node274_14height - Node274_14fontSize) * 0.5*_ratio.ratioY + Node274_14fontSize + 2 ]); Node274_14.a('node.underlinevisible',false); Node274_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_14); zoomNodeList.push({ node: Node274_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274_15 = new ht.Node(); var Node274_15textStart, Node274_15textWidth, Node274_15lineStart, Node274_15align = 'left', Node274_15fontSize = 10.66664*_ratio.ratioY,Node274_15width = 43*_ratio.ratioX, Node274_15height = 27*_ratio.ratioY; (function () { if (Node274_15align === 'left') { Node274_15textStart = Node274_15fontSize * 0.2 > 2 ? Node274_15fontSize * 0.2 - 4 : Node274_15fontSize * 0.2 - 9; Node274_15textWidth = Node274_15width; Node274_15lineStart = 1; } else if (Node274_15align === 'right') { Node274_15textStart = 0; Node274_15textWidth =Node274_15fontSize <= 8 ? Node274_15width + Node274_15fontSize * 0.2 + 6 : Node274_15width - Node274_15fontSize * 0.2; Node274_15lineStart = (Node274_15width - (ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node274_15align === 'center') { Node274_15textStart = -3; Node274_15textWidth = Node274_15width; Node274_15lineStart = Node274_15width - ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width - 11; } })(); Node274_15.setImage(GD.getTextJSON(Node274_15width, Node274_15height, true, false, false, ' '+ Node274_15fontSize + 'px "Arial"')) Node274_15.setPosition(688*ratio.ratioX, 507*ratio.ratioY); Node274_15.setWidth(Node274_15width); Node274_15.setHeight(Node274_15height); Node274_15._nodeType = 'text'; Node274_15._disallowEvert = true; Node274_15.setRotation(0*Math.PI/180); Node274_15.a('node.width', Node274_15width); Node274_15.a('node.height', Node274_15height); Node274_15.a('node.rect', [0, 0, Node274_15width, Node274_15height]); Node274_15.a('node.bordercolor','rgba(0,0,0,1)'); Node274_15.a('node.borderwidth', 0); Node274_15.a('node.background','' || 'rgba(0,0,0,0)'); Node274_15.a('node.gradient',''); Node274_15.a('node.gradientcolor',''); Node274_15.a('node.text','万kwh'); Node274_15.a('node.textalign','left'); Node274_15.a('node.textvAlign','middle'); Node274_15.a('node.textrect', [Node274_15textStart, 0, Node274_15textWidth, Node274_15height]); Node274_15.a('node.color','rgba(0,0,0,1)'); Node274_15.a('node.font',' '+ Node274_15fontSize + 'px "Arial"'); Node274_15.a('node.textvisible',true); Node274_15.a('node.linefeed',false); if (false) { Node274_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node274_15.a('node.text') || '万kwh'; var color=Node274_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_15width,Node274_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node274_15.a('node.underlinepoints',[Node274_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6, (Node274_15height - Node274_15fontSize) * 0.5*_ratio.ratioY + Node274_15fontSize + 2 ]); Node274_15.a('node.underlinevisible',false); Node274_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node274_15); zoomNodeList.push({ node: Node274_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node275_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node275_0 = new ht.Node(); Node275_0.setPosition(483*ratio.ratioX, 390*ratio.ratioY); Node275_0.setSize(146*ratioX, 141*ratioY); Node275_0.setImage('imgimage//img//map_name_03.png'); Node275_0.setRotation(0*Math.PI/180); Node275_0._zoomBy = 'Default'; Node275_0._nodeType = 'image'; Node275_0._disallowEvert = true; dataModel.add(Node275_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_1 = new ht.Node(); var Node275_1textStart, Node275_1textWidth, Node275_1lineStart, Node275_1align = 'left', Node275_1fontSize = 10.66664*_ratio.ratioY,Node275_1width = 72*_ratio.ratioX, Node275_1height = 27*_ratio.ratioY; (function () { if (Node275_1align === 'left') { Node275_1textStart = Node275_1fontSize * 0.2 > 2 ? Node275_1fontSize * 0.2 - 4 : Node275_1fontSize * 0.2 - 9; Node275_1textWidth = Node275_1width; Node275_1lineStart = 1; } else if (Node275_1align === 'right') { Node275_1textStart = 0; Node275_1textWidth =Node275_1fontSize <= 8 ? Node275_1width + Node275_1fontSize * 0.2 + 6 : Node275_1width - Node275_1fontSize * 0.2; Node275_1lineStart = (Node275_1width - (ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_1align === 'center') { Node275_1textStart = -3; Node275_1textWidth = Node275_1width; Node275_1lineStart = Node275_1width - ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width - 11; } })(); Node275_1.setImage(GD.getTextJSON(Node275_1width, Node275_1height, true, false, false, ' '+ Node275_1fontSize + 'px "Arial"')) Node275_1.setPosition(453*ratio.ratioX, 343*ratio.ratioY); Node275_1.setWidth(Node275_1width); Node275_1.setHeight(Node275_1height); Node275_1._nodeType = 'text'; Node275_1._disallowEvert = true; Node275_1.setRotation(0*Math.PI/180); Node275_1.a('node.width', Node275_1width); Node275_1.a('node.height', Node275_1height); Node275_1.a('node.rect', [0, 0, Node275_1width, Node275_1height]); Node275_1.a('node.bordercolor','rgba(0,0,0,1)'); Node275_1.a('node.borderwidth', 0); Node275_1.a('node.background','' || 'rgba(0,0,0,0)'); Node275_1.a('node.gradient',''); Node275_1.a('node.gradientcolor',''); Node275_1.a('node.text','风机台数'); Node275_1.a('node.textalign','left'); Node275_1.a('node.textvAlign','middle'); Node275_1.a('node.textrect', [Node275_1textStart, 0, Node275_1textWidth, Node275_1height]); Node275_1.a('node.color','rgba(0,0,0,1)'); Node275_1.a('node.font',' '+ Node275_1fontSize + 'px "Arial"'); Node275_1.a('node.textvisible',true); Node275_1.a('node.linefeed',false); if (false) { Node275_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_1.a('node.text') || '风机台数'; var color=Node275_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_1width,Node275_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_1.a('node.underlinepoints',[Node275_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6, (Node275_1height - Node275_1fontSize) * 0.5*_ratio.ratioY + Node275_1fontSize + 2 ]); Node275_1.a('node.underlinevisible',false); Node275_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_1); zoomNodeList.push({ node: Node275_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_2 = new ht.Node(); var Node275_2textStart, Node275_2textWidth, Node275_2lineStart, Node275_2align = 'left', Node275_2fontSize = 10.66664*_ratio.ratioY,Node275_2width = 22*_ratio.ratioX, Node275_2height = 27*_ratio.ratioY; (function () { if (Node275_2align === 'left') { Node275_2textStart = Node275_2fontSize * 0.2 > 2 ? Node275_2fontSize * 0.2 - 4 : Node275_2fontSize * 0.2 - 9; Node275_2textWidth = Node275_2width; Node275_2lineStart = 1; } else if (Node275_2align === 'right') { Node275_2textStart = 0; Node275_2textWidth =Node275_2fontSize <= 8 ? Node275_2width + Node275_2fontSize * 0.2 + 6 : Node275_2width - Node275_2fontSize * 0.2; Node275_2lineStart = (Node275_2width - (ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_2align === 'center') { Node275_2textStart = -3; Node275_2textWidth = Node275_2width; Node275_2lineStart = Node275_2width - ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width - 11; } })(); Node275_2.setImage(GD.getTextJSON(Node275_2width, Node275_2height, true, false, false, ' '+ Node275_2fontSize + 'px "Arial"')) Node275_2.setPosition(491*ratio.ratioX, 343*ratio.ratioY); Node275_2.setWidth(Node275_2width); Node275_2.setHeight(Node275_2height); Node275_2._nodeType = 'text'; Node275_2._disallowEvert = true; Node275_2.setRotation(0*Math.PI/180); Node275_2.a('node.width', Node275_2width); Node275_2.a('node.height', Node275_2height); Node275_2.a('node.rect', [0, 0, Node275_2width, Node275_2height]); Node275_2.a('node.bordercolor','rgba(192,0,0,1)'); Node275_2.a('node.borderwidth', 0); Node275_2.a('node.background','' || 'rgba(0,0,0,0)'); Node275_2.a('node.gradient',''); Node275_2.a('node.gradientcolor',''); Node275_2.a('node.text','99'); Node275_2.a('node.textalign','left'); Node275_2.a('node.textvAlign','middle'); Node275_2.a('node.textrect', [Node275_2textStart, 0, Node275_2textWidth, Node275_2height]); Node275_2.a('node.color','rgba(192,0,0,1)'); Node275_2.a('node.font',' '+ Node275_2fontSize + 'px "Arial"'); Node275_2.a('node.textvisible',true); Node275_2.a('node.linefeed',false); if (false) { Node275_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_2.a('node.text') || '99'; var color=Node275_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_2width,Node275_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_2.a('node.underlinepoints',[Node275_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6, (Node275_2height - Node275_2fontSize) * 0.5*_ratio.ratioY + Node275_2fontSize + 2 ]); Node275_2.a('node.underlinevisible',false); Node275_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_2); zoomNodeList.push({ node: Node275_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_3 = new ht.Node(); var Node275_3textStart, Node275_3textWidth, Node275_3lineStart, Node275_3align = 'left', Node275_3fontSize = 10.66664*_ratio.ratioY,Node275_3width = 43*_ratio.ratioX, Node275_3height = 27*_ratio.ratioY; (function () { if (Node275_3align === 'left') { Node275_3textStart = Node275_3fontSize * 0.2 > 2 ? Node275_3fontSize * 0.2 - 4 : Node275_3fontSize * 0.2 - 9; Node275_3textWidth = Node275_3width; Node275_3lineStart = 1; } else if (Node275_3align === 'right') { Node275_3textStart = 0; Node275_3textWidth =Node275_3fontSize <= 8 ? Node275_3width + Node275_3fontSize * 0.2 + 6 : Node275_3width - Node275_3fontSize * 0.2; Node275_3lineStart = (Node275_3width - (ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_3align === 'center') { Node275_3textStart = -3; Node275_3textWidth = Node275_3width; Node275_3lineStart = Node275_3width - ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width - 11; } })(); Node275_3.setImage(GD.getTextJSON(Node275_3width, Node275_3height, true, false, false, ' '+ Node275_3fontSize + 'px "Arial"')) Node275_3.setPosition(538*ratio.ratioX, 343*ratio.ratioY); Node275_3.setWidth(Node275_3width); Node275_3.setHeight(Node275_3height); Node275_3._nodeType = 'text'; Node275_3._disallowEvert = true; Node275_3.setRotation(0*Math.PI/180); Node275_3.a('node.width', Node275_3width); Node275_3.a('node.height', Node275_3height); Node275_3.a('node.rect', [0, 0, Node275_3width, Node275_3height]); Node275_3.a('node.bordercolor','rgba(0,0,0,1)'); Node275_3.a('node.borderwidth', 0); Node275_3.a('node.background','' || 'rgba(0,0,0,0)'); Node275_3.a('node.gradient',''); Node275_3.a('node.gradientcolor',''); Node275_3.a('node.text','万kwh'); Node275_3.a('node.textalign','left'); Node275_3.a('node.textvAlign','middle'); Node275_3.a('node.textrect', [Node275_3textStart, 0, Node275_3textWidth, Node275_3height]); Node275_3.a('node.color','rgba(0,0,0,1)'); Node275_3.a('node.font',' '+ Node275_3fontSize + 'px "Arial"'); Node275_3.a('node.textvisible',true); Node275_3.a('node.linefeed',false); if (false) { Node275_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_3.a('node.text') || '万kwh'; var color=Node275_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_3width,Node275_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_3.a('node.underlinepoints',[Node275_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6, (Node275_3height - Node275_3fontSize) * 0.5*_ratio.ratioY + Node275_3fontSize + 2 ]); Node275_3.a('node.underlinevisible',false); Node275_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_3); zoomNodeList.push({ node: Node275_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_4 = new ht.Node(); var Node275_4textStart, Node275_4textWidth, Node275_4lineStart, Node275_4align = 'left', Node275_4fontSize = 10.66664*_ratio.ratioY,Node275_4width = 72*_ratio.ratioX, Node275_4height = 27*_ratio.ratioY; (function () { if (Node275_4align === 'left') { Node275_4textStart = Node275_4fontSize * 0.2 > 2 ? Node275_4fontSize * 0.2 - 4 : Node275_4fontSize * 0.2 - 9; Node275_4textWidth = Node275_4width; Node275_4lineStart = 1; } else if (Node275_4align === 'right') { Node275_4textStart = 0; Node275_4textWidth =Node275_4fontSize <= 8 ? Node275_4width + Node275_4fontSize * 0.2 + 6 : Node275_4width - Node275_4fontSize * 0.2; Node275_4lineStart = (Node275_4width - (ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_4align === 'center') { Node275_4textStart = -3; Node275_4textWidth = Node275_4width; Node275_4lineStart = Node275_4width - ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width - 11; } })(); Node275_4.setImage(GD.getTextJSON(Node275_4width, Node275_4height, true, false, false, ' '+ Node275_4fontSize + 'px "Arial"')) Node275_4.setPosition(453*ratio.ratioX, 369*ratio.ratioY); Node275_4.setWidth(Node275_4width); Node275_4.setHeight(Node275_4height); Node275_4._nodeType = 'text'; Node275_4._disallowEvert = true; Node275_4.setRotation(0*Math.PI/180); Node275_4.a('node.width', Node275_4width); Node275_4.a('node.height', Node275_4height); Node275_4.a('node.rect', [0, 0, Node275_4width, Node275_4height]); Node275_4.a('node.bordercolor','rgba(0,0,0,1)'); Node275_4.a('node.borderwidth', 0); Node275_4.a('node.background','' || 'rgba(0,0,0,0)'); Node275_4.a('node.gradient',''); Node275_4.a('node.gradientcolor',''); Node275_4.a('node.text','装机容量'); Node275_4.a('node.textalign','left'); Node275_4.a('node.textvAlign','middle'); Node275_4.a('node.textrect', [Node275_4textStart, 0, Node275_4textWidth, Node275_4height]); Node275_4.a('node.color','rgba(0,0,0,1)'); Node275_4.a('node.font',' '+ Node275_4fontSize + 'px "Arial"'); Node275_4.a('node.textvisible',true); Node275_4.a('node.linefeed',false); if (false) { Node275_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_4.a('node.text') || '装机容量'; var color=Node275_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_4width,Node275_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_4.a('node.underlinepoints',[Node275_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6, (Node275_4height - Node275_4fontSize) * 0.5*_ratio.ratioY + Node275_4fontSize + 2 ]); Node275_4.a('node.underlinevisible',false); Node275_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_4); zoomNodeList.push({ node: Node275_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_5 = new ht.Node(); var Node275_5textStart, Node275_5textWidth, Node275_5lineStart, Node275_5align = 'left', Node275_5fontSize = 10.66664*_ratio.ratioY,Node275_5width = 31*_ratio.ratioX, Node275_5height = 27*_ratio.ratioY; (function () { if (Node275_5align === 'left') { Node275_5textStart = Node275_5fontSize * 0.2 > 2 ? Node275_5fontSize * 0.2 - 4 : Node275_5fontSize * 0.2 - 9; Node275_5textWidth = Node275_5width; Node275_5lineStart = 1; } else if (Node275_5align === 'right') { Node275_5textStart = 0; Node275_5textWidth =Node275_5fontSize <= 8 ? Node275_5width + Node275_5fontSize * 0.2 + 6 : Node275_5width - Node275_5fontSize * 0.2; Node275_5lineStart = (Node275_5width - (ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_5align === 'center') { Node275_5textStart = -3; Node275_5textWidth = Node275_5width; Node275_5lineStart = Node275_5width - ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width - 11; } })(); Node275_5.setImage(GD.getTextJSON(Node275_5width, Node275_5height, true, false, false, ' '+ Node275_5fontSize + 'px "Arial"')) Node275_5.setPosition(496*ratio.ratioX, 369*ratio.ratioY); Node275_5.setWidth(Node275_5width); Node275_5.setHeight(Node275_5height); Node275_5._nodeType = 'text'; Node275_5._disallowEvert = true; Node275_5.setRotation(0*Math.PI/180); Node275_5.a('node.width', Node275_5width); Node275_5.a('node.height', Node275_5height); Node275_5.a('node.rect', [0, 0, Node275_5width, Node275_5height]); Node275_5.a('node.bordercolor','rgba(192,0,0,1)'); Node275_5.a('node.borderwidth', 0); Node275_5.a('node.background','' || 'rgba(0,0,0,0)'); Node275_5.a('node.gradient',''); Node275_5.a('node.gradientcolor',''); Node275_5.a('node.text','14.85'); Node275_5.a('node.textalign','left'); Node275_5.a('node.textvAlign','middle'); Node275_5.a('node.textrect', [Node275_5textStart, 0, Node275_5textWidth, Node275_5height]); Node275_5.a('node.color','rgba(192,0,0,1)'); Node275_5.a('node.font',' '+ Node275_5fontSize + 'px "Arial"'); Node275_5.a('node.textvisible',true); Node275_5.a('node.linefeed',false); if (false) { Node275_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_5.a('node.text') || '14.85'; var color=Node275_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_5width,Node275_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_5.a('node.underlinepoints',[Node275_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6, (Node275_5height - Node275_5fontSize) * 0.5*_ratio.ratioY + Node275_5fontSize + 2 ]); Node275_5.a('node.underlinevisible',false); Node275_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_5); zoomNodeList.push({ node: Node275_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_6 = new ht.Node(); var Node275_6textStart, Node275_6textWidth, Node275_6lineStart, Node275_6align = 'left', Node275_6fontSize = 10.66664*_ratio.ratioY,Node275_6width = 43*_ratio.ratioX, Node275_6height = 27*_ratio.ratioY; (function () { if (Node275_6align === 'left') { Node275_6textStart = Node275_6fontSize * 0.2 > 2 ? Node275_6fontSize * 0.2 - 4 : Node275_6fontSize * 0.2 - 9; Node275_6textWidth = Node275_6width; Node275_6lineStart = 1; } else if (Node275_6align === 'right') { Node275_6textStart = 0; Node275_6textWidth =Node275_6fontSize <= 8 ? Node275_6width + Node275_6fontSize * 0.2 + 6 : Node275_6width - Node275_6fontSize * 0.2; Node275_6lineStart = (Node275_6width - (ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_6align === 'center') { Node275_6textStart = -3; Node275_6textWidth = Node275_6width; Node275_6lineStart = Node275_6width - ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width - 11; } })(); Node275_6.setImage(GD.getTextJSON(Node275_6width, Node275_6height, true, false, false, ' '+ Node275_6fontSize + 'px "Arial"')) Node275_6.setPosition(538*ratio.ratioX, 369*ratio.ratioY); Node275_6.setWidth(Node275_6width); Node275_6.setHeight(Node275_6height); Node275_6._nodeType = 'text'; Node275_6._disallowEvert = true; Node275_6.setRotation(0*Math.PI/180); Node275_6.a('node.width', Node275_6width); Node275_6.a('node.height', Node275_6height); Node275_6.a('node.rect', [0, 0, Node275_6width, Node275_6height]); Node275_6.a('node.bordercolor','rgba(0,0,0,1)'); Node275_6.a('node.borderwidth', 0); Node275_6.a('node.background','' || 'rgba(0,0,0,0)'); Node275_6.a('node.gradient',''); Node275_6.a('node.gradientcolor',''); Node275_6.a('node.text','万kwh'); Node275_6.a('node.textalign','left'); Node275_6.a('node.textvAlign','middle'); Node275_6.a('node.textrect', [Node275_6textStart, 0, Node275_6textWidth, Node275_6height]); Node275_6.a('node.color','rgba(0,0,0,1)'); Node275_6.a('node.font',' '+ Node275_6fontSize + 'px "Arial"'); Node275_6.a('node.textvisible',true); Node275_6.a('node.linefeed',false); if (false) { Node275_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_6.a('node.text') || '万kwh'; var color=Node275_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_6width,Node275_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_6.a('node.underlinepoints',[Node275_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6, (Node275_6height - Node275_6fontSize) * 0.5*_ratio.ratioY + Node275_6fontSize + 2 ]); Node275_6.a('node.underlinevisible',false); Node275_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_6); zoomNodeList.push({ node: Node275_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_7 = new ht.Node(); var Node275_7textStart, Node275_7textWidth, Node275_7lineStart, Node275_7align = 'left', Node275_7fontSize = 10.66664*_ratio.ratioY,Node275_7width = 72*_ratio.ratioX, Node275_7height = 27*_ratio.ratioY; (function () { if (Node275_7align === 'left') { Node275_7textStart = Node275_7fontSize * 0.2 > 2 ? Node275_7fontSize * 0.2 - 4 : Node275_7fontSize * 0.2 - 9; Node275_7textWidth = Node275_7width; Node275_7lineStart = 1; } else if (Node275_7align === 'right') { Node275_7textStart = 0; Node275_7textWidth =Node275_7fontSize <= 8 ? Node275_7width + Node275_7fontSize * 0.2 + 6 : Node275_7width - Node275_7fontSize * 0.2; Node275_7lineStart = (Node275_7width - (ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_7align === 'center') { Node275_7textStart = -3; Node275_7textWidth = Node275_7width; Node275_7lineStart = Node275_7width - ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width - 11; } })(); Node275_7.setImage(GD.getTextJSON(Node275_7width, Node275_7height, true, false, false, ' '+ Node275_7fontSize + 'px "Arial"')) Node275_7.setPosition(453*ratio.ratioX, 394*ratio.ratioY); Node275_7.setWidth(Node275_7width); Node275_7.setHeight(Node275_7height); Node275_7._nodeType = 'text'; Node275_7._disallowEvert = true; Node275_7.setRotation(0*Math.PI/180); Node275_7.a('node.width', Node275_7width); Node275_7.a('node.height', Node275_7height); Node275_7.a('node.rect', [0, 0, Node275_7width, Node275_7height]); Node275_7.a('node.bordercolor','rgba(0,0,0,1)'); Node275_7.a('node.borderwidth', 0); Node275_7.a('node.background','' || 'rgba(0,0,0,0)'); Node275_7.a('node.gradient',''); Node275_7.a('node.gradientcolor',''); Node275_7.a('node.text','平均风速'); Node275_7.a('node.textalign','left'); Node275_7.a('node.textvAlign','middle'); Node275_7.a('node.textrect', [Node275_7textStart, 0, Node275_7textWidth, Node275_7height]); Node275_7.a('node.color','rgba(0,0,0,1)'); Node275_7.a('node.font',' '+ Node275_7fontSize + 'px "Arial"'); Node275_7.a('node.textvisible',true); Node275_7.a('node.linefeed',false); if (false) { Node275_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_7.a('node.text') || '平均风速'; var color=Node275_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_7width,Node275_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_7.a('node.underlinepoints',[Node275_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6, (Node275_7height - Node275_7fontSize) * 0.5*_ratio.ratioY + Node275_7fontSize + 2 ]); Node275_7.a('node.underlinevisible',false); Node275_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_7); zoomNodeList.push({ node: Node275_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_8 = new ht.Node(); var Node275_8textStart, Node275_8textWidth, Node275_8lineStart, Node275_8align = 'left', Node275_8fontSize = 10.66664*_ratio.ratioY,Node275_8width = 22*_ratio.ratioX, Node275_8height = 27*_ratio.ratioY; (function () { if (Node275_8align === 'left') { Node275_8textStart = Node275_8fontSize * 0.2 > 2 ? Node275_8fontSize * 0.2 - 4 : Node275_8fontSize * 0.2 - 9; Node275_8textWidth = Node275_8width; Node275_8lineStart = 1; } else if (Node275_8align === 'right') { Node275_8textStart = 0; Node275_8textWidth =Node275_8fontSize <= 8 ? Node275_8width + Node275_8fontSize * 0.2 + 6 : Node275_8width - Node275_8fontSize * 0.2; Node275_8lineStart = (Node275_8width - (ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_8align === 'center') { Node275_8textStart = -3; Node275_8textWidth = Node275_8width; Node275_8lineStart = Node275_8width - ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width - 11; } })(); Node275_8.setImage(GD.getTextJSON(Node275_8width, Node275_8height, true, false, false, ' '+ Node275_8fontSize + 'px "Arial"')) Node275_8.setPosition(491*ratio.ratioX, 394*ratio.ratioY); Node275_8.setWidth(Node275_8width); Node275_8.setHeight(Node275_8height); Node275_8._nodeType = 'text'; Node275_8._disallowEvert = true; Node275_8.setRotation(0*Math.PI/180); Node275_8.a('node.width', Node275_8width); Node275_8.a('node.height', Node275_8height); Node275_8.a('node.rect', [0, 0, Node275_8width, Node275_8height]); Node275_8.a('node.bordercolor','rgba(192,0,0,1)'); Node275_8.a('node.borderwidth', 0); Node275_8.a('node.background','' || 'rgba(0,0,0,0)'); Node275_8.a('node.gradient',''); Node275_8.a('node.gradientcolor',''); Node275_8.a('node.text','-'); Node275_8.a('node.textalign','left'); Node275_8.a('node.textvAlign','middle'); Node275_8.a('node.textrect', [Node275_8textStart, 0, Node275_8textWidth, Node275_8height]); Node275_8.a('node.color','rgba(192,0,0,1)'); Node275_8.a('node.font',' '+ Node275_8fontSize + 'px "Arial"'); Node275_8.a('node.textvisible',true); Node275_8.a('node.linefeed',false); if (false) { Node275_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_8.a('node.text') || '-'; var color=Node275_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_8width,Node275_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_8.a('node.underlinepoints',[Node275_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6, (Node275_8height - Node275_8fontSize) * 0.5*_ratio.ratioY + Node275_8fontSize + 2 ]); Node275_8.a('node.underlinevisible',false); Node275_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_8); zoomNodeList.push({ node: Node275_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_9 = new ht.Node(); var Node275_9textStart, Node275_9textWidth, Node275_9lineStart, Node275_9align = 'left', Node275_9fontSize = 10.66664*_ratio.ratioY,Node275_9width = 43*_ratio.ratioX, Node275_9height = 27*_ratio.ratioY; (function () { if (Node275_9align === 'left') { Node275_9textStart = Node275_9fontSize * 0.2 > 2 ? Node275_9fontSize * 0.2 - 4 : Node275_9fontSize * 0.2 - 9; Node275_9textWidth = Node275_9width; Node275_9lineStart = 1; } else if (Node275_9align === 'right') { Node275_9textStart = 0; Node275_9textWidth =Node275_9fontSize <= 8 ? Node275_9width + Node275_9fontSize * 0.2 + 6 : Node275_9width - Node275_9fontSize * 0.2; Node275_9lineStart = (Node275_9width - (ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_9align === 'center') { Node275_9textStart = -3; Node275_9textWidth = Node275_9width; Node275_9lineStart = Node275_9width - ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width - 11; } })(); Node275_9.setImage(GD.getTextJSON(Node275_9width, Node275_9height, true, false, false, ' '+ Node275_9fontSize + 'px "Arial"')) Node275_9.setPosition(538*ratio.ratioX, 394*ratio.ratioY); Node275_9.setWidth(Node275_9width); Node275_9.setHeight(Node275_9height); Node275_9._nodeType = 'text'; Node275_9._disallowEvert = true; Node275_9.setRotation(0*Math.PI/180); Node275_9.a('node.width', Node275_9width); Node275_9.a('node.height', Node275_9height); Node275_9.a('node.rect', [0, 0, Node275_9width, Node275_9height]); Node275_9.a('node.bordercolor','rgba(0,0,0,1)'); Node275_9.a('node.borderwidth', 0); Node275_9.a('node.background','' || 'rgba(0,0,0,0)'); Node275_9.a('node.gradient',''); Node275_9.a('node.gradientcolor',''); Node275_9.a('node.text','万kwh'); Node275_9.a('node.textalign','left'); Node275_9.a('node.textvAlign','middle'); Node275_9.a('node.textrect', [Node275_9textStart, 0, Node275_9textWidth, Node275_9height]); Node275_9.a('node.color','rgba(0,0,0,1)'); Node275_9.a('node.font',' '+ Node275_9fontSize + 'px "Arial"'); Node275_9.a('node.textvisible',true); Node275_9.a('node.linefeed',false); if (false) { Node275_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_9.a('node.text') || '万kwh'; var color=Node275_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_9width,Node275_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_9.a('node.underlinepoints',[Node275_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6, (Node275_9height - Node275_9fontSize) * 0.5*_ratio.ratioY + Node275_9fontSize + 2 ]); Node275_9.a('node.underlinevisible',false); Node275_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_9); zoomNodeList.push({ node: Node275_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_10 = new ht.Node(); var Node275_10textStart, Node275_10textWidth, Node275_10lineStart, Node275_10align = 'left', Node275_10fontSize = 10.66664*_ratio.ratioY,Node275_10width = 72*_ratio.ratioX, Node275_10height = 27*_ratio.ratioY; (function () { if (Node275_10align === 'left') { Node275_10textStart = Node275_10fontSize * 0.2 > 2 ? Node275_10fontSize * 0.2 - 4 : Node275_10fontSize * 0.2 - 9; Node275_10textWidth = Node275_10width; Node275_10lineStart = 1; } else if (Node275_10align === 'right') { Node275_10textStart = 0; Node275_10textWidth =Node275_10fontSize <= 8 ? Node275_10width + Node275_10fontSize * 0.2 + 6 : Node275_10width - Node275_10fontSize * 0.2; Node275_10lineStart = (Node275_10width - (ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_10align === 'center') { Node275_10textStart = -3; Node275_10textWidth = Node275_10width; Node275_10lineStart = Node275_10width - ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width - 11; } })(); Node275_10.setImage(GD.getTextJSON(Node275_10width, Node275_10height, true, false, false, ' '+ Node275_10fontSize + 'px "Arial"')) Node275_10.setPosition(453*ratio.ratioX, 420*ratio.ratioY); Node275_10.setWidth(Node275_10width); Node275_10.setHeight(Node275_10height); Node275_10._nodeType = 'text'; Node275_10._disallowEvert = true; Node275_10.setRotation(0*Math.PI/180); Node275_10.a('node.width', Node275_10width); Node275_10.a('node.height', Node275_10height); Node275_10.a('node.rect', [0, 0, Node275_10width, Node275_10height]); Node275_10.a('node.bordercolor','rgba(0,0,0,1)'); Node275_10.a('node.borderwidth', 0); Node275_10.a('node.background','' || 'rgba(0,0,0,0)'); Node275_10.a('node.gradient',''); Node275_10.a('node.gradientcolor',''); Node275_10.a('node.text','日发电量'); Node275_10.a('node.textalign','left'); Node275_10.a('node.textvAlign','middle'); Node275_10.a('node.textrect', [Node275_10textStart, 0, Node275_10textWidth, Node275_10height]); Node275_10.a('node.color','rgba(0,0,0,1)'); Node275_10.a('node.font',' '+ Node275_10fontSize + 'px "Arial"'); Node275_10.a('node.textvisible',true); Node275_10.a('node.linefeed',false); if (false) { Node275_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_10.a('node.text') || '日发电量'; var color=Node275_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_10width,Node275_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_10.a('node.underlinepoints',[Node275_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6, (Node275_10height - Node275_10fontSize) * 0.5*_ratio.ratioY + Node275_10fontSize + 2 ]); Node275_10.a('node.underlinevisible',false); Node275_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_10); zoomNodeList.push({ node: Node275_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_11 = new ht.Node(); var Node275_11textStart, Node275_11textWidth, Node275_11lineStart, Node275_11align = 'left', Node275_11fontSize = 10.66664*_ratio.ratioY,Node275_11width = 31*_ratio.ratioX, Node275_11height = 27*_ratio.ratioY; (function () { if (Node275_11align === 'left') { Node275_11textStart = Node275_11fontSize * 0.2 > 2 ? Node275_11fontSize * 0.2 - 4 : Node275_11fontSize * 0.2 - 9; Node275_11textWidth = Node275_11width; Node275_11lineStart = 1; } else if (Node275_11align === 'right') { Node275_11textStart = 0; Node275_11textWidth =Node275_11fontSize <= 8 ? Node275_11width + Node275_11fontSize * 0.2 + 6 : Node275_11width - Node275_11fontSize * 0.2; Node275_11lineStart = (Node275_11width - (ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_11align === 'center') { Node275_11textStart = -3; Node275_11textWidth = Node275_11width; Node275_11lineStart = Node275_11width - ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width - 11; } })(); Node275_11.setImage(GD.getTextJSON(Node275_11width, Node275_11height, true, false, false, ' '+ Node275_11fontSize + 'px "Arial"')) Node275_11.setPosition(496*ratio.ratioX, 420*ratio.ratioY); Node275_11.setWidth(Node275_11width); Node275_11.setHeight(Node275_11height); Node275_11._nodeType = 'text'; Node275_11._disallowEvert = true; Node275_11.setRotation(0*Math.PI/180); Node275_11.a('node.width', Node275_11width); Node275_11.a('node.height', Node275_11height); Node275_11.a('node.rect', [0, 0, Node275_11width, Node275_11height]); Node275_11.a('node.bordercolor','rgba(192,0,0,1)'); Node275_11.a('node.borderwidth', 0); Node275_11.a('node.background','' || 'rgba(0,0,0,0)'); Node275_11.a('node.gradient',''); Node275_11.a('node.gradientcolor',''); Node275_11.a('node.text','-'); Node275_11.a('node.textalign','left'); Node275_11.a('node.textvAlign','middle'); Node275_11.a('node.textrect', [Node275_11textStart, 0, Node275_11textWidth, Node275_11height]); Node275_11.a('node.color','rgba(192,0,0,1)'); Node275_11.a('node.font',' '+ Node275_11fontSize + 'px "Arial"'); Node275_11.a('node.textvisible',true); Node275_11.a('node.linefeed',false); if (false) { Node275_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_11.a('node.text') || '-'; var color=Node275_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_11width,Node275_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_11.a('node.underlinepoints',[Node275_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6, (Node275_11height - Node275_11fontSize) * 0.5*_ratio.ratioY + Node275_11fontSize + 2 ]); Node275_11.a('node.underlinevisible',false); Node275_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_11); zoomNodeList.push({ node: Node275_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_12 = new ht.Node(); var Node275_12textStart, Node275_12textWidth, Node275_12lineStart, Node275_12align = 'left', Node275_12fontSize = 10.66664*_ratio.ratioY,Node275_12width = 43*_ratio.ratioX, Node275_12height = 27*_ratio.ratioY; (function () { if (Node275_12align === 'left') { Node275_12textStart = Node275_12fontSize * 0.2 > 2 ? Node275_12fontSize * 0.2 - 4 : Node275_12fontSize * 0.2 - 9; Node275_12textWidth = Node275_12width; Node275_12lineStart = 1; } else if (Node275_12align === 'right') { Node275_12textStart = 0; Node275_12textWidth =Node275_12fontSize <= 8 ? Node275_12width + Node275_12fontSize * 0.2 + 6 : Node275_12width - Node275_12fontSize * 0.2; Node275_12lineStart = (Node275_12width - (ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_12align === 'center') { Node275_12textStart = -3; Node275_12textWidth = Node275_12width; Node275_12lineStart = Node275_12width - ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width - 11; } })(); Node275_12.setImage(GD.getTextJSON(Node275_12width, Node275_12height, true, false, false, ' '+ Node275_12fontSize + 'px "Arial"')) Node275_12.setPosition(538*ratio.ratioX, 420*ratio.ratioY); Node275_12.setWidth(Node275_12width); Node275_12.setHeight(Node275_12height); Node275_12._nodeType = 'text'; Node275_12._disallowEvert = true; Node275_12.setRotation(0*Math.PI/180); Node275_12.a('node.width', Node275_12width); Node275_12.a('node.height', Node275_12height); Node275_12.a('node.rect', [0, 0, Node275_12width, Node275_12height]); Node275_12.a('node.bordercolor','rgba(0,0,0,1)'); Node275_12.a('node.borderwidth', 0); Node275_12.a('node.background','' || 'rgba(0,0,0,0)'); Node275_12.a('node.gradient',''); Node275_12.a('node.gradientcolor',''); Node275_12.a('node.text','万kwh'); Node275_12.a('node.textalign','left'); Node275_12.a('node.textvAlign','middle'); Node275_12.a('node.textrect', [Node275_12textStart, 0, Node275_12textWidth, Node275_12height]); Node275_12.a('node.color','rgba(0,0,0,1)'); Node275_12.a('node.font',' '+ Node275_12fontSize + 'px "Arial"'); Node275_12.a('node.textvisible',true); Node275_12.a('node.linefeed',false); if (false) { Node275_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_12.a('node.text') || '万kwh'; var color=Node275_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_12width,Node275_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_12.a('node.underlinepoints',[Node275_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6, (Node275_12height - Node275_12fontSize) * 0.5*_ratio.ratioY + Node275_12fontSize + 2 ]); Node275_12.a('node.underlinevisible',false); Node275_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_12); zoomNodeList.push({ node: Node275_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_13 = new ht.Node(); var Node275_13textStart, Node275_13textWidth, Node275_13lineStart, Node275_13align = 'left', Node275_13fontSize = 10.66664*_ratio.ratioY,Node275_13width = 72*_ratio.ratioX, Node275_13height = 27*_ratio.ratioY; (function () { if (Node275_13align === 'left') { Node275_13textStart = Node275_13fontSize * 0.2 > 2 ? Node275_13fontSize * 0.2 - 4 : Node275_13fontSize * 0.2 - 9; Node275_13textWidth = Node275_13width; Node275_13lineStart = 1; } else if (Node275_13align === 'right') { Node275_13textStart = 0; Node275_13textWidth =Node275_13fontSize <= 8 ? Node275_13width + Node275_13fontSize * 0.2 + 6 : Node275_13width - Node275_13fontSize * 0.2; Node275_13lineStart = (Node275_13width - (ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_13align === 'center') { Node275_13textStart = -3; Node275_13textWidth = Node275_13width; Node275_13lineStart = Node275_13width - ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width - 11; } })(); Node275_13.setImage(GD.getTextJSON(Node275_13width, Node275_13height, true, false, false, ' '+ Node275_13fontSize + 'px "Arial"')) Node275_13.setPosition(453*ratio.ratioX, 447*ratio.ratioY); Node275_13.setWidth(Node275_13width); Node275_13.setHeight(Node275_13height); Node275_13._nodeType = 'text'; Node275_13._disallowEvert = true; Node275_13.setRotation(0*Math.PI/180); Node275_13.a('node.width', Node275_13width); Node275_13.a('node.height', Node275_13height); Node275_13.a('node.rect', [0, 0, Node275_13width, Node275_13height]); Node275_13.a('node.bordercolor','rgba(0,0,0,1)'); Node275_13.a('node.borderwidth', 0); Node275_13.a('node.background','' || 'rgba(0,0,0,0)'); Node275_13.a('node.gradient',''); Node275_13.a('node.gradientcolor',''); Node275_13.a('node.text','有功功率'); Node275_13.a('node.textalign','left'); Node275_13.a('node.textvAlign','middle'); Node275_13.a('node.textrect', [Node275_13textStart, 0, Node275_13textWidth, Node275_13height]); Node275_13.a('node.color','rgba(0,0,0,1)'); Node275_13.a('node.font',' '+ Node275_13fontSize + 'px "Arial"'); Node275_13.a('node.textvisible',true); Node275_13.a('node.linefeed',false); if (false) { Node275_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_13.a('node.text') || '有功功率'; var color=Node275_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_13width,Node275_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_13.a('node.underlinepoints',[Node275_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6, (Node275_13height - Node275_13fontSize) * 0.5*_ratio.ratioY + Node275_13fontSize + 2 ]); Node275_13.a('node.underlinevisible',false); Node275_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_13); zoomNodeList.push({ node: Node275_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_14 = new ht.Node(); var Node275_14textStart, Node275_14textWidth, Node275_14lineStart, Node275_14align = 'left', Node275_14fontSize = 10.66664*_ratio.ratioY,Node275_14width = 22*_ratio.ratioX, Node275_14height = 27*_ratio.ratioY; (function () { if (Node275_14align === 'left') { Node275_14textStart = Node275_14fontSize * 0.2 > 2 ? Node275_14fontSize * 0.2 - 4 : Node275_14fontSize * 0.2 - 9; Node275_14textWidth = Node275_14width; Node275_14lineStart = 1; } else if (Node275_14align === 'right') { Node275_14textStart = 0; Node275_14textWidth =Node275_14fontSize <= 8 ? Node275_14width + Node275_14fontSize * 0.2 + 6 : Node275_14width - Node275_14fontSize * 0.2; Node275_14lineStart = (Node275_14width - (ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_14align === 'center') { Node275_14textStart = -3; Node275_14textWidth = Node275_14width; Node275_14lineStart = Node275_14width - ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width - 11; } })(); Node275_14.setImage(GD.getTextJSON(Node275_14width, Node275_14height, true, false, false, ' '+ Node275_14fontSize + 'px "Arial"')) Node275_14.setPosition(491*ratio.ratioX, 447*ratio.ratioY); Node275_14.setWidth(Node275_14width); Node275_14.setHeight(Node275_14height); Node275_14._nodeType = 'text'; Node275_14._disallowEvert = true; Node275_14.setRotation(0*Math.PI/180); Node275_14.a('node.width', Node275_14width); Node275_14.a('node.height', Node275_14height); Node275_14.a('node.rect', [0, 0, Node275_14width, Node275_14height]); Node275_14.a('node.bordercolor','rgba(192,0,0,1)'); Node275_14.a('node.borderwidth', 0); Node275_14.a('node.background','' || 'rgba(0,0,0,0)'); Node275_14.a('node.gradient',''); Node275_14.a('node.gradientcolor',''); Node275_14.a('node.text','-'); Node275_14.a('node.textalign','left'); Node275_14.a('node.textvAlign','middle'); Node275_14.a('node.textrect', [Node275_14textStart, 0, Node275_14textWidth, Node275_14height]); Node275_14.a('node.color','rgba(192,0,0,1)'); Node275_14.a('node.font',' '+ Node275_14fontSize + 'px "Arial"'); Node275_14.a('node.textvisible',true); Node275_14.a('node.linefeed',false); if (false) { Node275_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_14.a('node.text') || '-'; var color=Node275_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_14width,Node275_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_14.a('node.underlinepoints',[Node275_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6, (Node275_14height - Node275_14fontSize) * 0.5*_ratio.ratioY + Node275_14fontSize + 2 ]); Node275_14.a('node.underlinevisible',false); Node275_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_14); zoomNodeList.push({ node: Node275_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275_15 = new ht.Node(); var Node275_15textStart, Node275_15textWidth, Node275_15lineStart, Node275_15align = 'left', Node275_15fontSize = 10.66664*_ratio.ratioY,Node275_15width = 43*_ratio.ratioX, Node275_15height = 27*_ratio.ratioY; (function () { if (Node275_15align === 'left') { Node275_15textStart = Node275_15fontSize * 0.2 > 2 ? Node275_15fontSize * 0.2 - 4 : Node275_15fontSize * 0.2 - 9; Node275_15textWidth = Node275_15width; Node275_15lineStart = 1; } else if (Node275_15align === 'right') { Node275_15textStart = 0; Node275_15textWidth =Node275_15fontSize <= 8 ? Node275_15width + Node275_15fontSize * 0.2 + 6 : Node275_15width - Node275_15fontSize * 0.2; Node275_15lineStart = (Node275_15width - (ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node275_15align === 'center') { Node275_15textStart = -3; Node275_15textWidth = Node275_15width; Node275_15lineStart = Node275_15width - ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width - 11; } })(); Node275_15.setImage(GD.getTextJSON(Node275_15width, Node275_15height, true, false, false, ' '+ Node275_15fontSize + 'px "Arial"')) Node275_15.setPosition(538*ratio.ratioX, 447*ratio.ratioY); Node275_15.setWidth(Node275_15width); Node275_15.setHeight(Node275_15height); Node275_15._nodeType = 'text'; Node275_15._disallowEvert = true; Node275_15.setRotation(0*Math.PI/180); Node275_15.a('node.width', Node275_15width); Node275_15.a('node.height', Node275_15height); Node275_15.a('node.rect', [0, 0, Node275_15width, Node275_15height]); Node275_15.a('node.bordercolor','rgba(0,0,0,1)'); Node275_15.a('node.borderwidth', 0); Node275_15.a('node.background','' || 'rgba(0,0,0,0)'); Node275_15.a('node.gradient',''); Node275_15.a('node.gradientcolor',''); Node275_15.a('node.text','万kwh'); Node275_15.a('node.textalign','left'); Node275_15.a('node.textvAlign','middle'); Node275_15.a('node.textrect', [Node275_15textStart, 0, Node275_15textWidth, Node275_15height]); Node275_15.a('node.color','rgba(0,0,0,1)'); Node275_15.a('node.font',' '+ Node275_15fontSize + 'px "Arial"'); Node275_15.a('node.textvisible',true); Node275_15.a('node.linefeed',false); if (false) { Node275_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node275_15.a('node.text') || '万kwh'; var color=Node275_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_15width,Node275_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node275_15.a('node.underlinepoints',[Node275_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6, (Node275_15height - Node275_15fontSize) * 0.5*_ratio.ratioY + Node275_15fontSize + 2 ]); Node275_15.a('node.underlinevisible',false); Node275_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node275_15); zoomNodeList.push({ node: Node275_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node276_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node276_0 = new ht.Node(); Node276_0.setPosition(513*ratio.ratioX, 550*ratio.ratioY); Node276_0.setSize(146*ratioX, 141*ratioY); Node276_0.setImage('imgimage//img//map_name_03.png'); Node276_0.setRotation(0*Math.PI/180); Node276_0._zoomBy = 'Default'; Node276_0._nodeType = 'image'; Node276_0._disallowEvert = true; dataModel.add(Node276_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_1 = new ht.Node(); var Node276_1textStart, Node276_1textWidth, Node276_1lineStart, Node276_1align = 'left', Node276_1fontSize = 10.66664*_ratio.ratioY,Node276_1width = 72*_ratio.ratioX, Node276_1height = 27*_ratio.ratioY; (function () { if (Node276_1align === 'left') { Node276_1textStart = Node276_1fontSize * 0.2 > 2 ? Node276_1fontSize * 0.2 - 4 : Node276_1fontSize * 0.2 - 9; Node276_1textWidth = Node276_1width; Node276_1lineStart = 1; } else if (Node276_1align === 'right') { Node276_1textStart = 0; Node276_1textWidth =Node276_1fontSize <= 8 ? Node276_1width + Node276_1fontSize * 0.2 + 6 : Node276_1width - Node276_1fontSize * 0.2; Node276_1lineStart = (Node276_1width - (ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_1align === 'center') { Node276_1textStart = -3; Node276_1textWidth = Node276_1width; Node276_1lineStart = Node276_1width - ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width - 11; } })(); Node276_1.setImage(GD.getTextJSON(Node276_1width, Node276_1height, true, false, false, ' '+ Node276_1fontSize + 'px "Arial"')) Node276_1.setPosition(483*ratio.ratioX, 503*ratio.ratioY); Node276_1.setWidth(Node276_1width); Node276_1.setHeight(Node276_1height); Node276_1._nodeType = 'text'; Node276_1._disallowEvert = true; Node276_1.setRotation(0*Math.PI/180); Node276_1.a('node.width', Node276_1width); Node276_1.a('node.height', Node276_1height); Node276_1.a('node.rect', [0, 0, Node276_1width, Node276_1height]); Node276_1.a('node.bordercolor','rgba(0,0,0,1)'); Node276_1.a('node.borderwidth', 0); Node276_1.a('node.background','' || 'rgba(0,0,0,0)'); Node276_1.a('node.gradient',''); Node276_1.a('node.gradientcolor',''); Node276_1.a('node.text','风机台数'); Node276_1.a('node.textalign','left'); Node276_1.a('node.textvAlign','middle'); Node276_1.a('node.textrect', [Node276_1textStart, 0, Node276_1textWidth, Node276_1height]); Node276_1.a('node.color','rgba(0,0,0,1)'); Node276_1.a('node.font',' '+ Node276_1fontSize + 'px "Arial"'); Node276_1.a('node.textvisible',true); Node276_1.a('node.linefeed',false); if (false) { Node276_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_1.a('node.text') || '风机台数'; var color=Node276_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_1width,Node276_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_1.a('node.underlinepoints',[Node276_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6, (Node276_1height - Node276_1fontSize) * 0.5*_ratio.ratioY + Node276_1fontSize + 2 ]); Node276_1.a('node.underlinevisible',false); Node276_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_1); zoomNodeList.push({ node: Node276_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_2 = new ht.Node(); var Node276_2textStart, Node276_2textWidth, Node276_2lineStart, Node276_2align = 'left', Node276_2fontSize = 10.66664*_ratio.ratioY,Node276_2width = 22*_ratio.ratioX, Node276_2height = 27*_ratio.ratioY; (function () { if (Node276_2align === 'left') { Node276_2textStart = Node276_2fontSize * 0.2 > 2 ? Node276_2fontSize * 0.2 - 4 : Node276_2fontSize * 0.2 - 9; Node276_2textWidth = Node276_2width; Node276_2lineStart = 1; } else if (Node276_2align === 'right') { Node276_2textStart = 0; Node276_2textWidth =Node276_2fontSize <= 8 ? Node276_2width + Node276_2fontSize * 0.2 + 6 : Node276_2width - Node276_2fontSize * 0.2; Node276_2lineStart = (Node276_2width - (ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_2align === 'center') { Node276_2textStart = -3; Node276_2textWidth = Node276_2width; Node276_2lineStart = Node276_2width - ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width - 11; } })(); Node276_2.setImage(GD.getTextJSON(Node276_2width, Node276_2height, true, false, false, ' '+ Node276_2fontSize + 'px "Arial"')) Node276_2.setPosition(521*ratio.ratioX, 503*ratio.ratioY); Node276_2.setWidth(Node276_2width); Node276_2.setHeight(Node276_2height); Node276_2._nodeType = 'text'; Node276_2._disallowEvert = true; Node276_2.setRotation(0*Math.PI/180); Node276_2.a('node.width', Node276_2width); Node276_2.a('node.height', Node276_2height); Node276_2.a('node.rect', [0, 0, Node276_2width, Node276_2height]); Node276_2.a('node.bordercolor','rgba(192,0,0,1)'); Node276_2.a('node.borderwidth', 0); Node276_2.a('node.background','' || 'rgba(0,0,0,0)'); Node276_2.a('node.gradient',''); Node276_2.a('node.gradientcolor',''); Node276_2.a('node.text','99'); Node276_2.a('node.textalign','left'); Node276_2.a('node.textvAlign','middle'); Node276_2.a('node.textrect', [Node276_2textStart, 0, Node276_2textWidth, Node276_2height]); Node276_2.a('node.color','rgba(192,0,0,1)'); Node276_2.a('node.font',' '+ Node276_2fontSize + 'px "Arial"'); Node276_2.a('node.textvisible',true); Node276_2.a('node.linefeed',false); if (false) { Node276_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_2.a('node.text') || '99'; var color=Node276_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_2width,Node276_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_2.a('node.underlinepoints',[Node276_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6, (Node276_2height - Node276_2fontSize) * 0.5*_ratio.ratioY + Node276_2fontSize + 2 ]); Node276_2.a('node.underlinevisible',false); Node276_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_2); zoomNodeList.push({ node: Node276_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_3 = new ht.Node(); var Node276_3textStart, Node276_3textWidth, Node276_3lineStart, Node276_3align = 'left', Node276_3fontSize = 10.66664*_ratio.ratioY,Node276_3width = 43*_ratio.ratioX, Node276_3height = 27*_ratio.ratioY; (function () { if (Node276_3align === 'left') { Node276_3textStart = Node276_3fontSize * 0.2 > 2 ? Node276_3fontSize * 0.2 - 4 : Node276_3fontSize * 0.2 - 9; Node276_3textWidth = Node276_3width; Node276_3lineStart = 1; } else if (Node276_3align === 'right') { Node276_3textStart = 0; Node276_3textWidth =Node276_3fontSize <= 8 ? Node276_3width + Node276_3fontSize * 0.2 + 6 : Node276_3width - Node276_3fontSize * 0.2; Node276_3lineStart = (Node276_3width - (ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_3align === 'center') { Node276_3textStart = -3; Node276_3textWidth = Node276_3width; Node276_3lineStart = Node276_3width - ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width - 11; } })(); Node276_3.setImage(GD.getTextJSON(Node276_3width, Node276_3height, true, false, false, ' '+ Node276_3fontSize + 'px "Arial"')) Node276_3.setPosition(568*ratio.ratioX, 503*ratio.ratioY); Node276_3.setWidth(Node276_3width); Node276_3.setHeight(Node276_3height); Node276_3._nodeType = 'text'; Node276_3._disallowEvert = true; Node276_3.setRotation(0*Math.PI/180); Node276_3.a('node.width', Node276_3width); Node276_3.a('node.height', Node276_3height); Node276_3.a('node.rect', [0, 0, Node276_3width, Node276_3height]); Node276_3.a('node.bordercolor','rgba(0,0,0,1)'); Node276_3.a('node.borderwidth', 0); Node276_3.a('node.background','' || 'rgba(0,0,0,0)'); Node276_3.a('node.gradient',''); Node276_3.a('node.gradientcolor',''); Node276_3.a('node.text','万kwh'); Node276_3.a('node.textalign','left'); Node276_3.a('node.textvAlign','middle'); Node276_3.a('node.textrect', [Node276_3textStart, 0, Node276_3textWidth, Node276_3height]); Node276_3.a('node.color','rgba(0,0,0,1)'); Node276_3.a('node.font',' '+ Node276_3fontSize + 'px "Arial"'); Node276_3.a('node.textvisible',true); Node276_3.a('node.linefeed',false); if (false) { Node276_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_3.a('node.text') || '万kwh'; var color=Node276_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_3width,Node276_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_3.a('node.underlinepoints',[Node276_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6, (Node276_3height - Node276_3fontSize) * 0.5*_ratio.ratioY + Node276_3fontSize + 2 ]); Node276_3.a('node.underlinevisible',false); Node276_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_3); zoomNodeList.push({ node: Node276_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_4 = new ht.Node(); var Node276_4textStart, Node276_4textWidth, Node276_4lineStart, Node276_4align = 'left', Node276_4fontSize = 10.66664*_ratio.ratioY,Node276_4width = 72*_ratio.ratioX, Node276_4height = 27*_ratio.ratioY; (function () { if (Node276_4align === 'left') { Node276_4textStart = Node276_4fontSize * 0.2 > 2 ? Node276_4fontSize * 0.2 - 4 : Node276_4fontSize * 0.2 - 9; Node276_4textWidth = Node276_4width; Node276_4lineStart = 1; } else if (Node276_4align === 'right') { Node276_4textStart = 0; Node276_4textWidth =Node276_4fontSize <= 8 ? Node276_4width + Node276_4fontSize * 0.2 + 6 : Node276_4width - Node276_4fontSize * 0.2; Node276_4lineStart = (Node276_4width - (ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_4align === 'center') { Node276_4textStart = -3; Node276_4textWidth = Node276_4width; Node276_4lineStart = Node276_4width - ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width - 11; } })(); Node276_4.setImage(GD.getTextJSON(Node276_4width, Node276_4height, true, false, false, ' '+ Node276_4fontSize + 'px "Arial"')) Node276_4.setPosition(483*ratio.ratioX, 529*ratio.ratioY); Node276_4.setWidth(Node276_4width); Node276_4.setHeight(Node276_4height); Node276_4._nodeType = 'text'; Node276_4._disallowEvert = true; Node276_4.setRotation(0*Math.PI/180); Node276_4.a('node.width', Node276_4width); Node276_4.a('node.height', Node276_4height); Node276_4.a('node.rect', [0, 0, Node276_4width, Node276_4height]); Node276_4.a('node.bordercolor','rgba(0,0,0,1)'); Node276_4.a('node.borderwidth', 0); Node276_4.a('node.background','' || 'rgba(0,0,0,0)'); Node276_4.a('node.gradient',''); Node276_4.a('node.gradientcolor',''); Node276_4.a('node.text','装机容量'); Node276_4.a('node.textalign','left'); Node276_4.a('node.textvAlign','middle'); Node276_4.a('node.textrect', [Node276_4textStart, 0, Node276_4textWidth, Node276_4height]); Node276_4.a('node.color','rgba(0,0,0,1)'); Node276_4.a('node.font',' '+ Node276_4fontSize + 'px "Arial"'); Node276_4.a('node.textvisible',true); Node276_4.a('node.linefeed',false); if (false) { Node276_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_4.a('node.text') || '装机容量'; var color=Node276_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_4width,Node276_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_4.a('node.underlinepoints',[Node276_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6, (Node276_4height - Node276_4fontSize) * 0.5*_ratio.ratioY + Node276_4fontSize + 2 ]); Node276_4.a('node.underlinevisible',false); Node276_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_4); zoomNodeList.push({ node: Node276_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_5 = new ht.Node(); var Node276_5textStart, Node276_5textWidth, Node276_5lineStart, Node276_5align = 'left', Node276_5fontSize = 10.66664*_ratio.ratioY,Node276_5width = 31*_ratio.ratioX, Node276_5height = 27*_ratio.ratioY; (function () { if (Node276_5align === 'left') { Node276_5textStart = Node276_5fontSize * 0.2 > 2 ? Node276_5fontSize * 0.2 - 4 : Node276_5fontSize * 0.2 - 9; Node276_5textWidth = Node276_5width; Node276_5lineStart = 1; } else if (Node276_5align === 'right') { Node276_5textStart = 0; Node276_5textWidth =Node276_5fontSize <= 8 ? Node276_5width + Node276_5fontSize * 0.2 + 6 : Node276_5width - Node276_5fontSize * 0.2; Node276_5lineStart = (Node276_5width - (ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_5align === 'center') { Node276_5textStart = -3; Node276_5textWidth = Node276_5width; Node276_5lineStart = Node276_5width - ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width - 11; } })(); Node276_5.setImage(GD.getTextJSON(Node276_5width, Node276_5height, true, false, false, ' '+ Node276_5fontSize + 'px "Arial"')) Node276_5.setPosition(526*ratio.ratioX, 529*ratio.ratioY); Node276_5.setWidth(Node276_5width); Node276_5.setHeight(Node276_5height); Node276_5._nodeType = 'text'; Node276_5._disallowEvert = true; Node276_5.setRotation(0*Math.PI/180); Node276_5.a('node.width', Node276_5width); Node276_5.a('node.height', Node276_5height); Node276_5.a('node.rect', [0, 0, Node276_5width, Node276_5height]); Node276_5.a('node.bordercolor','rgba(192,0,0,1)'); Node276_5.a('node.borderwidth', 0); Node276_5.a('node.background','' || 'rgba(0,0,0,0)'); Node276_5.a('node.gradient',''); Node276_5.a('node.gradientcolor',''); Node276_5.a('node.text','14.85'); Node276_5.a('node.textalign','left'); Node276_5.a('node.textvAlign','middle'); Node276_5.a('node.textrect', [Node276_5textStart, 0, Node276_5textWidth, Node276_5height]); Node276_5.a('node.color','rgba(192,0,0,1)'); Node276_5.a('node.font',' '+ Node276_5fontSize + 'px "Arial"'); Node276_5.a('node.textvisible',true); Node276_5.a('node.linefeed',false); if (false) { Node276_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_5.a('node.text') || '14.85'; var color=Node276_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_5width,Node276_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_5.a('node.underlinepoints',[Node276_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6, (Node276_5height - Node276_5fontSize) * 0.5*_ratio.ratioY + Node276_5fontSize + 2 ]); Node276_5.a('node.underlinevisible',false); Node276_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_5); zoomNodeList.push({ node: Node276_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_6 = new ht.Node(); var Node276_6textStart, Node276_6textWidth, Node276_6lineStart, Node276_6align = 'left', Node276_6fontSize = 10.66664*_ratio.ratioY,Node276_6width = 43*_ratio.ratioX, Node276_6height = 27*_ratio.ratioY; (function () { if (Node276_6align === 'left') { Node276_6textStart = Node276_6fontSize * 0.2 > 2 ? Node276_6fontSize * 0.2 - 4 : Node276_6fontSize * 0.2 - 9; Node276_6textWidth = Node276_6width; Node276_6lineStart = 1; } else if (Node276_6align === 'right') { Node276_6textStart = 0; Node276_6textWidth =Node276_6fontSize <= 8 ? Node276_6width + Node276_6fontSize * 0.2 + 6 : Node276_6width - Node276_6fontSize * 0.2; Node276_6lineStart = (Node276_6width - (ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_6align === 'center') { Node276_6textStart = -3; Node276_6textWidth = Node276_6width; Node276_6lineStart = Node276_6width - ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width - 11; } })(); Node276_6.setImage(GD.getTextJSON(Node276_6width, Node276_6height, true, false, false, ' '+ Node276_6fontSize + 'px "Arial"')) Node276_6.setPosition(568*ratio.ratioX, 529*ratio.ratioY); Node276_6.setWidth(Node276_6width); Node276_6.setHeight(Node276_6height); Node276_6._nodeType = 'text'; Node276_6._disallowEvert = true; Node276_6.setRotation(0*Math.PI/180); Node276_6.a('node.width', Node276_6width); Node276_6.a('node.height', Node276_6height); Node276_6.a('node.rect', [0, 0, Node276_6width, Node276_6height]); Node276_6.a('node.bordercolor','rgba(0,0,0,1)'); Node276_6.a('node.borderwidth', 0); Node276_6.a('node.background','' || 'rgba(0,0,0,0)'); Node276_6.a('node.gradient',''); Node276_6.a('node.gradientcolor',''); Node276_6.a('node.text','万kwh'); Node276_6.a('node.textalign','left'); Node276_6.a('node.textvAlign','middle'); Node276_6.a('node.textrect', [Node276_6textStart, 0, Node276_6textWidth, Node276_6height]); Node276_6.a('node.color','rgba(0,0,0,1)'); Node276_6.a('node.font',' '+ Node276_6fontSize + 'px "Arial"'); Node276_6.a('node.textvisible',true); Node276_6.a('node.linefeed',false); if (false) { Node276_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_6.a('node.text') || '万kwh'; var color=Node276_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_6width,Node276_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_6.a('node.underlinepoints',[Node276_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6, (Node276_6height - Node276_6fontSize) * 0.5*_ratio.ratioY + Node276_6fontSize + 2 ]); Node276_6.a('node.underlinevisible',false); Node276_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_6); zoomNodeList.push({ node: Node276_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_7 = new ht.Node(); var Node276_7textStart, Node276_7textWidth, Node276_7lineStart, Node276_7align = 'left', Node276_7fontSize = 10.66664*_ratio.ratioY,Node276_7width = 72*_ratio.ratioX, Node276_7height = 27*_ratio.ratioY; (function () { if (Node276_7align === 'left') { Node276_7textStart = Node276_7fontSize * 0.2 > 2 ? Node276_7fontSize * 0.2 - 4 : Node276_7fontSize * 0.2 - 9; Node276_7textWidth = Node276_7width; Node276_7lineStart = 1; } else if (Node276_7align === 'right') { Node276_7textStart = 0; Node276_7textWidth =Node276_7fontSize <= 8 ? Node276_7width + Node276_7fontSize * 0.2 + 6 : Node276_7width - Node276_7fontSize * 0.2; Node276_7lineStart = (Node276_7width - (ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_7align === 'center') { Node276_7textStart = -3; Node276_7textWidth = Node276_7width; Node276_7lineStart = Node276_7width - ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width - 11; } })(); Node276_7.setImage(GD.getTextJSON(Node276_7width, Node276_7height, true, false, false, ' '+ Node276_7fontSize + 'px "Arial"')) Node276_7.setPosition(483*ratio.ratioX, 554*ratio.ratioY); Node276_7.setWidth(Node276_7width); Node276_7.setHeight(Node276_7height); Node276_7._nodeType = 'text'; Node276_7._disallowEvert = true; Node276_7.setRotation(0*Math.PI/180); Node276_7.a('node.width', Node276_7width); Node276_7.a('node.height', Node276_7height); Node276_7.a('node.rect', [0, 0, Node276_7width, Node276_7height]); Node276_7.a('node.bordercolor','rgba(0,0,0,1)'); Node276_7.a('node.borderwidth', 0); Node276_7.a('node.background','' || 'rgba(0,0,0,0)'); Node276_7.a('node.gradient',''); Node276_7.a('node.gradientcolor',''); Node276_7.a('node.text','平均风速'); Node276_7.a('node.textalign','left'); Node276_7.a('node.textvAlign','middle'); Node276_7.a('node.textrect', [Node276_7textStart, 0, Node276_7textWidth, Node276_7height]); Node276_7.a('node.color','rgba(0,0,0,1)'); Node276_7.a('node.font',' '+ Node276_7fontSize + 'px "Arial"'); Node276_7.a('node.textvisible',true); Node276_7.a('node.linefeed',false); if (false) { Node276_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_7.a('node.text') || '平均风速'; var color=Node276_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_7width,Node276_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_7.a('node.underlinepoints',[Node276_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6, (Node276_7height - Node276_7fontSize) * 0.5*_ratio.ratioY + Node276_7fontSize + 2 ]); Node276_7.a('node.underlinevisible',false); Node276_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_7); zoomNodeList.push({ node: Node276_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_8 = new ht.Node(); var Node276_8textStart, Node276_8textWidth, Node276_8lineStart, Node276_8align = 'left', Node276_8fontSize = 10.66664*_ratio.ratioY,Node276_8width = 22*_ratio.ratioX, Node276_8height = 27*_ratio.ratioY; (function () { if (Node276_8align === 'left') { Node276_8textStart = Node276_8fontSize * 0.2 > 2 ? Node276_8fontSize * 0.2 - 4 : Node276_8fontSize * 0.2 - 9; Node276_8textWidth = Node276_8width; Node276_8lineStart = 1; } else if (Node276_8align === 'right') { Node276_8textStart = 0; Node276_8textWidth =Node276_8fontSize <= 8 ? Node276_8width + Node276_8fontSize * 0.2 + 6 : Node276_8width - Node276_8fontSize * 0.2; Node276_8lineStart = (Node276_8width - (ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_8align === 'center') { Node276_8textStart = -3; Node276_8textWidth = Node276_8width; Node276_8lineStart = Node276_8width - ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width - 11; } })(); Node276_8.setImage(GD.getTextJSON(Node276_8width, Node276_8height, true, false, false, ' '+ Node276_8fontSize + 'px "Arial"')) Node276_8.setPosition(521*ratio.ratioX, 554*ratio.ratioY); Node276_8.setWidth(Node276_8width); Node276_8.setHeight(Node276_8height); Node276_8._nodeType = 'text'; Node276_8._disallowEvert = true; Node276_8.setRotation(0*Math.PI/180); Node276_8.a('node.width', Node276_8width); Node276_8.a('node.height', Node276_8height); Node276_8.a('node.rect', [0, 0, Node276_8width, Node276_8height]); Node276_8.a('node.bordercolor','rgba(192,0,0,1)'); Node276_8.a('node.borderwidth', 0); Node276_8.a('node.background','' || 'rgba(0,0,0,0)'); Node276_8.a('node.gradient',''); Node276_8.a('node.gradientcolor',''); Node276_8.a('node.text','-'); Node276_8.a('node.textalign','left'); Node276_8.a('node.textvAlign','middle'); Node276_8.a('node.textrect', [Node276_8textStart, 0, Node276_8textWidth, Node276_8height]); Node276_8.a('node.color','rgba(192,0,0,1)'); Node276_8.a('node.font',' '+ Node276_8fontSize + 'px "Arial"'); Node276_8.a('node.textvisible',true); Node276_8.a('node.linefeed',false); if (false) { Node276_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_8.a('node.text') || '-'; var color=Node276_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_8width,Node276_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_8.a('node.underlinepoints',[Node276_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6, (Node276_8height - Node276_8fontSize) * 0.5*_ratio.ratioY + Node276_8fontSize + 2 ]); Node276_8.a('node.underlinevisible',false); Node276_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_8); zoomNodeList.push({ node: Node276_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_9 = new ht.Node(); var Node276_9textStart, Node276_9textWidth, Node276_9lineStart, Node276_9align = 'left', Node276_9fontSize = 10.66664*_ratio.ratioY,Node276_9width = 43*_ratio.ratioX, Node276_9height = 27*_ratio.ratioY; (function () { if (Node276_9align === 'left') { Node276_9textStart = Node276_9fontSize * 0.2 > 2 ? Node276_9fontSize * 0.2 - 4 : Node276_9fontSize * 0.2 - 9; Node276_9textWidth = Node276_9width; Node276_9lineStart = 1; } else if (Node276_9align === 'right') { Node276_9textStart = 0; Node276_9textWidth =Node276_9fontSize <= 8 ? Node276_9width + Node276_9fontSize * 0.2 + 6 : Node276_9width - Node276_9fontSize * 0.2; Node276_9lineStart = (Node276_9width - (ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_9align === 'center') { Node276_9textStart = -3; Node276_9textWidth = Node276_9width; Node276_9lineStart = Node276_9width - ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width - 11; } })(); Node276_9.setImage(GD.getTextJSON(Node276_9width, Node276_9height, true, false, false, ' '+ Node276_9fontSize + 'px "Arial"')) Node276_9.setPosition(568*ratio.ratioX, 554*ratio.ratioY); Node276_9.setWidth(Node276_9width); Node276_9.setHeight(Node276_9height); Node276_9._nodeType = 'text'; Node276_9._disallowEvert = true; Node276_9.setRotation(0*Math.PI/180); Node276_9.a('node.width', Node276_9width); Node276_9.a('node.height', Node276_9height); Node276_9.a('node.rect', [0, 0, Node276_9width, Node276_9height]); Node276_9.a('node.bordercolor','rgba(0,0,0,1)'); Node276_9.a('node.borderwidth', 0); Node276_9.a('node.background','' || 'rgba(0,0,0,0)'); Node276_9.a('node.gradient',''); Node276_9.a('node.gradientcolor',''); Node276_9.a('node.text','万kwh'); Node276_9.a('node.textalign','left'); Node276_9.a('node.textvAlign','middle'); Node276_9.a('node.textrect', [Node276_9textStart, 0, Node276_9textWidth, Node276_9height]); Node276_9.a('node.color','rgba(0,0,0,1)'); Node276_9.a('node.font',' '+ Node276_9fontSize + 'px "Arial"'); Node276_9.a('node.textvisible',true); Node276_9.a('node.linefeed',false); if (false) { Node276_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_9.a('node.text') || '万kwh'; var color=Node276_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_9width,Node276_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_9.a('node.underlinepoints',[Node276_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6, (Node276_9height - Node276_9fontSize) * 0.5*_ratio.ratioY + Node276_9fontSize + 2 ]); Node276_9.a('node.underlinevisible',false); Node276_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_9); zoomNodeList.push({ node: Node276_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_10 = new ht.Node(); var Node276_10textStart, Node276_10textWidth, Node276_10lineStart, Node276_10align = 'left', Node276_10fontSize = 10.66664*_ratio.ratioY,Node276_10width = 72*_ratio.ratioX, Node276_10height = 27*_ratio.ratioY; (function () { if (Node276_10align === 'left') { Node276_10textStart = Node276_10fontSize * 0.2 > 2 ? Node276_10fontSize * 0.2 - 4 : Node276_10fontSize * 0.2 - 9; Node276_10textWidth = Node276_10width; Node276_10lineStart = 1; } else if (Node276_10align === 'right') { Node276_10textStart = 0; Node276_10textWidth =Node276_10fontSize <= 8 ? Node276_10width + Node276_10fontSize * 0.2 + 6 : Node276_10width - Node276_10fontSize * 0.2; Node276_10lineStart = (Node276_10width - (ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_10align === 'center') { Node276_10textStart = -3; Node276_10textWidth = Node276_10width; Node276_10lineStart = Node276_10width - ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width - 11; } })(); Node276_10.setImage(GD.getTextJSON(Node276_10width, Node276_10height, true, false, false, ' '+ Node276_10fontSize + 'px "Arial"')) Node276_10.setPosition(483*ratio.ratioX, 580*ratio.ratioY); Node276_10.setWidth(Node276_10width); Node276_10.setHeight(Node276_10height); Node276_10._nodeType = 'text'; Node276_10._disallowEvert = true; Node276_10.setRotation(0*Math.PI/180); Node276_10.a('node.width', Node276_10width); Node276_10.a('node.height', Node276_10height); Node276_10.a('node.rect', [0, 0, Node276_10width, Node276_10height]); Node276_10.a('node.bordercolor','rgba(0,0,0,1)'); Node276_10.a('node.borderwidth', 0); Node276_10.a('node.background','' || 'rgba(0,0,0,0)'); Node276_10.a('node.gradient',''); Node276_10.a('node.gradientcolor',''); Node276_10.a('node.text','日发电量'); Node276_10.a('node.textalign','left'); Node276_10.a('node.textvAlign','middle'); Node276_10.a('node.textrect', [Node276_10textStart, 0, Node276_10textWidth, Node276_10height]); Node276_10.a('node.color','rgba(0,0,0,1)'); Node276_10.a('node.font',' '+ Node276_10fontSize + 'px "Arial"'); Node276_10.a('node.textvisible',true); Node276_10.a('node.linefeed',false); if (false) { Node276_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_10.a('node.text') || '日发电量'; var color=Node276_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_10width,Node276_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_10.a('node.underlinepoints',[Node276_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6, (Node276_10height - Node276_10fontSize) * 0.5*_ratio.ratioY + Node276_10fontSize + 2 ]); Node276_10.a('node.underlinevisible',false); Node276_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_10); zoomNodeList.push({ node: Node276_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_11 = new ht.Node(); var Node276_11textStart, Node276_11textWidth, Node276_11lineStart, Node276_11align = 'left', Node276_11fontSize = 10.66664*_ratio.ratioY,Node276_11width = 31*_ratio.ratioX, Node276_11height = 27*_ratio.ratioY; (function () { if (Node276_11align === 'left') { Node276_11textStart = Node276_11fontSize * 0.2 > 2 ? Node276_11fontSize * 0.2 - 4 : Node276_11fontSize * 0.2 - 9; Node276_11textWidth = Node276_11width; Node276_11lineStart = 1; } else if (Node276_11align === 'right') { Node276_11textStart = 0; Node276_11textWidth =Node276_11fontSize <= 8 ? Node276_11width + Node276_11fontSize * 0.2 + 6 : Node276_11width - Node276_11fontSize * 0.2; Node276_11lineStart = (Node276_11width - (ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_11align === 'center') { Node276_11textStart = -3; Node276_11textWidth = Node276_11width; Node276_11lineStart = Node276_11width - ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width - 11; } })(); Node276_11.setImage(GD.getTextJSON(Node276_11width, Node276_11height, true, false, false, ' '+ Node276_11fontSize + 'px "Arial"')) Node276_11.setPosition(526*ratio.ratioX, 580*ratio.ratioY); Node276_11.setWidth(Node276_11width); Node276_11.setHeight(Node276_11height); Node276_11._nodeType = 'text'; Node276_11._disallowEvert = true; Node276_11.setRotation(0*Math.PI/180); Node276_11.a('node.width', Node276_11width); Node276_11.a('node.height', Node276_11height); Node276_11.a('node.rect', [0, 0, Node276_11width, Node276_11height]); Node276_11.a('node.bordercolor','rgba(192,0,0,1)'); Node276_11.a('node.borderwidth', 0); Node276_11.a('node.background','' || 'rgba(0,0,0,0)'); Node276_11.a('node.gradient',''); Node276_11.a('node.gradientcolor',''); Node276_11.a('node.text','-'); Node276_11.a('node.textalign','left'); Node276_11.a('node.textvAlign','middle'); Node276_11.a('node.textrect', [Node276_11textStart, 0, Node276_11textWidth, Node276_11height]); Node276_11.a('node.color','rgba(192,0,0,1)'); Node276_11.a('node.font',' '+ Node276_11fontSize + 'px "Arial"'); Node276_11.a('node.textvisible',true); Node276_11.a('node.linefeed',false); if (false) { Node276_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_11.a('node.text') || '-'; var color=Node276_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_11width,Node276_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_11.a('node.underlinepoints',[Node276_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6, (Node276_11height - Node276_11fontSize) * 0.5*_ratio.ratioY + Node276_11fontSize + 2 ]); Node276_11.a('node.underlinevisible',false); Node276_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_11); zoomNodeList.push({ node: Node276_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_12 = new ht.Node(); var Node276_12textStart, Node276_12textWidth, Node276_12lineStart, Node276_12align = 'left', Node276_12fontSize = 10.66664*_ratio.ratioY,Node276_12width = 43*_ratio.ratioX, Node276_12height = 27*_ratio.ratioY; (function () { if (Node276_12align === 'left') { Node276_12textStart = Node276_12fontSize * 0.2 > 2 ? Node276_12fontSize * 0.2 - 4 : Node276_12fontSize * 0.2 - 9; Node276_12textWidth = Node276_12width; Node276_12lineStart = 1; } else if (Node276_12align === 'right') { Node276_12textStart = 0; Node276_12textWidth =Node276_12fontSize <= 8 ? Node276_12width + Node276_12fontSize * 0.2 + 6 : Node276_12width - Node276_12fontSize * 0.2; Node276_12lineStart = (Node276_12width - (ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_12align === 'center') { Node276_12textStart = -3; Node276_12textWidth = Node276_12width; Node276_12lineStart = Node276_12width - ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width - 11; } })(); Node276_12.setImage(GD.getTextJSON(Node276_12width, Node276_12height, true, false, false, ' '+ Node276_12fontSize + 'px "Arial"')) Node276_12.setPosition(568*ratio.ratioX, 580*ratio.ratioY); Node276_12.setWidth(Node276_12width); Node276_12.setHeight(Node276_12height); Node276_12._nodeType = 'text'; Node276_12._disallowEvert = true; Node276_12.setRotation(0*Math.PI/180); Node276_12.a('node.width', Node276_12width); Node276_12.a('node.height', Node276_12height); Node276_12.a('node.rect', [0, 0, Node276_12width, Node276_12height]); Node276_12.a('node.bordercolor','rgba(0,0,0,1)'); Node276_12.a('node.borderwidth', 0); Node276_12.a('node.background','' || 'rgba(0,0,0,0)'); Node276_12.a('node.gradient',''); Node276_12.a('node.gradientcolor',''); Node276_12.a('node.text','万kwh'); Node276_12.a('node.textalign','left'); Node276_12.a('node.textvAlign','middle'); Node276_12.a('node.textrect', [Node276_12textStart, 0, Node276_12textWidth, Node276_12height]); Node276_12.a('node.color','rgba(0,0,0,1)'); Node276_12.a('node.font',' '+ Node276_12fontSize + 'px "Arial"'); Node276_12.a('node.textvisible',true); Node276_12.a('node.linefeed',false); if (false) { Node276_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_12.a('node.text') || '万kwh'; var color=Node276_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_12width,Node276_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_12.a('node.underlinepoints',[Node276_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6, (Node276_12height - Node276_12fontSize) * 0.5*_ratio.ratioY + Node276_12fontSize + 2 ]); Node276_12.a('node.underlinevisible',false); Node276_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_12); zoomNodeList.push({ node: Node276_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_13 = new ht.Node(); var Node276_13textStart, Node276_13textWidth, Node276_13lineStart, Node276_13align = 'left', Node276_13fontSize = 10.66664*_ratio.ratioY,Node276_13width = 72*_ratio.ratioX, Node276_13height = 27*_ratio.ratioY; (function () { if (Node276_13align === 'left') { Node276_13textStart = Node276_13fontSize * 0.2 > 2 ? Node276_13fontSize * 0.2 - 4 : Node276_13fontSize * 0.2 - 9; Node276_13textWidth = Node276_13width; Node276_13lineStart = 1; } else if (Node276_13align === 'right') { Node276_13textStart = 0; Node276_13textWidth =Node276_13fontSize <= 8 ? Node276_13width + Node276_13fontSize * 0.2 + 6 : Node276_13width - Node276_13fontSize * 0.2; Node276_13lineStart = (Node276_13width - (ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_13align === 'center') { Node276_13textStart = -3; Node276_13textWidth = Node276_13width; Node276_13lineStart = Node276_13width - ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width - 11; } })(); Node276_13.setImage(GD.getTextJSON(Node276_13width, Node276_13height, true, false, false, ' '+ Node276_13fontSize + 'px "Arial"')) Node276_13.setPosition(483*ratio.ratioX, 607*ratio.ratioY); Node276_13.setWidth(Node276_13width); Node276_13.setHeight(Node276_13height); Node276_13._nodeType = 'text'; Node276_13._disallowEvert = true; Node276_13.setRotation(0*Math.PI/180); Node276_13.a('node.width', Node276_13width); Node276_13.a('node.height', Node276_13height); Node276_13.a('node.rect', [0, 0, Node276_13width, Node276_13height]); Node276_13.a('node.bordercolor','rgba(0,0,0,1)'); Node276_13.a('node.borderwidth', 0); Node276_13.a('node.background','' || 'rgba(0,0,0,0)'); Node276_13.a('node.gradient',''); Node276_13.a('node.gradientcolor',''); Node276_13.a('node.text','有功功率'); Node276_13.a('node.textalign','left'); Node276_13.a('node.textvAlign','middle'); Node276_13.a('node.textrect', [Node276_13textStart, 0, Node276_13textWidth, Node276_13height]); Node276_13.a('node.color','rgba(0,0,0,1)'); Node276_13.a('node.font',' '+ Node276_13fontSize + 'px "Arial"'); Node276_13.a('node.textvisible',true); Node276_13.a('node.linefeed',false); if (false) { Node276_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_13.a('node.text') || '有功功率'; var color=Node276_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_13width,Node276_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_13.a('node.underlinepoints',[Node276_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6, (Node276_13height - Node276_13fontSize) * 0.5*_ratio.ratioY + Node276_13fontSize + 2 ]); Node276_13.a('node.underlinevisible',false); Node276_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_13); zoomNodeList.push({ node: Node276_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_14 = new ht.Node(); var Node276_14textStart, Node276_14textWidth, Node276_14lineStart, Node276_14align = 'left', Node276_14fontSize = 10.66664*_ratio.ratioY,Node276_14width = 22*_ratio.ratioX, Node276_14height = 27*_ratio.ratioY; (function () { if (Node276_14align === 'left') { Node276_14textStart = Node276_14fontSize * 0.2 > 2 ? Node276_14fontSize * 0.2 - 4 : Node276_14fontSize * 0.2 - 9; Node276_14textWidth = Node276_14width; Node276_14lineStart = 1; } else if (Node276_14align === 'right') { Node276_14textStart = 0; Node276_14textWidth =Node276_14fontSize <= 8 ? Node276_14width + Node276_14fontSize * 0.2 + 6 : Node276_14width - Node276_14fontSize * 0.2; Node276_14lineStart = (Node276_14width - (ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_14align === 'center') { Node276_14textStart = -3; Node276_14textWidth = Node276_14width; Node276_14lineStart = Node276_14width - ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width - 11; } })(); Node276_14.setImage(GD.getTextJSON(Node276_14width, Node276_14height, true, false, false, ' '+ Node276_14fontSize + 'px "Arial"')) Node276_14.setPosition(521*ratio.ratioX, 607*ratio.ratioY); Node276_14.setWidth(Node276_14width); Node276_14.setHeight(Node276_14height); Node276_14._nodeType = 'text'; Node276_14._disallowEvert = true; Node276_14.setRotation(0*Math.PI/180); Node276_14.a('node.width', Node276_14width); Node276_14.a('node.height', Node276_14height); Node276_14.a('node.rect', [0, 0, Node276_14width, Node276_14height]); Node276_14.a('node.bordercolor','rgba(192,0,0,1)'); Node276_14.a('node.borderwidth', 0); Node276_14.a('node.background','' || 'rgba(0,0,0,0)'); Node276_14.a('node.gradient',''); Node276_14.a('node.gradientcolor',''); Node276_14.a('node.text','-'); Node276_14.a('node.textalign','left'); Node276_14.a('node.textvAlign','middle'); Node276_14.a('node.textrect', [Node276_14textStart, 0, Node276_14textWidth, Node276_14height]); Node276_14.a('node.color','rgba(192,0,0,1)'); Node276_14.a('node.font',' '+ Node276_14fontSize + 'px "Arial"'); Node276_14.a('node.textvisible',true); Node276_14.a('node.linefeed',false); if (false) { Node276_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_14.a('node.text') || '-'; var color=Node276_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_14width,Node276_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_14.a('node.underlinepoints',[Node276_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6, (Node276_14height - Node276_14fontSize) * 0.5*_ratio.ratioY + Node276_14fontSize + 2 ]); Node276_14.a('node.underlinevisible',false); Node276_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_14); zoomNodeList.push({ node: Node276_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276_15 = new ht.Node(); var Node276_15textStart, Node276_15textWidth, Node276_15lineStart, Node276_15align = 'left', Node276_15fontSize = 10.66664*_ratio.ratioY,Node276_15width = 43*_ratio.ratioX, Node276_15height = 27*_ratio.ratioY; (function () { if (Node276_15align === 'left') { Node276_15textStart = Node276_15fontSize * 0.2 > 2 ? Node276_15fontSize * 0.2 - 4 : Node276_15fontSize * 0.2 - 9; Node276_15textWidth = Node276_15width; Node276_15lineStart = 1; } else if (Node276_15align === 'right') { Node276_15textStart = 0; Node276_15textWidth =Node276_15fontSize <= 8 ? Node276_15width + Node276_15fontSize * 0.2 + 6 : Node276_15width - Node276_15fontSize * 0.2; Node276_15lineStart = (Node276_15width - (ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node276_15align === 'center') { Node276_15textStart = -3; Node276_15textWidth = Node276_15width; Node276_15lineStart = Node276_15width - ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width - 11; } })(); Node276_15.setImage(GD.getTextJSON(Node276_15width, Node276_15height, true, false, false, ' '+ Node276_15fontSize + 'px "Arial"')) Node276_15.setPosition(568*ratio.ratioX, 607*ratio.ratioY); Node276_15.setWidth(Node276_15width); Node276_15.setHeight(Node276_15height); Node276_15._nodeType = 'text'; Node276_15._disallowEvert = true; Node276_15.setRotation(0*Math.PI/180); Node276_15.a('node.width', Node276_15width); Node276_15.a('node.height', Node276_15height); Node276_15.a('node.rect', [0, 0, Node276_15width, Node276_15height]); Node276_15.a('node.bordercolor','rgba(0,0,0,1)'); Node276_15.a('node.borderwidth', 0); Node276_15.a('node.background','' || 'rgba(0,0,0,0)'); Node276_15.a('node.gradient',''); Node276_15.a('node.gradientcolor',''); Node276_15.a('node.text','万kwh'); Node276_15.a('node.textalign','left'); Node276_15.a('node.textvAlign','middle'); Node276_15.a('node.textrect', [Node276_15textStart, 0, Node276_15textWidth, Node276_15height]); Node276_15.a('node.color','rgba(0,0,0,1)'); Node276_15.a('node.font',' '+ Node276_15fontSize + 'px "Arial"'); Node276_15.a('node.textvisible',true); Node276_15.a('node.linefeed',false); if (false) { Node276_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node276_15.a('node.text') || '万kwh'; var color=Node276_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_15width,Node276_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node276_15.a('node.underlinepoints',[Node276_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6, (Node276_15height - Node276_15fontSize) * 0.5*_ratio.ratioY + Node276_15fontSize + 2 ]); Node276_15.a('node.underlinevisible',false); Node276_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node276_15); zoomNodeList.push({ node: Node276_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node277_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node277_0 = new ht.Node(); Node277_0.setPosition(363*ratio.ratioX, 480*ratio.ratioY); Node277_0.setSize(146*ratioX, 141*ratioY); Node277_0.setImage('imgimage//img//map_name_03.png'); Node277_0.setRotation(0*Math.PI/180); Node277_0._zoomBy = 'Default'; Node277_0._nodeType = 'image'; Node277_0._disallowEvert = true; dataModel.add(Node277_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_1 = new ht.Node(); var Node277_1textStart, Node277_1textWidth, Node277_1lineStart, Node277_1align = 'left', Node277_1fontSize = 10.66664*_ratio.ratioY,Node277_1width = 72*_ratio.ratioX, Node277_1height = 27*_ratio.ratioY; (function () { if (Node277_1align === 'left') { Node277_1textStart = Node277_1fontSize * 0.2 > 2 ? Node277_1fontSize * 0.2 - 4 : Node277_1fontSize * 0.2 - 9; Node277_1textWidth = Node277_1width; Node277_1lineStart = 1; } else if (Node277_1align === 'right') { Node277_1textStart = 0; Node277_1textWidth =Node277_1fontSize <= 8 ? Node277_1width + Node277_1fontSize * 0.2 + 6 : Node277_1width - Node277_1fontSize * 0.2; Node277_1lineStart = (Node277_1width - (ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_1align === 'center') { Node277_1textStart = -3; Node277_1textWidth = Node277_1width; Node277_1lineStart = Node277_1width - ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width - 11; } })(); Node277_1.setImage(GD.getTextJSON(Node277_1width, Node277_1height, true, false, false, ' '+ Node277_1fontSize + 'px "Arial"')) Node277_1.setPosition(333*ratio.ratioX, 433*ratio.ratioY); Node277_1.setWidth(Node277_1width); Node277_1.setHeight(Node277_1height); Node277_1._nodeType = 'text'; Node277_1._disallowEvert = true; Node277_1.setRotation(0*Math.PI/180); Node277_1.a('node.width', Node277_1width); Node277_1.a('node.height', Node277_1height); Node277_1.a('node.rect', [0, 0, Node277_1width, Node277_1height]); Node277_1.a('node.bordercolor','rgba(0,0,0,1)'); Node277_1.a('node.borderwidth', 0); Node277_1.a('node.background','' || 'rgba(0,0,0,0)'); Node277_1.a('node.gradient',''); Node277_1.a('node.gradientcolor',''); Node277_1.a('node.text','风机台数'); Node277_1.a('node.textalign','left'); Node277_1.a('node.textvAlign','middle'); Node277_1.a('node.textrect', [Node277_1textStart, 0, Node277_1textWidth, Node277_1height]); Node277_1.a('node.color','rgba(0,0,0,1)'); Node277_1.a('node.font',' '+ Node277_1fontSize + 'px "Arial"'); Node277_1.a('node.textvisible',true); Node277_1.a('node.linefeed',false); if (false) { Node277_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_1.a('node.text') || '风机台数'; var color=Node277_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_1width,Node277_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_1.a('node.underlinepoints',[Node277_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6, (Node277_1height - Node277_1fontSize) * 0.5*_ratio.ratioY + Node277_1fontSize + 2 ]); Node277_1.a('node.underlinevisible',false); Node277_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_1); zoomNodeList.push({ node: Node277_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_2 = new ht.Node(); var Node277_2textStart, Node277_2textWidth, Node277_2lineStart, Node277_2align = 'left', Node277_2fontSize = 10.66664*_ratio.ratioY,Node277_2width = 22*_ratio.ratioX, Node277_2height = 27*_ratio.ratioY; (function () { if (Node277_2align === 'left') { Node277_2textStart = Node277_2fontSize * 0.2 > 2 ? Node277_2fontSize * 0.2 - 4 : Node277_2fontSize * 0.2 - 9; Node277_2textWidth = Node277_2width; Node277_2lineStart = 1; } else if (Node277_2align === 'right') { Node277_2textStart = 0; Node277_2textWidth =Node277_2fontSize <= 8 ? Node277_2width + Node277_2fontSize * 0.2 + 6 : Node277_2width - Node277_2fontSize * 0.2; Node277_2lineStart = (Node277_2width - (ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_2align === 'center') { Node277_2textStart = -3; Node277_2textWidth = Node277_2width; Node277_2lineStart = Node277_2width - ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width - 11; } })(); Node277_2.setImage(GD.getTextJSON(Node277_2width, Node277_2height, true, false, false, ' '+ Node277_2fontSize + 'px "Arial"')) Node277_2.setPosition(371*ratio.ratioX, 433*ratio.ratioY); Node277_2.setWidth(Node277_2width); Node277_2.setHeight(Node277_2height); Node277_2._nodeType = 'text'; Node277_2._disallowEvert = true; Node277_2.setRotation(0*Math.PI/180); Node277_2.a('node.width', Node277_2width); Node277_2.a('node.height', Node277_2height); Node277_2.a('node.rect', [0, 0, Node277_2width, Node277_2height]); Node277_2.a('node.bordercolor','rgba(192,0,0,1)'); Node277_2.a('node.borderwidth', 0); Node277_2.a('node.background','' || 'rgba(0,0,0,0)'); Node277_2.a('node.gradient',''); Node277_2.a('node.gradientcolor',''); Node277_2.a('node.text','99'); Node277_2.a('node.textalign','left'); Node277_2.a('node.textvAlign','middle'); Node277_2.a('node.textrect', [Node277_2textStart, 0, Node277_2textWidth, Node277_2height]); Node277_2.a('node.color','rgba(192,0,0,1)'); Node277_2.a('node.font',' '+ Node277_2fontSize + 'px "Arial"'); Node277_2.a('node.textvisible',true); Node277_2.a('node.linefeed',false); if (false) { Node277_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_2.a('node.text') || '99'; var color=Node277_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_2width,Node277_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_2.a('node.underlinepoints',[Node277_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6, (Node277_2height - Node277_2fontSize) * 0.5*_ratio.ratioY + Node277_2fontSize + 2 ]); Node277_2.a('node.underlinevisible',false); Node277_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_2); zoomNodeList.push({ node: Node277_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_3 = new ht.Node(); var Node277_3textStart, Node277_3textWidth, Node277_3lineStart, Node277_3align = 'left', Node277_3fontSize = 10.66664*_ratio.ratioY,Node277_3width = 43*_ratio.ratioX, Node277_3height = 27*_ratio.ratioY; (function () { if (Node277_3align === 'left') { Node277_3textStart = Node277_3fontSize * 0.2 > 2 ? Node277_3fontSize * 0.2 - 4 : Node277_3fontSize * 0.2 - 9; Node277_3textWidth = Node277_3width; Node277_3lineStart = 1; } else if (Node277_3align === 'right') { Node277_3textStart = 0; Node277_3textWidth =Node277_3fontSize <= 8 ? Node277_3width + Node277_3fontSize * 0.2 + 6 : Node277_3width - Node277_3fontSize * 0.2; Node277_3lineStart = (Node277_3width - (ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_3align === 'center') { Node277_3textStart = -3; Node277_3textWidth = Node277_3width; Node277_3lineStart = Node277_3width - ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width - 11; } })(); Node277_3.setImage(GD.getTextJSON(Node277_3width, Node277_3height, true, false, false, ' '+ Node277_3fontSize + 'px "Arial"')) Node277_3.setPosition(418*ratio.ratioX, 433*ratio.ratioY); Node277_3.setWidth(Node277_3width); Node277_3.setHeight(Node277_3height); Node277_3._nodeType = 'text'; Node277_3._disallowEvert = true; Node277_3.setRotation(0*Math.PI/180); Node277_3.a('node.width', Node277_3width); Node277_3.a('node.height', Node277_3height); Node277_3.a('node.rect', [0, 0, Node277_3width, Node277_3height]); Node277_3.a('node.bordercolor','rgba(0,0,0,1)'); Node277_3.a('node.borderwidth', 0); Node277_3.a('node.background','' || 'rgba(0,0,0,0)'); Node277_3.a('node.gradient',''); Node277_3.a('node.gradientcolor',''); Node277_3.a('node.text','万kwh'); Node277_3.a('node.textalign','left'); Node277_3.a('node.textvAlign','middle'); Node277_3.a('node.textrect', [Node277_3textStart, 0, Node277_3textWidth, Node277_3height]); Node277_3.a('node.color','rgba(0,0,0,1)'); Node277_3.a('node.font',' '+ Node277_3fontSize + 'px "Arial"'); Node277_3.a('node.textvisible',true); Node277_3.a('node.linefeed',false); if (false) { Node277_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_3.a('node.text') || '万kwh'; var color=Node277_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_3width,Node277_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_3.a('node.underlinepoints',[Node277_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6, (Node277_3height - Node277_3fontSize) * 0.5*_ratio.ratioY + Node277_3fontSize + 2 ]); Node277_3.a('node.underlinevisible',false); Node277_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_3); zoomNodeList.push({ node: Node277_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_4 = new ht.Node(); var Node277_4textStart, Node277_4textWidth, Node277_4lineStart, Node277_4align = 'left', Node277_4fontSize = 10.66664*_ratio.ratioY,Node277_4width = 72*_ratio.ratioX, Node277_4height = 27*_ratio.ratioY; (function () { if (Node277_4align === 'left') { Node277_4textStart = Node277_4fontSize * 0.2 > 2 ? Node277_4fontSize * 0.2 - 4 : Node277_4fontSize * 0.2 - 9; Node277_4textWidth = Node277_4width; Node277_4lineStart = 1; } else if (Node277_4align === 'right') { Node277_4textStart = 0; Node277_4textWidth =Node277_4fontSize <= 8 ? Node277_4width + Node277_4fontSize * 0.2 + 6 : Node277_4width - Node277_4fontSize * 0.2; Node277_4lineStart = (Node277_4width - (ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_4align === 'center') { Node277_4textStart = -3; Node277_4textWidth = Node277_4width; Node277_4lineStart = Node277_4width - ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width - 11; } })(); Node277_4.setImage(GD.getTextJSON(Node277_4width, Node277_4height, true, false, false, ' '+ Node277_4fontSize + 'px "Arial"')) Node277_4.setPosition(333*ratio.ratioX, 459*ratio.ratioY); Node277_4.setWidth(Node277_4width); Node277_4.setHeight(Node277_4height); Node277_4._nodeType = 'text'; Node277_4._disallowEvert = true; Node277_4.setRotation(0*Math.PI/180); Node277_4.a('node.width', Node277_4width); Node277_4.a('node.height', Node277_4height); Node277_4.a('node.rect', [0, 0, Node277_4width, Node277_4height]); Node277_4.a('node.bordercolor','rgba(0,0,0,1)'); Node277_4.a('node.borderwidth', 0); Node277_4.a('node.background','' || 'rgba(0,0,0,0)'); Node277_4.a('node.gradient',''); Node277_4.a('node.gradientcolor',''); Node277_4.a('node.text','装机容量'); Node277_4.a('node.textalign','left'); Node277_4.a('node.textvAlign','middle'); Node277_4.a('node.textrect', [Node277_4textStart, 0, Node277_4textWidth, Node277_4height]); Node277_4.a('node.color','rgba(0,0,0,1)'); Node277_4.a('node.font',' '+ Node277_4fontSize + 'px "Arial"'); Node277_4.a('node.textvisible',true); Node277_4.a('node.linefeed',false); if (false) { Node277_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_4.a('node.text') || '装机容量'; var color=Node277_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_4width,Node277_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_4.a('node.underlinepoints',[Node277_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6, (Node277_4height - Node277_4fontSize) * 0.5*_ratio.ratioY + Node277_4fontSize + 2 ]); Node277_4.a('node.underlinevisible',false); Node277_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_4); zoomNodeList.push({ node: Node277_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_5 = new ht.Node(); var Node277_5textStart, Node277_5textWidth, Node277_5lineStart, Node277_5align = 'left', Node277_5fontSize = 10.66664*_ratio.ratioY,Node277_5width = 31*_ratio.ratioX, Node277_5height = 27*_ratio.ratioY; (function () { if (Node277_5align === 'left') { Node277_5textStart = Node277_5fontSize * 0.2 > 2 ? Node277_5fontSize * 0.2 - 4 : Node277_5fontSize * 0.2 - 9; Node277_5textWidth = Node277_5width; Node277_5lineStart = 1; } else if (Node277_5align === 'right') { Node277_5textStart = 0; Node277_5textWidth =Node277_5fontSize <= 8 ? Node277_5width + Node277_5fontSize * 0.2 + 6 : Node277_5width - Node277_5fontSize * 0.2; Node277_5lineStart = (Node277_5width - (ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_5align === 'center') { Node277_5textStart = -3; Node277_5textWidth = Node277_5width; Node277_5lineStart = Node277_5width - ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width - 11; } })(); Node277_5.setImage(GD.getTextJSON(Node277_5width, Node277_5height, true, false, false, ' '+ Node277_5fontSize + 'px "Arial"')) Node277_5.setPosition(376*ratio.ratioX, 459*ratio.ratioY); Node277_5.setWidth(Node277_5width); Node277_5.setHeight(Node277_5height); Node277_5._nodeType = 'text'; Node277_5._disallowEvert = true; Node277_5.setRotation(0*Math.PI/180); Node277_5.a('node.width', Node277_5width); Node277_5.a('node.height', Node277_5height); Node277_5.a('node.rect', [0, 0, Node277_5width, Node277_5height]); Node277_5.a('node.bordercolor','rgba(192,0,0,1)'); Node277_5.a('node.borderwidth', 0); Node277_5.a('node.background','' || 'rgba(0,0,0,0)'); Node277_5.a('node.gradient',''); Node277_5.a('node.gradientcolor',''); Node277_5.a('node.text','14.85'); Node277_5.a('node.textalign','left'); Node277_5.a('node.textvAlign','middle'); Node277_5.a('node.textrect', [Node277_5textStart, 0, Node277_5textWidth, Node277_5height]); Node277_5.a('node.color','rgba(192,0,0,1)'); Node277_5.a('node.font',' '+ Node277_5fontSize + 'px "Arial"'); Node277_5.a('node.textvisible',true); Node277_5.a('node.linefeed',false); if (false) { Node277_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_5.a('node.text') || '14.85'; var color=Node277_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_5width,Node277_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_5.a('node.underlinepoints',[Node277_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6, (Node277_5height - Node277_5fontSize) * 0.5*_ratio.ratioY + Node277_5fontSize + 2 ]); Node277_5.a('node.underlinevisible',false); Node277_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_5); zoomNodeList.push({ node: Node277_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_6 = new ht.Node(); var Node277_6textStart, Node277_6textWidth, Node277_6lineStart, Node277_6align = 'left', Node277_6fontSize = 10.66664*_ratio.ratioY,Node277_6width = 43*_ratio.ratioX, Node277_6height = 27*_ratio.ratioY; (function () { if (Node277_6align === 'left') { Node277_6textStart = Node277_6fontSize * 0.2 > 2 ? Node277_6fontSize * 0.2 - 4 : Node277_6fontSize * 0.2 - 9; Node277_6textWidth = Node277_6width; Node277_6lineStart = 1; } else if (Node277_6align === 'right') { Node277_6textStart = 0; Node277_6textWidth =Node277_6fontSize <= 8 ? Node277_6width + Node277_6fontSize * 0.2 + 6 : Node277_6width - Node277_6fontSize * 0.2; Node277_6lineStart = (Node277_6width - (ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_6align === 'center') { Node277_6textStart = -3; Node277_6textWidth = Node277_6width; Node277_6lineStart = Node277_6width - ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width - 11; } })(); Node277_6.setImage(GD.getTextJSON(Node277_6width, Node277_6height, true, false, false, ' '+ Node277_6fontSize + 'px "Arial"')) Node277_6.setPosition(418*ratio.ratioX, 459*ratio.ratioY); Node277_6.setWidth(Node277_6width); Node277_6.setHeight(Node277_6height); Node277_6._nodeType = 'text'; Node277_6._disallowEvert = true; Node277_6.setRotation(0*Math.PI/180); Node277_6.a('node.width', Node277_6width); Node277_6.a('node.height', Node277_6height); Node277_6.a('node.rect', [0, 0, Node277_6width, Node277_6height]); Node277_6.a('node.bordercolor','rgba(0,0,0,1)'); Node277_6.a('node.borderwidth', 0); Node277_6.a('node.background','' || 'rgba(0,0,0,0)'); Node277_6.a('node.gradient',''); Node277_6.a('node.gradientcolor',''); Node277_6.a('node.text','万kwh'); Node277_6.a('node.textalign','left'); Node277_6.a('node.textvAlign','middle'); Node277_6.a('node.textrect', [Node277_6textStart, 0, Node277_6textWidth, Node277_6height]); Node277_6.a('node.color','rgba(0,0,0,1)'); Node277_6.a('node.font',' '+ Node277_6fontSize + 'px "Arial"'); Node277_6.a('node.textvisible',true); Node277_6.a('node.linefeed',false); if (false) { Node277_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_6.a('node.text') || '万kwh'; var color=Node277_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_6width,Node277_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_6.a('node.underlinepoints',[Node277_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6, (Node277_6height - Node277_6fontSize) * 0.5*_ratio.ratioY + Node277_6fontSize + 2 ]); Node277_6.a('node.underlinevisible',false); Node277_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_6); zoomNodeList.push({ node: Node277_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_7 = new ht.Node(); var Node277_7textStart, Node277_7textWidth, Node277_7lineStart, Node277_7align = 'left', Node277_7fontSize = 10.66664*_ratio.ratioY,Node277_7width = 72*_ratio.ratioX, Node277_7height = 27*_ratio.ratioY; (function () { if (Node277_7align === 'left') { Node277_7textStart = Node277_7fontSize * 0.2 > 2 ? Node277_7fontSize * 0.2 - 4 : Node277_7fontSize * 0.2 - 9; Node277_7textWidth = Node277_7width; Node277_7lineStart = 1; } else if (Node277_7align === 'right') { Node277_7textStart = 0; Node277_7textWidth =Node277_7fontSize <= 8 ? Node277_7width + Node277_7fontSize * 0.2 + 6 : Node277_7width - Node277_7fontSize * 0.2; Node277_7lineStart = (Node277_7width - (ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_7align === 'center') { Node277_7textStart = -3; Node277_7textWidth = Node277_7width; Node277_7lineStart = Node277_7width - ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width - 11; } })(); Node277_7.setImage(GD.getTextJSON(Node277_7width, Node277_7height, true, false, false, ' '+ Node277_7fontSize + 'px "Arial"')) Node277_7.setPosition(333*ratio.ratioX, 484*ratio.ratioY); Node277_7.setWidth(Node277_7width); Node277_7.setHeight(Node277_7height); Node277_7._nodeType = 'text'; Node277_7._disallowEvert = true; Node277_7.setRotation(0*Math.PI/180); Node277_7.a('node.width', Node277_7width); Node277_7.a('node.height', Node277_7height); Node277_7.a('node.rect', [0, 0, Node277_7width, Node277_7height]); Node277_7.a('node.bordercolor','rgba(0,0,0,1)'); Node277_7.a('node.borderwidth', 0); Node277_7.a('node.background','' || 'rgba(0,0,0,0)'); Node277_7.a('node.gradient',''); Node277_7.a('node.gradientcolor',''); Node277_7.a('node.text','平均风速'); Node277_7.a('node.textalign','left'); Node277_7.a('node.textvAlign','middle'); Node277_7.a('node.textrect', [Node277_7textStart, 0, Node277_7textWidth, Node277_7height]); Node277_7.a('node.color','rgba(0,0,0,1)'); Node277_7.a('node.font',' '+ Node277_7fontSize + 'px "Arial"'); Node277_7.a('node.textvisible',true); Node277_7.a('node.linefeed',false); if (false) { Node277_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_7.a('node.text') || '平均风速'; var color=Node277_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_7width,Node277_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_7.a('node.underlinepoints',[Node277_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6, (Node277_7height - Node277_7fontSize) * 0.5*_ratio.ratioY + Node277_7fontSize + 2 ]); Node277_7.a('node.underlinevisible',false); Node277_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_7); zoomNodeList.push({ node: Node277_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_8 = new ht.Node(); var Node277_8textStart, Node277_8textWidth, Node277_8lineStart, Node277_8align = 'left', Node277_8fontSize = 10.66664*_ratio.ratioY,Node277_8width = 22*_ratio.ratioX, Node277_8height = 27*_ratio.ratioY; (function () { if (Node277_8align === 'left') { Node277_8textStart = Node277_8fontSize * 0.2 > 2 ? Node277_8fontSize * 0.2 - 4 : Node277_8fontSize * 0.2 - 9; Node277_8textWidth = Node277_8width; Node277_8lineStart = 1; } else if (Node277_8align === 'right') { Node277_8textStart = 0; Node277_8textWidth =Node277_8fontSize <= 8 ? Node277_8width + Node277_8fontSize * 0.2 + 6 : Node277_8width - Node277_8fontSize * 0.2; Node277_8lineStart = (Node277_8width - (ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_8align === 'center') { Node277_8textStart = -3; Node277_8textWidth = Node277_8width; Node277_8lineStart = Node277_8width - ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width - 11; } })(); Node277_8.setImage(GD.getTextJSON(Node277_8width, Node277_8height, true, false, false, ' '+ Node277_8fontSize + 'px "Arial"')) Node277_8.setPosition(371*ratio.ratioX, 484*ratio.ratioY); Node277_8.setWidth(Node277_8width); Node277_8.setHeight(Node277_8height); Node277_8._nodeType = 'text'; Node277_8._disallowEvert = true; Node277_8.setRotation(0*Math.PI/180); Node277_8.a('node.width', Node277_8width); Node277_8.a('node.height', Node277_8height); Node277_8.a('node.rect', [0, 0, Node277_8width, Node277_8height]); Node277_8.a('node.bordercolor','rgba(192,0,0,1)'); Node277_8.a('node.borderwidth', 0); Node277_8.a('node.background','' || 'rgba(0,0,0,0)'); Node277_8.a('node.gradient',''); Node277_8.a('node.gradientcolor',''); Node277_8.a('node.text','-'); Node277_8.a('node.textalign','left'); Node277_8.a('node.textvAlign','middle'); Node277_8.a('node.textrect', [Node277_8textStart, 0, Node277_8textWidth, Node277_8height]); Node277_8.a('node.color','rgba(192,0,0,1)'); Node277_8.a('node.font',' '+ Node277_8fontSize + 'px "Arial"'); Node277_8.a('node.textvisible',true); Node277_8.a('node.linefeed',false); if (false) { Node277_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_8.a('node.text') || '-'; var color=Node277_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_8width,Node277_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_8.a('node.underlinepoints',[Node277_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6, (Node277_8height - Node277_8fontSize) * 0.5*_ratio.ratioY + Node277_8fontSize + 2 ]); Node277_8.a('node.underlinevisible',false); Node277_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_8); zoomNodeList.push({ node: Node277_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_9 = new ht.Node(); var Node277_9textStart, Node277_9textWidth, Node277_9lineStart, Node277_9align = 'left', Node277_9fontSize = 10.66664*_ratio.ratioY,Node277_9width = 43*_ratio.ratioX, Node277_9height = 27*_ratio.ratioY; (function () { if (Node277_9align === 'left') { Node277_9textStart = Node277_9fontSize * 0.2 > 2 ? Node277_9fontSize * 0.2 - 4 : Node277_9fontSize * 0.2 - 9; Node277_9textWidth = Node277_9width; Node277_9lineStart = 1; } else if (Node277_9align === 'right') { Node277_9textStart = 0; Node277_9textWidth =Node277_9fontSize <= 8 ? Node277_9width + Node277_9fontSize * 0.2 + 6 : Node277_9width - Node277_9fontSize * 0.2; Node277_9lineStart = (Node277_9width - (ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_9align === 'center') { Node277_9textStart = -3; Node277_9textWidth = Node277_9width; Node277_9lineStart = Node277_9width - ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width - 11; } })(); Node277_9.setImage(GD.getTextJSON(Node277_9width, Node277_9height, true, false, false, ' '+ Node277_9fontSize + 'px "Arial"')) Node277_9.setPosition(418*ratio.ratioX, 484*ratio.ratioY); Node277_9.setWidth(Node277_9width); Node277_9.setHeight(Node277_9height); Node277_9._nodeType = 'text'; Node277_9._disallowEvert = true; Node277_9.setRotation(0*Math.PI/180); Node277_9.a('node.width', Node277_9width); Node277_9.a('node.height', Node277_9height); Node277_9.a('node.rect', [0, 0, Node277_9width, Node277_9height]); Node277_9.a('node.bordercolor','rgba(0,0,0,1)'); Node277_9.a('node.borderwidth', 0); Node277_9.a('node.background','' || 'rgba(0,0,0,0)'); Node277_9.a('node.gradient',''); Node277_9.a('node.gradientcolor',''); Node277_9.a('node.text','万kwh'); Node277_9.a('node.textalign','left'); Node277_9.a('node.textvAlign','middle'); Node277_9.a('node.textrect', [Node277_9textStart, 0, Node277_9textWidth, Node277_9height]); Node277_9.a('node.color','rgba(0,0,0,1)'); Node277_9.a('node.font',' '+ Node277_9fontSize + 'px "Arial"'); Node277_9.a('node.textvisible',true); Node277_9.a('node.linefeed',false); if (false) { Node277_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_9.a('node.text') || '万kwh'; var color=Node277_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_9width,Node277_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_9.a('node.underlinepoints',[Node277_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6, (Node277_9height - Node277_9fontSize) * 0.5*_ratio.ratioY + Node277_9fontSize + 2 ]); Node277_9.a('node.underlinevisible',false); Node277_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_9); zoomNodeList.push({ node: Node277_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_10 = new ht.Node(); var Node277_10textStart, Node277_10textWidth, Node277_10lineStart, Node277_10align = 'left', Node277_10fontSize = 10.66664*_ratio.ratioY,Node277_10width = 72*_ratio.ratioX, Node277_10height = 27*_ratio.ratioY; (function () { if (Node277_10align === 'left') { Node277_10textStart = Node277_10fontSize * 0.2 > 2 ? Node277_10fontSize * 0.2 - 4 : Node277_10fontSize * 0.2 - 9; Node277_10textWidth = Node277_10width; Node277_10lineStart = 1; } else if (Node277_10align === 'right') { Node277_10textStart = 0; Node277_10textWidth =Node277_10fontSize <= 8 ? Node277_10width + Node277_10fontSize * 0.2 + 6 : Node277_10width - Node277_10fontSize * 0.2; Node277_10lineStart = (Node277_10width - (ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_10align === 'center') { Node277_10textStart = -3; Node277_10textWidth = Node277_10width; Node277_10lineStart = Node277_10width - ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width - 11; } })(); Node277_10.setImage(GD.getTextJSON(Node277_10width, Node277_10height, true, false, false, ' '+ Node277_10fontSize + 'px "Arial"')) Node277_10.setPosition(333*ratio.ratioX, 510*ratio.ratioY); Node277_10.setWidth(Node277_10width); Node277_10.setHeight(Node277_10height); Node277_10._nodeType = 'text'; Node277_10._disallowEvert = true; Node277_10.setRotation(0*Math.PI/180); Node277_10.a('node.width', Node277_10width); Node277_10.a('node.height', Node277_10height); Node277_10.a('node.rect', [0, 0, Node277_10width, Node277_10height]); Node277_10.a('node.bordercolor','rgba(0,0,0,1)'); Node277_10.a('node.borderwidth', 0); Node277_10.a('node.background','' || 'rgba(0,0,0,0)'); Node277_10.a('node.gradient',''); Node277_10.a('node.gradientcolor',''); Node277_10.a('node.text','日发电量'); Node277_10.a('node.textalign','left'); Node277_10.a('node.textvAlign','middle'); Node277_10.a('node.textrect', [Node277_10textStart, 0, Node277_10textWidth, Node277_10height]); Node277_10.a('node.color','rgba(0,0,0,1)'); Node277_10.a('node.font',' '+ Node277_10fontSize + 'px "Arial"'); Node277_10.a('node.textvisible',true); Node277_10.a('node.linefeed',false); if (false) { Node277_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_10.a('node.text') || '日发电量'; var color=Node277_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_10width,Node277_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_10.a('node.underlinepoints',[Node277_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6, (Node277_10height - Node277_10fontSize) * 0.5*_ratio.ratioY + Node277_10fontSize + 2 ]); Node277_10.a('node.underlinevisible',false); Node277_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_10); zoomNodeList.push({ node: Node277_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_11 = new ht.Node(); var Node277_11textStart, Node277_11textWidth, Node277_11lineStart, Node277_11align = 'left', Node277_11fontSize = 10.66664*_ratio.ratioY,Node277_11width = 31*_ratio.ratioX, Node277_11height = 27*_ratio.ratioY; (function () { if (Node277_11align === 'left') { Node277_11textStart = Node277_11fontSize * 0.2 > 2 ? Node277_11fontSize * 0.2 - 4 : Node277_11fontSize * 0.2 - 9; Node277_11textWidth = Node277_11width; Node277_11lineStart = 1; } else if (Node277_11align === 'right') { Node277_11textStart = 0; Node277_11textWidth =Node277_11fontSize <= 8 ? Node277_11width + Node277_11fontSize * 0.2 + 6 : Node277_11width - Node277_11fontSize * 0.2; Node277_11lineStart = (Node277_11width - (ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_11align === 'center') { Node277_11textStart = -3; Node277_11textWidth = Node277_11width; Node277_11lineStart = Node277_11width - ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width - 11; } })(); Node277_11.setImage(GD.getTextJSON(Node277_11width, Node277_11height, true, false, false, ' '+ Node277_11fontSize + 'px "Arial"')) Node277_11.setPosition(376*ratio.ratioX, 510*ratio.ratioY); Node277_11.setWidth(Node277_11width); Node277_11.setHeight(Node277_11height); Node277_11._nodeType = 'text'; Node277_11._disallowEvert = true; Node277_11.setRotation(0*Math.PI/180); Node277_11.a('node.width', Node277_11width); Node277_11.a('node.height', Node277_11height); Node277_11.a('node.rect', [0, 0, Node277_11width, Node277_11height]); Node277_11.a('node.bordercolor','rgba(192,0,0,1)'); Node277_11.a('node.borderwidth', 0); Node277_11.a('node.background','' || 'rgba(0,0,0,0)'); Node277_11.a('node.gradient',''); Node277_11.a('node.gradientcolor',''); Node277_11.a('node.text','-'); Node277_11.a('node.textalign','left'); Node277_11.a('node.textvAlign','middle'); Node277_11.a('node.textrect', [Node277_11textStart, 0, Node277_11textWidth, Node277_11height]); Node277_11.a('node.color','rgba(192,0,0,1)'); Node277_11.a('node.font',' '+ Node277_11fontSize + 'px "Arial"'); Node277_11.a('node.textvisible',true); Node277_11.a('node.linefeed',false); if (false) { Node277_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_11.a('node.text') || '-'; var color=Node277_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_11width,Node277_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_11.a('node.underlinepoints',[Node277_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6, (Node277_11height - Node277_11fontSize) * 0.5*_ratio.ratioY + Node277_11fontSize + 2 ]); Node277_11.a('node.underlinevisible',false); Node277_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_11); zoomNodeList.push({ node: Node277_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_12 = new ht.Node(); var Node277_12textStart, Node277_12textWidth, Node277_12lineStart, Node277_12align = 'left', Node277_12fontSize = 10.66664*_ratio.ratioY,Node277_12width = 43*_ratio.ratioX, Node277_12height = 27*_ratio.ratioY; (function () { if (Node277_12align === 'left') { Node277_12textStart = Node277_12fontSize * 0.2 > 2 ? Node277_12fontSize * 0.2 - 4 : Node277_12fontSize * 0.2 - 9; Node277_12textWidth = Node277_12width; Node277_12lineStart = 1; } else if (Node277_12align === 'right') { Node277_12textStart = 0; Node277_12textWidth =Node277_12fontSize <= 8 ? Node277_12width + Node277_12fontSize * 0.2 + 6 : Node277_12width - Node277_12fontSize * 0.2; Node277_12lineStart = (Node277_12width - (ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_12align === 'center') { Node277_12textStart = -3; Node277_12textWidth = Node277_12width; Node277_12lineStart = Node277_12width - ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width - 11; } })(); Node277_12.setImage(GD.getTextJSON(Node277_12width, Node277_12height, true, false, false, ' '+ Node277_12fontSize + 'px "Arial"')) Node277_12.setPosition(418*ratio.ratioX, 510*ratio.ratioY); Node277_12.setWidth(Node277_12width); Node277_12.setHeight(Node277_12height); Node277_12._nodeType = 'text'; Node277_12._disallowEvert = true; Node277_12.setRotation(0*Math.PI/180); Node277_12.a('node.width', Node277_12width); Node277_12.a('node.height', Node277_12height); Node277_12.a('node.rect', [0, 0, Node277_12width, Node277_12height]); Node277_12.a('node.bordercolor','rgba(0,0,0,1)'); Node277_12.a('node.borderwidth', 0); Node277_12.a('node.background','' || 'rgba(0,0,0,0)'); Node277_12.a('node.gradient',''); Node277_12.a('node.gradientcolor',''); Node277_12.a('node.text','万kwh'); Node277_12.a('node.textalign','left'); Node277_12.a('node.textvAlign','middle'); Node277_12.a('node.textrect', [Node277_12textStart, 0, Node277_12textWidth, Node277_12height]); Node277_12.a('node.color','rgba(0,0,0,1)'); Node277_12.a('node.font',' '+ Node277_12fontSize + 'px "Arial"'); Node277_12.a('node.textvisible',true); Node277_12.a('node.linefeed',false); if (false) { Node277_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_12.a('node.text') || '万kwh'; var color=Node277_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_12width,Node277_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_12.a('node.underlinepoints',[Node277_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6, (Node277_12height - Node277_12fontSize) * 0.5*_ratio.ratioY + Node277_12fontSize + 2 ]); Node277_12.a('node.underlinevisible',false); Node277_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_12); zoomNodeList.push({ node: Node277_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_13 = new ht.Node(); var Node277_13textStart, Node277_13textWidth, Node277_13lineStart, Node277_13align = 'left', Node277_13fontSize = 10.66664*_ratio.ratioY,Node277_13width = 72*_ratio.ratioX, Node277_13height = 27*_ratio.ratioY; (function () { if (Node277_13align === 'left') { Node277_13textStart = Node277_13fontSize * 0.2 > 2 ? Node277_13fontSize * 0.2 - 4 : Node277_13fontSize * 0.2 - 9; Node277_13textWidth = Node277_13width; Node277_13lineStart = 1; } else if (Node277_13align === 'right') { Node277_13textStart = 0; Node277_13textWidth =Node277_13fontSize <= 8 ? Node277_13width + Node277_13fontSize * 0.2 + 6 : Node277_13width - Node277_13fontSize * 0.2; Node277_13lineStart = (Node277_13width - (ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_13align === 'center') { Node277_13textStart = -3; Node277_13textWidth = Node277_13width; Node277_13lineStart = Node277_13width - ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width - 11; } })(); Node277_13.setImage(GD.getTextJSON(Node277_13width, Node277_13height, true, false, false, ' '+ Node277_13fontSize + 'px "Arial"')) Node277_13.setPosition(333*ratio.ratioX, 537*ratio.ratioY); Node277_13.setWidth(Node277_13width); Node277_13.setHeight(Node277_13height); Node277_13._nodeType = 'text'; Node277_13._disallowEvert = true; Node277_13.setRotation(0*Math.PI/180); Node277_13.a('node.width', Node277_13width); Node277_13.a('node.height', Node277_13height); Node277_13.a('node.rect', [0, 0, Node277_13width, Node277_13height]); Node277_13.a('node.bordercolor','rgba(0,0,0,1)'); Node277_13.a('node.borderwidth', 0); Node277_13.a('node.background','' || 'rgba(0,0,0,0)'); Node277_13.a('node.gradient',''); Node277_13.a('node.gradientcolor',''); Node277_13.a('node.text','有功功率'); Node277_13.a('node.textalign','left'); Node277_13.a('node.textvAlign','middle'); Node277_13.a('node.textrect', [Node277_13textStart, 0, Node277_13textWidth, Node277_13height]); Node277_13.a('node.color','rgba(0,0,0,1)'); Node277_13.a('node.font',' '+ Node277_13fontSize + 'px "Arial"'); Node277_13.a('node.textvisible',true); Node277_13.a('node.linefeed',false); if (false) { Node277_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_13.a('node.text') || '有功功率'; var color=Node277_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_13width,Node277_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_13.a('node.underlinepoints',[Node277_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6, (Node277_13height - Node277_13fontSize) * 0.5*_ratio.ratioY + Node277_13fontSize + 2 ]); Node277_13.a('node.underlinevisible',false); Node277_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_13); zoomNodeList.push({ node: Node277_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_14 = new ht.Node(); var Node277_14textStart, Node277_14textWidth, Node277_14lineStart, Node277_14align = 'left', Node277_14fontSize = 10.66664*_ratio.ratioY,Node277_14width = 22*_ratio.ratioX, Node277_14height = 27*_ratio.ratioY; (function () { if (Node277_14align === 'left') { Node277_14textStart = Node277_14fontSize * 0.2 > 2 ? Node277_14fontSize * 0.2 - 4 : Node277_14fontSize * 0.2 - 9; Node277_14textWidth = Node277_14width; Node277_14lineStart = 1; } else if (Node277_14align === 'right') { Node277_14textStart = 0; Node277_14textWidth =Node277_14fontSize <= 8 ? Node277_14width + Node277_14fontSize * 0.2 + 6 : Node277_14width - Node277_14fontSize * 0.2; Node277_14lineStart = (Node277_14width - (ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_14align === 'center') { Node277_14textStart = -3; Node277_14textWidth = Node277_14width; Node277_14lineStart = Node277_14width - ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width - 11; } })(); Node277_14.setImage(GD.getTextJSON(Node277_14width, Node277_14height, true, false, false, ' '+ Node277_14fontSize + 'px "Arial"')) Node277_14.setPosition(371*ratio.ratioX, 537*ratio.ratioY); Node277_14.setWidth(Node277_14width); Node277_14.setHeight(Node277_14height); Node277_14._nodeType = 'text'; Node277_14._disallowEvert = true; Node277_14.setRotation(0*Math.PI/180); Node277_14.a('node.width', Node277_14width); Node277_14.a('node.height', Node277_14height); Node277_14.a('node.rect', [0, 0, Node277_14width, Node277_14height]); Node277_14.a('node.bordercolor','rgba(192,0,0,1)'); Node277_14.a('node.borderwidth', 0); Node277_14.a('node.background','' || 'rgba(0,0,0,0)'); Node277_14.a('node.gradient',''); Node277_14.a('node.gradientcolor',''); Node277_14.a('node.text','-'); Node277_14.a('node.textalign','left'); Node277_14.a('node.textvAlign','middle'); Node277_14.a('node.textrect', [Node277_14textStart, 0, Node277_14textWidth, Node277_14height]); Node277_14.a('node.color','rgba(192,0,0,1)'); Node277_14.a('node.font',' '+ Node277_14fontSize + 'px "Arial"'); Node277_14.a('node.textvisible',true); Node277_14.a('node.linefeed',false); if (false) { Node277_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_14.a('node.text') || '-'; var color=Node277_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_14width,Node277_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_14.a('node.underlinepoints',[Node277_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6, (Node277_14height - Node277_14fontSize) * 0.5*_ratio.ratioY + Node277_14fontSize + 2 ]); Node277_14.a('node.underlinevisible',false); Node277_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_14); zoomNodeList.push({ node: Node277_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277_15 = new ht.Node(); var Node277_15textStart, Node277_15textWidth, Node277_15lineStart, Node277_15align = 'left', Node277_15fontSize = 10.66664*_ratio.ratioY,Node277_15width = 43*_ratio.ratioX, Node277_15height = 27*_ratio.ratioY; (function () { if (Node277_15align === 'left') { Node277_15textStart = Node277_15fontSize * 0.2 > 2 ? Node277_15fontSize * 0.2 - 4 : Node277_15fontSize * 0.2 - 9; Node277_15textWidth = Node277_15width; Node277_15lineStart = 1; } else if (Node277_15align === 'right') { Node277_15textStart = 0; Node277_15textWidth =Node277_15fontSize <= 8 ? Node277_15width + Node277_15fontSize * 0.2 + 6 : Node277_15width - Node277_15fontSize * 0.2; Node277_15lineStart = (Node277_15width - (ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node277_15align === 'center') { Node277_15textStart = -3; Node277_15textWidth = Node277_15width; Node277_15lineStart = Node277_15width - ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width - 11; } })(); Node277_15.setImage(GD.getTextJSON(Node277_15width, Node277_15height, true, false, false, ' '+ Node277_15fontSize + 'px "Arial"')) Node277_15.setPosition(418*ratio.ratioX, 537*ratio.ratioY); Node277_15.setWidth(Node277_15width); Node277_15.setHeight(Node277_15height); Node277_15._nodeType = 'text'; Node277_15._disallowEvert = true; Node277_15.setRotation(0*Math.PI/180); Node277_15.a('node.width', Node277_15width); Node277_15.a('node.height', Node277_15height); Node277_15.a('node.rect', [0, 0, Node277_15width, Node277_15height]); Node277_15.a('node.bordercolor','rgba(0,0,0,1)'); Node277_15.a('node.borderwidth', 0); Node277_15.a('node.background','' || 'rgba(0,0,0,0)'); Node277_15.a('node.gradient',''); Node277_15.a('node.gradientcolor',''); Node277_15.a('node.text','万kwh'); Node277_15.a('node.textalign','left'); Node277_15.a('node.textvAlign','middle'); Node277_15.a('node.textrect', [Node277_15textStart, 0, Node277_15textWidth, Node277_15height]); Node277_15.a('node.color','rgba(0,0,0,1)'); Node277_15.a('node.font',' '+ Node277_15fontSize + 'px "Arial"'); Node277_15.a('node.textvisible',true); Node277_15.a('node.linefeed',false); if (false) { Node277_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node277_15.a('node.text') || '万kwh'; var color=Node277_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_15width,Node277_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node277_15.a('node.underlinepoints',[Node277_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6, (Node277_15height - Node277_15fontSize) * 0.5*_ratio.ratioY + Node277_15fontSize + 2 ]); Node277_15.a('node.underlinevisible',false); Node277_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node277_15); zoomNodeList.push({ node: Node277_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node278_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node278_0 = new ht.Node(); Node278_0.setPosition(223*ratio.ratioX, 540*ratio.ratioY); Node278_0.setSize(146*ratioX, 141*ratioY); Node278_0.setImage('imgimage//img//map_name_03.png'); Node278_0.setRotation(0*Math.PI/180); Node278_0._zoomBy = 'Default'; Node278_0._nodeType = 'image'; Node278_0._disallowEvert = true; dataModel.add(Node278_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_1 = new ht.Node(); var Node278_1textStart, Node278_1textWidth, Node278_1lineStart, Node278_1align = 'left', Node278_1fontSize = 10.66664*_ratio.ratioY,Node278_1width = 72*_ratio.ratioX, Node278_1height = 27*_ratio.ratioY; (function () { if (Node278_1align === 'left') { Node278_1textStart = Node278_1fontSize * 0.2 > 2 ? Node278_1fontSize * 0.2 - 4 : Node278_1fontSize * 0.2 - 9; Node278_1textWidth = Node278_1width; Node278_1lineStart = 1; } else if (Node278_1align === 'right') { Node278_1textStart = 0; Node278_1textWidth =Node278_1fontSize <= 8 ? Node278_1width + Node278_1fontSize * 0.2 + 6 : Node278_1width - Node278_1fontSize * 0.2; Node278_1lineStart = (Node278_1width - (ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_1align === 'center') { Node278_1textStart = -3; Node278_1textWidth = Node278_1width; Node278_1lineStart = Node278_1width - ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width - 11; } })(); Node278_1.setImage(GD.getTextJSON(Node278_1width, Node278_1height, true, false, false, ' '+ Node278_1fontSize + 'px "Arial"')) Node278_1.setPosition(193*ratio.ratioX, 493*ratio.ratioY); Node278_1.setWidth(Node278_1width); Node278_1.setHeight(Node278_1height); Node278_1._nodeType = 'text'; Node278_1._disallowEvert = true; Node278_1.setRotation(0*Math.PI/180); Node278_1.a('node.width', Node278_1width); Node278_1.a('node.height', Node278_1height); Node278_1.a('node.rect', [0, 0, Node278_1width, Node278_1height]); Node278_1.a('node.bordercolor','rgba(0,0,0,1)'); Node278_1.a('node.borderwidth', 0); Node278_1.a('node.background','' || 'rgba(0,0,0,0)'); Node278_1.a('node.gradient',''); Node278_1.a('node.gradientcolor',''); Node278_1.a('node.text','风机台数'); Node278_1.a('node.textalign','left'); Node278_1.a('node.textvAlign','middle'); Node278_1.a('node.textrect', [Node278_1textStart, 0, Node278_1textWidth, Node278_1height]); Node278_1.a('node.color','rgba(0,0,0,1)'); Node278_1.a('node.font',' '+ Node278_1fontSize + 'px "Arial"'); Node278_1.a('node.textvisible',true); Node278_1.a('node.linefeed',false); if (false) { Node278_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_1.a('node.text') || '风机台数'; var color=Node278_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_1width,Node278_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_1.a('node.underlinepoints',[Node278_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6, (Node278_1height - Node278_1fontSize) * 0.5*_ratio.ratioY + Node278_1fontSize + 2 ]); Node278_1.a('node.underlinevisible',false); Node278_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_1); zoomNodeList.push({ node: Node278_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_2 = new ht.Node(); var Node278_2textStart, Node278_2textWidth, Node278_2lineStart, Node278_2align = 'left', Node278_2fontSize = 10.66664*_ratio.ratioY,Node278_2width = 22*_ratio.ratioX, Node278_2height = 27*_ratio.ratioY; (function () { if (Node278_2align === 'left') { Node278_2textStart = Node278_2fontSize * 0.2 > 2 ? Node278_2fontSize * 0.2 - 4 : Node278_2fontSize * 0.2 - 9; Node278_2textWidth = Node278_2width; Node278_2lineStart = 1; } else if (Node278_2align === 'right') { Node278_2textStart = 0; Node278_2textWidth =Node278_2fontSize <= 8 ? Node278_2width + Node278_2fontSize * 0.2 + 6 : Node278_2width - Node278_2fontSize * 0.2; Node278_2lineStart = (Node278_2width - (ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_2align === 'center') { Node278_2textStart = -3; Node278_2textWidth = Node278_2width; Node278_2lineStart = Node278_2width - ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width - 11; } })(); Node278_2.setImage(GD.getTextJSON(Node278_2width, Node278_2height, true, false, false, ' '+ Node278_2fontSize + 'px "Arial"')) Node278_2.setPosition(231*ratio.ratioX, 493*ratio.ratioY); Node278_2.setWidth(Node278_2width); Node278_2.setHeight(Node278_2height); Node278_2._nodeType = 'text'; Node278_2._disallowEvert = true; Node278_2.setRotation(0*Math.PI/180); Node278_2.a('node.width', Node278_2width); Node278_2.a('node.height', Node278_2height); Node278_2.a('node.rect', [0, 0, Node278_2width, Node278_2height]); Node278_2.a('node.bordercolor','rgba(192,0,0,1)'); Node278_2.a('node.borderwidth', 0); Node278_2.a('node.background','' || 'rgba(0,0,0,0)'); Node278_2.a('node.gradient',''); Node278_2.a('node.gradientcolor',''); Node278_2.a('node.text','99'); Node278_2.a('node.textalign','left'); Node278_2.a('node.textvAlign','middle'); Node278_2.a('node.textrect', [Node278_2textStart, 0, Node278_2textWidth, Node278_2height]); Node278_2.a('node.color','rgba(192,0,0,1)'); Node278_2.a('node.font',' '+ Node278_2fontSize + 'px "Arial"'); Node278_2.a('node.textvisible',true); Node278_2.a('node.linefeed',false); if (false) { Node278_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_2.a('node.text') || '99'; var color=Node278_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_2width,Node278_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_2.a('node.underlinepoints',[Node278_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6, (Node278_2height - Node278_2fontSize) * 0.5*_ratio.ratioY + Node278_2fontSize + 2 ]); Node278_2.a('node.underlinevisible',false); Node278_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_2); zoomNodeList.push({ node: Node278_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_3 = new ht.Node(); var Node278_3textStart, Node278_3textWidth, Node278_3lineStart, Node278_3align = 'left', Node278_3fontSize = 10.66664*_ratio.ratioY,Node278_3width = 43*_ratio.ratioX, Node278_3height = 27*_ratio.ratioY; (function () { if (Node278_3align === 'left') { Node278_3textStart = Node278_3fontSize * 0.2 > 2 ? Node278_3fontSize * 0.2 - 4 : Node278_3fontSize * 0.2 - 9; Node278_3textWidth = Node278_3width; Node278_3lineStart = 1; } else if (Node278_3align === 'right') { Node278_3textStart = 0; Node278_3textWidth =Node278_3fontSize <= 8 ? Node278_3width + Node278_3fontSize * 0.2 + 6 : Node278_3width - Node278_3fontSize * 0.2; Node278_3lineStart = (Node278_3width - (ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_3align === 'center') { Node278_3textStart = -3; Node278_3textWidth = Node278_3width; Node278_3lineStart = Node278_3width - ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width - 11; } })(); Node278_3.setImage(GD.getTextJSON(Node278_3width, Node278_3height, true, false, false, ' '+ Node278_3fontSize + 'px "Arial"')) Node278_3.setPosition(278*ratio.ratioX, 493*ratio.ratioY); Node278_3.setWidth(Node278_3width); Node278_3.setHeight(Node278_3height); Node278_3._nodeType = 'text'; Node278_3._disallowEvert = true; Node278_3.setRotation(0*Math.PI/180); Node278_3.a('node.width', Node278_3width); Node278_3.a('node.height', Node278_3height); Node278_3.a('node.rect', [0, 0, Node278_3width, Node278_3height]); Node278_3.a('node.bordercolor','rgba(0,0,0,1)'); Node278_3.a('node.borderwidth', 0); Node278_3.a('node.background','' || 'rgba(0,0,0,0)'); Node278_3.a('node.gradient',''); Node278_3.a('node.gradientcolor',''); Node278_3.a('node.text','万kwh'); Node278_3.a('node.textalign','left'); Node278_3.a('node.textvAlign','middle'); Node278_3.a('node.textrect', [Node278_3textStart, 0, Node278_3textWidth, Node278_3height]); Node278_3.a('node.color','rgba(0,0,0,1)'); Node278_3.a('node.font',' '+ Node278_3fontSize + 'px "Arial"'); Node278_3.a('node.textvisible',true); Node278_3.a('node.linefeed',false); if (false) { Node278_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_3.a('node.text') || '万kwh'; var color=Node278_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_3width,Node278_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_3.a('node.underlinepoints',[Node278_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6, (Node278_3height - Node278_3fontSize) * 0.5*_ratio.ratioY + Node278_3fontSize + 2 ]); Node278_3.a('node.underlinevisible',false); Node278_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_3); zoomNodeList.push({ node: Node278_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_4 = new ht.Node(); var Node278_4textStart, Node278_4textWidth, Node278_4lineStart, Node278_4align = 'left', Node278_4fontSize = 10.66664*_ratio.ratioY,Node278_4width = 72*_ratio.ratioX, Node278_4height = 27*_ratio.ratioY; (function () { if (Node278_4align === 'left') { Node278_4textStart = Node278_4fontSize * 0.2 > 2 ? Node278_4fontSize * 0.2 - 4 : Node278_4fontSize * 0.2 - 9; Node278_4textWidth = Node278_4width; Node278_4lineStart = 1; } else if (Node278_4align === 'right') { Node278_4textStart = 0; Node278_4textWidth =Node278_4fontSize <= 8 ? Node278_4width + Node278_4fontSize * 0.2 + 6 : Node278_4width - Node278_4fontSize * 0.2; Node278_4lineStart = (Node278_4width - (ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_4align === 'center') { Node278_4textStart = -3; Node278_4textWidth = Node278_4width; Node278_4lineStart = Node278_4width - ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width - 11; } })(); Node278_4.setImage(GD.getTextJSON(Node278_4width, Node278_4height, true, false, false, ' '+ Node278_4fontSize + 'px "Arial"')) Node278_4.setPosition(193*ratio.ratioX, 519*ratio.ratioY); Node278_4.setWidth(Node278_4width); Node278_4.setHeight(Node278_4height); Node278_4._nodeType = 'text'; Node278_4._disallowEvert = true; Node278_4.setRotation(0*Math.PI/180); Node278_4.a('node.width', Node278_4width); Node278_4.a('node.height', Node278_4height); Node278_4.a('node.rect', [0, 0, Node278_4width, Node278_4height]); Node278_4.a('node.bordercolor','rgba(0,0,0,1)'); Node278_4.a('node.borderwidth', 0); Node278_4.a('node.background','' || 'rgba(0,0,0,0)'); Node278_4.a('node.gradient',''); Node278_4.a('node.gradientcolor',''); Node278_4.a('node.text','装机容量'); Node278_4.a('node.textalign','left'); Node278_4.a('node.textvAlign','middle'); Node278_4.a('node.textrect', [Node278_4textStart, 0, Node278_4textWidth, Node278_4height]); Node278_4.a('node.color','rgba(0,0,0,1)'); Node278_4.a('node.font',' '+ Node278_4fontSize + 'px "Arial"'); Node278_4.a('node.textvisible',true); Node278_4.a('node.linefeed',false); if (false) { Node278_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_4.a('node.text') || '装机容量'; var color=Node278_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_4width,Node278_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_4.a('node.underlinepoints',[Node278_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6, (Node278_4height - Node278_4fontSize) * 0.5*_ratio.ratioY + Node278_4fontSize + 2 ]); Node278_4.a('node.underlinevisible',false); Node278_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_4); zoomNodeList.push({ node: Node278_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_5 = new ht.Node(); var Node278_5textStart, Node278_5textWidth, Node278_5lineStart, Node278_5align = 'left', Node278_5fontSize = 10.66664*_ratio.ratioY,Node278_5width = 31*_ratio.ratioX, Node278_5height = 27*_ratio.ratioY; (function () { if (Node278_5align === 'left') { Node278_5textStart = Node278_5fontSize * 0.2 > 2 ? Node278_5fontSize * 0.2 - 4 : Node278_5fontSize * 0.2 - 9; Node278_5textWidth = Node278_5width; Node278_5lineStart = 1; } else if (Node278_5align === 'right') { Node278_5textStart = 0; Node278_5textWidth =Node278_5fontSize <= 8 ? Node278_5width + Node278_5fontSize * 0.2 + 6 : Node278_5width - Node278_5fontSize * 0.2; Node278_5lineStart = (Node278_5width - (ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_5align === 'center') { Node278_5textStart = -3; Node278_5textWidth = Node278_5width; Node278_5lineStart = Node278_5width - ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width - 11; } })(); Node278_5.setImage(GD.getTextJSON(Node278_5width, Node278_5height, true, false, false, ' '+ Node278_5fontSize + 'px "Arial"')) Node278_5.setPosition(236*ratio.ratioX, 519*ratio.ratioY); Node278_5.setWidth(Node278_5width); Node278_5.setHeight(Node278_5height); Node278_5._nodeType = 'text'; Node278_5._disallowEvert = true; Node278_5.setRotation(0*Math.PI/180); Node278_5.a('node.width', Node278_5width); Node278_5.a('node.height', Node278_5height); Node278_5.a('node.rect', [0, 0, Node278_5width, Node278_5height]); Node278_5.a('node.bordercolor','rgba(192,0,0,1)'); Node278_5.a('node.borderwidth', 0); Node278_5.a('node.background','' || 'rgba(0,0,0,0)'); Node278_5.a('node.gradient',''); Node278_5.a('node.gradientcolor',''); Node278_5.a('node.text','14.85'); Node278_5.a('node.textalign','left'); Node278_5.a('node.textvAlign','middle'); Node278_5.a('node.textrect', [Node278_5textStart, 0, Node278_5textWidth, Node278_5height]); Node278_5.a('node.color','rgba(192,0,0,1)'); Node278_5.a('node.font',' '+ Node278_5fontSize + 'px "Arial"'); Node278_5.a('node.textvisible',true); Node278_5.a('node.linefeed',false); if (false) { Node278_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_5.a('node.text') || '14.85'; var color=Node278_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_5width,Node278_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_5.a('node.underlinepoints',[Node278_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6, (Node278_5height - Node278_5fontSize) * 0.5*_ratio.ratioY + Node278_5fontSize + 2 ]); Node278_5.a('node.underlinevisible',false); Node278_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_5); zoomNodeList.push({ node: Node278_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_6 = new ht.Node(); var Node278_6textStart, Node278_6textWidth, Node278_6lineStart, Node278_6align = 'left', Node278_6fontSize = 10.66664*_ratio.ratioY,Node278_6width = 43*_ratio.ratioX, Node278_6height = 27*_ratio.ratioY; (function () { if (Node278_6align === 'left') { Node278_6textStart = Node278_6fontSize * 0.2 > 2 ? Node278_6fontSize * 0.2 - 4 : Node278_6fontSize * 0.2 - 9; Node278_6textWidth = Node278_6width; Node278_6lineStart = 1; } else if (Node278_6align === 'right') { Node278_6textStart = 0; Node278_6textWidth =Node278_6fontSize <= 8 ? Node278_6width + Node278_6fontSize * 0.2 + 6 : Node278_6width - Node278_6fontSize * 0.2; Node278_6lineStart = (Node278_6width - (ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_6align === 'center') { Node278_6textStart = -3; Node278_6textWidth = Node278_6width; Node278_6lineStart = Node278_6width - ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width - 11; } })(); Node278_6.setImage(GD.getTextJSON(Node278_6width, Node278_6height, true, false, false, ' '+ Node278_6fontSize + 'px "Arial"')) Node278_6.setPosition(278*ratio.ratioX, 519*ratio.ratioY); Node278_6.setWidth(Node278_6width); Node278_6.setHeight(Node278_6height); Node278_6._nodeType = 'text'; Node278_6._disallowEvert = true; Node278_6.setRotation(0*Math.PI/180); Node278_6.a('node.width', Node278_6width); Node278_6.a('node.height', Node278_6height); Node278_6.a('node.rect', [0, 0, Node278_6width, Node278_6height]); Node278_6.a('node.bordercolor','rgba(0,0,0,1)'); Node278_6.a('node.borderwidth', 0); Node278_6.a('node.background','' || 'rgba(0,0,0,0)'); Node278_6.a('node.gradient',''); Node278_6.a('node.gradientcolor',''); Node278_6.a('node.text','万kwh'); Node278_6.a('node.textalign','left'); Node278_6.a('node.textvAlign','middle'); Node278_6.a('node.textrect', [Node278_6textStart, 0, Node278_6textWidth, Node278_6height]); Node278_6.a('node.color','rgba(0,0,0,1)'); Node278_6.a('node.font',' '+ Node278_6fontSize + 'px "Arial"'); Node278_6.a('node.textvisible',true); Node278_6.a('node.linefeed',false); if (false) { Node278_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_6.a('node.text') || '万kwh'; var color=Node278_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_6width,Node278_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_6.a('node.underlinepoints',[Node278_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6, (Node278_6height - Node278_6fontSize) * 0.5*_ratio.ratioY + Node278_6fontSize + 2 ]); Node278_6.a('node.underlinevisible',false); Node278_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_6); zoomNodeList.push({ node: Node278_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_7 = new ht.Node(); var Node278_7textStart, Node278_7textWidth, Node278_7lineStart, Node278_7align = 'left', Node278_7fontSize = 10.66664*_ratio.ratioY,Node278_7width = 72*_ratio.ratioX, Node278_7height = 27*_ratio.ratioY; (function () { if (Node278_7align === 'left') { Node278_7textStart = Node278_7fontSize * 0.2 > 2 ? Node278_7fontSize * 0.2 - 4 : Node278_7fontSize * 0.2 - 9; Node278_7textWidth = Node278_7width; Node278_7lineStart = 1; } else if (Node278_7align === 'right') { Node278_7textStart = 0; Node278_7textWidth =Node278_7fontSize <= 8 ? Node278_7width + Node278_7fontSize * 0.2 + 6 : Node278_7width - Node278_7fontSize * 0.2; Node278_7lineStart = (Node278_7width - (ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_7align === 'center') { Node278_7textStart = -3; Node278_7textWidth = Node278_7width; Node278_7lineStart = Node278_7width - ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width - 11; } })(); Node278_7.setImage(GD.getTextJSON(Node278_7width, Node278_7height, true, false, false, ' '+ Node278_7fontSize + 'px "Arial"')) Node278_7.setPosition(193*ratio.ratioX, 544*ratio.ratioY); Node278_7.setWidth(Node278_7width); Node278_7.setHeight(Node278_7height); Node278_7._nodeType = 'text'; Node278_7._disallowEvert = true; Node278_7.setRotation(0*Math.PI/180); Node278_7.a('node.width', Node278_7width); Node278_7.a('node.height', Node278_7height); Node278_7.a('node.rect', [0, 0, Node278_7width, Node278_7height]); Node278_7.a('node.bordercolor','rgba(0,0,0,1)'); Node278_7.a('node.borderwidth', 0); Node278_7.a('node.background','' || 'rgba(0,0,0,0)'); Node278_7.a('node.gradient',''); Node278_7.a('node.gradientcolor',''); Node278_7.a('node.text','平均风速'); Node278_7.a('node.textalign','left'); Node278_7.a('node.textvAlign','middle'); Node278_7.a('node.textrect', [Node278_7textStart, 0, Node278_7textWidth, Node278_7height]); Node278_7.a('node.color','rgba(0,0,0,1)'); Node278_7.a('node.font',' '+ Node278_7fontSize + 'px "Arial"'); Node278_7.a('node.textvisible',true); Node278_7.a('node.linefeed',false); if (false) { Node278_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_7.a('node.text') || '平均风速'; var color=Node278_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_7width,Node278_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_7.a('node.underlinepoints',[Node278_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6, (Node278_7height - Node278_7fontSize) * 0.5*_ratio.ratioY + Node278_7fontSize + 2 ]); Node278_7.a('node.underlinevisible',false); Node278_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_7); zoomNodeList.push({ node: Node278_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_8 = new ht.Node(); var Node278_8textStart, Node278_8textWidth, Node278_8lineStart, Node278_8align = 'left', Node278_8fontSize = 10.66664*_ratio.ratioY,Node278_8width = 22*_ratio.ratioX, Node278_8height = 27*_ratio.ratioY; (function () { if (Node278_8align === 'left') { Node278_8textStart = Node278_8fontSize * 0.2 > 2 ? Node278_8fontSize * 0.2 - 4 : Node278_8fontSize * 0.2 - 9; Node278_8textWidth = Node278_8width; Node278_8lineStart = 1; } else if (Node278_8align === 'right') { Node278_8textStart = 0; Node278_8textWidth =Node278_8fontSize <= 8 ? Node278_8width + Node278_8fontSize * 0.2 + 6 : Node278_8width - Node278_8fontSize * 0.2; Node278_8lineStart = (Node278_8width - (ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_8align === 'center') { Node278_8textStart = -3; Node278_8textWidth = Node278_8width; Node278_8lineStart = Node278_8width - ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width - 11; } })(); Node278_8.setImage(GD.getTextJSON(Node278_8width, Node278_8height, true, false, false, ' '+ Node278_8fontSize + 'px "Arial"')) Node278_8.setPosition(231*ratio.ratioX, 544*ratio.ratioY); Node278_8.setWidth(Node278_8width); Node278_8.setHeight(Node278_8height); Node278_8._nodeType = 'text'; Node278_8._disallowEvert = true; Node278_8.setRotation(0*Math.PI/180); Node278_8.a('node.width', Node278_8width); Node278_8.a('node.height', Node278_8height); Node278_8.a('node.rect', [0, 0, Node278_8width, Node278_8height]); Node278_8.a('node.bordercolor','rgba(192,0,0,1)'); Node278_8.a('node.borderwidth', 0); Node278_8.a('node.background','' || 'rgba(0,0,0,0)'); Node278_8.a('node.gradient',''); Node278_8.a('node.gradientcolor',''); Node278_8.a('node.text','-'); Node278_8.a('node.textalign','left'); Node278_8.a('node.textvAlign','middle'); Node278_8.a('node.textrect', [Node278_8textStart, 0, Node278_8textWidth, Node278_8height]); Node278_8.a('node.color','rgba(192,0,0,1)'); Node278_8.a('node.font',' '+ Node278_8fontSize + 'px "Arial"'); Node278_8.a('node.textvisible',true); Node278_8.a('node.linefeed',false); if (false) { Node278_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_8.a('node.text') || '-'; var color=Node278_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_8width,Node278_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_8.a('node.underlinepoints',[Node278_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6, (Node278_8height - Node278_8fontSize) * 0.5*_ratio.ratioY + Node278_8fontSize + 2 ]); Node278_8.a('node.underlinevisible',false); Node278_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_8); zoomNodeList.push({ node: Node278_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_9 = new ht.Node(); var Node278_9textStart, Node278_9textWidth, Node278_9lineStart, Node278_9align = 'left', Node278_9fontSize = 10.66664*_ratio.ratioY,Node278_9width = 43*_ratio.ratioX, Node278_9height = 27*_ratio.ratioY; (function () { if (Node278_9align === 'left') { Node278_9textStart = Node278_9fontSize * 0.2 > 2 ? Node278_9fontSize * 0.2 - 4 : Node278_9fontSize * 0.2 - 9; Node278_9textWidth = Node278_9width; Node278_9lineStart = 1; } else if (Node278_9align === 'right') { Node278_9textStart = 0; Node278_9textWidth =Node278_9fontSize <= 8 ? Node278_9width + Node278_9fontSize * 0.2 + 6 : Node278_9width - Node278_9fontSize * 0.2; Node278_9lineStart = (Node278_9width - (ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_9align === 'center') { Node278_9textStart = -3; Node278_9textWidth = Node278_9width; Node278_9lineStart = Node278_9width - ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width - 11; } })(); Node278_9.setImage(GD.getTextJSON(Node278_9width, Node278_9height, true, false, false, ' '+ Node278_9fontSize + 'px "Arial"')) Node278_9.setPosition(278*ratio.ratioX, 544*ratio.ratioY); Node278_9.setWidth(Node278_9width); Node278_9.setHeight(Node278_9height); Node278_9._nodeType = 'text'; Node278_9._disallowEvert = true; Node278_9.setRotation(0*Math.PI/180); Node278_9.a('node.width', Node278_9width); Node278_9.a('node.height', Node278_9height); Node278_9.a('node.rect', [0, 0, Node278_9width, Node278_9height]); Node278_9.a('node.bordercolor','rgba(0,0,0,1)'); Node278_9.a('node.borderwidth', 0); Node278_9.a('node.background','' || 'rgba(0,0,0,0)'); Node278_9.a('node.gradient',''); Node278_9.a('node.gradientcolor',''); Node278_9.a('node.text','万kwh'); Node278_9.a('node.textalign','left'); Node278_9.a('node.textvAlign','middle'); Node278_9.a('node.textrect', [Node278_9textStart, 0, Node278_9textWidth, Node278_9height]); Node278_9.a('node.color','rgba(0,0,0,1)'); Node278_9.a('node.font',' '+ Node278_9fontSize + 'px "Arial"'); Node278_9.a('node.textvisible',true); Node278_9.a('node.linefeed',false); if (false) { Node278_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_9.a('node.text') || '万kwh'; var color=Node278_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_9width,Node278_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_9.a('node.underlinepoints',[Node278_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6, (Node278_9height - Node278_9fontSize) * 0.5*_ratio.ratioY + Node278_9fontSize + 2 ]); Node278_9.a('node.underlinevisible',false); Node278_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_9); zoomNodeList.push({ node: Node278_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_10 = new ht.Node(); var Node278_10textStart, Node278_10textWidth, Node278_10lineStart, Node278_10align = 'left', Node278_10fontSize = 10.66664*_ratio.ratioY,Node278_10width = 72*_ratio.ratioX, Node278_10height = 27*_ratio.ratioY; (function () { if (Node278_10align === 'left') { Node278_10textStart = Node278_10fontSize * 0.2 > 2 ? Node278_10fontSize * 0.2 - 4 : Node278_10fontSize * 0.2 - 9; Node278_10textWidth = Node278_10width; Node278_10lineStart = 1; } else if (Node278_10align === 'right') { Node278_10textStart = 0; Node278_10textWidth =Node278_10fontSize <= 8 ? Node278_10width + Node278_10fontSize * 0.2 + 6 : Node278_10width - Node278_10fontSize * 0.2; Node278_10lineStart = (Node278_10width - (ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_10align === 'center') { Node278_10textStart = -3; Node278_10textWidth = Node278_10width; Node278_10lineStart = Node278_10width - ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width - 11; } })(); Node278_10.setImage(GD.getTextJSON(Node278_10width, Node278_10height, true, false, false, ' '+ Node278_10fontSize + 'px "Arial"')) Node278_10.setPosition(193*ratio.ratioX, 570*ratio.ratioY); Node278_10.setWidth(Node278_10width); Node278_10.setHeight(Node278_10height); Node278_10._nodeType = 'text'; Node278_10._disallowEvert = true; Node278_10.setRotation(0*Math.PI/180); Node278_10.a('node.width', Node278_10width); Node278_10.a('node.height', Node278_10height); Node278_10.a('node.rect', [0, 0, Node278_10width, Node278_10height]); Node278_10.a('node.bordercolor','rgba(0,0,0,1)'); Node278_10.a('node.borderwidth', 0); Node278_10.a('node.background','' || 'rgba(0,0,0,0)'); Node278_10.a('node.gradient',''); Node278_10.a('node.gradientcolor',''); Node278_10.a('node.text','日发电量'); Node278_10.a('node.textalign','left'); Node278_10.a('node.textvAlign','middle'); Node278_10.a('node.textrect', [Node278_10textStart, 0, Node278_10textWidth, Node278_10height]); Node278_10.a('node.color','rgba(0,0,0,1)'); Node278_10.a('node.font',' '+ Node278_10fontSize + 'px "Arial"'); Node278_10.a('node.textvisible',true); Node278_10.a('node.linefeed',false); if (false) { Node278_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_10.a('node.text') || '日发电量'; var color=Node278_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_10width,Node278_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_10.a('node.underlinepoints',[Node278_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6, (Node278_10height - Node278_10fontSize) * 0.5*_ratio.ratioY + Node278_10fontSize + 2 ]); Node278_10.a('node.underlinevisible',false); Node278_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_10); zoomNodeList.push({ node: Node278_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_11 = new ht.Node(); var Node278_11textStart, Node278_11textWidth, Node278_11lineStart, Node278_11align = 'left', Node278_11fontSize = 10.66664*_ratio.ratioY,Node278_11width = 31*_ratio.ratioX, Node278_11height = 27*_ratio.ratioY; (function () { if (Node278_11align === 'left') { Node278_11textStart = Node278_11fontSize * 0.2 > 2 ? Node278_11fontSize * 0.2 - 4 : Node278_11fontSize * 0.2 - 9; Node278_11textWidth = Node278_11width; Node278_11lineStart = 1; } else if (Node278_11align === 'right') { Node278_11textStart = 0; Node278_11textWidth =Node278_11fontSize <= 8 ? Node278_11width + Node278_11fontSize * 0.2 + 6 : Node278_11width - Node278_11fontSize * 0.2; Node278_11lineStart = (Node278_11width - (ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_11align === 'center') { Node278_11textStart = -3; Node278_11textWidth = Node278_11width; Node278_11lineStart = Node278_11width - ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width - 11; } })(); Node278_11.setImage(GD.getTextJSON(Node278_11width, Node278_11height, true, false, false, ' '+ Node278_11fontSize + 'px "Arial"')) Node278_11.setPosition(236*ratio.ratioX, 570*ratio.ratioY); Node278_11.setWidth(Node278_11width); Node278_11.setHeight(Node278_11height); Node278_11._nodeType = 'text'; Node278_11._disallowEvert = true; Node278_11.setRotation(0*Math.PI/180); Node278_11.a('node.width', Node278_11width); Node278_11.a('node.height', Node278_11height); Node278_11.a('node.rect', [0, 0, Node278_11width, Node278_11height]); Node278_11.a('node.bordercolor','rgba(192,0,0,1)'); Node278_11.a('node.borderwidth', 0); Node278_11.a('node.background','' || 'rgba(0,0,0,0)'); Node278_11.a('node.gradient',''); Node278_11.a('node.gradientcolor',''); Node278_11.a('node.text','-'); Node278_11.a('node.textalign','left'); Node278_11.a('node.textvAlign','middle'); Node278_11.a('node.textrect', [Node278_11textStart, 0, Node278_11textWidth, Node278_11height]); Node278_11.a('node.color','rgba(192,0,0,1)'); Node278_11.a('node.font',' '+ Node278_11fontSize + 'px "Arial"'); Node278_11.a('node.textvisible',true); Node278_11.a('node.linefeed',false); if (false) { Node278_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_11.a('node.text') || '-'; var color=Node278_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_11width,Node278_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_11.a('node.underlinepoints',[Node278_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6, (Node278_11height - Node278_11fontSize) * 0.5*_ratio.ratioY + Node278_11fontSize + 2 ]); Node278_11.a('node.underlinevisible',false); Node278_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_11); zoomNodeList.push({ node: Node278_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_12 = new ht.Node(); var Node278_12textStart, Node278_12textWidth, Node278_12lineStart, Node278_12align = 'left', Node278_12fontSize = 10.66664*_ratio.ratioY,Node278_12width = 43*_ratio.ratioX, Node278_12height = 27*_ratio.ratioY; (function () { if (Node278_12align === 'left') { Node278_12textStart = Node278_12fontSize * 0.2 > 2 ? Node278_12fontSize * 0.2 - 4 : Node278_12fontSize * 0.2 - 9; Node278_12textWidth = Node278_12width; Node278_12lineStart = 1; } else if (Node278_12align === 'right') { Node278_12textStart = 0; Node278_12textWidth =Node278_12fontSize <= 8 ? Node278_12width + Node278_12fontSize * 0.2 + 6 : Node278_12width - Node278_12fontSize * 0.2; Node278_12lineStart = (Node278_12width - (ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_12align === 'center') { Node278_12textStart = -3; Node278_12textWidth = Node278_12width; Node278_12lineStart = Node278_12width - ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width - 11; } })(); Node278_12.setImage(GD.getTextJSON(Node278_12width, Node278_12height, true, false, false, ' '+ Node278_12fontSize + 'px "Arial"')) Node278_12.setPosition(278*ratio.ratioX, 570*ratio.ratioY); Node278_12.setWidth(Node278_12width); Node278_12.setHeight(Node278_12height); Node278_12._nodeType = 'text'; Node278_12._disallowEvert = true; Node278_12.setRotation(0*Math.PI/180); Node278_12.a('node.width', Node278_12width); Node278_12.a('node.height', Node278_12height); Node278_12.a('node.rect', [0, 0, Node278_12width, Node278_12height]); Node278_12.a('node.bordercolor','rgba(0,0,0,1)'); Node278_12.a('node.borderwidth', 0); Node278_12.a('node.background','' || 'rgba(0,0,0,0)'); Node278_12.a('node.gradient',''); Node278_12.a('node.gradientcolor',''); Node278_12.a('node.text','万kwh'); Node278_12.a('node.textalign','left'); Node278_12.a('node.textvAlign','middle'); Node278_12.a('node.textrect', [Node278_12textStart, 0, Node278_12textWidth, Node278_12height]); Node278_12.a('node.color','rgba(0,0,0,1)'); Node278_12.a('node.font',' '+ Node278_12fontSize + 'px "Arial"'); Node278_12.a('node.textvisible',true); Node278_12.a('node.linefeed',false); if (false) { Node278_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_12.a('node.text') || '万kwh'; var color=Node278_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_12width,Node278_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_12.a('node.underlinepoints',[Node278_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6, (Node278_12height - Node278_12fontSize) * 0.5*_ratio.ratioY + Node278_12fontSize + 2 ]); Node278_12.a('node.underlinevisible',false); Node278_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_12); zoomNodeList.push({ node: Node278_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_13 = new ht.Node(); var Node278_13textStart, Node278_13textWidth, Node278_13lineStart, Node278_13align = 'left', Node278_13fontSize = 10.66664*_ratio.ratioY,Node278_13width = 72*_ratio.ratioX, Node278_13height = 27*_ratio.ratioY; (function () { if (Node278_13align === 'left') { Node278_13textStart = Node278_13fontSize * 0.2 > 2 ? Node278_13fontSize * 0.2 - 4 : Node278_13fontSize * 0.2 - 9; Node278_13textWidth = Node278_13width; Node278_13lineStart = 1; } else if (Node278_13align === 'right') { Node278_13textStart = 0; Node278_13textWidth =Node278_13fontSize <= 8 ? Node278_13width + Node278_13fontSize * 0.2 + 6 : Node278_13width - Node278_13fontSize * 0.2; Node278_13lineStart = (Node278_13width - (ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_13align === 'center') { Node278_13textStart = -3; Node278_13textWidth = Node278_13width; Node278_13lineStart = Node278_13width - ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width - 11; } })(); Node278_13.setImage(GD.getTextJSON(Node278_13width, Node278_13height, true, false, false, ' '+ Node278_13fontSize + 'px "Arial"')) Node278_13.setPosition(193*ratio.ratioX, 597*ratio.ratioY); Node278_13.setWidth(Node278_13width); Node278_13.setHeight(Node278_13height); Node278_13._nodeType = 'text'; Node278_13._disallowEvert = true; Node278_13.setRotation(0*Math.PI/180); Node278_13.a('node.width', Node278_13width); Node278_13.a('node.height', Node278_13height); Node278_13.a('node.rect', [0, 0, Node278_13width, Node278_13height]); Node278_13.a('node.bordercolor','rgba(0,0,0,1)'); Node278_13.a('node.borderwidth', 0); Node278_13.a('node.background','' || 'rgba(0,0,0,0)'); Node278_13.a('node.gradient',''); Node278_13.a('node.gradientcolor',''); Node278_13.a('node.text','有功功率'); Node278_13.a('node.textalign','left'); Node278_13.a('node.textvAlign','middle'); Node278_13.a('node.textrect', [Node278_13textStart, 0, Node278_13textWidth, Node278_13height]); Node278_13.a('node.color','rgba(0,0,0,1)'); Node278_13.a('node.font',' '+ Node278_13fontSize + 'px "Arial"'); Node278_13.a('node.textvisible',true); Node278_13.a('node.linefeed',false); if (false) { Node278_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_13.a('node.text') || '有功功率'; var color=Node278_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_13width,Node278_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_13.a('node.underlinepoints',[Node278_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6, (Node278_13height - Node278_13fontSize) * 0.5*_ratio.ratioY + Node278_13fontSize + 2 ]); Node278_13.a('node.underlinevisible',false); Node278_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_13); zoomNodeList.push({ node: Node278_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_14 = new ht.Node(); var Node278_14textStart, Node278_14textWidth, Node278_14lineStart, Node278_14align = 'left', Node278_14fontSize = 10.66664*_ratio.ratioY,Node278_14width = 22*_ratio.ratioX, Node278_14height = 27*_ratio.ratioY; (function () { if (Node278_14align === 'left') { Node278_14textStart = Node278_14fontSize * 0.2 > 2 ? Node278_14fontSize * 0.2 - 4 : Node278_14fontSize * 0.2 - 9; Node278_14textWidth = Node278_14width; Node278_14lineStart = 1; } else if (Node278_14align === 'right') { Node278_14textStart = 0; Node278_14textWidth =Node278_14fontSize <= 8 ? Node278_14width + Node278_14fontSize * 0.2 + 6 : Node278_14width - Node278_14fontSize * 0.2; Node278_14lineStart = (Node278_14width - (ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_14align === 'center') { Node278_14textStart = -3; Node278_14textWidth = Node278_14width; Node278_14lineStart = Node278_14width - ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width - 11; } })(); Node278_14.setImage(GD.getTextJSON(Node278_14width, Node278_14height, true, false, false, ' '+ Node278_14fontSize + 'px "Arial"')) Node278_14.setPosition(231*ratio.ratioX, 597*ratio.ratioY); Node278_14.setWidth(Node278_14width); Node278_14.setHeight(Node278_14height); Node278_14._nodeType = 'text'; Node278_14._disallowEvert = true; Node278_14.setRotation(0*Math.PI/180); Node278_14.a('node.width', Node278_14width); Node278_14.a('node.height', Node278_14height); Node278_14.a('node.rect', [0, 0, Node278_14width, Node278_14height]); Node278_14.a('node.bordercolor','rgba(192,0,0,1)'); Node278_14.a('node.borderwidth', 0); Node278_14.a('node.background','' || 'rgba(0,0,0,0)'); Node278_14.a('node.gradient',''); Node278_14.a('node.gradientcolor',''); Node278_14.a('node.text','-'); Node278_14.a('node.textalign','left'); Node278_14.a('node.textvAlign','middle'); Node278_14.a('node.textrect', [Node278_14textStart, 0, Node278_14textWidth, Node278_14height]); Node278_14.a('node.color','rgba(192,0,0,1)'); Node278_14.a('node.font',' '+ Node278_14fontSize + 'px "Arial"'); Node278_14.a('node.textvisible',true); Node278_14.a('node.linefeed',false); if (false) { Node278_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_14.a('node.text') || '-'; var color=Node278_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_14width,Node278_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_14.a('node.underlinepoints',[Node278_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6, (Node278_14height - Node278_14fontSize) * 0.5*_ratio.ratioY + Node278_14fontSize + 2 ]); Node278_14.a('node.underlinevisible',false); Node278_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_14); zoomNodeList.push({ node: Node278_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278_15 = new ht.Node(); var Node278_15textStart, Node278_15textWidth, Node278_15lineStart, Node278_15align = 'left', Node278_15fontSize = 10.66664*_ratio.ratioY,Node278_15width = 43*_ratio.ratioX, Node278_15height = 27*_ratio.ratioY; (function () { if (Node278_15align === 'left') { Node278_15textStart = Node278_15fontSize * 0.2 > 2 ? Node278_15fontSize * 0.2 - 4 : Node278_15fontSize * 0.2 - 9; Node278_15textWidth = Node278_15width; Node278_15lineStart = 1; } else if (Node278_15align === 'right') { Node278_15textStart = 0; Node278_15textWidth =Node278_15fontSize <= 8 ? Node278_15width + Node278_15fontSize * 0.2 + 6 : Node278_15width - Node278_15fontSize * 0.2; Node278_15lineStart = (Node278_15width - (ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node278_15align === 'center') { Node278_15textStart = -3; Node278_15textWidth = Node278_15width; Node278_15lineStart = Node278_15width - ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width - 11; } })(); Node278_15.setImage(GD.getTextJSON(Node278_15width, Node278_15height, true, false, false, ' '+ Node278_15fontSize + 'px "Arial"')) Node278_15.setPosition(278*ratio.ratioX, 597*ratio.ratioY); Node278_15.setWidth(Node278_15width); Node278_15.setHeight(Node278_15height); Node278_15._nodeType = 'text'; Node278_15._disallowEvert = true; Node278_15.setRotation(0*Math.PI/180); Node278_15.a('node.width', Node278_15width); Node278_15.a('node.height', Node278_15height); Node278_15.a('node.rect', [0, 0, Node278_15width, Node278_15height]); Node278_15.a('node.bordercolor','rgba(0,0,0,1)'); Node278_15.a('node.borderwidth', 0); Node278_15.a('node.background','' || 'rgba(0,0,0,0)'); Node278_15.a('node.gradient',''); Node278_15.a('node.gradientcolor',''); Node278_15.a('node.text','万kwh'); Node278_15.a('node.textalign','left'); Node278_15.a('node.textvAlign','middle'); Node278_15.a('node.textrect', [Node278_15textStart, 0, Node278_15textWidth, Node278_15height]); Node278_15.a('node.color','rgba(0,0,0,1)'); Node278_15.a('node.font',' '+ Node278_15fontSize + 'px "Arial"'); Node278_15.a('node.textvisible',true); Node278_15.a('node.linefeed',false); if (false) { Node278_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node278_15.a('node.text') || '万kwh'; var color=Node278_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_15width,Node278_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node278_15.a('node.underlinepoints',[Node278_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6, (Node278_15height - Node278_15fontSize) * 0.5*_ratio.ratioY + Node278_15fontSize + 2 ]); Node278_15.a('node.underlinevisible',false); Node278_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node278_15); zoomNodeList.push({ node: Node278_15, borderWidth: 0, attr: 'node.borderwidth' }); var Node279_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png'); Node279_0 = new ht.Node(); Node279_0.setPosition(193*ratio.ratioX, 860*ratio.ratioY); Node279_0.setSize(146*ratioX, 141*ratioY); Node279_0.setImage('imgimage//img//map_name_03.png'); Node279_0.setRotation(0*Math.PI/180); Node279_0._zoomBy = 'Default'; Node279_0._nodeType = 'image'; Node279_0._disallowEvert = true; dataModel.add(Node279_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_1 = new ht.Node(); var Node279_1textStart, Node279_1textWidth, Node279_1lineStart, Node279_1align = 'left', Node279_1fontSize = 10.66664*_ratio.ratioY,Node279_1width = 72*_ratio.ratioX, Node279_1height = 27*_ratio.ratioY; (function () { if (Node279_1align === 'left') { Node279_1textStart = Node279_1fontSize * 0.2 > 2 ? Node279_1fontSize * 0.2 - 4 : Node279_1fontSize * 0.2 - 9; Node279_1textWidth = Node279_1width; Node279_1lineStart = 1; } else if (Node279_1align === 'right') { Node279_1textStart = 0; Node279_1textWidth =Node279_1fontSize <= 8 ? Node279_1width + Node279_1fontSize * 0.2 + 6 : Node279_1width - Node279_1fontSize * 0.2; Node279_1lineStart = (Node279_1width - (ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_1align === 'center') { Node279_1textStart = -3; Node279_1textWidth = Node279_1width; Node279_1lineStart = Node279_1width - ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width - 11; } })(); Node279_1.setImage(GD.getTextJSON(Node279_1width, Node279_1height, true, false, false, ' '+ Node279_1fontSize + 'px "Arial"')) Node279_1.setPosition(163*ratio.ratioX, 813*ratio.ratioY); Node279_1.setWidth(Node279_1width); Node279_1.setHeight(Node279_1height); Node279_1._nodeType = 'text'; Node279_1._disallowEvert = true; Node279_1.setRotation(0*Math.PI/180); Node279_1.a('node.width', Node279_1width); Node279_1.a('node.height', Node279_1height); Node279_1.a('node.rect', [0, 0, Node279_1width, Node279_1height]); Node279_1.a('node.bordercolor','rgba(0,0,0,1)'); Node279_1.a('node.borderwidth', 0); Node279_1.a('node.background','' || 'rgba(0,0,0,0)'); Node279_1.a('node.gradient',''); Node279_1.a('node.gradientcolor',''); Node279_1.a('node.text','风机台数'); Node279_1.a('node.textalign','left'); Node279_1.a('node.textvAlign','middle'); Node279_1.a('node.textrect', [Node279_1textStart, 0, Node279_1textWidth, Node279_1height]); Node279_1.a('node.color','rgba(0,0,0,1)'); Node279_1.a('node.font',' '+ Node279_1fontSize + 'px "Arial"'); Node279_1.a('node.textvisible',true); Node279_1.a('node.linefeed',false); if (false) { Node279_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_1.a('node.text') || '风机台数'; var color=Node279_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_1width,Node279_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_1.a('node.underlinepoints',[Node279_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6, (Node279_1height - Node279_1fontSize) * 0.5*_ratio.ratioY + Node279_1fontSize + 2 ]); Node279_1.a('node.underlinevisible',false); Node279_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_1); zoomNodeList.push({ node: Node279_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_2 = new ht.Node(); var Node279_2textStart, Node279_2textWidth, Node279_2lineStart, Node279_2align = 'left', Node279_2fontSize = 10.66664*_ratio.ratioY,Node279_2width = 22*_ratio.ratioX, Node279_2height = 27*_ratio.ratioY; (function () { if (Node279_2align === 'left') { Node279_2textStart = Node279_2fontSize * 0.2 > 2 ? Node279_2fontSize * 0.2 - 4 : Node279_2fontSize * 0.2 - 9; Node279_2textWidth = Node279_2width; Node279_2lineStart = 1; } else if (Node279_2align === 'right') { Node279_2textStart = 0; Node279_2textWidth =Node279_2fontSize <= 8 ? Node279_2width + Node279_2fontSize * 0.2 + 6 : Node279_2width - Node279_2fontSize * 0.2; Node279_2lineStart = (Node279_2width - (ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_2align === 'center') { Node279_2textStart = -3; Node279_2textWidth = Node279_2width; Node279_2lineStart = Node279_2width - ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width - 11; } })(); Node279_2.setImage(GD.getTextJSON(Node279_2width, Node279_2height, true, false, false, ' '+ Node279_2fontSize + 'px "Arial"')) Node279_2.setPosition(201*ratio.ratioX, 813*ratio.ratioY); Node279_2.setWidth(Node279_2width); Node279_2.setHeight(Node279_2height); Node279_2._nodeType = 'text'; Node279_2._disallowEvert = true; Node279_2.setRotation(0*Math.PI/180); Node279_2.a('node.width', Node279_2width); Node279_2.a('node.height', Node279_2height); Node279_2.a('node.rect', [0, 0, Node279_2width, Node279_2height]); Node279_2.a('node.bordercolor','rgba(192,0,0,1)'); Node279_2.a('node.borderwidth', 0); Node279_2.a('node.background','' || 'rgba(0,0,0,0)'); Node279_2.a('node.gradient',''); Node279_2.a('node.gradientcolor',''); Node279_2.a('node.text','99'); Node279_2.a('node.textalign','left'); Node279_2.a('node.textvAlign','middle'); Node279_2.a('node.textrect', [Node279_2textStart, 0, Node279_2textWidth, Node279_2height]); Node279_2.a('node.color','rgba(192,0,0,1)'); Node279_2.a('node.font',' '+ Node279_2fontSize + 'px "Arial"'); Node279_2.a('node.textvisible',true); Node279_2.a('node.linefeed',false); if (false) { Node279_2.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_2.a('node.text') || '99'; var color=Node279_2.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_2width,Node279_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_2.a('node.underlinepoints',[Node279_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6, (Node279_2height - Node279_2fontSize) * 0.5*_ratio.ratioY + Node279_2fontSize + 2 ]); Node279_2.a('node.underlinevisible',false); Node279_2.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_2); zoomNodeList.push({ node: Node279_2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_3 = new ht.Node(); var Node279_3textStart, Node279_3textWidth, Node279_3lineStart, Node279_3align = 'left', Node279_3fontSize = 10.66664*_ratio.ratioY,Node279_3width = 43*_ratio.ratioX, Node279_3height = 27*_ratio.ratioY; (function () { if (Node279_3align === 'left') { Node279_3textStart = Node279_3fontSize * 0.2 > 2 ? Node279_3fontSize * 0.2 - 4 : Node279_3fontSize * 0.2 - 9; Node279_3textWidth = Node279_3width; Node279_3lineStart = 1; } else if (Node279_3align === 'right') { Node279_3textStart = 0; Node279_3textWidth =Node279_3fontSize <= 8 ? Node279_3width + Node279_3fontSize * 0.2 + 6 : Node279_3width - Node279_3fontSize * 0.2; Node279_3lineStart = (Node279_3width - (ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_3align === 'center') { Node279_3textStart = -3; Node279_3textWidth = Node279_3width; Node279_3lineStart = Node279_3width - ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width - 11; } })(); Node279_3.setImage(GD.getTextJSON(Node279_3width, Node279_3height, true, false, false, ' '+ Node279_3fontSize + 'px "Arial"')) Node279_3.setPosition(248*ratio.ratioX, 813*ratio.ratioY); Node279_3.setWidth(Node279_3width); Node279_3.setHeight(Node279_3height); Node279_3._nodeType = 'text'; Node279_3._disallowEvert = true; Node279_3.setRotation(0*Math.PI/180); Node279_3.a('node.width', Node279_3width); Node279_3.a('node.height', Node279_3height); Node279_3.a('node.rect', [0, 0, Node279_3width, Node279_3height]); Node279_3.a('node.bordercolor','rgba(0,0,0,1)'); Node279_3.a('node.borderwidth', 0); Node279_3.a('node.background','' || 'rgba(0,0,0,0)'); Node279_3.a('node.gradient',''); Node279_3.a('node.gradientcolor',''); Node279_3.a('node.text','万kwh'); Node279_3.a('node.textalign','left'); Node279_3.a('node.textvAlign','middle'); Node279_3.a('node.textrect', [Node279_3textStart, 0, Node279_3textWidth, Node279_3height]); Node279_3.a('node.color','rgba(0,0,0,1)'); Node279_3.a('node.font',' '+ Node279_3fontSize + 'px "Arial"'); Node279_3.a('node.textvisible',true); Node279_3.a('node.linefeed',false); if (false) { Node279_3.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_3.a('node.text') || '万kwh'; var color=Node279_3.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_3width,Node279_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_3.a('node.underlinepoints',[Node279_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6, (Node279_3height - Node279_3fontSize) * 0.5*_ratio.ratioY + Node279_3fontSize + 2 ]); Node279_3.a('node.underlinevisible',false); Node279_3.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_3); zoomNodeList.push({ node: Node279_3, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_4 = new ht.Node(); var Node279_4textStart, Node279_4textWidth, Node279_4lineStart, Node279_4align = 'left', Node279_4fontSize = 10.66664*_ratio.ratioY,Node279_4width = 72*_ratio.ratioX, Node279_4height = 27*_ratio.ratioY; (function () { if (Node279_4align === 'left') { Node279_4textStart = Node279_4fontSize * 0.2 > 2 ? Node279_4fontSize * 0.2 - 4 : Node279_4fontSize * 0.2 - 9; Node279_4textWidth = Node279_4width; Node279_4lineStart = 1; } else if (Node279_4align === 'right') { Node279_4textStart = 0; Node279_4textWidth =Node279_4fontSize <= 8 ? Node279_4width + Node279_4fontSize * 0.2 + 6 : Node279_4width - Node279_4fontSize * 0.2; Node279_4lineStart = (Node279_4width - (ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_4align === 'center') { Node279_4textStart = -3; Node279_4textWidth = Node279_4width; Node279_4lineStart = Node279_4width - ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width - 11; } })(); Node279_4.setImage(GD.getTextJSON(Node279_4width, Node279_4height, true, false, false, ' '+ Node279_4fontSize + 'px "Arial"')) Node279_4.setPosition(163*ratio.ratioX, 839*ratio.ratioY); Node279_4.setWidth(Node279_4width); Node279_4.setHeight(Node279_4height); Node279_4._nodeType = 'text'; Node279_4._disallowEvert = true; Node279_4.setRotation(0*Math.PI/180); Node279_4.a('node.width', Node279_4width); Node279_4.a('node.height', Node279_4height); Node279_4.a('node.rect', [0, 0, Node279_4width, Node279_4height]); Node279_4.a('node.bordercolor','rgba(0,0,0,1)'); Node279_4.a('node.borderwidth', 0); Node279_4.a('node.background','' || 'rgba(0,0,0,0)'); Node279_4.a('node.gradient',''); Node279_4.a('node.gradientcolor',''); Node279_4.a('node.text','装机容量'); Node279_4.a('node.textalign','left'); Node279_4.a('node.textvAlign','middle'); Node279_4.a('node.textrect', [Node279_4textStart, 0, Node279_4textWidth, Node279_4height]); Node279_4.a('node.color','rgba(0,0,0,1)'); Node279_4.a('node.font',' '+ Node279_4fontSize + 'px "Arial"'); Node279_4.a('node.textvisible',true); Node279_4.a('node.linefeed',false); if (false) { Node279_4.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_4.a('node.text') || '装机容量'; var color=Node279_4.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_4width,Node279_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_4.a('node.underlinepoints',[Node279_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6, (Node279_4height - Node279_4fontSize) * 0.5*_ratio.ratioY + Node279_4fontSize + 2 ]); Node279_4.a('node.underlinevisible',false); Node279_4.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_4); zoomNodeList.push({ node: Node279_4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_5 = new ht.Node(); var Node279_5textStart, Node279_5textWidth, Node279_5lineStart, Node279_5align = 'left', Node279_5fontSize = 10.66664*_ratio.ratioY,Node279_5width = 31*_ratio.ratioX, Node279_5height = 27*_ratio.ratioY; (function () { if (Node279_5align === 'left') { Node279_5textStart = Node279_5fontSize * 0.2 > 2 ? Node279_5fontSize * 0.2 - 4 : Node279_5fontSize * 0.2 - 9; Node279_5textWidth = Node279_5width; Node279_5lineStart = 1; } else if (Node279_5align === 'right') { Node279_5textStart = 0; Node279_5textWidth =Node279_5fontSize <= 8 ? Node279_5width + Node279_5fontSize * 0.2 + 6 : Node279_5width - Node279_5fontSize * 0.2; Node279_5lineStart = (Node279_5width - (ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_5align === 'center') { Node279_5textStart = -3; Node279_5textWidth = Node279_5width; Node279_5lineStart = Node279_5width - ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width - 11; } })(); Node279_5.setImage(GD.getTextJSON(Node279_5width, Node279_5height, true, false, false, ' '+ Node279_5fontSize + 'px "Arial"')) Node279_5.setPosition(206*ratio.ratioX, 839*ratio.ratioY); Node279_5.setWidth(Node279_5width); Node279_5.setHeight(Node279_5height); Node279_5._nodeType = 'text'; Node279_5._disallowEvert = true; Node279_5.setRotation(0*Math.PI/180); Node279_5.a('node.width', Node279_5width); Node279_5.a('node.height', Node279_5height); Node279_5.a('node.rect', [0, 0, Node279_5width, Node279_5height]); Node279_5.a('node.bordercolor','rgba(192,0,0,1)'); Node279_5.a('node.borderwidth', 0); Node279_5.a('node.background','' || 'rgba(0,0,0,0)'); Node279_5.a('node.gradient',''); Node279_5.a('node.gradientcolor',''); Node279_5.a('node.text','14.85'); Node279_5.a('node.textalign','left'); Node279_5.a('node.textvAlign','middle'); Node279_5.a('node.textrect', [Node279_5textStart, 0, Node279_5textWidth, Node279_5height]); Node279_5.a('node.color','rgba(192,0,0,1)'); Node279_5.a('node.font',' '+ Node279_5fontSize + 'px "Arial"'); Node279_5.a('node.textvisible',true); Node279_5.a('node.linefeed',false); if (false) { Node279_5.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_5.a('node.text') || '14.85'; var color=Node279_5.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_5width,Node279_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_5.a('node.underlinepoints',[Node279_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6, (Node279_5height - Node279_5fontSize) * 0.5*_ratio.ratioY + Node279_5fontSize + 2 ]); Node279_5.a('node.underlinevisible',false); Node279_5.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_5); zoomNodeList.push({ node: Node279_5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_6 = new ht.Node(); var Node279_6textStart, Node279_6textWidth, Node279_6lineStart, Node279_6align = 'left', Node279_6fontSize = 10.66664*_ratio.ratioY,Node279_6width = 43*_ratio.ratioX, Node279_6height = 27*_ratio.ratioY; (function () { if (Node279_6align === 'left') { Node279_6textStart = Node279_6fontSize * 0.2 > 2 ? Node279_6fontSize * 0.2 - 4 : Node279_6fontSize * 0.2 - 9; Node279_6textWidth = Node279_6width; Node279_6lineStart = 1; } else if (Node279_6align === 'right') { Node279_6textStart = 0; Node279_6textWidth =Node279_6fontSize <= 8 ? Node279_6width + Node279_6fontSize * 0.2 + 6 : Node279_6width - Node279_6fontSize * 0.2; Node279_6lineStart = (Node279_6width - (ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_6align === 'center') { Node279_6textStart = -3; Node279_6textWidth = Node279_6width; Node279_6lineStart = Node279_6width - ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width - 11; } })(); Node279_6.setImage(GD.getTextJSON(Node279_6width, Node279_6height, true, false, false, ' '+ Node279_6fontSize + 'px "Arial"')) Node279_6.setPosition(248*ratio.ratioX, 839*ratio.ratioY); Node279_6.setWidth(Node279_6width); Node279_6.setHeight(Node279_6height); Node279_6._nodeType = 'text'; Node279_6._disallowEvert = true; Node279_6.setRotation(0*Math.PI/180); Node279_6.a('node.width', Node279_6width); Node279_6.a('node.height', Node279_6height); Node279_6.a('node.rect', [0, 0, Node279_6width, Node279_6height]); Node279_6.a('node.bordercolor','rgba(0,0,0,1)'); Node279_6.a('node.borderwidth', 0); Node279_6.a('node.background','' || 'rgba(0,0,0,0)'); Node279_6.a('node.gradient',''); Node279_6.a('node.gradientcolor',''); Node279_6.a('node.text','万kwh'); Node279_6.a('node.textalign','left'); Node279_6.a('node.textvAlign','middle'); Node279_6.a('node.textrect', [Node279_6textStart, 0, Node279_6textWidth, Node279_6height]); Node279_6.a('node.color','rgba(0,0,0,1)'); Node279_6.a('node.font',' '+ Node279_6fontSize + 'px "Arial"'); Node279_6.a('node.textvisible',true); Node279_6.a('node.linefeed',false); if (false) { Node279_6.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_6.a('node.text') || '万kwh'; var color=Node279_6.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_6width,Node279_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_6.a('node.underlinepoints',[Node279_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6, (Node279_6height - Node279_6fontSize) * 0.5*_ratio.ratioY + Node279_6fontSize + 2 ]); Node279_6.a('node.underlinevisible',false); Node279_6.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_6); zoomNodeList.push({ node: Node279_6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_7 = new ht.Node(); var Node279_7textStart, Node279_7textWidth, Node279_7lineStart, Node279_7align = 'left', Node279_7fontSize = 10.66664*_ratio.ratioY,Node279_7width = 72*_ratio.ratioX, Node279_7height = 27*_ratio.ratioY; (function () { if (Node279_7align === 'left') { Node279_7textStart = Node279_7fontSize * 0.2 > 2 ? Node279_7fontSize * 0.2 - 4 : Node279_7fontSize * 0.2 - 9; Node279_7textWidth = Node279_7width; Node279_7lineStart = 1; } else if (Node279_7align === 'right') { Node279_7textStart = 0; Node279_7textWidth =Node279_7fontSize <= 8 ? Node279_7width + Node279_7fontSize * 0.2 + 6 : Node279_7width - Node279_7fontSize * 0.2; Node279_7lineStart = (Node279_7width - (ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_7align === 'center') { Node279_7textStart = -3; Node279_7textWidth = Node279_7width; Node279_7lineStart = Node279_7width - ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width - 11; } })(); Node279_7.setImage(GD.getTextJSON(Node279_7width, Node279_7height, true, false, false, ' '+ Node279_7fontSize + 'px "Arial"')) Node279_7.setPosition(163*ratio.ratioX, 864*ratio.ratioY); Node279_7.setWidth(Node279_7width); Node279_7.setHeight(Node279_7height); Node279_7._nodeType = 'text'; Node279_7._disallowEvert = true; Node279_7.setRotation(0*Math.PI/180); Node279_7.a('node.width', Node279_7width); Node279_7.a('node.height', Node279_7height); Node279_7.a('node.rect', [0, 0, Node279_7width, Node279_7height]); Node279_7.a('node.bordercolor','rgba(0,0,0,1)'); Node279_7.a('node.borderwidth', 0); Node279_7.a('node.background','' || 'rgba(0,0,0,0)'); Node279_7.a('node.gradient',''); Node279_7.a('node.gradientcolor',''); Node279_7.a('node.text','平均风速'); Node279_7.a('node.textalign','left'); Node279_7.a('node.textvAlign','middle'); Node279_7.a('node.textrect', [Node279_7textStart, 0, Node279_7textWidth, Node279_7height]); Node279_7.a('node.color','rgba(0,0,0,1)'); Node279_7.a('node.font',' '+ Node279_7fontSize + 'px "Arial"'); Node279_7.a('node.textvisible',true); Node279_7.a('node.linefeed',false); if (false) { Node279_7.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_7.a('node.text') || '平均风速'; var color=Node279_7.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_7width,Node279_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_7.a('node.underlinepoints',[Node279_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6, (Node279_7height - Node279_7fontSize) * 0.5*_ratio.ratioY + Node279_7fontSize + 2 ]); Node279_7.a('node.underlinevisible',false); Node279_7.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_7); zoomNodeList.push({ node: Node279_7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_8 = new ht.Node(); var Node279_8textStart, Node279_8textWidth, Node279_8lineStart, Node279_8align = 'left', Node279_8fontSize = 10.66664*_ratio.ratioY,Node279_8width = 22*_ratio.ratioX, Node279_8height = 27*_ratio.ratioY; (function () { if (Node279_8align === 'left') { Node279_8textStart = Node279_8fontSize * 0.2 > 2 ? Node279_8fontSize * 0.2 - 4 : Node279_8fontSize * 0.2 - 9; Node279_8textWidth = Node279_8width; Node279_8lineStart = 1; } else if (Node279_8align === 'right') { Node279_8textStart = 0; Node279_8textWidth =Node279_8fontSize <= 8 ? Node279_8width + Node279_8fontSize * 0.2 + 6 : Node279_8width - Node279_8fontSize * 0.2; Node279_8lineStart = (Node279_8width - (ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_8align === 'center') { Node279_8textStart = -3; Node279_8textWidth = Node279_8width; Node279_8lineStart = Node279_8width - ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width - 11; } })(); Node279_8.setImage(GD.getTextJSON(Node279_8width, Node279_8height, true, false, false, ' '+ Node279_8fontSize + 'px "Arial"')) Node279_8.setPosition(201*ratio.ratioX, 864*ratio.ratioY); Node279_8.setWidth(Node279_8width); Node279_8.setHeight(Node279_8height); Node279_8._nodeType = 'text'; Node279_8._disallowEvert = true; Node279_8.setRotation(0*Math.PI/180); Node279_8.a('node.width', Node279_8width); Node279_8.a('node.height', Node279_8height); Node279_8.a('node.rect', [0, 0, Node279_8width, Node279_8height]); Node279_8.a('node.bordercolor','rgba(192,0,0,1)'); Node279_8.a('node.borderwidth', 0); Node279_8.a('node.background','' || 'rgba(0,0,0,0)'); Node279_8.a('node.gradient',''); Node279_8.a('node.gradientcolor',''); Node279_8.a('node.text','-'); Node279_8.a('node.textalign','left'); Node279_8.a('node.textvAlign','middle'); Node279_8.a('node.textrect', [Node279_8textStart, 0, Node279_8textWidth, Node279_8height]); Node279_8.a('node.color','rgba(192,0,0,1)'); Node279_8.a('node.font',' '+ Node279_8fontSize + 'px "Arial"'); Node279_8.a('node.textvisible',true); Node279_8.a('node.linefeed',false); if (false) { Node279_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_8.a('node.text') || '-'; var color=Node279_8.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_8width,Node279_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_8.a('node.underlinepoints',[Node279_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6, (Node279_8height - Node279_8fontSize) * 0.5*_ratio.ratioY + Node279_8fontSize + 2 ]); Node279_8.a('node.underlinevisible',false); Node279_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_8); zoomNodeList.push({ node: Node279_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_9 = new ht.Node(); var Node279_9textStart, Node279_9textWidth, Node279_9lineStart, Node279_9align = 'left', Node279_9fontSize = 10.66664*_ratio.ratioY,Node279_9width = 43*_ratio.ratioX, Node279_9height = 27*_ratio.ratioY; (function () { if (Node279_9align === 'left') { Node279_9textStart = Node279_9fontSize * 0.2 > 2 ? Node279_9fontSize * 0.2 - 4 : Node279_9fontSize * 0.2 - 9; Node279_9textWidth = Node279_9width; Node279_9lineStart = 1; } else if (Node279_9align === 'right') { Node279_9textStart = 0; Node279_9textWidth =Node279_9fontSize <= 8 ? Node279_9width + Node279_9fontSize * 0.2 + 6 : Node279_9width - Node279_9fontSize * 0.2; Node279_9lineStart = (Node279_9width - (ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_9align === 'center') { Node279_9textStart = -3; Node279_9textWidth = Node279_9width; Node279_9lineStart = Node279_9width - ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width - 11; } })(); Node279_9.setImage(GD.getTextJSON(Node279_9width, Node279_9height, true, false, false, ' '+ Node279_9fontSize + 'px "Arial"')) Node279_9.setPosition(248*ratio.ratioX, 864*ratio.ratioY); Node279_9.setWidth(Node279_9width); Node279_9.setHeight(Node279_9height); Node279_9._nodeType = 'text'; Node279_9._disallowEvert = true; Node279_9.setRotation(0*Math.PI/180); Node279_9.a('node.width', Node279_9width); Node279_9.a('node.height', Node279_9height); Node279_9.a('node.rect', [0, 0, Node279_9width, Node279_9height]); Node279_9.a('node.bordercolor','rgba(0,0,0,1)'); Node279_9.a('node.borderwidth', 0); Node279_9.a('node.background','' || 'rgba(0,0,0,0)'); Node279_9.a('node.gradient',''); Node279_9.a('node.gradientcolor',''); Node279_9.a('node.text','万kwh'); Node279_9.a('node.textalign','left'); Node279_9.a('node.textvAlign','middle'); Node279_9.a('node.textrect', [Node279_9textStart, 0, Node279_9textWidth, Node279_9height]); Node279_9.a('node.color','rgba(0,0,0,1)'); Node279_9.a('node.font',' '+ Node279_9fontSize + 'px "Arial"'); Node279_9.a('node.textvisible',true); Node279_9.a('node.linefeed',false); if (false) { Node279_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_9.a('node.text') || '万kwh'; var color=Node279_9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_9width,Node279_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_9.a('node.underlinepoints',[Node279_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6, (Node279_9height - Node279_9fontSize) * 0.5*_ratio.ratioY + Node279_9fontSize + 2 ]); Node279_9.a('node.underlinevisible',false); Node279_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_9); zoomNodeList.push({ node: Node279_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_10 = new ht.Node(); var Node279_10textStart, Node279_10textWidth, Node279_10lineStart, Node279_10align = 'left', Node279_10fontSize = 10.66664*_ratio.ratioY,Node279_10width = 72*_ratio.ratioX, Node279_10height = 27*_ratio.ratioY; (function () { if (Node279_10align === 'left') { Node279_10textStart = Node279_10fontSize * 0.2 > 2 ? Node279_10fontSize * 0.2 - 4 : Node279_10fontSize * 0.2 - 9; Node279_10textWidth = Node279_10width; Node279_10lineStart = 1; } else if (Node279_10align === 'right') { Node279_10textStart = 0; Node279_10textWidth =Node279_10fontSize <= 8 ? Node279_10width + Node279_10fontSize * 0.2 + 6 : Node279_10width - Node279_10fontSize * 0.2; Node279_10lineStart = (Node279_10width - (ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_10align === 'center') { Node279_10textStart = -3; Node279_10textWidth = Node279_10width; Node279_10lineStart = Node279_10width - ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width - 11; } })(); Node279_10.setImage(GD.getTextJSON(Node279_10width, Node279_10height, true, false, false, ' '+ Node279_10fontSize + 'px "Arial"')) Node279_10.setPosition(163*ratio.ratioX, 890*ratio.ratioY); Node279_10.setWidth(Node279_10width); Node279_10.setHeight(Node279_10height); Node279_10._nodeType = 'text'; Node279_10._disallowEvert = true; Node279_10.setRotation(0*Math.PI/180); Node279_10.a('node.width', Node279_10width); Node279_10.a('node.height', Node279_10height); Node279_10.a('node.rect', [0, 0, Node279_10width, Node279_10height]); Node279_10.a('node.bordercolor','rgba(0,0,0,1)'); Node279_10.a('node.borderwidth', 0); Node279_10.a('node.background','' || 'rgba(0,0,0,0)'); Node279_10.a('node.gradient',''); Node279_10.a('node.gradientcolor',''); Node279_10.a('node.text','日发电量'); Node279_10.a('node.textalign','left'); Node279_10.a('node.textvAlign','middle'); Node279_10.a('node.textrect', [Node279_10textStart, 0, Node279_10textWidth, Node279_10height]); Node279_10.a('node.color','rgba(0,0,0,1)'); Node279_10.a('node.font',' '+ Node279_10fontSize + 'px "Arial"'); Node279_10.a('node.textvisible',true); Node279_10.a('node.linefeed',false); if (false) { Node279_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_10.a('node.text') || '日发电量'; var color=Node279_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_10width,Node279_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_10.a('node.underlinepoints',[Node279_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6, (Node279_10height - Node279_10fontSize) * 0.5*_ratio.ratioY + Node279_10fontSize + 2 ]); Node279_10.a('node.underlinevisible',false); Node279_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_10); zoomNodeList.push({ node: Node279_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_11 = new ht.Node(); var Node279_11textStart, Node279_11textWidth, Node279_11lineStart, Node279_11align = 'left', Node279_11fontSize = 10.66664*_ratio.ratioY,Node279_11width = 31*_ratio.ratioX, Node279_11height = 27*_ratio.ratioY; (function () { if (Node279_11align === 'left') { Node279_11textStart = Node279_11fontSize * 0.2 > 2 ? Node279_11fontSize * 0.2 - 4 : Node279_11fontSize * 0.2 - 9; Node279_11textWidth = Node279_11width; Node279_11lineStart = 1; } else if (Node279_11align === 'right') { Node279_11textStart = 0; Node279_11textWidth =Node279_11fontSize <= 8 ? Node279_11width + Node279_11fontSize * 0.2 + 6 : Node279_11width - Node279_11fontSize * 0.2; Node279_11lineStart = (Node279_11width - (ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_11align === 'center') { Node279_11textStart = -3; Node279_11textWidth = Node279_11width; Node279_11lineStart = Node279_11width - ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width - 11; } })(); Node279_11.setImage(GD.getTextJSON(Node279_11width, Node279_11height, true, false, false, ' '+ Node279_11fontSize + 'px "Arial"')) Node279_11.setPosition(206*ratio.ratioX, 890*ratio.ratioY); Node279_11.setWidth(Node279_11width); Node279_11.setHeight(Node279_11height); Node279_11._nodeType = 'text'; Node279_11._disallowEvert = true; Node279_11.setRotation(0*Math.PI/180); Node279_11.a('node.width', Node279_11width); Node279_11.a('node.height', Node279_11height); Node279_11.a('node.rect', [0, 0, Node279_11width, Node279_11height]); Node279_11.a('node.bordercolor','rgba(192,0,0,1)'); Node279_11.a('node.borderwidth', 0); Node279_11.a('node.background','' || 'rgba(0,0,0,0)'); Node279_11.a('node.gradient',''); Node279_11.a('node.gradientcolor',''); Node279_11.a('node.text','-'); Node279_11.a('node.textalign','left'); Node279_11.a('node.textvAlign','middle'); Node279_11.a('node.textrect', [Node279_11textStart, 0, Node279_11textWidth, Node279_11height]); Node279_11.a('node.color','rgba(192,0,0,1)'); Node279_11.a('node.font',' '+ Node279_11fontSize + 'px "Arial"'); Node279_11.a('node.textvisible',true); Node279_11.a('node.linefeed',false); if (false) { Node279_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_11.a('node.text') || '-'; var color=Node279_11.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_11width,Node279_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_11.a('node.underlinepoints',[Node279_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6, (Node279_11height - Node279_11fontSize) * 0.5*_ratio.ratioY + Node279_11fontSize + 2 ]); Node279_11.a('node.underlinevisible',false); Node279_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_11); zoomNodeList.push({ node: Node279_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_12 = new ht.Node(); var Node279_12textStart, Node279_12textWidth, Node279_12lineStart, Node279_12align = 'left', Node279_12fontSize = 10.66664*_ratio.ratioY,Node279_12width = 43*_ratio.ratioX, Node279_12height = 27*_ratio.ratioY; (function () { if (Node279_12align === 'left') { Node279_12textStart = Node279_12fontSize * 0.2 > 2 ? Node279_12fontSize * 0.2 - 4 : Node279_12fontSize * 0.2 - 9; Node279_12textWidth = Node279_12width; Node279_12lineStart = 1; } else if (Node279_12align === 'right') { Node279_12textStart = 0; Node279_12textWidth =Node279_12fontSize <= 8 ? Node279_12width + Node279_12fontSize * 0.2 + 6 : Node279_12width - Node279_12fontSize * 0.2; Node279_12lineStart = (Node279_12width - (ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_12align === 'center') { Node279_12textStart = -3; Node279_12textWidth = Node279_12width; Node279_12lineStart = Node279_12width - ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width - 11; } })(); Node279_12.setImage(GD.getTextJSON(Node279_12width, Node279_12height, true, false, false, ' '+ Node279_12fontSize + 'px "Arial"')) Node279_12.setPosition(248*ratio.ratioX, 890*ratio.ratioY); Node279_12.setWidth(Node279_12width); Node279_12.setHeight(Node279_12height); Node279_12._nodeType = 'text'; Node279_12._disallowEvert = true; Node279_12.setRotation(0*Math.PI/180); Node279_12.a('node.width', Node279_12width); Node279_12.a('node.height', Node279_12height); Node279_12.a('node.rect', [0, 0, Node279_12width, Node279_12height]); Node279_12.a('node.bordercolor','rgba(0,0,0,1)'); Node279_12.a('node.borderwidth', 0); Node279_12.a('node.background','' || 'rgba(0,0,0,0)'); Node279_12.a('node.gradient',''); Node279_12.a('node.gradientcolor',''); Node279_12.a('node.text','万kwh'); Node279_12.a('node.textalign','left'); Node279_12.a('node.textvAlign','middle'); Node279_12.a('node.textrect', [Node279_12textStart, 0, Node279_12textWidth, Node279_12height]); Node279_12.a('node.color','rgba(0,0,0,1)'); Node279_12.a('node.font',' '+ Node279_12fontSize + 'px "Arial"'); Node279_12.a('node.textvisible',true); Node279_12.a('node.linefeed',false); if (false) { Node279_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_12.a('node.text') || '万kwh'; var color=Node279_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_12width,Node279_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_12.a('node.underlinepoints',[Node279_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6, (Node279_12height - Node279_12fontSize) * 0.5*_ratio.ratioY + Node279_12fontSize + 2 ]); Node279_12.a('node.underlinevisible',false); Node279_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_12); zoomNodeList.push({ node: Node279_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_13 = new ht.Node(); var Node279_13textStart, Node279_13textWidth, Node279_13lineStart, Node279_13align = 'left', Node279_13fontSize = 10.66664*_ratio.ratioY,Node279_13width = 72*_ratio.ratioX, Node279_13height = 27*_ratio.ratioY; (function () { if (Node279_13align === 'left') { Node279_13textStart = Node279_13fontSize * 0.2 > 2 ? Node279_13fontSize * 0.2 - 4 : Node279_13fontSize * 0.2 - 9; Node279_13textWidth = Node279_13width; Node279_13lineStart = 1; } else if (Node279_13align === 'right') { Node279_13textStart = 0; Node279_13textWidth =Node279_13fontSize <= 8 ? Node279_13width + Node279_13fontSize * 0.2 + 6 : Node279_13width - Node279_13fontSize * 0.2; Node279_13lineStart = (Node279_13width - (ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_13align === 'center') { Node279_13textStart = -3; Node279_13textWidth = Node279_13width; Node279_13lineStart = Node279_13width - ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width - 11; } })(); Node279_13.setImage(GD.getTextJSON(Node279_13width, Node279_13height, true, false, false, ' '+ Node279_13fontSize + 'px "Arial"')) Node279_13.setPosition(163*ratio.ratioX, 917*ratio.ratioY); Node279_13.setWidth(Node279_13width); Node279_13.setHeight(Node279_13height); Node279_13._nodeType = 'text'; Node279_13._disallowEvert = true; Node279_13.setRotation(0*Math.PI/180); Node279_13.a('node.width', Node279_13width); Node279_13.a('node.height', Node279_13height); Node279_13.a('node.rect', [0, 0, Node279_13width, Node279_13height]); Node279_13.a('node.bordercolor','rgba(0,0,0,1)'); Node279_13.a('node.borderwidth', 0); Node279_13.a('node.background','' || 'rgba(0,0,0,0)'); Node279_13.a('node.gradient',''); Node279_13.a('node.gradientcolor',''); Node279_13.a('node.text','有功功率'); Node279_13.a('node.textalign','left'); Node279_13.a('node.textvAlign','middle'); Node279_13.a('node.textrect', [Node279_13textStart, 0, Node279_13textWidth, Node279_13height]); Node279_13.a('node.color','rgba(0,0,0,1)'); Node279_13.a('node.font',' '+ Node279_13fontSize + 'px "Arial"'); Node279_13.a('node.textvisible',true); Node279_13.a('node.linefeed',false); if (false) { Node279_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_13.a('node.text') || '有功功率'; var color=Node279_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_13width,Node279_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_13.a('node.underlinepoints',[Node279_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6, (Node279_13height - Node279_13fontSize) * 0.5*_ratio.ratioY + Node279_13fontSize + 2 ]); Node279_13.a('node.underlinevisible',false); Node279_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_13); zoomNodeList.push({ node: Node279_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_14 = new ht.Node(); var Node279_14textStart, Node279_14textWidth, Node279_14lineStart, Node279_14align = 'left', Node279_14fontSize = 10.66664*_ratio.ratioY,Node279_14width = 22*_ratio.ratioX, Node279_14height = 27*_ratio.ratioY; (function () { if (Node279_14align === 'left') { Node279_14textStart = Node279_14fontSize * 0.2 > 2 ? Node279_14fontSize * 0.2 - 4 : Node279_14fontSize * 0.2 - 9; Node279_14textWidth = Node279_14width; Node279_14lineStart = 1; } else if (Node279_14align === 'right') { Node279_14textStart = 0; Node279_14textWidth =Node279_14fontSize <= 8 ? Node279_14width + Node279_14fontSize * 0.2 + 6 : Node279_14width - Node279_14fontSize * 0.2; Node279_14lineStart = (Node279_14width - (ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_14align === 'center') { Node279_14textStart = -3; Node279_14textWidth = Node279_14width; Node279_14lineStart = Node279_14width - ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width - 11; } })(); Node279_14.setImage(GD.getTextJSON(Node279_14width, Node279_14height, true, false, false, ' '+ Node279_14fontSize + 'px "Arial"')) Node279_14.setPosition(201*ratio.ratioX, 917*ratio.ratioY); Node279_14.setWidth(Node279_14width); Node279_14.setHeight(Node279_14height); Node279_14._nodeType = 'text'; Node279_14._disallowEvert = true; Node279_14.setRotation(0*Math.PI/180); Node279_14.a('node.width', Node279_14width); Node279_14.a('node.height', Node279_14height); Node279_14.a('node.rect', [0, 0, Node279_14width, Node279_14height]); Node279_14.a('node.bordercolor','rgba(192,0,0,1)'); Node279_14.a('node.borderwidth', 0); Node279_14.a('node.background','' || 'rgba(0,0,0,0)'); Node279_14.a('node.gradient',''); Node279_14.a('node.gradientcolor',''); Node279_14.a('node.text','-'); Node279_14.a('node.textalign','left'); Node279_14.a('node.textvAlign','middle'); Node279_14.a('node.textrect', [Node279_14textStart, 0, Node279_14textWidth, Node279_14height]); Node279_14.a('node.color','rgba(192,0,0,1)'); Node279_14.a('node.font',' '+ Node279_14fontSize + 'px "Arial"'); Node279_14.a('node.textvisible',true); Node279_14.a('node.linefeed',false); if (false) { Node279_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_14.a('node.text') || '-'; var color=Node279_14.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_14width,Node279_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_14.a('node.underlinepoints',[Node279_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6, (Node279_14height - Node279_14fontSize) * 0.5*_ratio.ratioY + Node279_14fontSize + 2 ]); Node279_14.a('node.underlinevisible',false); Node279_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_14); zoomNodeList.push({ node: Node279_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279_15 = new ht.Node(); var Node279_15textStart, Node279_15textWidth, Node279_15lineStart, Node279_15align = 'left', Node279_15fontSize = 10.66664*_ratio.ratioY,Node279_15width = 43*_ratio.ratioX, Node279_15height = 27*_ratio.ratioY; (function () { if (Node279_15align === 'left') { Node279_15textStart = Node279_15fontSize * 0.2 > 2 ? Node279_15fontSize * 0.2 - 4 : Node279_15fontSize * 0.2 - 9; Node279_15textWidth = Node279_15width; Node279_15lineStart = 1; } else if (Node279_15align === 'right') { Node279_15textStart = 0; Node279_15textWidth =Node279_15fontSize <= 8 ? Node279_15width + Node279_15fontSize * 0.2 + 6 : Node279_15width - Node279_15fontSize * 0.2; Node279_15lineStart = (Node279_15width - (ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node279_15align === 'center') { Node279_15textStart = -3; Node279_15textWidth = Node279_15width; Node279_15lineStart = Node279_15width - ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width - 11; } })(); Node279_15.setImage(GD.getTextJSON(Node279_15width, Node279_15height, true, false, false, ' '+ Node279_15fontSize + 'px "Arial"')) Node279_15.setPosition(248*ratio.ratioX, 917*ratio.ratioY); Node279_15.setWidth(Node279_15width); Node279_15.setHeight(Node279_15height); Node279_15._nodeType = 'text'; Node279_15._disallowEvert = true; Node279_15.setRotation(0*Math.PI/180); Node279_15.a('node.width', Node279_15width); Node279_15.a('node.height', Node279_15height); Node279_15.a('node.rect', [0, 0, Node279_15width, Node279_15height]); Node279_15.a('node.bordercolor','rgba(0,0,0,1)'); Node279_15.a('node.borderwidth', 0); Node279_15.a('node.background','' || 'rgba(0,0,0,0)'); Node279_15.a('node.gradient',''); Node279_15.a('node.gradientcolor',''); Node279_15.a('node.text','万kwh'); Node279_15.a('node.textalign','left'); Node279_15.a('node.textvAlign','middle'); Node279_15.a('node.textrect', [Node279_15textStart, 0, Node279_15textWidth, Node279_15height]); Node279_15.a('node.color','rgba(0,0,0,1)'); Node279_15.a('node.font',' '+ Node279_15fontSize + 'px "Arial"'); Node279_15.a('node.textvisible',true); Node279_15.a('node.linefeed',false); if (false) { Node279_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node279_15.a('node.text') || '万kwh'; var color=Node279_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_15width,Node279_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node279_15.a('node.underlinepoints',[Node279_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6, (Node279_15height - Node279_15fontSize) * 0.5*_ratio.ratioY + Node279_15fontSize + 2 ]); Node279_15.a('node.underlinevisible',false); Node279_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node279_15); zoomNodeList.push({ node: Node279_15, borderWidth: 0, attr: 'node.borderwidth' }); /*@GraphList@*/ var datas = dataModel.getDatas(); ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'VIS':PageBackground_VIS,'VIS2':PageBackground_VIS2,'VIS3':PageBackground_VIS3,'VIS4':PageBackground_VIS4,'VIS5':PageBackground_VIS5,'VIS6':PageBackground_VIS6,'VIS7':PageBackground_VIS7,}}); if((0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);} setBorderOpacity(Node26,0,"Node26"); if(typeof(Node26.borderWidth)!="undefined"){setDashStyle(Node26,"Node26",'NoDash',Node26.borderWidth);} if(typeof(Node29.borderWidth)!="undefined"){setDashStyle(Node29,"Node29",'NoDash',Node29.borderWidth);} if(typeof(Node31.borderWidth)!="undefined"){setDashStyle(Node31,"Node31",'NoDash',Node31.borderWidth);} if(typeof(Node156.borderWidth)!="undefined"){setDashStyle(Node156,"Node156",'NoDash',Node156.borderWidth);} if(typeof(Node189.borderWidth)!="undefined"){setDashStyle(Node189,"Node189",'NoDash',Node189.borderWidth);} if(typeof(Node191.borderWidth)!="undefined"){setDashStyle(Node191,"Node191",'NoDash',Node191.borderWidth);} if(typeof(Node201.borderWidth)!="undefined"){setDashStyle(Node201,"Node201",'NoDash',Node201.borderWidth);} if(typeof(Node202.borderWidth)!="undefined"){setDashStyle(Node202,"Node202",'NoDash',Node202.borderWidth);} if((0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);} if((0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);} if((0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);} if((0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);} if((0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);} if((0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);} if((0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);} /*@PageInit@*/ function DatarefreshTask(callback){ /*@DataVarText@*/ callback = callback || function () {}; if(varList.length <= 0){ return callback(); } var ajaxdata = {}; var ajaxtype = 'GET'; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; var snapshots = eval(data); //判断快照是否为空 if (snapshots != null) { for (var i = 0; i < snapshots.length; i++) { var index = varList.indexOf (snapshots[i].TagName); var tagName = snapshots[i].TagName.toLowerCase(); if(index >= 0 && index< varList.length){ if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){ varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value); VarSnapshotTime[tagName]=snapshots[i].Time; }else{ varListObj[tagName] = VarValue[index] = snapshots[i].Value; VarSnapshotTime[tagName]=snapshots[i].Time; } } } } }, complete: function (XHR, TS) { XHR = null; callback(); } } ); } ;(function () { var i = 0; function getdata() { DatarefreshTask(function () { i++; Timer1sCmd(); Timer100msCmd(); Timer500msCmd(); if (i <= 4) { setTimeout(getdata, 50); } }); } setTimeout(getdata, 20); })(); intervalTimers.push(setInterval(DatarefreshTask, 500)); /*@DataRefresh@*/ function GetTagsProperty(){ /*@DataVarText@*/ if(varList.length <= 0){ return; } var ajaxtype = 'GET'; var ajaxdata = {}; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; for(var i=0;i0) {if(((sxxny==1)>0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}} if((1 )>0) {if(((sxxny==0)>0 )){Node10.s('2d.visible',true);}else{Node10.s('2d.visible',false);}} if((1 )>0) {if(((sy==1)>0 )){Node11.s('2d.visible',true);}else{Node11.s('2d.visible',false);}} if((1 )>0) {if(((sy==0)>0 )){Node12.s('2d.visible',true);}else{Node12.s('2d.visible',false);}} if((1 )>0) {if(((ldjsc==1)>0 )){Node221.s('2d.visible',true);}else{Node221.s('2d.visible',false);}} if((1 )>0) {if(((ldjsc==0)>0 )){Node222.s('2d.visible',true);}else{Node222.s('2d.visible',false);}} if((1 )>0) {if(((ztjs==1)>0 )){Node223.s('2d.visible',true);}else{Node223.s('2d.visible',false);}} if((1 )>0) {if(((ztjs==0)>0 )){Node224.s('2d.visible',true);}else{Node224.s('2d.visible',false);}} if((1 )>0) {if(((sbjz==1)>0 )){Node225.s('2d.visible',true);}else{Node225.s('2d.visible',false);}} if((1 )>0) {if(((sbjz==0)>0 )){Node226.s('2d.visible',true);}else{Node226.s('2d.visible',false);}} if((1 )>0) {if(((xnfx==1)>0 )){Node227.s('2d.visible',true);}else{Node227.s('2d.visible',false);}} if((1 )>0) {if(((xnfx==0)>0 )){Node228.s('2d.visible',true);}else{Node228.s('2d.visible',false);}} if((1 )>0) {if(((pjgl==1)>0 )){Node229.s('2d.visible',true);}else{Node229.s('2d.visible',false);}} if((1 )>0) {if(((pjgl==0)>0 )){Node230.s('2d.visible',true);}else{Node230.s('2d.visible',false);}} if((1 )>0) {if(((zbph==1)>0 )){Node231.s('2d.visible',true);}else{Node231.s('2d.visible',false);}} if((1 )>0) {if(((zbph==0)>0 )){Node232.s('2d.visible',true);}else{Node232.s('2d.visible',false);}} if((1 )>0) {if(((dbgl==1)>0 )){Node233.s('2d.visible',true);}else{Node233.s('2d.visible',false);}} if((1 )>0) {if(((dbgl==0)>0 )){Node234.s('2d.visible',true);}else{Node234.s('2d.visible',false);}} if((1 )>0) {if(((bjzx==1)>0 )){Node235.s('2d.visible',true);}else{Node235.s('2d.visible',false);}} if((1 )>0) {if(((bjzx==0)>0 )){Node236.s('2d.visible',true);}else{Node236.s('2d.visible',false);}} if((1 )>0) {if(((jrjs==1)>0 )){Node237.s('2d.visible',true);}else{Node237.s('2d.visible',false);}} if((1 )>0) {if(((jrjs==0)>0 )){Node238.s('2d.visible',true);}else{Node238.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==1)>0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==0)>0 )){Node240.s('2d.visible',true);}else{Node240.s('2d.visible',false);}} if((1 )>0) {if(((plhts==1)>0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);}} if((1 )>0) {if(((plhts==0)>0 )){Node242.s('2d.visible',true);}else{Node242.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==1)>0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==0)>0 )){Node244.s('2d.visible',true);}else{Node244.s('2d.visible',false);}} if((1 )>0) {if(((gljf==1)>0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);}} if((1 )>0) {if(((gljf==0)>0 )){Node246.s('2d.visible',true);}else{Node246.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==1)>0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==0)>0 )){Node248.s('2d.visible',true);}else{Node248.s('2d.visible',false);}} if((1 )>0) {if(((llbts==1)>0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}} if((1 )>0) {if(((llbts==0)>0 )){Node250.s('2d.visible',true);}else{Node250.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==1)>0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==0)>0 )){Node252.s('2d.visible',true);}else{Node252.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node259_0.s('2d.visible',true);}else{Node259_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node259_1.s('2d.visible',true);}else{Node259_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS==0)>0 )){Node260_0.s('2d.visible',true);}else{Node260_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS==0)>0 )){Node260_1.s('2d.visible',true);}else{Node260_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node261_0.s('2d.visible',true);}else{Node261_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node261_1.s('2d.visible',true);}else{Node261_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==0)>0 )){Node262_0.s('2d.visible',true);}else{Node262_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==0)>0 )){Node262_1.s('2d.visible',true);}else{Node262_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node263_0.s('2d.visible',true);}else{Node263_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node263_1.s('2d.visible',true);}else{Node263_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==0)>0 )){Node264_0.s('2d.visible',true);}else{Node264_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==0)>0 )){Node264_1.s('2d.visible',true);}else{Node264_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node265_0.s('2d.visible',true);}else{Node265_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node265_1.s('2d.visible',true);}else{Node265_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==0)>0 )){Node266_0.s('2d.visible',true);}else{Node266_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==0)>0 )){Node266_1.s('2d.visible',true);}else{Node266_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node267_0.s('2d.visible',true);}else{Node267_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node267_1.s('2d.visible',true);}else{Node267_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==0)>0 )){Node268_0.s('2d.visible',true);}else{Node268_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==0)>0 )){Node268_1.s('2d.visible',true);}else{Node268_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node269_0.s('2d.visible',true);}else{Node269_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node269_1.s('2d.visible',true);}else{Node269_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==0)>0 )){Node270_0.s('2d.visible',true);}else{Node270_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==0)>0 )){Node270_1.s('2d.visible',true);}else{Node270_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node271_0.s('2d.visible',true);}else{Node271_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node271_1.s('2d.visible',true);}else{Node271_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==0)>0 )){Node272_0.s('2d.visible',true);}else{Node272_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==0)>0 )){Node272_1.s('2d.visible',true);}else{Node272_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_0.s('2d.visible',true);}else{Node273_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_1.s('2d.visible',true);}else{Node273_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_2.s('2d.visible',true);}else{Node273_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_3.s('2d.visible',true);}else{Node273_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_4.s('2d.visible',true);}else{Node273_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_5.s('2d.visible',true);}else{Node273_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_6.s('2d.visible',true);}else{Node273_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_7.s('2d.visible',true);}else{Node273_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_8.s('2d.visible',true);}else{Node273_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_9.s('2d.visible',true);}else{Node273_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_10.s('2d.visible',true);}else{Node273_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_11.s('2d.visible',true);}else{Node273_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_12.s('2d.visible',true);}else{Node273_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_13.s('2d.visible',true);}else{Node273_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_14.s('2d.visible',true);}else{Node273_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS==1)>0 )){Node273_15.s('2d.visible',true);}else{Node273_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_0.s('2d.visible',true);}else{Node274_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_1.s('2d.visible',true);}else{Node274_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_2.s('2d.visible',true);}else{Node274_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_3.s('2d.visible',true);}else{Node274_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_4.s('2d.visible',true);}else{Node274_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_5.s('2d.visible',true);}else{Node274_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_6.s('2d.visible',true);}else{Node274_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_7.s('2d.visible',true);}else{Node274_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_8.s('2d.visible',true);}else{Node274_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_9.s('2d.visible',true);}else{Node274_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_10.s('2d.visible',true);}else{Node274_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_11.s('2d.visible',true);}else{Node274_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_12.s('2d.visible',true);}else{Node274_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_13.s('2d.visible',true);}else{Node274_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_14.s('2d.visible',true);}else{Node274_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS3==1)>0 )){Node274_15.s('2d.visible',true);}else{Node274_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_0.s('2d.visible',true);}else{Node275_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_1.s('2d.visible',true);}else{Node275_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_2.s('2d.visible',true);}else{Node275_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_3.s('2d.visible',true);}else{Node275_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_4.s('2d.visible',true);}else{Node275_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_5.s('2d.visible',true);}else{Node275_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_6.s('2d.visible',true);}else{Node275_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_7.s('2d.visible',true);}else{Node275_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_8.s('2d.visible',true);}else{Node275_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_9.s('2d.visible',true);}else{Node275_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_10.s('2d.visible',true);}else{Node275_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_11.s('2d.visible',true);}else{Node275_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_12.s('2d.visible',true);}else{Node275_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_13.s('2d.visible',true);}else{Node275_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_14.s('2d.visible',true);}else{Node275_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS2==1)>0 )){Node275_15.s('2d.visible',true);}else{Node275_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_0.s('2d.visible',true);}else{Node276_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_1.s('2d.visible',true);}else{Node276_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_2.s('2d.visible',true);}else{Node276_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_3.s('2d.visible',true);}else{Node276_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_4.s('2d.visible',true);}else{Node276_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_5.s('2d.visible',true);}else{Node276_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_6.s('2d.visible',true);}else{Node276_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_7.s('2d.visible',true);}else{Node276_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_8.s('2d.visible',true);}else{Node276_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_9.s('2d.visible',true);}else{Node276_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_10.s('2d.visible',true);}else{Node276_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_11.s('2d.visible',true);}else{Node276_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_12.s('2d.visible',true);}else{Node276_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_13.s('2d.visible',true);}else{Node276_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_14.s('2d.visible',true);}else{Node276_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS4==1)>0 )){Node276_15.s('2d.visible',true);}else{Node276_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_0.s('2d.visible',true);}else{Node277_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_1.s('2d.visible',true);}else{Node277_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_2.s('2d.visible',true);}else{Node277_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_3.s('2d.visible',true);}else{Node277_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_4.s('2d.visible',true);}else{Node277_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_5.s('2d.visible',true);}else{Node277_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_6.s('2d.visible',true);}else{Node277_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_7.s('2d.visible',true);}else{Node277_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_8.s('2d.visible',true);}else{Node277_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_9.s('2d.visible',true);}else{Node277_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_10.s('2d.visible',true);}else{Node277_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_11.s('2d.visible',true);}else{Node277_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_12.s('2d.visible',true);}else{Node277_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_13.s('2d.visible',true);}else{Node277_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_14.s('2d.visible',true);}else{Node277_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS5==1)>0 )){Node277_15.s('2d.visible',true);}else{Node277_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_0.s('2d.visible',true);}else{Node278_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_1.s('2d.visible',true);}else{Node278_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_2.s('2d.visible',true);}else{Node278_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_3.s('2d.visible',true);}else{Node278_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_4.s('2d.visible',true);}else{Node278_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_5.s('2d.visible',true);}else{Node278_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_6.s('2d.visible',true);}else{Node278_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_7.s('2d.visible',true);}else{Node278_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_8.s('2d.visible',true);}else{Node278_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_9.s('2d.visible',true);}else{Node278_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_10.s('2d.visible',true);}else{Node278_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_11.s('2d.visible',true);}else{Node278_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_12.s('2d.visible',true);}else{Node278_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_13.s('2d.visible',true);}else{Node278_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_14.s('2d.visible',true);}else{Node278_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS6==1)>0 )){Node278_15.s('2d.visible',true);}else{Node278_15.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_0.s('2d.visible',true);}else{Node279_0.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_1.s('2d.visible',true);}else{Node279_1.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_2.s('2d.visible',true);}else{Node279_2.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_3.s('2d.visible',true);}else{Node279_3.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_4.s('2d.visible',true);}else{Node279_4.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_5.s('2d.visible',true);}else{Node279_5.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_6.s('2d.visible',true);}else{Node279_6.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_7.s('2d.visible',true);}else{Node279_7.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_8.s('2d.visible',true);}else{Node279_8.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_9.s('2d.visible',true);}else{Node279_9.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_10.s('2d.visible',true);}else{Node279_10.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_11.s('2d.visible',true);}else{Node279_11.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_12.s('2d.visible',true);}else{Node279_12.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_13.s('2d.visible',true);}else{Node279_13.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_14.s('2d.visible',true);}else{Node279_14.s('2d.visible',false);}} if((1 )>0) {if(((VIS7==1)>0 )){Node279_15.s('2d.visible',true);}else{Node279_15.s('2d.visible',false);}} /*@Timer500ms@*/ // graphView.redraw(); } intervalTimers.push(setInterval(Timer500msCmd, 500)); function Timer1sCmd() { Counter1s++; if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload(); Node3_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}}); Node4_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}}); Node192_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}}); Node196_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}}); /*@Timer1000ms@*/ // graphView.redraw(); } Timer1sCmd(); intervalTimers.push(setInterval(Timer1sCmd, 1000)); function Timer5sCmd() { Counter5s++; /*@Timer5000ms@*/ // graphView.redraw(); } // intervalTimers.push(setInterval(Timer5sCmd, 5000)); /*@EventTimer@*/ //graphView.setInteractors(null); if (!!view) { view.eventList = view.eventList || {}; } function blockDataFilter (data) { return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false); } var type ='mousedown'; function doMouseDown (e, origin) { if(!ht.Default.isLeftButton(e)){return;} mouseX=e.clientX; mouseY=e.clientY; origin = origin || graphView; window.GD && GD.hideTagInfo(); var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin); return; } if(data === Node239){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } /*@EvnentMouseDown@*/ } view.eventList[type] = doMouseDown; view['on'+type] = function(e){ doMouseDown(e); e.preventDefault(); }; type ='mouseup'; function doMouseUp (e, origin) { if(!ht.Default.isLeftButton(e)){return;} origin = origin || graphView; var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin); return; } /*@EvnentMouseUp@*/ } view.eventList[type] = doMouseUp; view['on'+type] = function(e){ doMouseUp(e); e.preventDefault(); }; type ='click'; function doClick (e, origin) { if(!ht.Default.isLeftButton(e)){return;} origin = origin || graphView; var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin); return; } /*@EvnentClicked@*/ } view.eventList[type] = doClick; view['on'+type] = function(e){ doClick(e); e.preventDefault(); }; type ='mousemove'; var objMouseOn = null, _objMouseOn = null; function doMouseMove (e, origin, offset) { var positon, data, zoom, _data, libData; origin = origin || graphView; position=origin.getLogicalPoint(e); zoom = graphView.getZoom(); if (origin === graphView) { mouseX= position.x + origin.tx(); mouseY = position.y + origin.ty(); } else { offset = offset || {x: 0, y: 0}; mouseX = position.x / zoom + offset.x + origin.tx(); mouseY = position.y / zoom + offset.y + origin.ty(); } data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)}); if(data === objMouseOn || data === _objMouseOn) return; // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用 if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) { _data = data; data = libData = _libModel.getDataByKey(_data.__parentLib); } if(data !== Node9&& objMouseOn===Node9){sxxny=0; } if(data !== Node11&& objMouseOn===Node11){sy=0; } if(data !== Node221&& objMouseOn===Node221){ldjsc=0; } if(data !== Node223&& objMouseOn===Node223){ztjs=0; } if(data !== Node225&& objMouseOn===Node225){sbjz=0; } if(data !== Node227&& objMouseOn===Node227){xnfx=0; } if(data !== Node229&& objMouseOn===Node229){pjgl=0; } if(data !== Node231&& objMouseOn===Node231){zbph=0; } if(data !== Node233&& objMouseOn===Node233){dbgl=0; } if(data !== Node235&& objMouseOn===Node235){bjzx=0; } if(data !== Node237&& objMouseOn===Node237){jrjs=0; } if(data !== Node239&& objMouseOn===Node239){yygjb=0; } if(data !== Node241&& objMouseOn===Node241){plhts=0; } if(data !== Node243&& objMouseOn===Node243){tqwns=0; } if(data !== Node245&& objMouseOn===Node245){gljf=0; } if(data !== Node247&& objMouseOn===Node247){hyfy=0; } if(data !== Node249&& objMouseOn===Node249){llbts=0; } if(data !== Node251&& objMouseOn===Node251){ygcls=0; } if(data !== Node259_0&& objMouseOn===Node259_0){VIS=0; } if(data !== Node259_1&& objMouseOn===Node259_1){VIS=0; } if(data !== Node261_0&& objMouseOn===Node261_0){VIS2=0; } if(data !== Node261_1&& objMouseOn===Node261_1){VIS2=0; } if(data !== Node263_0&& objMouseOn===Node263_0){VIS3=0; } if(data !== Node263_1&& objMouseOn===Node263_1){VIS3=0; } if(data !== Node265_0&& objMouseOn===Node265_0){VIS5=0; } if(data !== Node265_1&& objMouseOn===Node265_1){VIS5=0; } if(data !== Node267_0&& objMouseOn===Node267_0){VIS4=0; } if(data !== Node267_1&& objMouseOn===Node267_1){VIS4=0; } if(data !== Node269_0&& objMouseOn===Node269_0){VIS6=0; } if(data !== Node269_1&& objMouseOn===Node269_1){VIS6=0; } if(data !== Node271_0&& objMouseOn===Node271_0){VIS7=0; } if(data !== Node271_1&& objMouseOn===Node271_1){VIS7=0; } /*@EvnentMouseLeave@*/ if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) { objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn); } objMouseOn = data; _objMouseOn = _data; if(data === Node10){sxxny=1; } if(data === Node12){sy=1; } if(data === Node222){ldjsc=1; } if(data === Node224){ztjs=1; } if(data === Node226){sbjz=1; } if(data === Node228){xnfx=1; } if(data === Node230){pjgl=1; } if(data === Node232){zbph=1; } if(data === Node234){dbgl=1; } if(data === Node236){bjzx=1; } if(data === Node238){jrjs=1; } if(data === Node240){yygjb=1; } if(data === Node242){plhts=1; } if(data === Node244){tqwns=1; } if(data === Node246){gljf=1; } if(data === Node248){hyfy=1; } if(data === Node250){llbts=1; } if(data === Node252){ygcls=1; } if(data === Node260_0){VIS=1; } if(data === Node260_1){VIS=1; } if(data === Node262_0){VIS2=1; } if(data === Node262_1){VIS2=1; } if(data === Node264_0){VIS3=1; } if(data === Node264_1){VIS3=1; } if(data === Node266_0){VIS5=1; } if(data === Node266_1){VIS5=1; } if(data === Node268_0){VIS4=1; } if(data === Node268_1){VIS4=1; } if(data === Node270_0){VIS6=1; } if(data === Node270_1){VIS6=1; } if(data === Node272_0){VIS7=1; } if(data === Node272_1){VIS7=1; } /*@EvnentMouseOver@*/ if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) { data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn); } } view.eventList[type] = doMouseMove; view['on'+type] = function(e){ doMouseMove(e); e.preventDefault(); }; window.onkeydown = function doKeyDown(e) { var keyID = e.keyCode ? e.keyCode :e.which; //if(keyID === 87) { } /*@EvnentKeyDown@*/ // if (keyID === 27 && graphView) { // graphView.setZoom(1); // graphView.tx(0); // graphView.ty(0); // } return; } /*@Event@*/ /*@Declare@*/ var contextmenu = new ht.widget.ContextMenu(); contextmenu.contextMenuHoverBackground='rgb(104,216,255)'; contextmenu.contextMenuBackground='rgb(255,255,255)'; contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)'; contextmenu.contextMenuLabelColor='rgb(48,48,48)'; contextmenu.beforeShow = function(e, gv) { gv = gv || graphView; if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') { gv = graphView; } this.setItems(null); window.GD && GD.hideTagInfo(); var data = gv.getDataAt(e) || graphView.getDataAt(e); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this); return; } //if(false); /*@SetNodeContextMenu@*/ /*@SetPageContextMenu@*/ }; contextmenu.afterShow = function (e) { var fontSize = 14, screenWidth = window.screen.width, screenHeight = window.screen.height, rx = screenWidth / 1920, ry = screenHeight / 1080, itemHeight = 30 * ry, fontFamily = '', width = 150 * rx; itemHeight = itemHeight > 30 ? itemHeight : 30; var $contextMenu = $(this.getView()); $contextMenu.find('.contextmenu-item-icon').css({ width: 14, height: 14, marginRight: 10 }); $contextMenu.find('li.menu-item').css({ fontSize: fontSize, fontWeight: 600, height: itemHeight, minHeight: 25, lineHeight: itemHeight + 'px', fontFamily: fontFamily, padding: 0 }); $contextMenu.find('ul').css({ width: width, minWidth: 100 }); contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40); }; view.eventList && (view.eventList['contextMenu'] = contextmenu); contextmenu.addTo(view); contextMenuOnViewList.push(contextmenu); /*@ControlContextMenu@*/ graphView.getSelectWidth = function() { return 0; }; (function () { var $mainContainer, mainContainerHeight, mainContainerWidth, originHeight, originWidth, ratioX, ratioY, isPageContainer = false; graphView._pageBackgroundNode = PageBackground; if (pageSizeRatioValue !== 'adaptBrowser') { window.GD && GD.setPageToCenterOrLeftTop(); } function throttle () { var timer = null; return function () { timer && clearTimeout(timer); timer = setTimeout(function () { var value = GD.getParams('pageSizeRatioValue') || {}; value = value.value || PageAdaptMode.value; GD.setPageSizeWithRatio(value, ratio, backSize); }, 200) } } try { if (window.parent && window.parent.openDialog) { autoAdaptive = false; } } catch (error) {} try { if (window.parent && window.parent.pageContainer) { graphView.handleScroll = function (data) { var t = graphView.ty() - data.deltaY; var contentSize = graphView.getContentRect(); var min = contentSize.height - graphView.getHeight() + 50; if (min <= 50) return ; graphView.setTranslate(0, t, true); graphView.setScrollBarSize(8); } graphView.adjustTranslateY = function (value) { var contentSize = graphView.getContentRect(); var min = graphView.getHeight() - contentSize.height - 50; value = value > 0 ? 0 : value; value = value < min ? min : value; return value; } autoAdaptive = false; isPageContainer = true; } } catch (error) {} if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') { graphView.setScrollBarVisible(false); if (!graphView._pannable) { graphView.adjustTranslateX = function () {return 0}; graphView.adjustTranslateY = function () {return 0}; } $window.off('resize').on('resize', throttle()); // setTimeout(resizePage, 100); showPage(); } else { showPage(); graphView.fitContent(false,0,true); $window.off('resize').on('resize', function (e) { if (!!isPageContainer) { window.parent.postMessage('getZoom', '*'); } else { graphView.fitContent(false,0,true); } }) } var graphViewTimer = null; // 监听鼠标缩放页面事件 graphView.adjustZoom = function (value) { graphViewTimer && clearTimeout(graphViewTimer); graphViewTimer = setTimeout(function () { $window.trigger('graphViewZoomEnded', [value]); GD.resetNodeBorderWidth(zoomNodeList, 1/value); }, 80) return value; } $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) { var data = e.args; var value = GD.getParams('pageSizeRatioValue') || {}; value = value.value || PageAdaptMode.value; GD.setPageSizeWithRatio(value, ratio, backSize); graphView.setZoom(data.zoom); graphView.tx(0); graphView.ty(0); }); $window.off('beforeunload').on("beforeunload", function( event ) { try { sessionStorage.setItem(location.pathname, JSON.stringify(VarValue)); } catch (error) {console.log(error.message);} ;(function () { var GD = window.GD; if (!GD || typeof GD.removeParams !== 'function') return ; GD.removeParams(); GD.removeParams('pageSizeRatioValue'); })(); }); graphView.setScrollBarColor('rgba(211,211,211,1)'); graphView.setAutoHideScrollBar(false); GD.autoToggleScrollBar(); // ;(function () { // var oriX=browserSize.width/backSize.width; // var oriY=browserSize.height/backSize.height; // var json = [ // { // label: "25%", // action: function(item, event) { // GD.setPageSizeWithRatio(0.25); // } // }, // { // label: "50%", // action: function(item, event) { // GD.setPageSizeWithRatio(0.5); // } // }, // { // label: "100%", // action: function(item, event) { // GD.setPageSizeWithRatio(1); // } // }, // { // label: "200%", // action: function(item, event) { // GD.setPageSizeWithRatio(2); // } // }, // { // label: "400%", // action: function(item, event) { // GD.setPageSizeWithRatio(4); // } // }, // { // label: "实际大小", // action: function(item, event) { // GD.setPageSizeWithRatio('originSize'); // } // }, // { // label: '适合屏幕', // action: function (item, event) { // GD.setPageSizeWithRatio('adaptBrowser'); // } // }, // { // label: "适合宽度", // action: function(item, event) { // GD.setPageSizeWithRatio('adaptWidth'); // } // }, // { // label: "适合高度", // action: function(item, event) { // GD.setPageSizeWithRatio('adaptHeight'); // } // }, // ]; // var zoomMenu = new ht.widget.ContextMenu(json); // zoomMenu.disableGlobalKey(); // zoomMenu.setLabelMaxWidth(100); // zoomMenu.addTo($('.main')[0]); // })(); (function () { var btnstr="停止数据刷新"; var json = [], item1, item2; item1 = { label: btnstr, action: function(item, event) { if(btnstr=="停止数据刷新"){ clearInterval(intervalTimers[0]); intervalTimers.shift(intervalTimers[0]); btnstr="开启数据刷新"; json[0].label=btnstr; }else{ intervalTimers.unshift(setInterval(DatarefreshTask, 1000)); btnstr="停止数据刷新"; json[0].label=btnstr; } } }; item2 = { label: "下载本页所有测点", action: function(item, event) { var time = new Date(); var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds(); var str= "测点名\n"; for(var i=0;i 0) { addContextMenu(); } })(); })(); }