/*@WebApiFunc@*/ var varList = []; 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'], '1234/ldjsc': ['Script/alarmCommon.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< 0 ;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)'; fs=0; sjgl=0; yfgl=0; rfdl=0; yfdl=0; ylyxx=0; nfdl=0; nlyxs=0; llfdl=0; whssdl=0; gzssdl=0; xdssdl=0; slssdl=0; xnssdl=0; jrjs=0; bjzx=0; dbgl=0; zbph=0; pjgl=0; xnfx=0; sbjz=0; ztjs=0; ldjsc=0; sy=0; Node384GroupVarName=[{'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':'阳高采凉山'}]; Node384GroupInVarName=[{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 128, 0','DrawType':0,'StaType':0,'color':'#ff8000'},{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'128, 255, 255','DrawType':0,'StaType':0,'color':'#80ffff'},{'statisticsType':'Avg','Tag':'quick','Name':'quick','displayName':'','Col':'255, 0, 255','DrawType':2,'StaType':0,'color':'#ff00ff'}]; /*@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 = 0*2; if (Node0type === 'arc') { Node0BorderWidth *= 0; } Node0.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node0.setPosition(226*ratio.ratioX, 581*ratio.ratioY); Node0.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node0.a('node.width', 66*_ratio.ratioX); Node0.a('node.height', 30*_ratio.ratioY); Node0.a('node.type', Node0type); Node0.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node0.a('node.background', 'rgba(245,245,245,1)'); Node0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node0.a('node.gradient', ''); Node0.a('node.borderwidth', Node0BorderWidth); Node0.a('node.color', 'rgba(224,224,224,0)'); 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 = 0*2; if (Node1type === 'arc') { Node1BorderWidth *= 0; } Node1.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node1.setPosition(226*ratio.ratioX, 550*ratio.ratioY); Node1.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node1.a('node.width', 66*_ratio.ratioX); Node1.a('node.height', 30*_ratio.ratioY); Node1.a('node.type', Node1type); Node1.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node1.a('node.background', 'rgba(245,245,245,1)'); Node1.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node1.a('node.gradient', ''); Node1.a('node.borderwidth', Node1BorderWidth); Node1.a('node.color', 'rgba(224,224,224,0)'); 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 = 0*2; if (Node2type === 'arc') { Node2BorderWidth *= 0; } Node2.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node2.setPosition(226*ratio.ratioX, 519*ratio.ratioY); Node2.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node2.a('node.width', 66*_ratio.ratioX); Node2.a('node.height', 30*_ratio.ratioY); Node2.a('node.type', Node2type); Node2.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node2.a('node.background', 'rgba(245,245,245,1)'); Node2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node2.a('node.gradient', ''); Node2.a('node.borderwidth', Node2BorderWidth); Node2.a('node.color', 'rgba(224,224,224,0)'); 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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node3type = 'rect'; var Node3 = new ht.Node(), Node3BorderWidth = 0*2; if (Node3type === 'arc') { Node3BorderWidth *= 0; } Node3.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node3.setPosition(37*ratio.ratioX, 581*ratio.ratioY); Node3.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node3.a('node.width', 66*_ratio.ratioX); Node3.a('node.height', 30*_ratio.ratioY); Node3.a('node.type', Node3type); Node3.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node3.a('node.background', 'rgba(245,245,245,1)'); Node3.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node3.a('node.gradient', ''); Node3.a('node.borderwidth', Node3BorderWidth); Node3.a('node.color', 'rgba(224,224,224,0)'); Node3.a('node.fillrect', [0,0,0,0]); Node3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node3.a('node.fillgradient', ''); if (Node3type !== 'rect') { Node3.a('node.arcFrom', parseFloat('@arcFrom@')); Node3.a('node.arcTo', parseFloat('@arcTo@')); Node3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node3type === 'arc') { Node3.a('node.arcOval', true); } Node3.setRotation(0*Math.PI/180); Node3.borderWidth = Node3BorderWidth; Node3.borderFillwidth = Node3BorderWidth; dataModel.add(Node3); Node3._nodename = 'Node3' Node3._nodeType = 'rect'; zoomNodeList.push({ node: Node3, 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); } })(Node3, Node3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node4type = 'rect'; var Node4 = new ht.Node(), Node4BorderWidth = 0*2; if (Node4type === 'arc') { Node4BorderWidth *= 0; } Node4.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node4.setPosition(37*ratio.ratioX, 549*ratio.ratioY); Node4.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node4.a('node.width', 66*_ratio.ratioX); Node4.a('node.height', 30*_ratio.ratioY); Node4.a('node.type', Node4type); Node4.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node4.a('node.background', 'rgba(245,245,245,1)'); Node4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node4.a('node.gradient', ''); Node4.a('node.borderwidth', Node4BorderWidth); Node4.a('node.color', 'rgba(224,224,224,0)'); Node4.a('node.fillrect', [0,0,0,0]); Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node4.a('node.fillgradient', ''); if (Node4type !== 'rect') { Node4.a('node.arcFrom', parseFloat('@arcFrom@')); Node4.a('node.arcTo', parseFloat('@arcTo@')); Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node4type === 'arc') { Node4.a('node.arcOval', true); } Node4.setRotation(0*Math.PI/180); Node4.borderWidth = Node4BorderWidth; Node4.borderFillwidth = Node4BorderWidth; dataModel.add(Node4); Node4._nodename = 'Node4' Node4._nodeType = 'rect'; zoomNodeList.push({ node: Node4, 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); } })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node5type = 'rect'; var Node5 = new ht.Node(), Node5BorderWidth = 0*2; if (Node5type === 'arc') { Node5BorderWidth *= 0; } Node5.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node5.setPosition(38*ratio.ratioX, 518*ratio.ratioY); Node5.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node5.a('node.width', 66*_ratio.ratioX); Node5.a('node.height', 30*_ratio.ratioY); Node5.a('node.type', Node5type); Node5.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node5.a('node.background', 'rgba(245,245,245,1)'); Node5.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node5.a('node.gradient', ''); Node5.a('node.borderwidth', Node5BorderWidth); Node5.a('node.color', 'rgba(224,224,224,0)'); 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());var Node6; (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//top.png', PAGEROOTDIR + 'image//img//top.png'); Node6 = new ht.Node(); Node6.setPosition(949*ratio.ratioX, 25*ratio.ratioY); Node6.setSize(1899*ratioX, 50*ratioY); Node6.setImage('imgimage//img//top.png'); Node6.setRotation(0*Math.PI/180); Node6._zoomBy = 'Default'; Node6._nodeType = 'image'; Node6._disallowEvert = true; dataModel.add(Node6); })(); 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//new_but_bg_a.png', PAGEROOTDIR + 'image//img//new_but_bg_a.png'); Node7 = new ht.Node(); Node7.setPosition(949*ratio.ratioX, 65*ratio.ratioY); Node7.setSize(1899*ratioX, 31*ratioY); Node7.setImage('imgimage//img//new_but_bg_a.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//ztjs_temp_bg_a.png', PAGEROOTDIR + 'image//img//ztjs_temp_bg_a.png'); Node8 = new ht.Node(); Node8.setPosition(950*ratio.ratioX, 123*ratio.ratioY); Node8.setSize(1898*ratioX, 77*ratioY); Node8.setImage('imgimage//img//ztjs_temp_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*Math.PI/180, ratio); var Node9 = new ht.Node(); var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 105*_ratio.ratioX, Node9height = 27*_ratio.ratioY; (function () { if (Node9align === 'left') { Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9; Node9textWidth = Node9width; Node9lineStart = 1; } else if (Node9align === 'right') { Node9textStart = 0; Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2; Node9lineStart = (Node9width - (ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node9align === 'center') { Node9textStart = -3; Node9textWidth = Node9width; Node9lineStart = Node9width - ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node9fontSize + 'px "Arial"').width - 11; } })(); Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"')) Node9.setPosition(62*ratio.ratioX, 103*ratio.ratioY); Node9.setWidth(Node9width); Node9.setHeight(Node9height); Node9._nodeType = 'text'; Node9._disallowEvert = true; Node9.setRotation(0*Math.PI/180); Node9.a('node.width', Node9width); Node9.a('node.height', Node9height); Node9.a('node.rect', [0, 0, Node9width, Node9height]); Node9.a('node.bordercolor','rgba(255,255,255,1)'); Node9.a('node.borderwidth', 0); Node9.a('node.background','' || 'rgba(0,0,0,0)'); Node9.a('node.gradient',''); Node9.a('node.gradientcolor',''); Node9.a('node.text','公司\区域\场站'); Node9.a('node.textalign','left'); Node9.a('node.textvAlign','middle'); Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]); Node9.a('node.color','rgba(255,255,255,1)'); Node9.a('node.font','bold '+ Node9fontSize + 'px "Arial"'); Node9.a('node.textvisible',true); Node9.a('node.linefeed',false); if (false) { Node9.a('node.textfunc',function(g) { g.beginPath(); var str=Node9.a('node.text') || '公司\区域\场站'; var color=Node9.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node9.a('node.underlinepoints',[Node9lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]); Node9.a('node.underlinevisible',false); Node9.a('node.underlineBorderWidth', 1); } dataModel.add(Node9); zoomNodeList.push({ node: Node9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node10 = new ht.Node(); var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'center', Node10fontSize = 11.99997*_ratio.ratioY,Node10width = 105*_ratio.ratioX, Node10height = 17*_ratio.ratioY; (function () { if (Node10align === 'left') { Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9; Node10textWidth = Node10width; Node10lineStart = 1; } else if (Node10align === 'right') { Node10textStart = 0; Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2; Node10lineStart = (Node10width - (ht.Default.getTextSize('单位', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node10align === 'center') { Node10textStart = -3; Node10textWidth = Node10width; Node10lineStart = Node10width - ht.Default.getTextSize('单位', 'bold '+ Node10fontSize + 'px "Arial"').width - 11; } })(); Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"')) Node10.setPosition(62*ratio.ratioX, 131*ratio.ratioY); Node10.setWidth(Node10width); Node10.setHeight(Node10height); Node10._nodeType = 'text'; Node10._disallowEvert = true; Node10.setRotation(0*Math.PI/180); Node10.a('node.width', Node10width); Node10.a('node.height', Node10height); Node10.a('node.rect', [0, 0, Node10width, Node10height]); Node10.a('node.bordercolor','rgba(128,128,128,1)'); Node10.a('node.borderwidth', 0); Node10.a('node.background','' || 'rgba(0,0,0,0)'); Node10.a('node.gradient',''); Node10.a('node.gradientcolor',''); Node10.a('node.text','单位'); Node10.a('node.textalign','center'); Node10.a('node.textvAlign','middle'); Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]); Node10.a('node.color','rgba(128,128,128,1)'); Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"'); Node10.a('node.textvisible',true); Node10.a('node.linefeed',false); if (false) { Node10.a('node.textfunc',function(g) { g.beginPath(); var str=Node10.a('node.text') || '单位'; var color=Node10.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node10width,Node10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node10.a('node.underlinepoints',[Node10lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('单位', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]); Node10.a('node.underlinevisible',false); Node10.a('node.underlineBorderWidth', 1); } dataModel.add(Node10); zoomNodeList.push({ node: Node10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node11 = new ht.Node(); var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 105*_ratio.ratioX, Node11height = 17*_ratio.ratioY; (function () { if (Node11align === 'left') { Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9; Node11textWidth = Node11width; Node11lineStart = 1; } else if (Node11align === 'right') { Node11textStart = 0; Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2; Node11lineStart = (Node11width - (ht.Default.getTextSize('山西新能源', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node11align === 'center') { Node11textStart = -3; Node11textWidth = Node11width; Node11lineStart = Node11width - ht.Default.getTextSize('山西新能源', 'bold '+ Node11fontSize + 'px "Arial"').width - 11; } })(); Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"')) Node11.setPosition(63*ratio.ratioX, 158*ratio.ratioY); Node11.setWidth(Node11width); Node11.setHeight(Node11height); Node11._nodeType = 'text'; Node11._disallowEvert = true; Node11.setRotation(0*Math.PI/180); Node11.a('node.width', Node11width); Node11.a('node.height', Node11height); Node11.a('node.rect', [0, 0, Node11width, Node11height]); Node11.a('node.bordercolor','rgba(25,25,112,1)'); Node11.a('node.borderwidth', 0); Node11.a('node.background','' || 'rgba(0,0,0,0)'); Node11.a('node.gradient',''); Node11.a('node.gradientcolor',''); Node11.a('node.text','山西新能源'); Node11.a('node.textalign','left'); Node11.a('node.textvAlign','middle'); Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]); Node11.a('node.color','rgba(25,25,112,1)'); Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"'); Node11.a('node.textvisible',true); Node11.a('node.linefeed',false); if (false) { Node11.a('node.textfunc',function(g) { g.beginPath(); var str=Node11.a('node.text') || '山西新能源'; var color=Node11.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g); }); } if (false) { Node11.a('node.underlinepoints',[Node11lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('山西新能源', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]); Node11.a('node.underlinevisible',false); Node11.a('node.underlineBorderWidth', 1); } dataModel.add(Node11); zoomNodeList.push({ node: Node11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node12type = 'rect'; var Node12 = new ht.Node(), Node12BorderWidth = 0*2; if (Node12type === 'arc') { Node12BorderWidth *= 0; } Node12.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node12type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node12.setPosition(64*ratio.ratioX, 190*ratio.ratioY); Node12.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node12.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node12.a('node.width', 127*_ratio.ratioX); Node12.a('node.height', 32*_ratio.ratioY); Node12.a('node.type', Node12type); Node12.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node12.a('node.background', 'rgba(233,247,230,1)'); Node12.a('node.gradientcolor', 'rgba(233,247,230,1)'); Node12.a('node.gradient', ''); Node12.a('node.borderwidth', Node12BorderWidth); Node12.a('node.color', 'rgba(192,192,192,0)'); Node12.a('node.fillrect', [0,0,0,0]); Node12.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node12.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node12.a('node.fillgradient', ''); if (Node12type !== 'rect') { Node12.a('node.arcFrom', parseFloat('@arcFrom@')); Node12.a('node.arcTo', parseFloat('@arcTo@')); Node12.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node12type === 'arc') { Node12.a('node.arcOval', true); } Node12.setRotation(0*Math.PI/180); Node12.borderWidth = Node12BorderWidth; Node12.borderFillwidth = Node12BorderWidth; dataModel.add(Node12); Node12._nodename = 'Node12' Node12._nodeType = 'rect'; zoomNodeList.push({ node: Node12, 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); } })(Node12, Node12.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node13type = 'rect'; var Node13 = new ht.Node(), Node13BorderWidth = 0*2; if (Node13type === 'arc') { Node13BorderWidth *= 0; } Node13.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node13.setPosition(63*ratio.ratioX, 222*ratio.ratioY); Node13.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node13.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node13.a('node.width', 127*_ratio.ratioX); Node13.a('node.height', 32*_ratio.ratioY); Node13.a('node.type', Node13type); Node13.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node13.a('node.background', 'rgba(244,251,242,1)'); Node13.a('node.gradientcolor', 'rgba(244,251,242,1)'); Node13.a('node.gradient', ''); Node13.a('node.borderwidth', Node13BorderWidth); Node13.a('node.color', 'rgba(192,192,192,0)'); 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 = 0*2; if (Node14type === 'arc') { Node14BorderWidth *= 0; } Node14.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node14.setPosition(63*ratio.ratioX, 254*ratio.ratioY); Node14.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node14.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node14.a('node.width', 127*_ratio.ratioX); Node14.a('node.height', 32*_ratio.ratioY); Node14.a('node.type', Node14type); Node14.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node14.a('node.background', 'rgba(233,247,230,1)'); Node14.a('node.gradientcolor', 'rgba(233,247,230,1)'); Node14.a('node.gradient', ''); Node14.a('node.borderwidth', Node14BorderWidth); Node14.a('node.color', 'rgba(192,192,192,0)'); 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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node15type = 'rect'; var Node15 = new ht.Node(), Node15BorderWidth = 0*2; if (Node15type === 'arc') { Node15BorderWidth *= 0; } Node15.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node15type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node15.setPosition(64*ratio.ratioX, 285*ratio.ratioY); Node15.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node15.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node15.a('node.width', 127*_ratio.ratioX); Node15.a('node.height', 32*_ratio.ratioY); Node15.a('node.type', Node15type); Node15.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node15.a('node.background', 'rgba(244,251,242,1)'); Node15.a('node.gradientcolor', 'rgba(244,251,242,1)'); Node15.a('node.gradient', ''); Node15.a('node.borderwidth', Node15BorderWidth); Node15.a('node.color', 'rgba(192,192,192,0)'); Node15.a('node.fillrect', [0,0,0,0]); Node15.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node15.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node15.a('node.fillgradient', ''); if (Node15type !== 'rect') { Node15.a('node.arcFrom', parseFloat('@arcFrom@')); Node15.a('node.arcTo', parseFloat('@arcTo@')); Node15.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node15type === 'arc') { Node15.a('node.arcOval', true); } Node15.setRotation(0*Math.PI/180); Node15.borderWidth = Node15BorderWidth; Node15.borderFillwidth = Node15BorderWidth; dataModel.add(Node15); Node15._nodename = 'Node15' Node15._nodeType = 'rect'; zoomNodeList.push({ node: Node15, 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); } })(Node15, Node15.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node16type = 'rect'; var Node16 = new ht.Node(), Node16BorderWidth = 0*2; if (Node16type === 'arc') { Node16BorderWidth *= 0; } Node16.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node16type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node16.setPosition(64*ratio.ratioX, 316*ratio.ratioY); Node16.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node16.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node16.a('node.width', 127*_ratio.ratioX); Node16.a('node.height', 32*_ratio.ratioY); Node16.a('node.type', Node16type); Node16.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node16.a('node.background', 'rgba(233,247,230,1)'); Node16.a('node.gradientcolor', 'rgba(233,247,230,1)'); Node16.a('node.gradient', ''); Node16.a('node.borderwidth', Node16BorderWidth); Node16.a('node.color', 'rgba(192,192,192,0)'); Node16.a('node.fillrect', [0,0,0,0]); Node16.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node16.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node16.a('node.fillgradient', ''); if (Node16type !== 'rect') { Node16.a('node.arcFrom', parseFloat('@arcFrom@')); Node16.a('node.arcTo', parseFloat('@arcTo@')); Node16.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node16type === 'arc') { Node16.a('node.arcOval', true); } Node16.setRotation(0*Math.PI/180); Node16.borderWidth = Node16BorderWidth; Node16.borderFillwidth = Node16BorderWidth; dataModel.add(Node16); Node16._nodename = 'Node16' Node16._nodeType = 'rect'; zoomNodeList.push({ node: Node16, 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); } })(Node16, Node16.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17type = 'rect'; var Node17 = new ht.Node(), Node17BorderWidth = 0*2; if (Node17type === 'arc') { Node17BorderWidth *= 0; } Node17.setImage(GD.getRectJSON(124*_ratio.ratioX, 32*_ratio.ratioY, Node17type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node17.setPosition(67*ratio.ratioX, 347*ratio.ratioY); Node17.setSize(124*_ratio.ratioX, 32*_ratio.ratioY); Node17.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node17.a('node.width', 124*_ratio.ratioX); Node17.a('node.height', 32*_ratio.ratioY); Node17.a('node.type', Node17type); Node17.a('node.rect', [0, 0, 124*_ratio.ratioX, 32*_ratio.ratioY]); Node17.a('node.background', 'rgba(244,251,242,1)'); Node17.a('node.gradientcolor', 'rgba(244,251,242,1)'); Node17.a('node.gradient', ''); Node17.a('node.borderwidth', Node17BorderWidth); Node17.a('node.color', 'rgba(192,192,192,0)'); Node17.a('node.fillrect', [0,0,0,0]); Node17.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node17.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node17.a('node.fillgradient', ''); if (Node17type !== 'rect') { Node17.a('node.arcFrom', parseFloat('@arcFrom@')); Node17.a('node.arcTo', parseFloat('@arcTo@')); Node17.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node17type === 'arc') { Node17.a('node.arcOval', true); } Node17.setRotation(0*Math.PI/180); Node17.borderWidth = Node17BorderWidth; Node17.borderFillwidth = Node17BorderWidth; dataModel.add(Node17); Node17._nodename = 'Node17' Node17._nodeType = 'rect'; zoomNodeList.push({ node: Node17, 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); } })(Node17, Node17.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node18type = 'rect'; var Node18 = new ht.Node(), Node18BorderWidth = 0*2; if (Node18type === 'arc') { Node18BorderWidth *= 0; } Node18.setImage(GD.getRectJSON(124*_ratio.ratioX, 32*_ratio.ratioY, Node18type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node18.setPosition(65*ratio.ratioX, 378*ratio.ratioY); Node18.setSize(124*_ratio.ratioX, 32*_ratio.ratioY); Node18.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node18.a('node.width', 124*_ratio.ratioX); Node18.a('node.height', 32*_ratio.ratioY); Node18.a('node.type', Node18type); Node18.a('node.rect', [0, 0, 124*_ratio.ratioX, 32*_ratio.ratioY]); Node18.a('node.background', 'rgba(233,247,230,1)'); Node18.a('node.gradientcolor', 'rgba(233,247,230,1)'); Node18.a('node.gradient', ''); Node18.a('node.borderwidth', Node18BorderWidth); Node18.a('node.color', 'rgba(192,192,192,0)'); Node18.a('node.fillrect', [0,0,0,0]); Node18.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node18.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node18.a('node.fillgradient', ''); if (Node18type !== 'rect') { Node18.a('node.arcFrom', parseFloat('@arcFrom@')); Node18.a('node.arcTo', parseFloat('@arcTo@')); Node18.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node18type === 'arc') { Node18.a('node.arcOval', true); } Node18.setRotation(0*Math.PI/180); Node18.borderWidth = Node18BorderWidth; Node18.borderFillwidth = Node18BorderWidth; dataModel.add(Node18); Node18._nodename = 'Node18' Node18._nodeType = 'rect'; zoomNodeList.push({ node: Node18, 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); } })(Node18, Node18.getImage());_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 = 16*_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(66*ratio.ratioX, 189*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(95,158,160,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(95,158,160,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(95,158,160,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, (16 - 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 = 110*_ratio.ratioX, Node20height = 16*_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(66*ratio.ratioX, 221*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(95,158,160,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(95,158,160,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(95,158,160,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, (16 - 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 = 110*_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('平鲁虎头山风场', ' '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node21align === 'center') { Node21textStart = -3; Node21textWidth = Node21width; Node21lineStart = Node21width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node21fontSize + 'px "Arial"').width - 11; } })(); Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, ' '+ Node21fontSize + 'px "Arial"')) Node21.setPosition(66*ratio.ratioX, 253*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(95,158,160,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','平鲁虎头山风场'); Node21.a('node.textalign','left'); Node21.a('node.textvAlign','middle'); Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]); Node21.a('node.color','rgba(95,158,160,1)'); Node21.a('node.font',' '+ 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') || '平鲁虎头山风场'; var color=Node21.a('node.color') || 'rgba(95,158,160,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,' '+ Node21fontSize + 'px "Arial"', 0,g); }); } if (false) { Node21.a('node.underlinepoints',[Node21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ 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 = 110*_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('广灵劲风风场', ' '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node22align === 'center') { Node22textStart = -3; Node22textWidth = Node22width; Node22lineStart = Node22width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node22fontSize + 'px "Arial"').width - 11; } })(); Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, ' '+ Node22fontSize + 'px "Arial"')) Node22.setPosition(66*ratio.ratioX, 285*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(95,158,160,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','广灵劲风风场'); Node22.a('node.textalign','left'); Node22.a('node.textvAlign','middle'); Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]); Node22.a('node.color','rgba(95,158,160,1)'); Node22.a('node.font',' '+ 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') || '广灵劲风风场'; var color=Node22.a('node.color') || 'rgba(95,158,160,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,' '+ Node22fontSize + 'px "Arial"', 0,g); }); } if (false) { Node22.a('node.underlinepoints',[Node22lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ 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 = 110*_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('浑源峰岳风场', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node23align === 'center') { Node23textStart = -3; Node23textWidth = Node23width; Node23lineStart = Node23width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node23fontSize + 'px "Arial"').width - 11; } })(); Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"')) Node23.setPosition(66*ratio.ratioX, 316*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(95,158,160,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','浑源峰岳风场'); Node23.a('node.textalign','left'); Node23.a('node.textvAlign','middle'); Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]); Node23.a('node.color','rgba(95,158,160,1)'); Node23.a('node.font',' '+ 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') || '浑源峰岳风场'; var color=Node23.a('node.color') || 'rgba(95,158,160,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g); }); } if (false) { Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ 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 = 110*_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('吕梁宝塔山风场', ' '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node24align === 'center') { Node24textStart = -3; Node24textWidth = Node24width; Node24lineStart = Node24width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node24fontSize + 'px "Arial"').width - 11; } })(); Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, ' '+ Node24fontSize + 'px "Arial"')) Node24.setPosition(66*ratio.ratioX, 348*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(95,158,160,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(95,158,160,1)'); Node24.a('node.font',' '+ 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(95,158,160,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,' '+ Node24fontSize + 'px "Arial"', 0,g); }); } if (false) { Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ 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 = 110*_ratio.ratioX, Node25height = 16*_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('阳高采凉山风场', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node25align === 'center') { Node25textStart = -3; Node25textWidth = Node25width; Node25lineStart = Node25width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node25fontSize + 'px "Arial"').width - 11; } })(); Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"')) Node25.setPosition(64*ratio.ratioX, 380*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(95,158,160,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','阳高采凉山风场'); Node25.a('node.textalign','left'); Node25.a('node.textvAlign','middle'); Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]); Node25.a('node.color','rgba(95,158,160,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') || '阳高采凉山风场'; var color=Node25.a('node.color') || 'rgba(95,158,160,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ 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 = 1*2; if (Node26type === 'arc') { Node26BorderWidth *= 1; } Node26.setImage(GD.getRectJSON(128*_ratio.ratioX, 309*_ratio.ratioY, Node26type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node26.setPosition(65*ratio.ratioX, 239*ratio.ratioY); Node26.setSize(128*_ratio.ratioX, 309*_ratio.ratioY); Node26.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node26.a('node.width', 128*_ratio.ratioX); Node26.a('node.height', 309*_ratio.ratioY); Node26.a('node.type', Node26type); Node26.a('node.rect', [0, 0, 128*_ratio.ratioX, 309*_ratio.ratioY]); Node26.a('node.background', 'rgba(255,255,255,0.003921569)'); Node26.a('node.gradientcolor', ''); Node26.a('node.gradient', ''); Node26.a('node.borderwidth', Node26BorderWidth); Node26.a('node.color', 'rgba(192,192,192,1)'); 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_0 = new ht.Node(); var Node27_0textStart, Node27_0textWidth, Node27_0lineStart, Node27_0align = 'center', Node27_0fontSize = 13.3333*_ratio.ratioY,Node27_0width = 95*_ratio.ratioX, Node27_0height = 17*_ratio.ratioY; (function () { if (Node27_0align === 'left') { Node27_0textStart = Node27_0fontSize * 0.2 > 2 ? Node27_0fontSize * 0.2 - 4 : Node27_0fontSize * 0.2 - 9; Node27_0textWidth = Node27_0width; Node27_0lineStart = 1; } else if (Node27_0align === 'right') { Node27_0textStart = 0; Node27_0textWidth =Node27_0fontSize <= 8 ? Node27_0width + Node27_0fontSize * 0.2 + 6 : Node27_0width - Node27_0fontSize * 0.2; Node27_0lineStart = (Node27_0width - (ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node27_0align === 'center') { Node27_0textStart = -3; Node27_0textWidth = Node27_0width; Node27_0lineStart = Node27_0width - ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width - 11; } })(); Node27_0.setImage(GD.getTextJSON(Node27_0width, Node27_0height, true, false, false, 'bold '+ Node27_0fontSize + 'px "Arial"')) Node27_0.setPosition(195*ratio.ratioX, 103*ratio.ratioY); Node27_0.setWidth(Node27_0width); Node27_0.setHeight(Node27_0height); Node27_0._nodeType = 'text'; Node27_0._disallowEvert = true; Node27_0.setRotation(0*Math.PI/180); Node27_0.a('node.width', Node27_0width); Node27_0.a('node.height', Node27_0height); Node27_0.a('node.rect', [0, 0, Node27_0width, Node27_0height]); Node27_0.a('node.bordercolor','rgba(255,255,255,1)'); Node27_0.a('node.borderwidth', 0); Node27_0.a('node.background','' || 'rgba(0,0,0,0)'); Node27_0.a('node.gradient',''); Node27_0.a('node.gradientcolor',''); Node27_0.a('node.text','风速'); Node27_0.a('node.textalign','center'); Node27_0.a('node.textvAlign','middle'); Node27_0.a('node.textrect', [Node27_0textStart, 0, Node27_0textWidth, Node27_0height]); Node27_0.a('node.color','rgba(255,255,255,1)'); Node27_0.a('node.font','bold '+ Node27_0fontSize + 'px "Arial"'); Node27_0.a('node.textvisible',true); Node27_0.a('node.linefeed',false); if (false) { Node27_0.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_0.a('node.text') || '风速'; var color=Node27_0.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_0width,Node27_0height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_0fontSize + 'px "Arial"', 0,g); }); } if (false) { Node27_0.a('node.underlinepoints',[Node27_0lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_0fontSize + 2 , ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width + 6, (Node27_0height - Node27_0fontSize) * 0.5*_ratio.ratioY + Node27_0fontSize + 2 ]); Node27_0.a('node.underlinevisible',false); Node27_0.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_0); zoomNodeList.push({ node: Node27_0, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_1type = 'rect'; var Node27_1 = new ht.Node(), Node27_1BorderWidth = 0*2; if (Node27_1type === 'arc') { Node27_1BorderWidth *= 0; } Node27_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_1.setPosition(192*ratio.ratioX, 190*ratio.ratioY); Node27_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_1.a('node.width', 127*_ratio.ratioX); Node27_1.a('node.height', 32*_ratio.ratioY); Node27_1.a('node.type', Node27_1type); Node27_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_1.a('node.background', 'rgba(245,245,245,1)'); Node27_1.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node27_1.a('node.gradient', ''); Node27_1.a('node.borderwidth', Node27_1BorderWidth); Node27_1.a('node.color', 'rgba(192,192,192,0)'); Node27_1.a('node.fillrect', [0,0,0,0]); Node27_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_1.a('node.fillgradient', ''); if (Node27_1type !== 'rect') { Node27_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_1.a('node.arcTo', parseFloat('@arcTo@')); Node27_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_1type === 'arc') { Node27_1.a('node.arcOval', true); } Node27_1.setRotation(0*Math.PI/180); Node27_1.borderWidth = Node27_1BorderWidth; Node27_1.borderFillwidth = Node27_1BorderWidth; dataModel.add(Node27_1); Node27_1._nodename = 'Node27_1' Node27_1._nodeType = 'rect'; zoomNodeList.push({ node: Node27_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); } })(Node27_1, Node27_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_2type = 'rect'; var Node27_2 = new ht.Node(), Node27_2BorderWidth = 0*2; if (Node27_2type === 'arc') { Node27_2BorderWidth *= 0; } Node27_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_2.setPosition(192*ratio.ratioX, 222*ratio.ratioY); Node27_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_2.a('node.width', 127*_ratio.ratioX); Node27_2.a('node.height', 32*_ratio.ratioY); Node27_2.a('node.type', Node27_2type); Node27_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_2.a('node.background', 'rgba(255,255,255,0.003921569)'); Node27_2.a('node.gradientcolor', ''); Node27_2.a('node.gradient', ''); Node27_2.a('node.borderwidth', Node27_2BorderWidth); Node27_2.a('node.color', 'rgba(192,192,192,0)'); Node27_2.a('node.fillrect', [0,0,0,0]); Node27_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_2.a('node.fillgradient', ''); if (Node27_2type !== 'rect') { Node27_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_2.a('node.arcTo', parseFloat('@arcTo@')); Node27_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_2type === 'arc') { Node27_2.a('node.arcOval', true); } Node27_2.setRotation(0*Math.PI/180); Node27_2.borderWidth = Node27_2BorderWidth; Node27_2.borderFillwidth = Node27_2BorderWidth; dataModel.add(Node27_2); Node27_2._nodename = 'Node27_2' Node27_2._nodeType = 'rect'; zoomNodeList.push({ node: Node27_2, 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); } })(Node27_2, Node27_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_3type = 'rect'; var Node27_3 = new ht.Node(), Node27_3BorderWidth = 0*2; if (Node27_3type === 'arc') { Node27_3BorderWidth *= 0; } Node27_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_3.setPosition(192*ratio.ratioX, 254*ratio.ratioY); Node27_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_3.a('node.width', 127*_ratio.ratioX); Node27_3.a('node.height', 32*_ratio.ratioY); Node27_3.a('node.type', Node27_3type); Node27_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_3.a('node.background', 'rgba(245,245,245,1)'); Node27_3.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node27_3.a('node.gradient', ''); Node27_3.a('node.borderwidth', Node27_3BorderWidth); Node27_3.a('node.color', 'rgba(192,192,192,0)'); Node27_3.a('node.fillrect', [0,0,0,0]); Node27_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_3.a('node.fillgradient', ''); if (Node27_3type !== 'rect') { Node27_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_3.a('node.arcTo', parseFloat('@arcTo@')); Node27_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_3type === 'arc') { Node27_3.a('node.arcOval', true); } Node27_3.setRotation(0*Math.PI/180); Node27_3.borderWidth = Node27_3BorderWidth; Node27_3.borderFillwidth = Node27_3BorderWidth; dataModel.add(Node27_3); Node27_3._nodename = 'Node27_3' Node27_3._nodeType = 'rect'; zoomNodeList.push({ node: Node27_3, 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); } })(Node27_3, Node27_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_4type = 'rect'; var Node27_4 = new ht.Node(), Node27_4BorderWidth = 0*2; if (Node27_4type === 'arc') { Node27_4BorderWidth *= 0; } Node27_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_4.setPosition(192*ratio.ratioX, 285*ratio.ratioY); Node27_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_4.a('node.width', 127*_ratio.ratioX); Node27_4.a('node.height', 32*_ratio.ratioY); Node27_4.a('node.type', Node27_4type); Node27_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_4.a('node.background', 'rgba(255,255,255,0.003921569)'); Node27_4.a('node.gradientcolor', ''); Node27_4.a('node.gradient', ''); Node27_4.a('node.borderwidth', Node27_4BorderWidth); Node27_4.a('node.color', 'rgba(192,192,192,0)'); Node27_4.a('node.fillrect', [0,0,0,0]); Node27_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_4.a('node.fillgradient', ''); if (Node27_4type !== 'rect') { Node27_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_4.a('node.arcTo', parseFloat('@arcTo@')); Node27_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_4type === 'arc') { Node27_4.a('node.arcOval', true); } Node27_4.setRotation(0*Math.PI/180); Node27_4.borderWidth = Node27_4BorderWidth; Node27_4.borderFillwidth = Node27_4BorderWidth; dataModel.add(Node27_4); Node27_4._nodename = 'Node27_4' Node27_4._nodeType = 'rect'; zoomNodeList.push({ node: Node27_4, 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); } })(Node27_4, Node27_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_5type = 'rect'; var Node27_5 = new ht.Node(), Node27_5BorderWidth = 0*2; if (Node27_5type === 'arc') { Node27_5BorderWidth *= 0; } Node27_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_5.setPosition(192*ratio.ratioX, 316*ratio.ratioY); Node27_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_5.a('node.width', 127*_ratio.ratioX); Node27_5.a('node.height', 32*_ratio.ratioY); Node27_5.a('node.type', Node27_5type); Node27_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_5.a('node.background', 'rgba(245,245,245,1)'); Node27_5.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node27_5.a('node.gradient', ''); Node27_5.a('node.borderwidth', Node27_5BorderWidth); Node27_5.a('node.color', 'rgba(192,192,192,0)'); Node27_5.a('node.fillrect', [0,0,0,0]); Node27_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_5.a('node.fillgradient', ''); if (Node27_5type !== 'rect') { Node27_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_5.a('node.arcTo', parseFloat('@arcTo@')); Node27_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_5type === 'arc') { Node27_5.a('node.arcOval', true); } Node27_5.setRotation(0*Math.PI/180); Node27_5.borderWidth = Node27_5BorderWidth; Node27_5.borderFillwidth = Node27_5BorderWidth; dataModel.add(Node27_5); Node27_5._nodename = 'Node27_5' Node27_5._nodeType = 'rect'; zoomNodeList.push({ node: Node27_5, 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); } })(Node27_5, Node27_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_6type = 'rect'; var Node27_6 = new ht.Node(), Node27_6BorderWidth = 0*2; if (Node27_6type === 'arc') { Node27_6BorderWidth *= 0; } Node27_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_6.setPosition(192*ratio.ratioX, 347*ratio.ratioY); Node27_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_6.a('node.width', 127*_ratio.ratioX); Node27_6.a('node.height', 32*_ratio.ratioY); Node27_6.a('node.type', Node27_6type); Node27_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_6.a('node.background', 'rgba(255,255,255,0.003921569)'); Node27_6.a('node.gradientcolor', ''); Node27_6.a('node.gradient', ''); Node27_6.a('node.borderwidth', Node27_6BorderWidth); Node27_6.a('node.color', 'rgba(192,192,192,0)'); Node27_6.a('node.fillrect', [0,0,0,0]); Node27_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_6.a('node.fillgradient', ''); if (Node27_6type !== 'rect') { Node27_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_6.a('node.arcTo', parseFloat('@arcTo@')); Node27_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_6type === 'arc') { Node27_6.a('node.arcOval', true); } Node27_6.setRotation(0*Math.PI/180); Node27_6.borderWidth = Node27_6BorderWidth; Node27_6.borderFillwidth = Node27_6BorderWidth; dataModel.add(Node27_6); Node27_6._nodename = 'Node27_6' Node27_6._nodeType = 'rect'; zoomNodeList.push({ node: Node27_6, 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); } })(Node27_6, Node27_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_7type = 'rect'; var Node27_7 = new ht.Node(), Node27_7BorderWidth = 0*2; if (Node27_7type === 'arc') { Node27_7BorderWidth *= 0; } Node27_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_7.setPosition(192*ratio.ratioX, 378*ratio.ratioY); Node27_7.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node27_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_7.a('node.width', 127*_ratio.ratioX); Node27_7.a('node.height', 32*_ratio.ratioY); Node27_7.a('node.type', Node27_7type); Node27_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node27_7.a('node.background', 'rgba(245,245,245,1)'); Node27_7.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node27_7.a('node.gradient', ''); Node27_7.a('node.borderwidth', Node27_7BorderWidth); Node27_7.a('node.color', 'rgba(192,192,192,0)'); Node27_7.a('node.fillrect', [0,0,0,0]); Node27_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_7.a('node.fillgradient', ''); if (Node27_7type !== 'rect') { Node27_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_7.a('node.arcTo', parseFloat('@arcTo@')); Node27_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_7type === 'arc') { Node27_7.a('node.arcOval', true); } Node27_7.setRotation(0*Math.PI/180); Node27_7.borderWidth = Node27_7BorderWidth; Node27_7.borderFillwidth = Node27_7BorderWidth; dataModel.add(Node27_7); Node27_7._nodename = 'Node27_7' Node27_7._nodeType = 'rect'; zoomNodeList.push({ node: Node27_7, 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); } })(Node27_7, Node27_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_8 = new ht.Node(); var Node27_8textStart, Node27_8textWidth, Node27_8lineStart, Node27_8align = 'center', Node27_8fontSize = 11.99997*_ratio.ratioY,Node27_8width = 105*_ratio.ratioX, Node27_8height = 17*_ratio.ratioY; (function () { if (Node27_8align === 'left') { Node27_8textStart = Node27_8fontSize * 0.2 > 2 ? Node27_8fontSize * 0.2 - 4 : Node27_8fontSize * 0.2 - 9; Node27_8textWidth = Node27_8width; Node27_8lineStart = 1; } else if (Node27_8align === 'right') { Node27_8textStart = 0; Node27_8textWidth =Node27_8fontSize <= 8 ? Node27_8width + Node27_8fontSize * 0.2 + 6 : Node27_8width - Node27_8fontSize * 0.2; Node27_8lineStart = (Node27_8width - (ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node27_8align === 'center') { Node27_8textStart = -3; Node27_8textWidth = Node27_8width; Node27_8lineStart = Node27_8width - ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width - 11; } })(); Node27_8.setImage(GD.getTextJSON(Node27_8width, Node27_8height, true, false, false, 'bold '+ Node27_8fontSize + 'px "Arial"')) Node27_8.setPosition(192*ratio.ratioX, 133*ratio.ratioY); Node27_8.setWidth(Node27_8width); Node27_8.setHeight(Node27_8height); Node27_8._nodeType = 'text'; Node27_8._disallowEvert = true; Node27_8.setRotation(0*Math.PI/180); Node27_8.a('node.width', Node27_8width); Node27_8.a('node.height', Node27_8height); Node27_8.a('node.rect', [0, 0, Node27_8width, Node27_8height]); Node27_8.a('node.bordercolor','rgba(128,128,128,1)'); Node27_8.a('node.borderwidth', 0); Node27_8.a('node.background','' || 'rgba(0,0,0,0)'); Node27_8.a('node.gradient',''); Node27_8.a('node.gradientcolor',''); Node27_8.a('node.text','m/s'); Node27_8.a('node.textalign','center'); Node27_8.a('node.textvAlign','middle'); Node27_8.a('node.textrect', [Node27_8textStart, 0, Node27_8textWidth, Node27_8height]); Node27_8.a('node.color','rgba(128,128,128,1)'); Node27_8.a('node.font','bold '+ Node27_8fontSize + 'px "Arial"'); Node27_8.a('node.textvisible',true); Node27_8.a('node.linefeed',false); if (false) { Node27_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_8.a('node.text') || 'm/s'; var color=Node27_8.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node27_8width,Node27_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node27_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node27_8.a('node.underlinepoints',[Node27_8lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node27_8fontSize + 2 , ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width + 6, (Node27_8height - Node27_8fontSize) * 0.5*_ratio.ratioY + Node27_8fontSize + 2 ]); Node27_8.a('node.underlinevisible',false); Node27_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_8); zoomNodeList.push({ node: Node27_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_9 = new ht.Node(); var Node27_9textStart, Node27_9textWidth, Node27_9lineStart, Node27_9align = 'center', Node27_9fontSize = 13.3333*_ratio.ratioY,Node27_9width = 105*_ratio.ratioX, Node27_9height = 17*_ratio.ratioY; (function () { if (Node27_9align === 'left') { Node27_9textStart = Node27_9fontSize * 0.2 > 2 ? Node27_9fontSize * 0.2 - 4 : Node27_9fontSize * 0.2 - 9; Node27_9textWidth = Node27_9width; Node27_9lineStart = 1; } else if (Node27_9align === 'right') { Node27_9textStart = 0; Node27_9textWidth =Node27_9fontSize <= 8 ? Node27_9width + Node27_9fontSize * 0.2 + 6 : Node27_9width - Node27_9fontSize * 0.2; Node27_9lineStart = (Node27_9width - (ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_9align === 'center') { Node27_9textStart = -3; Node27_9textWidth = Node27_9width; Node27_9lineStart = Node27_9width - ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_9.setImage(GD.getTextJSON(Node27_9width, Node27_9height, true, false, false, 'bold '+ Node27_9fontSize + 'px "UniDreamLED"')) Node27_9.setPosition(192*ratio.ratioX, 164*ratio.ratioY); Node27_9.setWidth(Node27_9width); Node27_9.setHeight(Node27_9height); Node27_9._nodeType = 'text'; Node27_9._disallowEvert = true; Node27_9.setRotation(0*Math.PI/180); Node27_9.a('node.width', Node27_9width); Node27_9.a('node.height', Node27_9height); Node27_9.a('node.rect', [0, 0, Node27_9width, Node27_9height]); Node27_9.a('node.bordercolor','rgba(25,25,112,1)'); Node27_9.a('node.borderwidth', 0); Node27_9.a('node.background','' || 'rgba(0,0,0,0)'); Node27_9.a('node.gradient',''); Node27_9.a('node.gradientcolor',''); Node27_9.a('node.text','9.7'); Node27_9.a('node.textalign','center'); Node27_9.a('node.textvAlign','middle'); Node27_9.a('node.textrect', [Node27_9textStart, 0, Node27_9textWidth, Node27_9height]); Node27_9.a('node.color','rgba(25,25,112,1)'); Node27_9.a('node.font','bold '+ Node27_9fontSize + 'px "UniDreamLED"'); Node27_9.a('node.textvisible',true); Node27_9.a('node.linefeed',false); if (false) { Node27_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_9.a('node.text') || '9.7'; var color=Node27_9.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_9width,Node27_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_9fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_9.a('node.underlinepoints',[Node27_9lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_9fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width + 6, (Node27_9height - Node27_9fontSize) * 0.5*_ratio.ratioY + Node27_9fontSize + 2 ]); Node27_9.a('node.underlinevisible',false); Node27_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_9); zoomNodeList.push({ node: Node27_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_10 = new ht.Node(); var Node27_10textStart, Node27_10textWidth, Node27_10lineStart, Node27_10align = 'center', Node27_10fontSize = 13.3333*_ratio.ratioY,Node27_10width = 105*_ratio.ratioX, Node27_10height = 17*_ratio.ratioY; (function () { if (Node27_10align === 'left') { Node27_10textStart = Node27_10fontSize * 0.2 > 2 ? Node27_10fontSize * 0.2 - 4 : Node27_10fontSize * 0.2 - 9; Node27_10textWidth = Node27_10width; Node27_10lineStart = 1; } else if (Node27_10align === 'right') { Node27_10textStart = 0; Node27_10textWidth =Node27_10fontSize <= 8 ? Node27_10width + Node27_10fontSize * 0.2 + 6 : Node27_10width - Node27_10fontSize * 0.2; Node27_10lineStart = (Node27_10width - (ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_10align === 'center') { Node27_10textStart = -3; Node27_10textWidth = Node27_10width; Node27_10lineStart = Node27_10width - ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_10.setImage(GD.getTextJSON(Node27_10width, Node27_10height, true, false, false, 'bold '+ Node27_10fontSize + 'px "UniDreamLED"')) Node27_10.setPosition(192*ratio.ratioX, 194*ratio.ratioY); Node27_10.setWidth(Node27_10width); Node27_10.setHeight(Node27_10height); Node27_10._nodeType = 'text'; Node27_10._disallowEvert = true; Node27_10.setRotation(0*Math.PI/180); Node27_10.a('node.width', Node27_10width); Node27_10.a('node.height', Node27_10height); Node27_10.a('node.rect', [0, 0, Node27_10width, Node27_10height]); Node27_10.a('node.bordercolor','rgba(25,25,112,1)'); Node27_10.a('node.borderwidth', 0); Node27_10.a('node.background','' || 'rgba(0,0,0,0)'); Node27_10.a('node.gradient',''); Node27_10.a('node.gradientcolor',''); Node27_10.a('node.text','8.02'); Node27_10.a('node.textalign','center'); Node27_10.a('node.textvAlign','middle'); Node27_10.a('node.textrect', [Node27_10textStart, 0, Node27_10textWidth, Node27_10height]); Node27_10.a('node.color','rgba(25,25,112,1)'); Node27_10.a('node.font','bold '+ Node27_10fontSize + 'px "UniDreamLED"'); Node27_10.a('node.textvisible',true); Node27_10.a('node.linefeed',false); if (false) { Node27_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_10.a('node.text') || '8.02'; var color=Node27_10.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_10width,Node27_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_10.a('node.underlinepoints',[Node27_10lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_10fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width + 6, (Node27_10height - Node27_10fontSize) * 0.5*_ratio.ratioY + Node27_10fontSize + 2 ]); Node27_10.a('node.underlinevisible',false); Node27_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_10); zoomNodeList.push({ node: Node27_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_11 = new ht.Node(); var Node27_11textStart, Node27_11textWidth, Node27_11lineStart, Node27_11align = 'center', Node27_11fontSize = 13.3333*_ratio.ratioY,Node27_11width = 105*_ratio.ratioX, Node27_11height = 17*_ratio.ratioY; (function () { if (Node27_11align === 'left') { Node27_11textStart = Node27_11fontSize * 0.2 > 2 ? Node27_11fontSize * 0.2 - 4 : Node27_11fontSize * 0.2 - 9; Node27_11textWidth = Node27_11width; Node27_11lineStart = 1; } else if (Node27_11align === 'right') { Node27_11textStart = 0; Node27_11textWidth =Node27_11fontSize <= 8 ? Node27_11width + Node27_11fontSize * 0.2 + 6 : Node27_11width - Node27_11fontSize * 0.2; Node27_11lineStart = (Node27_11width - (ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_11align === 'center') { Node27_11textStart = -3; Node27_11textWidth = Node27_11width; Node27_11lineStart = Node27_11width - ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_11.setImage(GD.getTextJSON(Node27_11width, Node27_11height, true, false, false, 'bold '+ Node27_11fontSize + 'px "UniDreamLED"')) Node27_11.setPosition(192*ratio.ratioX, 225*ratio.ratioY); Node27_11.setWidth(Node27_11width); Node27_11.setHeight(Node27_11height); Node27_11._nodeType = 'text'; Node27_11._disallowEvert = true; Node27_11.setRotation(0*Math.PI/180); Node27_11.a('node.width', Node27_11width); Node27_11.a('node.height', Node27_11height); Node27_11.a('node.rect', [0, 0, Node27_11width, Node27_11height]); Node27_11.a('node.bordercolor','rgba(25,25,112,1)'); Node27_11.a('node.borderwidth', 0); Node27_11.a('node.background','' || 'rgba(0,0,0,0)'); Node27_11.a('node.gradient',''); Node27_11.a('node.gradientcolor',''); Node27_11.a('node.text','9.69'); Node27_11.a('node.textalign','center'); Node27_11.a('node.textvAlign','middle'); Node27_11.a('node.textrect', [Node27_11textStart, 0, Node27_11textWidth, Node27_11height]); Node27_11.a('node.color','rgba(25,25,112,1)'); Node27_11.a('node.font','bold '+ Node27_11fontSize + 'px "UniDreamLED"'); Node27_11.a('node.textvisible',true); Node27_11.a('node.linefeed',false); if (false) { Node27_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_11.a('node.text') || '9.69'; var color=Node27_11.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_11width,Node27_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_11.a('node.underlinepoints',[Node27_11lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_11fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width + 6, (Node27_11height - Node27_11fontSize) * 0.5*_ratio.ratioY + Node27_11fontSize + 2 ]); Node27_11.a('node.underlinevisible',false); Node27_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_11); zoomNodeList.push({ node: Node27_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_12 = new ht.Node(); var Node27_12textStart, Node27_12textWidth, Node27_12lineStart, Node27_12align = 'center', Node27_12fontSize = 13.3333*_ratio.ratioY,Node27_12width = 105*_ratio.ratioX, Node27_12height = 17*_ratio.ratioY; (function () { if (Node27_12align === 'left') { Node27_12textStart = Node27_12fontSize * 0.2 > 2 ? Node27_12fontSize * 0.2 - 4 : Node27_12fontSize * 0.2 - 9; Node27_12textWidth = Node27_12width; Node27_12lineStart = 1; } else if (Node27_12align === 'right') { Node27_12textStart = 0; Node27_12textWidth =Node27_12fontSize <= 8 ? Node27_12width + Node27_12fontSize * 0.2 + 6 : Node27_12width - Node27_12fontSize * 0.2; Node27_12lineStart = (Node27_12width - (ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_12align === 'center') { Node27_12textStart = -3; Node27_12textWidth = Node27_12width; Node27_12lineStart = Node27_12width - ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_12.setImage(GD.getTextJSON(Node27_12width, Node27_12height, true, false, false, 'bold '+ Node27_12fontSize + 'px "UniDreamLED"')) Node27_12.setPosition(192*ratio.ratioX, 256*ratio.ratioY); Node27_12.setWidth(Node27_12width); Node27_12.setHeight(Node27_12height); Node27_12._nodeType = 'text'; Node27_12._disallowEvert = true; Node27_12.setRotation(0*Math.PI/180); Node27_12.a('node.width', Node27_12width); Node27_12.a('node.height', Node27_12height); Node27_12.a('node.rect', [0, 0, Node27_12width, Node27_12height]); Node27_12.a('node.bordercolor','rgba(25,25,112,1)'); Node27_12.a('node.borderwidth', 0); Node27_12.a('node.background','' || 'rgba(0,0,0,0)'); Node27_12.a('node.gradient',''); Node27_12.a('node.gradientcolor',''); Node27_12.a('node.text','10.72'); Node27_12.a('node.textalign','center'); Node27_12.a('node.textvAlign','middle'); Node27_12.a('node.textrect', [Node27_12textStart, 0, Node27_12textWidth, Node27_12height]); Node27_12.a('node.color','rgba(25,25,112,1)'); Node27_12.a('node.font','bold '+ Node27_12fontSize + 'px "UniDreamLED"'); Node27_12.a('node.textvisible',true); Node27_12.a('node.linefeed',false); if (false) { Node27_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_12.a('node.text') || '10.72'; var color=Node27_12.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_12width,Node27_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_12.a('node.underlinepoints',[Node27_12lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_12fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width + 6, (Node27_12height - Node27_12fontSize) * 0.5*_ratio.ratioY + Node27_12fontSize + 2 ]); Node27_12.a('node.underlinevisible',false); Node27_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_12); zoomNodeList.push({ node: Node27_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_13 = new ht.Node(); var Node27_13textStart, Node27_13textWidth, Node27_13lineStart, Node27_13align = 'center', Node27_13fontSize = 13.3333*_ratio.ratioY,Node27_13width = 105*_ratio.ratioX, Node27_13height = 17*_ratio.ratioY; (function () { if (Node27_13align === 'left') { Node27_13textStart = Node27_13fontSize * 0.2 > 2 ? Node27_13fontSize * 0.2 - 4 : Node27_13fontSize * 0.2 - 9; Node27_13textWidth = Node27_13width; Node27_13lineStart = 1; } else if (Node27_13align === 'right') { Node27_13textStart = 0; Node27_13textWidth =Node27_13fontSize <= 8 ? Node27_13width + Node27_13fontSize * 0.2 + 6 : Node27_13width - Node27_13fontSize * 0.2; Node27_13lineStart = (Node27_13width - (ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_13align === 'center') { Node27_13textStart = -3; Node27_13textWidth = Node27_13width; Node27_13lineStart = Node27_13width - ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_13.setImage(GD.getTextJSON(Node27_13width, Node27_13height, true, false, false, 'bold '+ Node27_13fontSize + 'px "UniDreamLED"')) Node27_13.setPosition(192*ratio.ratioX, 286*ratio.ratioY); Node27_13.setWidth(Node27_13width); Node27_13.setHeight(Node27_13height); Node27_13._nodeType = 'text'; Node27_13._disallowEvert = true; Node27_13.setRotation(0*Math.PI/180); Node27_13.a('node.width', Node27_13width); Node27_13.a('node.height', Node27_13height); Node27_13.a('node.rect', [0, 0, Node27_13width, Node27_13height]); Node27_13.a('node.bordercolor','rgba(25,25,112,1)'); Node27_13.a('node.borderwidth', 0); Node27_13.a('node.background','' || 'rgba(0,0,0,0)'); Node27_13.a('node.gradient',''); Node27_13.a('node.gradientcolor',''); Node27_13.a('node.text','7.97'); Node27_13.a('node.textalign','center'); Node27_13.a('node.textvAlign','middle'); Node27_13.a('node.textrect', [Node27_13textStart, 0, Node27_13textWidth, Node27_13height]); Node27_13.a('node.color','rgba(25,25,112,1)'); Node27_13.a('node.font','bold '+ Node27_13fontSize + 'px "UniDreamLED"'); Node27_13.a('node.textvisible',true); Node27_13.a('node.linefeed',false); if (false) { Node27_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_13.a('node.text') || '7.97'; var color=Node27_13.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_13width,Node27_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_13.a('node.underlinepoints',[Node27_13lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_13fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width + 6, (Node27_13height - Node27_13fontSize) * 0.5*_ratio.ratioY + Node27_13fontSize + 2 ]); Node27_13.a('node.underlinevisible',false); Node27_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_13); zoomNodeList.push({ node: Node27_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_14 = new ht.Node(); var Node27_14textStart, Node27_14textWidth, Node27_14lineStart, Node27_14align = 'center', Node27_14fontSize = 13.3333*_ratio.ratioY,Node27_14width = 105*_ratio.ratioX, Node27_14height = 17*_ratio.ratioY; (function () { if (Node27_14align === 'left') { Node27_14textStart = Node27_14fontSize * 0.2 > 2 ? Node27_14fontSize * 0.2 - 4 : Node27_14fontSize * 0.2 - 9; Node27_14textWidth = Node27_14width; Node27_14lineStart = 1; } else if (Node27_14align === 'right') { Node27_14textStart = 0; Node27_14textWidth =Node27_14fontSize <= 8 ? Node27_14width + Node27_14fontSize * 0.2 + 6 : Node27_14width - Node27_14fontSize * 0.2; Node27_14lineStart = (Node27_14width - (ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_14align === 'center') { Node27_14textStart = -3; Node27_14textWidth = Node27_14width; Node27_14lineStart = Node27_14width - ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_14.setImage(GD.getTextJSON(Node27_14width, Node27_14height, true, false, false, 'bold '+ Node27_14fontSize + 'px "UniDreamLED"')) Node27_14.setPosition(192*ratio.ratioX, 317*ratio.ratioY); Node27_14.setWidth(Node27_14width); Node27_14.setHeight(Node27_14height); Node27_14._nodeType = 'text'; Node27_14._disallowEvert = true; Node27_14.setRotation(0*Math.PI/180); Node27_14.a('node.width', Node27_14width); Node27_14.a('node.height', Node27_14height); Node27_14.a('node.rect', [0, 0, Node27_14width, Node27_14height]); Node27_14.a('node.bordercolor','rgba(25,25,112,1)'); Node27_14.a('node.borderwidth', 0); Node27_14.a('node.background','' || 'rgba(0,0,0,0)'); Node27_14.a('node.gradient',''); Node27_14.a('node.gradientcolor',''); Node27_14.a('node.text','8.1'); Node27_14.a('node.textalign','center'); Node27_14.a('node.textvAlign','middle'); Node27_14.a('node.textrect', [Node27_14textStart, 0, Node27_14textWidth, Node27_14height]); Node27_14.a('node.color','rgba(25,25,112,1)'); Node27_14.a('node.font','bold '+ Node27_14fontSize + 'px "UniDreamLED"'); Node27_14.a('node.textvisible',true); Node27_14.a('node.linefeed',false); if (false) { Node27_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_14.a('node.text') || '8.1'; var color=Node27_14.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_14width,Node27_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_14.a('node.underlinepoints',[Node27_14lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_14fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width + 6, (Node27_14height - Node27_14fontSize) * 0.5*_ratio.ratioY + Node27_14fontSize + 2 ]); Node27_14.a('node.underlinevisible',false); Node27_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_14); zoomNodeList.push({ node: Node27_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_15 = new ht.Node(); var Node27_15textStart, Node27_15textWidth, Node27_15lineStart, Node27_15align = 'center', Node27_15fontSize = 13.3333*_ratio.ratioY,Node27_15width = 105*_ratio.ratioX, Node27_15height = 17*_ratio.ratioY; (function () { if (Node27_15align === 'left') { Node27_15textStart = Node27_15fontSize * 0.2 > 2 ? Node27_15fontSize * 0.2 - 4 : Node27_15fontSize * 0.2 - 9; Node27_15textWidth = Node27_15width; Node27_15lineStart = 1; } else if (Node27_15align === 'right') { Node27_15textStart = 0; Node27_15textWidth =Node27_15fontSize <= 8 ? Node27_15width + Node27_15fontSize * 0.2 + 6 : Node27_15width - Node27_15fontSize * 0.2; Node27_15lineStart = (Node27_15width - (ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_15align === 'center') { Node27_15textStart = -3; Node27_15textWidth = Node27_15width; Node27_15lineStart = Node27_15width - ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_15.setImage(GD.getTextJSON(Node27_15width, Node27_15height, true, false, false, 'bold '+ Node27_15fontSize + 'px "UniDreamLED"')) Node27_15.setPosition(192*ratio.ratioX, 348*ratio.ratioY); Node27_15.setWidth(Node27_15width); Node27_15.setHeight(Node27_15height); Node27_15._nodeType = 'text'; Node27_15._disallowEvert = true; Node27_15.setRotation(0*Math.PI/180); Node27_15.a('node.width', Node27_15width); Node27_15.a('node.height', Node27_15height); Node27_15.a('node.rect', [0, 0, Node27_15width, Node27_15height]); Node27_15.a('node.bordercolor','rgba(25,25,112,1)'); Node27_15.a('node.borderwidth', 0); Node27_15.a('node.background','' || 'rgba(0,0,0,0)'); Node27_15.a('node.gradient',''); Node27_15.a('node.gradientcolor',''); Node27_15.a('node.text','9.2'); Node27_15.a('node.textalign','center'); Node27_15.a('node.textvAlign','middle'); Node27_15.a('node.textrect', [Node27_15textStart, 0, Node27_15textWidth, Node27_15height]); Node27_15.a('node.color','rgba(25,25,112,1)'); Node27_15.a('node.font','bold '+ Node27_15fontSize + 'px "UniDreamLED"'); Node27_15.a('node.textvisible',true); Node27_15.a('node.linefeed',false); if (false) { Node27_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_15.a('node.text') || '9.2'; var color=Node27_15.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_15width,Node27_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_15.a('node.underlinepoints',[Node27_15lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_15fontSize + 2 , ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width + 6, (Node27_15height - Node27_15fontSize) * 0.5*_ratio.ratioY + Node27_15fontSize + 2 ]); Node27_15.a('node.underlinevisible',false); Node27_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_15); zoomNodeList.push({ node: Node27_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_16 = new ht.Node(); var Node27_16textStart, Node27_16textWidth, Node27_16lineStart, Node27_16align = 'center', Node27_16fontSize = 13.3333*_ratio.ratioY,Node27_16width = 105*_ratio.ratioX, Node27_16height = 17*_ratio.ratioY; (function () { if (Node27_16align === 'left') { Node27_16textStart = Node27_16fontSize * 0.2 > 2 ? Node27_16fontSize * 0.2 - 4 : Node27_16fontSize * 0.2 - 9; Node27_16textWidth = Node27_16width; Node27_16lineStart = 1; } else if (Node27_16align === 'right') { Node27_16textStart = 0; Node27_16textWidth =Node27_16fontSize <= 8 ? Node27_16width + Node27_16fontSize * 0.2 + 6 : Node27_16width - Node27_16fontSize * 0.2; Node27_16lineStart = (Node27_16width - (ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node27_16align === 'center') { Node27_16textStart = -3; Node27_16textWidth = Node27_16width; Node27_16lineStart = Node27_16width - ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node27_16.setImage(GD.getTextJSON(Node27_16width, Node27_16height, true, false, false, 'bold '+ Node27_16fontSize + 'px "UniDreamLED"')) Node27_16.setPosition(192*ratio.ratioX, 378*ratio.ratioY); Node27_16.setWidth(Node27_16width); Node27_16.setHeight(Node27_16height); Node27_16._nodeType = 'text'; Node27_16._disallowEvert = true; Node27_16.setRotation(0*Math.PI/180); Node27_16.a('node.width', Node27_16width); Node27_16.a('node.height', Node27_16height); Node27_16.a('node.rect', [0, 0, Node27_16width, Node27_16height]); Node27_16.a('node.bordercolor','rgba(25,25,112,1)'); Node27_16.a('node.borderwidth', 0); Node27_16.a('node.background','' || 'rgba(0,0,0,0)'); Node27_16.a('node.gradient',''); Node27_16.a('node.gradientcolor',''); Node27_16.a('node.text','-'); Node27_16.a('node.textalign','center'); Node27_16.a('node.textvAlign','middle'); Node27_16.a('node.textrect', [Node27_16textStart, 0, Node27_16textWidth, Node27_16height]); Node27_16.a('node.color','rgba(25,25,112,1)'); Node27_16.a('node.font','bold '+ Node27_16fontSize + 'px "UniDreamLED"'); Node27_16.a('node.textvisible',true); Node27_16.a('node.linefeed',false); if (false) { Node27_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_16.a('node.text') || '-'; var color=Node27_16.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_16width,Node27_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node27_16.a('node.underlinepoints',[Node27_16lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width + 6, (Node27_16height - Node27_16fontSize) * 0.5*_ratio.ratioY + Node27_16fontSize + 2 ]); Node27_16.a('node.underlinevisible',false); Node27_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_16); zoomNodeList.push({ node: Node27_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_17type = 'rect'; var Node27_17 = new ht.Node(), Node27_17BorderWidth = 1*2; if (Node27_17type === 'arc') { Node27_17BorderWidth *= 1; } Node27_17.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node27_17type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node27_17.setPosition(192*ratio.ratioX, 239*ratio.ratioY); Node27_17.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node27_17.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node27_17.a('node.width', 127*_ratio.ratioX); Node27_17.a('node.height', 309*_ratio.ratioY); Node27_17.a('node.type', Node27_17type); Node27_17.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node27_17.a('node.background', 'rgba(255,255,255,0.003921569)'); Node27_17.a('node.gradientcolor', ''); Node27_17.a('node.gradient', ''); Node27_17.a('node.borderwidth', Node27_17BorderWidth); Node27_17.a('node.color', 'rgba(192,192,192,1)'); Node27_17.a('node.fillrect', [0,0,0,0]); Node27_17.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node27_17.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node27_17.a('node.fillgradient', ''); if (Node27_17type !== 'rect') { Node27_17.a('node.arcFrom', parseFloat('@arcFrom@')); Node27_17.a('node.arcTo', parseFloat('@arcTo@')); Node27_17.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node27_17type === 'arc') { Node27_17.a('node.arcOval', true); } Node27_17.setRotation(0*Math.PI/180); Node27_17.borderWidth = Node27_17BorderWidth; Node27_17.borderFillwidth = Node27_17BorderWidth; dataModel.add(Node27_17); Node27_17._nodename = 'Node27_17' Node27_17._nodeType = 'rect'; zoomNodeList.push({ node: Node27_17, 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); } })(Node27_17, Node27_17.getImage());var Node27_18points=[264, 230,264, 230], Node27_18rect=ht.Default.unionPoint([{x:264,y:230},{x:264,y:230}]), Node27_18compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio), _endratio = GD.getRatioWithRotation(4.71238898038469, ratio); for(var i=0;i 2 ? Node28_8fontSize * 0.2 - 4 : Node28_8fontSize * 0.2 - 9; Node28_8textWidth = Node28_8width; Node28_8lineStart = 1; } else if (Node28_8align === 'right') { Node28_8textStart = 0; Node28_8textWidth =Node28_8fontSize <= 8 ? Node28_8width + Node28_8fontSize * 0.2 + 6 : Node28_8width - Node28_8fontSize * 0.2; Node28_8lineStart = (Node28_8width - (ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node28_8align === 'center') { Node28_8textStart = -3; Node28_8textWidth = Node28_8width; Node28_8lineStart = Node28_8width - ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width - 11; } })(); Node28_8.setImage(GD.getTextJSON(Node28_8width, Node28_8height, true, false, false, 'bold '+ Node28_8fontSize + 'px "Arial"')) Node28_8.setPosition(316*ratio.ratioX, 103*ratio.ratioY); Node28_8.setWidth(Node28_8width); Node28_8.setHeight(Node28_8height); Node28_8._nodeType = 'text'; Node28_8._disallowEvert = true; Node28_8.setRotation(0*Math.PI/180); Node28_8.a('node.width', Node28_8width); Node28_8.a('node.height', Node28_8height); Node28_8.a('node.rect', [0, 0, Node28_8width, Node28_8height]); Node28_8.a('node.bordercolor','rgba(255,255,255,1)'); Node28_8.a('node.borderwidth', 0); Node28_8.a('node.background','' || 'rgba(0,0,0,0)'); Node28_8.a('node.gradient',''); Node28_8.a('node.gradientcolor',''); Node28_8.a('node.text','实际功率'); Node28_8.a('node.textalign','center'); Node28_8.a('node.textvAlign','middle'); Node28_8.a('node.textrect', [Node28_8textStart, 0, Node28_8textWidth, Node28_8height]); Node28_8.a('node.color','rgba(255,255,255,1)'); Node28_8.a('node.font','bold '+ Node28_8fontSize + 'px "Arial"'); Node28_8.a('node.textvisible',true); Node28_8.a('node.linefeed',false); if (false) { Node28_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_8.a('node.text') || '实际功率'; var color=Node28_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_8width,Node28_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node28_8.a('node.underlinepoints',[Node28_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_8fontSize + 2 , ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width + 6, (Node28_8height - Node28_8fontSize) * 0.5*_ratio.ratioY + Node28_8fontSize + 2 ]); Node28_8.a('node.underlinevisible',false); Node28_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_8); zoomNodeList.push({ node: Node28_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_9 = new ht.Node(); var Node28_9textStart, Node28_9textWidth, Node28_9lineStart, Node28_9align = 'center', Node28_9fontSize = 11.99997*_ratio.ratioY,Node28_9width = 105*_ratio.ratioX, Node28_9height = 17*_ratio.ratioY; (function () { if (Node28_9align === 'left') { Node28_9textStart = Node28_9fontSize * 0.2 > 2 ? Node28_9fontSize * 0.2 - 4 : Node28_9fontSize * 0.2 - 9; Node28_9textWidth = Node28_9width; Node28_9lineStart = 1; } else if (Node28_9align === 'right') { Node28_9textStart = 0; Node28_9textWidth =Node28_9fontSize <= 8 ? Node28_9width + Node28_9fontSize * 0.2 + 6 : Node28_9width - Node28_9fontSize * 0.2; Node28_9lineStart = (Node28_9width - (ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node28_9align === 'center') { Node28_9textStart = -3; Node28_9textWidth = Node28_9width; Node28_9lineStart = Node28_9width - ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width - 11; } })(); Node28_9.setImage(GD.getTextJSON(Node28_9width, Node28_9height, true, false, false, 'bold '+ Node28_9fontSize + 'px "Arial"')) Node28_9.setPosition(316*ratio.ratioX, 131*ratio.ratioY); Node28_9.setWidth(Node28_9width); Node28_9.setHeight(Node28_9height); Node28_9._nodeType = 'text'; Node28_9._disallowEvert = true; Node28_9.setRotation(0*Math.PI/180); Node28_9.a('node.width', Node28_9width); Node28_9.a('node.height', Node28_9height); Node28_9.a('node.rect', [0, 0, Node28_9width, Node28_9height]); Node28_9.a('node.bordercolor','rgba(128,128,128,1)'); Node28_9.a('node.borderwidth', 0); Node28_9.a('node.background','' || 'rgba(0,0,0,0)'); Node28_9.a('node.gradient',''); Node28_9.a('node.gradientcolor',''); Node28_9.a('node.text','MW'); Node28_9.a('node.textalign','center'); Node28_9.a('node.textvAlign','middle'); Node28_9.a('node.textrect', [Node28_9textStart, 0, Node28_9textWidth, Node28_9height]); Node28_9.a('node.color','rgba(128,128,128,1)'); Node28_9.a('node.font','bold '+ Node28_9fontSize + 'px "Arial"'); Node28_9.a('node.textvisible',true); Node28_9.a('node.linefeed',false); if (false) { Node28_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_9.a('node.text') || 'MW'; var color=Node28_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node28_9width,Node28_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node28_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node28_9.a('node.underlinepoints',[Node28_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node28_9fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width + 6, (Node28_9height - Node28_9fontSize) * 0.5*_ratio.ratioY + Node28_9fontSize + 2 ]); Node28_9.a('node.underlinevisible',false); Node28_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_9); zoomNodeList.push({ node: Node28_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_10 = new ht.Node(); var Node28_10textStart, Node28_10textWidth, Node28_10lineStart, Node28_10align = 'center', Node28_10fontSize = 13.3333*_ratio.ratioY,Node28_10width = 105*_ratio.ratioX, Node28_10height = 27*_ratio.ratioY; (function () { if (Node28_10align === 'left') { Node28_10textStart = Node28_10fontSize * 0.2 > 2 ? Node28_10fontSize * 0.2 - 4 : Node28_10fontSize * 0.2 - 9; Node28_10textWidth = Node28_10width; Node28_10lineStart = 1; } else if (Node28_10align === 'right') { Node28_10textStart = 0; Node28_10textWidth =Node28_10fontSize <= 8 ? Node28_10width + Node28_10fontSize * 0.2 + 6 : Node28_10width - Node28_10fontSize * 0.2; Node28_10lineStart = (Node28_10width - (ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_10align === 'center') { Node28_10textStart = -3; Node28_10textWidth = Node28_10width; Node28_10lineStart = Node28_10width - ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_10.setImage(GD.getTextJSON(Node28_10width, Node28_10height, true, false, false, 'bold '+ Node28_10fontSize + 'px "UniDreamLED"')) Node28_10.setPosition(316*ratio.ratioX, 158*ratio.ratioY); Node28_10.setWidth(Node28_10width); Node28_10.setHeight(Node28_10height); Node28_10._nodeType = 'text'; Node28_10._disallowEvert = true; Node28_10.setRotation(0*Math.PI/180); Node28_10.a('node.width', Node28_10width); Node28_10.a('node.height', Node28_10height); Node28_10.a('node.rect', [0, 0, Node28_10width, Node28_10height]); Node28_10.a('node.bordercolor','rgba(25,25,112,1)'); Node28_10.a('node.borderwidth', 0); Node28_10.a('node.background','' || 'rgba(0,0,0,0)'); Node28_10.a('node.gradient',''); Node28_10.a('node.gradientcolor',''); Node28_10.a('node.text','9.7'); Node28_10.a('node.textalign','center'); Node28_10.a('node.textvAlign','middle'); Node28_10.a('node.textrect', [Node28_10textStart, 0, Node28_10textWidth, Node28_10height]); Node28_10.a('node.color','rgba(25,25,112,1)'); Node28_10.a('node.font','bold '+ Node28_10fontSize + 'px "UniDreamLED"'); Node28_10.a('node.textvisible',true); Node28_10.a('node.linefeed',false); if (false) { Node28_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_10.a('node.text') || '9.7'; var color=Node28_10.a('node.color') || 'rgba(25,25,112,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_10width,Node28_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_10.a('node.underlinepoints',[Node28_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_10fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width + 6, (Node28_10height - Node28_10fontSize) * 0.5*_ratio.ratioY + Node28_10fontSize + 2 ]); Node28_10.a('node.underlinevisible',false); Node28_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_10); zoomNodeList.push({ node: Node28_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_11 = new ht.Node(); var Node28_11textStart, Node28_11textWidth, Node28_11lineStart, Node28_11align = 'center', Node28_11fontSize = 13.3333*_ratio.ratioY,Node28_11width = 110*_ratio.ratioX, Node28_11height = 27*_ratio.ratioY; (function () { if (Node28_11align === 'left') { Node28_11textStart = Node28_11fontSize * 0.2 > 2 ? Node28_11fontSize * 0.2 - 4 : Node28_11fontSize * 0.2 - 9; Node28_11textWidth = Node28_11width; Node28_11lineStart = 1; } else if (Node28_11align === 'right') { Node28_11textStart = 0; Node28_11textWidth =Node28_11fontSize <= 8 ? Node28_11width + Node28_11fontSize * 0.2 + 6 : Node28_11width - Node28_11fontSize * 0.2; Node28_11lineStart = (Node28_11width - (ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_11align === 'center') { Node28_11textStart = -3; Node28_11textWidth = Node28_11width; Node28_11lineStart = Node28_11width - ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_11.setImage(GD.getTextJSON(Node28_11width, Node28_11height, true, false, false, 'bold '+ Node28_11fontSize + 'px "UniDreamLED"')) Node28_11.setPosition(319*ratio.ratioX, 190*ratio.ratioY); Node28_11.setWidth(Node28_11width); Node28_11.setHeight(Node28_11height); Node28_11._nodeType = 'text'; Node28_11._disallowEvert = true; Node28_11.setRotation(0*Math.PI/180); Node28_11.a('node.width', Node28_11width); Node28_11.a('node.height', Node28_11height); Node28_11.a('node.rect', [0, 0, Node28_11width, Node28_11height]); Node28_11.a('node.bordercolor','rgba(0,0,0,1)'); Node28_11.a('node.borderwidth', 0); Node28_11.a('node.background','' || 'rgba(0,0,0,0)'); Node28_11.a('node.gradient',''); Node28_11.a('node.gradientcolor',''); Node28_11.a('node.text','9.7'); Node28_11.a('node.textalign','center'); Node28_11.a('node.textvAlign','middle'); Node28_11.a('node.textrect', [Node28_11textStart, 0, Node28_11textWidth, Node28_11height]); Node28_11.a('node.color','rgba(0,0,0,1)'); Node28_11.a('node.font','bold '+ Node28_11fontSize + 'px "UniDreamLED"'); Node28_11.a('node.textvisible',true); Node28_11.a('node.linefeed',false); if (false) { Node28_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_11.a('node.text') || '9.7'; var color=Node28_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_11width,Node28_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_11.a('node.underlinepoints',[Node28_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_11fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width + 6, (Node28_11height - Node28_11fontSize) * 0.5*_ratio.ratioY + Node28_11fontSize + 2 ]); Node28_11.a('node.underlinevisible',false); Node28_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_11); zoomNodeList.push({ node: Node28_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_12 = new ht.Node(); var Node28_12textStart, Node28_12textWidth, Node28_12lineStart, Node28_12align = 'center', Node28_12fontSize = 13.3333*_ratio.ratioY,Node28_12width = 110*_ratio.ratioX, Node28_12height = 27*_ratio.ratioY; (function () { if (Node28_12align === 'left') { Node28_12textStart = Node28_12fontSize * 0.2 > 2 ? Node28_12fontSize * 0.2 - 4 : Node28_12fontSize * 0.2 - 9; Node28_12textWidth = Node28_12width; Node28_12lineStart = 1; } else if (Node28_12align === 'right') { Node28_12textStart = 0; Node28_12textWidth =Node28_12fontSize <= 8 ? Node28_12width + Node28_12fontSize * 0.2 + 6 : Node28_12width - Node28_12fontSize * 0.2; Node28_12lineStart = (Node28_12width - (ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_12align === 'center') { Node28_12textStart = -3; Node28_12textWidth = Node28_12width; Node28_12lineStart = Node28_12width - ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_12.setImage(GD.getTextJSON(Node28_12width, Node28_12height, true, false, false, 'bold '+ Node28_12fontSize + 'px "UniDreamLED"')) Node28_12.setPosition(319*ratio.ratioX, 220*ratio.ratioY); Node28_12.setWidth(Node28_12width); Node28_12.setHeight(Node28_12height); Node28_12._nodeType = 'text'; Node28_12._disallowEvert = true; Node28_12.setRotation(0*Math.PI/180); Node28_12.a('node.width', Node28_12width); Node28_12.a('node.height', Node28_12height); Node28_12.a('node.rect', [0, 0, Node28_12width, Node28_12height]); Node28_12.a('node.bordercolor','rgba(0,0,0,1)'); Node28_12.a('node.borderwidth', 0); Node28_12.a('node.background','' || 'rgba(0,0,0,0)'); Node28_12.a('node.gradient',''); Node28_12.a('node.gradientcolor',''); Node28_12.a('node.text','8.02'); Node28_12.a('node.textalign','center'); Node28_12.a('node.textvAlign','middle'); Node28_12.a('node.textrect', [Node28_12textStart, 0, Node28_12textWidth, Node28_12height]); Node28_12.a('node.color','rgba(0,0,0,1)'); Node28_12.a('node.font','bold '+ Node28_12fontSize + 'px "UniDreamLED"'); Node28_12.a('node.textvisible',true); Node28_12.a('node.linefeed',false); if (false) { Node28_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_12.a('node.text') || '8.02'; var color=Node28_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_12width,Node28_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_12.a('node.underlinepoints',[Node28_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_12fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width + 6, (Node28_12height - Node28_12fontSize) * 0.5*_ratio.ratioY + Node28_12fontSize + 2 ]); Node28_12.a('node.underlinevisible',false); Node28_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_12); zoomNodeList.push({ node: Node28_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_13 = new ht.Node(); var Node28_13textStart, Node28_13textWidth, Node28_13lineStart, Node28_13align = 'center', Node28_13fontSize = 13.3333*_ratio.ratioY,Node28_13width = 110*_ratio.ratioX, Node28_13height = 27*_ratio.ratioY; (function () { if (Node28_13align === 'left') { Node28_13textStart = Node28_13fontSize * 0.2 > 2 ? Node28_13fontSize * 0.2 - 4 : Node28_13fontSize * 0.2 - 9; Node28_13textWidth = Node28_13width; Node28_13lineStart = 1; } else if (Node28_13align === 'right') { Node28_13textStart = 0; Node28_13textWidth =Node28_13fontSize <= 8 ? Node28_13width + Node28_13fontSize * 0.2 + 6 : Node28_13width - Node28_13fontSize * 0.2; Node28_13lineStart = (Node28_13width - (ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_13align === 'center') { Node28_13textStart = -3; Node28_13textWidth = Node28_13width; Node28_13lineStart = Node28_13width - ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_13.setImage(GD.getTextJSON(Node28_13width, Node28_13height, true, false, false, 'bold '+ Node28_13fontSize + 'px "UniDreamLED"')) Node28_13.setPosition(319*ratio.ratioX, 250*ratio.ratioY); Node28_13.setWidth(Node28_13width); Node28_13.setHeight(Node28_13height); Node28_13._nodeType = 'text'; Node28_13._disallowEvert = true; Node28_13.setRotation(0*Math.PI/180); Node28_13.a('node.width', Node28_13width); Node28_13.a('node.height', Node28_13height); Node28_13.a('node.rect', [0, 0, Node28_13width, Node28_13height]); Node28_13.a('node.bordercolor','rgba(0,0,0,1)'); Node28_13.a('node.borderwidth', 0); Node28_13.a('node.background','' || 'rgba(0,0,0,0)'); Node28_13.a('node.gradient',''); Node28_13.a('node.gradientcolor',''); Node28_13.a('node.text','9.69'); Node28_13.a('node.textalign','center'); Node28_13.a('node.textvAlign','middle'); Node28_13.a('node.textrect', [Node28_13textStart, 0, Node28_13textWidth, Node28_13height]); Node28_13.a('node.color','rgba(0,0,0,1)'); Node28_13.a('node.font','bold '+ Node28_13fontSize + 'px "UniDreamLED"'); Node28_13.a('node.textvisible',true); Node28_13.a('node.linefeed',false); if (false) { Node28_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_13.a('node.text') || '9.69'; var color=Node28_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_13width,Node28_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_13.a('node.underlinepoints',[Node28_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_13fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width + 6, (Node28_13height - Node28_13fontSize) * 0.5*_ratio.ratioY + Node28_13fontSize + 2 ]); Node28_13.a('node.underlinevisible',false); Node28_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_13); zoomNodeList.push({ node: Node28_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_14 = new ht.Node(); var Node28_14textStart, Node28_14textWidth, Node28_14lineStart, Node28_14align = 'center', Node28_14fontSize = 13.3333*_ratio.ratioY,Node28_14width = 110*_ratio.ratioX, Node28_14height = 27*_ratio.ratioY; (function () { if (Node28_14align === 'left') { Node28_14textStart = Node28_14fontSize * 0.2 > 2 ? Node28_14fontSize * 0.2 - 4 : Node28_14fontSize * 0.2 - 9; Node28_14textWidth = Node28_14width; Node28_14lineStart = 1; } else if (Node28_14align === 'right') { Node28_14textStart = 0; Node28_14textWidth =Node28_14fontSize <= 8 ? Node28_14width + Node28_14fontSize * 0.2 + 6 : Node28_14width - Node28_14fontSize * 0.2; Node28_14lineStart = (Node28_14width - (ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_14align === 'center') { Node28_14textStart = -3; Node28_14textWidth = Node28_14width; Node28_14lineStart = Node28_14width - ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_14.setImage(GD.getTextJSON(Node28_14width, Node28_14height, true, false, false, 'bold '+ Node28_14fontSize + 'px "UniDreamLED"')) Node28_14.setPosition(319*ratio.ratioX, 284*ratio.ratioY); Node28_14.setWidth(Node28_14width); Node28_14.setHeight(Node28_14height); Node28_14._nodeType = 'text'; Node28_14._disallowEvert = true; Node28_14.setRotation(0*Math.PI/180); Node28_14.a('node.width', Node28_14width); Node28_14.a('node.height', Node28_14height); Node28_14.a('node.rect', [0, 0, Node28_14width, Node28_14height]); Node28_14.a('node.bordercolor','rgba(0,0,0,1)'); Node28_14.a('node.borderwidth', 0); Node28_14.a('node.background','' || 'rgba(0,0,0,0)'); Node28_14.a('node.gradient',''); Node28_14.a('node.gradientcolor',''); Node28_14.a('node.text','10.72'); Node28_14.a('node.textalign','center'); Node28_14.a('node.textvAlign','middle'); Node28_14.a('node.textrect', [Node28_14textStart, 0, Node28_14textWidth, Node28_14height]); Node28_14.a('node.color','rgba(0,0,0,1)'); Node28_14.a('node.font','bold '+ Node28_14fontSize + 'px "UniDreamLED"'); Node28_14.a('node.textvisible',true); Node28_14.a('node.linefeed',false); if (false) { Node28_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_14.a('node.text') || '10.72'; var color=Node28_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_14width,Node28_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_14.a('node.underlinepoints',[Node28_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_14fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width + 6, (Node28_14height - Node28_14fontSize) * 0.5*_ratio.ratioY + Node28_14fontSize + 2 ]); Node28_14.a('node.underlinevisible',false); Node28_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_14); zoomNodeList.push({ node: Node28_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_15 = new ht.Node(); var Node28_15textStart, Node28_15textWidth, Node28_15lineStart, Node28_15align = 'center', Node28_15fontSize = 13.3333*_ratio.ratioY,Node28_15width = 110*_ratio.ratioX, Node28_15height = 27*_ratio.ratioY; (function () { if (Node28_15align === 'left') { Node28_15textStart = Node28_15fontSize * 0.2 > 2 ? Node28_15fontSize * 0.2 - 4 : Node28_15fontSize * 0.2 - 9; Node28_15textWidth = Node28_15width; Node28_15lineStart = 1; } else if (Node28_15align === 'right') { Node28_15textStart = 0; Node28_15textWidth =Node28_15fontSize <= 8 ? Node28_15width + Node28_15fontSize * 0.2 + 6 : Node28_15width - Node28_15fontSize * 0.2; Node28_15lineStart = (Node28_15width - (ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_15align === 'center') { Node28_15textStart = -3; Node28_15textWidth = Node28_15width; Node28_15lineStart = Node28_15width - ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_15.setImage(GD.getTextJSON(Node28_15width, Node28_15height, true, false, false, 'bold '+ Node28_15fontSize + 'px "UniDreamLED"')) Node28_15.setPosition(319*ratio.ratioX, 317*ratio.ratioY); Node28_15.setWidth(Node28_15width); Node28_15.setHeight(Node28_15height); Node28_15._nodeType = 'text'; Node28_15._disallowEvert = true; Node28_15.setRotation(0*Math.PI/180); Node28_15.a('node.width', Node28_15width); Node28_15.a('node.height', Node28_15height); Node28_15.a('node.rect', [0, 0, Node28_15width, Node28_15height]); Node28_15.a('node.bordercolor','rgba(0,0,0,1)'); Node28_15.a('node.borderwidth', 0); Node28_15.a('node.background','' || 'rgba(0,0,0,0)'); Node28_15.a('node.gradient',''); Node28_15.a('node.gradientcolor',''); Node28_15.a('node.text','7.97'); Node28_15.a('node.textalign','center'); Node28_15.a('node.textvAlign','middle'); Node28_15.a('node.textrect', [Node28_15textStart, 0, Node28_15textWidth, Node28_15height]); Node28_15.a('node.color','rgba(0,0,0,1)'); Node28_15.a('node.font','bold '+ Node28_15fontSize + 'px "UniDreamLED"'); Node28_15.a('node.textvisible',true); Node28_15.a('node.linefeed',false); if (false) { Node28_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_15.a('node.text') || '7.97'; var color=Node28_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_15width,Node28_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_15.a('node.underlinepoints',[Node28_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_15fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width + 6, (Node28_15height - Node28_15fontSize) * 0.5*_ratio.ratioY + Node28_15fontSize + 2 ]); Node28_15.a('node.underlinevisible',false); Node28_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_15); zoomNodeList.push({ node: Node28_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_16 = new ht.Node(); var Node28_16textStart, Node28_16textWidth, Node28_16lineStart, Node28_16align = 'center', Node28_16fontSize = 13.3333*_ratio.ratioY,Node28_16width = 110*_ratio.ratioX, Node28_16height = 27*_ratio.ratioY; (function () { if (Node28_16align === 'left') { Node28_16textStart = Node28_16fontSize * 0.2 > 2 ? Node28_16fontSize * 0.2 - 4 : Node28_16fontSize * 0.2 - 9; Node28_16textWidth = Node28_16width; Node28_16lineStart = 1; } else if (Node28_16align === 'right') { Node28_16textStart = 0; Node28_16textWidth =Node28_16fontSize <= 8 ? Node28_16width + Node28_16fontSize * 0.2 + 6 : Node28_16width - Node28_16fontSize * 0.2; Node28_16lineStart = (Node28_16width - (ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_16align === 'center') { Node28_16textStart = -3; Node28_16textWidth = Node28_16width; Node28_16lineStart = Node28_16width - ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_16.setImage(GD.getTextJSON(Node28_16width, Node28_16height, true, false, false, 'bold '+ Node28_16fontSize + 'px "UniDreamLED"')) Node28_16.setPosition(319*ratio.ratioX, 346*ratio.ratioY); Node28_16.setWidth(Node28_16width); Node28_16.setHeight(Node28_16height); Node28_16._nodeType = 'text'; Node28_16._disallowEvert = true; Node28_16.setRotation(0*Math.PI/180); Node28_16.a('node.width', Node28_16width); Node28_16.a('node.height', Node28_16height); Node28_16.a('node.rect', [0, 0, Node28_16width, Node28_16height]); Node28_16.a('node.bordercolor','rgba(0,0,0,1)'); Node28_16.a('node.borderwidth', 0); Node28_16.a('node.background','' || 'rgba(0,0,0,0)'); Node28_16.a('node.gradient',''); Node28_16.a('node.gradientcolor',''); Node28_16.a('node.text','8.1'); Node28_16.a('node.textalign','center'); Node28_16.a('node.textvAlign','middle'); Node28_16.a('node.textrect', [Node28_16textStart, 0, Node28_16textWidth, Node28_16height]); Node28_16.a('node.color','rgba(0,0,0,1)'); Node28_16.a('node.font','bold '+ Node28_16fontSize + 'px "UniDreamLED"'); Node28_16.a('node.textvisible',true); Node28_16.a('node.linefeed',false); if (false) { Node28_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_16.a('node.text') || '8.1'; var color=Node28_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_16width,Node28_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_16.a('node.underlinepoints',[Node28_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_16fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width + 6, (Node28_16height - Node28_16fontSize) * 0.5*_ratio.ratioY + Node28_16fontSize + 2 ]); Node28_16.a('node.underlinevisible',false); Node28_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_16); zoomNodeList.push({ node: Node28_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_17 = new ht.Node(); var Node28_17textStart, Node28_17textWidth, Node28_17lineStart, Node28_17align = 'center', Node28_17fontSize = 13.3333*_ratio.ratioY,Node28_17width = 110*_ratio.ratioX, Node28_17height = 27*_ratio.ratioY; (function () { if (Node28_17align === 'left') { Node28_17textStart = Node28_17fontSize * 0.2 > 2 ? Node28_17fontSize * 0.2 - 4 : Node28_17fontSize * 0.2 - 9; Node28_17textWidth = Node28_17width; Node28_17lineStart = 1; } else if (Node28_17align === 'right') { Node28_17textStart = 0; Node28_17textWidth =Node28_17fontSize <= 8 ? Node28_17width + Node28_17fontSize * 0.2 + 6 : Node28_17width - Node28_17fontSize * 0.2; Node28_17lineStart = (Node28_17width - (ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node28_17align === 'center') { Node28_17textStart = -3; Node28_17textWidth = Node28_17width; Node28_17lineStart = Node28_17width - ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node28_17.setImage(GD.getTextJSON(Node28_17width, Node28_17height, true, false, false, 'bold '+ Node28_17fontSize + 'px "UniDreamLED"')) Node28_17.setPosition(319*ratio.ratioX, 377*ratio.ratioY); Node28_17.setWidth(Node28_17width); Node28_17.setHeight(Node28_17height); Node28_17._nodeType = 'text'; Node28_17._disallowEvert = true; Node28_17.setRotation(0*Math.PI/180); Node28_17.a('node.width', Node28_17width); Node28_17.a('node.height', Node28_17height); Node28_17.a('node.rect', [0, 0, Node28_17width, Node28_17height]); Node28_17.a('node.bordercolor','rgba(0,0,0,1)'); Node28_17.a('node.borderwidth', 0); Node28_17.a('node.background','' || 'rgba(0,0,0,0)'); Node28_17.a('node.gradient',''); Node28_17.a('node.gradientcolor',''); Node28_17.a('node.text','-'); Node28_17.a('node.textalign','center'); Node28_17.a('node.textvAlign','middle'); Node28_17.a('node.textrect', [Node28_17textStart, 0, Node28_17textWidth, Node28_17height]); Node28_17.a('node.color','rgba(0,0,0,1)'); Node28_17.a('node.font','bold '+ Node28_17fontSize + 'px "UniDreamLED"'); Node28_17.a('node.textvisible',true); Node28_17.a('node.linefeed',false); if (false) { Node28_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_17.a('node.text') || '-'; var color=Node28_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_17width,Node28_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node28_17.a('node.underlinepoints',[Node28_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width + 6, (Node28_17height - Node28_17fontSize) * 0.5*_ratio.ratioY + Node28_17fontSize + 2 ]); Node28_17.a('node.underlinevisible',false); Node28_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_17); zoomNodeList.push({ node: Node28_17, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_0type = 'rect'; var Node29_0 = new ht.Node(), Node29_0BorderWidth = 0*2; if (Node29_0type === 'arc') { Node29_0BorderWidth *= 0; } Node29_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_0.setPosition(446*ratio.ratioX, 190*ratio.ratioY); Node29_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_0.a('node.width', 127*_ratio.ratioX); Node29_0.a('node.height', 32*_ratio.ratioY); Node29_0.a('node.type', Node29_0type); Node29_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_0.a('node.background', 'rgba(245,245,245,1)'); Node29_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node29_0.a('node.gradient', ''); Node29_0.a('node.borderwidth', Node29_0BorderWidth); Node29_0.a('node.color', 'rgba(192,192,192,0)'); Node29_0.a('node.fillrect', [0,0,0,0]); Node29_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_0.a('node.fillgradient', ''); if (Node29_0type !== 'rect') { Node29_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_0.a('node.arcTo', parseFloat('@arcTo@')); Node29_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_0type === 'arc') { Node29_0.a('node.arcOval', true); } Node29_0.setRotation(0*Math.PI/180); Node29_0.borderWidth = Node29_0BorderWidth; Node29_0.borderFillwidth = Node29_0BorderWidth; dataModel.add(Node29_0); Node29_0._nodename = 'Node29_0' Node29_0._nodeType = 'rect'; zoomNodeList.push({ node: Node29_0, 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_0, Node29_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_1type = 'rect'; var Node29_1 = new ht.Node(), Node29_1BorderWidth = 0*2; if (Node29_1type === 'arc') { Node29_1BorderWidth *= 0; } Node29_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_1.setPosition(446*ratio.ratioX, 222*ratio.ratioY); Node29_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_1.a('node.width', 127*_ratio.ratioX); Node29_1.a('node.height', 32*_ratio.ratioY); Node29_1.a('node.type', Node29_1type); Node29_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node29_1.a('node.gradientcolor', ''); Node29_1.a('node.gradient', ''); Node29_1.a('node.borderwidth', Node29_1BorderWidth); Node29_1.a('node.color', 'rgba(192,192,192,0)'); Node29_1.a('node.fillrect', [0,0,0,0]); Node29_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_1.a('node.fillgradient', ''); if (Node29_1type !== 'rect') { Node29_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_1.a('node.arcTo', parseFloat('@arcTo@')); Node29_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_1type === 'arc') { Node29_1.a('node.arcOval', true); } Node29_1.setRotation(0*Math.PI/180); Node29_1.borderWidth = Node29_1BorderWidth; Node29_1.borderFillwidth = Node29_1BorderWidth; dataModel.add(Node29_1); Node29_1._nodename = 'Node29_1' Node29_1._nodeType = 'rect'; zoomNodeList.push({ node: Node29_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); } })(Node29_1, Node29_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_2type = 'rect'; var Node29_2 = new ht.Node(), Node29_2BorderWidth = 0*2; if (Node29_2type === 'arc') { Node29_2BorderWidth *= 0; } Node29_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_2.setPosition(446*ratio.ratioX, 254*ratio.ratioY); Node29_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_2.a('node.width', 127*_ratio.ratioX); Node29_2.a('node.height', 32*_ratio.ratioY); Node29_2.a('node.type', Node29_2type); Node29_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_2.a('node.background', 'rgba(245,245,245,1)'); Node29_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node29_2.a('node.gradient', ''); Node29_2.a('node.borderwidth', Node29_2BorderWidth); Node29_2.a('node.color', 'rgba(192,192,192,0)'); Node29_2.a('node.fillrect', [0,0,0,0]); Node29_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_2.a('node.fillgradient', ''); if (Node29_2type !== 'rect') { Node29_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_2.a('node.arcTo', parseFloat('@arcTo@')); Node29_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_2type === 'arc') { Node29_2.a('node.arcOval', true); } Node29_2.setRotation(0*Math.PI/180); Node29_2.borderWidth = Node29_2BorderWidth; Node29_2.borderFillwidth = Node29_2BorderWidth; dataModel.add(Node29_2); Node29_2._nodename = 'Node29_2' Node29_2._nodeType = 'rect'; zoomNodeList.push({ node: Node29_2, 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_2, Node29_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_3type = 'rect'; var Node29_3 = new ht.Node(), Node29_3BorderWidth = 0*2; if (Node29_3type === 'arc') { Node29_3BorderWidth *= 0; } Node29_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_3.setPosition(446*ratio.ratioX, 285*ratio.ratioY); Node29_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_3.a('node.width', 127*_ratio.ratioX); Node29_3.a('node.height', 32*_ratio.ratioY); Node29_3.a('node.type', Node29_3type); Node29_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node29_3.a('node.gradientcolor', ''); Node29_3.a('node.gradient', ''); Node29_3.a('node.borderwidth', Node29_3BorderWidth); Node29_3.a('node.color', 'rgba(192,192,192,0)'); Node29_3.a('node.fillrect', [0,0,0,0]); Node29_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_3.a('node.fillgradient', ''); if (Node29_3type !== 'rect') { Node29_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_3.a('node.arcTo', parseFloat('@arcTo@')); Node29_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_3type === 'arc') { Node29_3.a('node.arcOval', true); } Node29_3.setRotation(0*Math.PI/180); Node29_3.borderWidth = Node29_3BorderWidth; Node29_3.borderFillwidth = Node29_3BorderWidth; dataModel.add(Node29_3); Node29_3._nodename = 'Node29_3' Node29_3._nodeType = 'rect'; zoomNodeList.push({ node: Node29_3, 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_3, Node29_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_4type = 'rect'; var Node29_4 = new ht.Node(), Node29_4BorderWidth = 0*2; if (Node29_4type === 'arc') { Node29_4BorderWidth *= 0; } Node29_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_4.setPosition(446*ratio.ratioX, 316*ratio.ratioY); Node29_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_4.a('node.width', 127*_ratio.ratioX); Node29_4.a('node.height', 32*_ratio.ratioY); Node29_4.a('node.type', Node29_4type); Node29_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_4.a('node.background', 'rgba(245,245,245,1)'); Node29_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node29_4.a('node.gradient', ''); Node29_4.a('node.borderwidth', Node29_4BorderWidth); Node29_4.a('node.color', 'rgba(192,192,192,0)'); Node29_4.a('node.fillrect', [0,0,0,0]); Node29_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_4.a('node.fillgradient', ''); if (Node29_4type !== 'rect') { Node29_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_4.a('node.arcTo', parseFloat('@arcTo@')); Node29_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_4type === 'arc') { Node29_4.a('node.arcOval', true); } Node29_4.setRotation(0*Math.PI/180); Node29_4.borderWidth = Node29_4BorderWidth; Node29_4.borderFillwidth = Node29_4BorderWidth; dataModel.add(Node29_4); Node29_4._nodename = 'Node29_4' Node29_4._nodeType = 'rect'; zoomNodeList.push({ node: Node29_4, 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_4, Node29_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_5type = 'rect'; var Node29_5 = new ht.Node(), Node29_5BorderWidth = 0*2; if (Node29_5type === 'arc') { Node29_5BorderWidth *= 0; } Node29_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_5.setPosition(446*ratio.ratioX, 347*ratio.ratioY); Node29_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_5.a('node.width', 127*_ratio.ratioX); Node29_5.a('node.height', 32*_ratio.ratioY); Node29_5.a('node.type', Node29_5type); Node29_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node29_5.a('node.gradientcolor', ''); Node29_5.a('node.gradient', ''); Node29_5.a('node.borderwidth', Node29_5BorderWidth); Node29_5.a('node.color', 'rgba(192,192,192,0)'); Node29_5.a('node.fillrect', [0,0,0,0]); Node29_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_5.a('node.fillgradient', ''); if (Node29_5type !== 'rect') { Node29_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_5.a('node.arcTo', parseFloat('@arcTo@')); Node29_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_5type === 'arc') { Node29_5.a('node.arcOval', true); } Node29_5.setRotation(0*Math.PI/180); Node29_5.borderWidth = Node29_5BorderWidth; Node29_5.borderFillwidth = Node29_5BorderWidth; dataModel.add(Node29_5); Node29_5._nodename = 'Node29_5' Node29_5._nodeType = 'rect'; zoomNodeList.push({ node: Node29_5, 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_5, Node29_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_6type = 'rect'; var Node29_6 = new ht.Node(), Node29_6BorderWidth = 0*2; if (Node29_6type === 'arc') { Node29_6BorderWidth *= 0; } Node29_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_6.setPosition(446*ratio.ratioX, 378*ratio.ratioY); Node29_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node29_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_6.a('node.width', 127*_ratio.ratioX); Node29_6.a('node.height', 32*_ratio.ratioY); Node29_6.a('node.type', Node29_6type); Node29_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node29_6.a('node.background', 'rgba(245,245,245,1)'); Node29_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node29_6.a('node.gradient', ''); Node29_6.a('node.borderwidth', Node29_6BorderWidth); Node29_6.a('node.color', 'rgba(192,192,192,0)'); Node29_6.a('node.fillrect', [0,0,0,0]); Node29_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_6.a('node.fillgradient', ''); if (Node29_6type !== 'rect') { Node29_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_6.a('node.arcTo', parseFloat('@arcTo@')); Node29_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_6type === 'arc') { Node29_6.a('node.arcOval', true); } Node29_6.setRotation(0*Math.PI/180); Node29_6.borderWidth = Node29_6BorderWidth; Node29_6.borderFillwidth = Node29_6BorderWidth; dataModel.add(Node29_6); Node29_6._nodename = 'Node29_6' Node29_6._nodeType = 'rect'; zoomNodeList.push({ node: Node29_6, 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_6, Node29_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_7type = 'rect'; var Node29_7 = new ht.Node(), Node29_7BorderWidth = 1*2; if (Node29_7type === 'arc') { Node29_7BorderWidth *= 1; } Node29_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node29_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node29_7.setPosition(446*ratio.ratioX, 239*ratio.ratioY); Node29_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node29_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node29_7.a('node.width', 127*_ratio.ratioX); Node29_7.a('node.height', 309*_ratio.ratioY); Node29_7.a('node.type', Node29_7type); Node29_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node29_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node29_7.a('node.gradientcolor', ''); Node29_7.a('node.gradient', ''); Node29_7.a('node.borderwidth', Node29_7BorderWidth); Node29_7.a('node.color', 'rgba(192,192,192,1)'); Node29_7.a('node.fillrect', [0,0,0,0]); Node29_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node29_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node29_7.a('node.fillgradient', ''); if (Node29_7type !== 'rect') { Node29_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node29_7.a('node.arcTo', parseFloat('@arcTo@')); Node29_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node29_7type === 'arc') { Node29_7.a('node.arcOval', true); } Node29_7.setRotation(0*Math.PI/180); Node29_7.borderWidth = Node29_7BorderWidth; Node29_7.borderFillwidth = Node29_7BorderWidth; dataModel.add(Node29_7); Node29_7._nodename = 'Node29_7' Node29_7._nodeType = 'rect'; zoomNodeList.push({ node: Node29_7, 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_7, Node29_7.getImage());var Node29_8points=[391, 230,391, 230], Node29_8rect=ht.Default.unionPoint([{x:391,y:230},{x:391,y:230}]), Node29_8compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio), _endratio = GD.getRatioWithRotation(4.71238898038469, ratio); for(var i=0;i 2 ? Node29_9fontSize * 0.2 - 4 : Node29_9fontSize * 0.2 - 9; Node29_9textWidth = Node29_9width; Node29_9lineStart = 1; } else if (Node29_9align === 'right') { Node29_9textStart = 0; Node29_9textWidth =Node29_9fontSize <= 8 ? Node29_9width + Node29_9fontSize * 0.2 + 6 : Node29_9width - Node29_9fontSize * 0.2; Node29_9lineStart = (Node29_9width - (ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node29_9align === 'center') { Node29_9textStart = -3; Node29_9textWidth = Node29_9width; Node29_9lineStart = Node29_9width - ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width - 11; } })(); Node29_9.setImage(GD.getTextJSON(Node29_9width, Node29_9height, true, false, false, 'bold '+ Node29_9fontSize + 'px "Arial"')) Node29_9.setPosition(443*ratio.ratioX, 103*ratio.ratioY); Node29_9.setWidth(Node29_9width); Node29_9.setHeight(Node29_9height); Node29_9._nodeType = 'text'; Node29_9._disallowEvert = true; Node29_9.setRotation(0*Math.PI/180); Node29_9.a('node.width', Node29_9width); Node29_9.a('node.height', Node29_9height); Node29_9.a('node.rect', [0, 0, Node29_9width, Node29_9height]); Node29_9.a('node.bordercolor','rgba(255,255,255,1)'); Node29_9.a('node.borderwidth', 0); Node29_9.a('node.background','' || 'rgba(0,0,0,0)'); Node29_9.a('node.gradient',''); Node29_9.a('node.gradientcolor',''); Node29_9.a('node.text','应发功率'); Node29_9.a('node.textalign','center'); Node29_9.a('node.textvAlign','middle'); Node29_9.a('node.textrect', [Node29_9textStart, 0, Node29_9textWidth, Node29_9height]); Node29_9.a('node.color','rgba(255,255,255,1)'); Node29_9.a('node.font','bold '+ Node29_9fontSize + 'px "Arial"'); Node29_9.a('node.textvisible',true); Node29_9.a('node.linefeed',false); if (false) { Node29_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_9.a('node.text') || '应发功率'; var color=Node29_9.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_9width,Node29_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node29_9.a('node.underlinepoints',[Node29_9lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_9fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width + 6, (Node29_9height - Node29_9fontSize) * 0.5*_ratio.ratioY + Node29_9fontSize + 2 ]); Node29_9.a('node.underlinevisible',false); Node29_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_9); zoomNodeList.push({ node: Node29_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_10 = new ht.Node(); var Node29_10textStart, Node29_10textWidth, Node29_10lineStart, Node29_10align = 'center', Node29_10fontSize = 11.99997*_ratio.ratioY,Node29_10width = 105*_ratio.ratioX, Node29_10height = 17*_ratio.ratioY; (function () { if (Node29_10align === 'left') { Node29_10textStart = Node29_10fontSize * 0.2 > 2 ? Node29_10fontSize * 0.2 - 4 : Node29_10fontSize * 0.2 - 9; Node29_10textWidth = Node29_10width; Node29_10lineStart = 1; } else if (Node29_10align === 'right') { Node29_10textStart = 0; Node29_10textWidth =Node29_10fontSize <= 8 ? Node29_10width + Node29_10fontSize * 0.2 + 6 : Node29_10width - Node29_10fontSize * 0.2; Node29_10lineStart = (Node29_10width - (ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node29_10align === 'center') { Node29_10textStart = -3; Node29_10textWidth = Node29_10width; Node29_10lineStart = Node29_10width - ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width - 11; } })(); Node29_10.setImage(GD.getTextJSON(Node29_10width, Node29_10height, true, false, false, 'bold '+ Node29_10fontSize + 'px "Arial"')) Node29_10.setPosition(443*ratio.ratioX, 131*ratio.ratioY); Node29_10.setWidth(Node29_10width); Node29_10.setHeight(Node29_10height); Node29_10._nodeType = 'text'; Node29_10._disallowEvert = true; Node29_10.setRotation(0*Math.PI/180); Node29_10.a('node.width', Node29_10width); Node29_10.a('node.height', Node29_10height); Node29_10.a('node.rect', [0, 0, Node29_10width, Node29_10height]); Node29_10.a('node.bordercolor','rgba(128,128,128,1)'); Node29_10.a('node.borderwidth', 0); Node29_10.a('node.background','' || 'rgba(0,0,0,0)'); Node29_10.a('node.gradient',''); Node29_10.a('node.gradientcolor',''); Node29_10.a('node.text','MW'); Node29_10.a('node.textalign','center'); Node29_10.a('node.textvAlign','middle'); Node29_10.a('node.textrect', [Node29_10textStart, 0, Node29_10textWidth, Node29_10height]); Node29_10.a('node.color','rgba(128,128,128,1)'); Node29_10.a('node.font','bold '+ Node29_10fontSize + 'px "Arial"'); Node29_10.a('node.textvisible',true); Node29_10.a('node.linefeed',false); if (false) { Node29_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_10.a('node.text') || 'MW'; var color=Node29_10.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node29_10width,Node29_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node29_10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node29_10.a('node.underlinepoints',[Node29_10lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node29_10fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width + 6, (Node29_10height - Node29_10fontSize) * 0.5*_ratio.ratioY + Node29_10fontSize + 2 ]); Node29_10.a('node.underlinevisible',false); Node29_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_10); zoomNodeList.push({ node: Node29_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_11 = new ht.Node(); var Node29_11textStart, Node29_11textWidth, Node29_11lineStart, Node29_11align = 'center', Node29_11fontSize = 13.3333*_ratio.ratioY,Node29_11width = 105*_ratio.ratioX, Node29_11height = 27*_ratio.ratioY; (function () { if (Node29_11align === 'left') { Node29_11textStart = Node29_11fontSize * 0.2 > 2 ? Node29_11fontSize * 0.2 - 4 : Node29_11fontSize * 0.2 - 9; Node29_11textWidth = Node29_11width; Node29_11lineStart = 1; } else if (Node29_11align === 'right') { Node29_11textStart = 0; Node29_11textWidth =Node29_11fontSize <= 8 ? Node29_11width + Node29_11fontSize * 0.2 + 6 : Node29_11width - Node29_11fontSize * 0.2; Node29_11lineStart = (Node29_11width - (ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_11align === 'center') { Node29_11textStart = -3; Node29_11textWidth = Node29_11width; Node29_11lineStart = Node29_11width - ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_11.setImage(GD.getTextJSON(Node29_11width, Node29_11height, true, false, false, 'bold '+ Node29_11fontSize + 'px "UniDreamLED"')) Node29_11.setPosition(443*ratio.ratioX, 158*ratio.ratioY); Node29_11.setWidth(Node29_11width); Node29_11.setHeight(Node29_11height); Node29_11._nodeType = 'text'; Node29_11._disallowEvert = true; Node29_11.setRotation(0*Math.PI/180); Node29_11.a('node.width', Node29_11width); Node29_11.a('node.height', Node29_11height); Node29_11.a('node.rect', [0, 0, Node29_11width, Node29_11height]); Node29_11.a('node.bordercolor','rgba(0,0,0,1)'); Node29_11.a('node.borderwidth', 0); Node29_11.a('node.background','' || 'rgba(0,0,0,0)'); Node29_11.a('node.gradient',''); Node29_11.a('node.gradientcolor',''); Node29_11.a('node.text','400.00'); Node29_11.a('node.textalign','center'); Node29_11.a('node.textvAlign','middle'); Node29_11.a('node.textrect', [Node29_11textStart, 0, Node29_11textWidth, Node29_11height]); Node29_11.a('node.color','rgba(0,0,0,1)'); Node29_11.a('node.font','bold '+ Node29_11fontSize + 'px "UniDreamLED"'); Node29_11.a('node.textvisible',true); Node29_11.a('node.linefeed',false); if (false) { Node29_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_11.a('node.text') || '400.00'; var color=Node29_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_11width,Node29_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_11.a('node.underlinepoints',[Node29_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_11fontSize + 2 , ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width + 6, (Node29_11height - Node29_11fontSize) * 0.5*_ratio.ratioY + Node29_11fontSize + 2 ]); Node29_11.a('node.underlinevisible',false); Node29_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_11); zoomNodeList.push({ node: Node29_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_12 = new ht.Node(); var Node29_12textStart, Node29_12textWidth, Node29_12lineStart, Node29_12align = 'center', Node29_12fontSize = 13.3333*_ratio.ratioY,Node29_12width = 110*_ratio.ratioX, Node29_12height = 27*_ratio.ratioY; (function () { if (Node29_12align === 'left') { Node29_12textStart = Node29_12fontSize * 0.2 > 2 ? Node29_12fontSize * 0.2 - 4 : Node29_12fontSize * 0.2 - 9; Node29_12textWidth = Node29_12width; Node29_12lineStart = 1; } else if (Node29_12align === 'right') { Node29_12textStart = 0; Node29_12textWidth =Node29_12fontSize <= 8 ? Node29_12width + Node29_12fontSize * 0.2 + 6 : Node29_12width - Node29_12fontSize * 0.2; Node29_12lineStart = (Node29_12width - (ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_12align === 'center') { Node29_12textStart = -3; Node29_12textWidth = Node29_12width; Node29_12lineStart = Node29_12width - ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_12.setImage(GD.getTextJSON(Node29_12width, Node29_12height, true, false, false, 'bold '+ Node29_12fontSize + 'px "UniDreamLED"')) Node29_12.setPosition(446*ratio.ratioX, 190*ratio.ratioY); Node29_12.setWidth(Node29_12width); Node29_12.setHeight(Node29_12height); Node29_12._nodeType = 'text'; Node29_12._disallowEvert = true; Node29_12.setRotation(0*Math.PI/180); Node29_12.a('node.width', Node29_12width); Node29_12.a('node.height', Node29_12height); Node29_12.a('node.rect', [0, 0, Node29_12width, Node29_12height]); Node29_12.a('node.bordercolor','rgba(0,0,0,1)'); Node29_12.a('node.borderwidth', 0); Node29_12.a('node.background','' || 'rgba(0,0,0,0)'); Node29_12.a('node.gradient',''); Node29_12.a('node.gradientcolor',''); Node29_12.a('node.text','-'); Node29_12.a('node.textalign','center'); Node29_12.a('node.textvAlign','middle'); Node29_12.a('node.textrect', [Node29_12textStart, 0, Node29_12textWidth, Node29_12height]); Node29_12.a('node.color','rgba(0,0,0,1)'); Node29_12.a('node.font','bold '+ Node29_12fontSize + 'px "UniDreamLED"'); Node29_12.a('node.textvisible',true); Node29_12.a('node.linefeed',false); if (false) { Node29_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_12.a('node.text') || '-'; var color=Node29_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_12width,Node29_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_12.a('node.underlinepoints',[Node29_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_12fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width + 6, (Node29_12height - Node29_12fontSize) * 0.5*_ratio.ratioY + Node29_12fontSize + 2 ]); Node29_12.a('node.underlinevisible',false); Node29_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_12); zoomNodeList.push({ node: Node29_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_13 = new ht.Node(); var Node29_13textStart, Node29_13textWidth, Node29_13lineStart, Node29_13align = 'center', Node29_13fontSize = 13.3333*_ratio.ratioY,Node29_13width = 110*_ratio.ratioX, Node29_13height = 27*_ratio.ratioY; (function () { if (Node29_13align === 'left') { Node29_13textStart = Node29_13fontSize * 0.2 > 2 ? Node29_13fontSize * 0.2 - 4 : Node29_13fontSize * 0.2 - 9; Node29_13textWidth = Node29_13width; Node29_13lineStart = 1; } else if (Node29_13align === 'right') { Node29_13textStart = 0; Node29_13textWidth =Node29_13fontSize <= 8 ? Node29_13width + Node29_13fontSize * 0.2 + 6 : Node29_13width - Node29_13fontSize * 0.2; Node29_13lineStart = (Node29_13width - (ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_13align === 'center') { Node29_13textStart = -3; Node29_13textWidth = Node29_13width; Node29_13lineStart = Node29_13width - ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_13.setImage(GD.getTextJSON(Node29_13width, Node29_13height, true, false, false, 'bold '+ Node29_13fontSize + 'px "UniDreamLED"')) Node29_13.setPosition(446*ratio.ratioX, 220*ratio.ratioY); Node29_13.setWidth(Node29_13width); Node29_13.setHeight(Node29_13height); Node29_13._nodeType = 'text'; Node29_13._disallowEvert = true; Node29_13.setRotation(0*Math.PI/180); Node29_13.a('node.width', Node29_13width); Node29_13.a('node.height', Node29_13height); Node29_13.a('node.rect', [0, 0, Node29_13width, Node29_13height]); Node29_13.a('node.bordercolor','rgba(0,0,0,1)'); Node29_13.a('node.borderwidth', 0); Node29_13.a('node.background','' || 'rgba(0,0,0,0)'); Node29_13.a('node.gradient',''); Node29_13.a('node.gradientcolor',''); Node29_13.a('node.text','-'); Node29_13.a('node.textalign','center'); Node29_13.a('node.textvAlign','middle'); Node29_13.a('node.textrect', [Node29_13textStart, 0, Node29_13textWidth, Node29_13height]); Node29_13.a('node.color','rgba(0,0,0,1)'); Node29_13.a('node.font','bold '+ Node29_13fontSize + 'px "UniDreamLED"'); Node29_13.a('node.textvisible',true); Node29_13.a('node.linefeed',false); if (false) { Node29_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_13.a('node.text') || '-'; var color=Node29_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_13width,Node29_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_13.a('node.underlinepoints',[Node29_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_13fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width + 6, (Node29_13height - Node29_13fontSize) * 0.5*_ratio.ratioY + Node29_13fontSize + 2 ]); Node29_13.a('node.underlinevisible',false); Node29_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_13); zoomNodeList.push({ node: Node29_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_14 = new ht.Node(); var Node29_14textStart, Node29_14textWidth, Node29_14lineStart, Node29_14align = 'center', Node29_14fontSize = 13.3333*_ratio.ratioY,Node29_14width = 110*_ratio.ratioX, Node29_14height = 27*_ratio.ratioY; (function () { if (Node29_14align === 'left') { Node29_14textStart = Node29_14fontSize * 0.2 > 2 ? Node29_14fontSize * 0.2 - 4 : Node29_14fontSize * 0.2 - 9; Node29_14textWidth = Node29_14width; Node29_14lineStart = 1; } else if (Node29_14align === 'right') { Node29_14textStart = 0; Node29_14textWidth =Node29_14fontSize <= 8 ? Node29_14width + Node29_14fontSize * 0.2 + 6 : Node29_14width - Node29_14fontSize * 0.2; Node29_14lineStart = (Node29_14width - (ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_14align === 'center') { Node29_14textStart = -3; Node29_14textWidth = Node29_14width; Node29_14lineStart = Node29_14width - ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_14.setImage(GD.getTextJSON(Node29_14width, Node29_14height, true, false, false, 'bold '+ Node29_14fontSize + 'px "UniDreamLED"')) Node29_14.setPosition(446*ratio.ratioX, 250*ratio.ratioY); Node29_14.setWidth(Node29_14width); Node29_14.setHeight(Node29_14height); Node29_14._nodeType = 'text'; Node29_14._disallowEvert = true; Node29_14.setRotation(0*Math.PI/180); Node29_14.a('node.width', Node29_14width); Node29_14.a('node.height', Node29_14height); Node29_14.a('node.rect', [0, 0, Node29_14width, Node29_14height]); Node29_14.a('node.bordercolor','rgba(0,0,0,1)'); Node29_14.a('node.borderwidth', 0); Node29_14.a('node.background','' || 'rgba(0,0,0,0)'); Node29_14.a('node.gradient',''); Node29_14.a('node.gradientcolor',''); Node29_14.a('node.text','-'); Node29_14.a('node.textalign','center'); Node29_14.a('node.textvAlign','middle'); Node29_14.a('node.textrect', [Node29_14textStart, 0, Node29_14textWidth, Node29_14height]); Node29_14.a('node.color','rgba(0,0,0,1)'); Node29_14.a('node.font','bold '+ Node29_14fontSize + 'px "UniDreamLED"'); Node29_14.a('node.textvisible',true); Node29_14.a('node.linefeed',false); if (false) { Node29_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_14.a('node.text') || '-'; var color=Node29_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_14width,Node29_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_14.a('node.underlinepoints',[Node29_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_14fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width + 6, (Node29_14height - Node29_14fontSize) * 0.5*_ratio.ratioY + Node29_14fontSize + 2 ]); Node29_14.a('node.underlinevisible',false); Node29_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_14); zoomNodeList.push({ node: Node29_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_15 = new ht.Node(); var Node29_15textStart, Node29_15textWidth, Node29_15lineStart, Node29_15align = 'center', Node29_15fontSize = 13.3333*_ratio.ratioY,Node29_15width = 110*_ratio.ratioX, Node29_15height = 27*_ratio.ratioY; (function () { if (Node29_15align === 'left') { Node29_15textStart = Node29_15fontSize * 0.2 > 2 ? Node29_15fontSize * 0.2 - 4 : Node29_15fontSize * 0.2 - 9; Node29_15textWidth = Node29_15width; Node29_15lineStart = 1; } else if (Node29_15align === 'right') { Node29_15textStart = 0; Node29_15textWidth =Node29_15fontSize <= 8 ? Node29_15width + Node29_15fontSize * 0.2 + 6 : Node29_15width - Node29_15fontSize * 0.2; Node29_15lineStart = (Node29_15width - (ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_15align === 'center') { Node29_15textStart = -3; Node29_15textWidth = Node29_15width; Node29_15lineStart = Node29_15width - ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_15.setImage(GD.getTextJSON(Node29_15width, Node29_15height, true, false, false, 'bold '+ Node29_15fontSize + 'px "UniDreamLED"')) Node29_15.setPosition(446*ratio.ratioX, 284*ratio.ratioY); Node29_15.setWidth(Node29_15width); Node29_15.setHeight(Node29_15height); Node29_15._nodeType = 'text'; Node29_15._disallowEvert = true; Node29_15.setRotation(0*Math.PI/180); Node29_15.a('node.width', Node29_15width); Node29_15.a('node.height', Node29_15height); Node29_15.a('node.rect', [0, 0, Node29_15width, Node29_15height]); Node29_15.a('node.bordercolor','rgba(0,0,0,1)'); Node29_15.a('node.borderwidth', 0); Node29_15.a('node.background','' || 'rgba(0,0,0,0)'); Node29_15.a('node.gradient',''); Node29_15.a('node.gradientcolor',''); Node29_15.a('node.text','-'); Node29_15.a('node.textalign','center'); Node29_15.a('node.textvAlign','middle'); Node29_15.a('node.textrect', [Node29_15textStart, 0, Node29_15textWidth, Node29_15height]); Node29_15.a('node.color','rgba(0,0,0,1)'); Node29_15.a('node.font','bold '+ Node29_15fontSize + 'px "UniDreamLED"'); Node29_15.a('node.textvisible',true); Node29_15.a('node.linefeed',false); if (false) { Node29_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_15.a('node.text') || '-'; var color=Node29_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_15width,Node29_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_15.a('node.underlinepoints',[Node29_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_15fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width + 6, (Node29_15height - Node29_15fontSize) * 0.5*_ratio.ratioY + Node29_15fontSize + 2 ]); Node29_15.a('node.underlinevisible',false); Node29_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_15); zoomNodeList.push({ node: Node29_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_16 = new ht.Node(); var Node29_16textStart, Node29_16textWidth, Node29_16lineStart, Node29_16align = 'center', Node29_16fontSize = 13.3333*_ratio.ratioY,Node29_16width = 110*_ratio.ratioX, Node29_16height = 27*_ratio.ratioY; (function () { if (Node29_16align === 'left') { Node29_16textStart = Node29_16fontSize * 0.2 > 2 ? Node29_16fontSize * 0.2 - 4 : Node29_16fontSize * 0.2 - 9; Node29_16textWidth = Node29_16width; Node29_16lineStart = 1; } else if (Node29_16align === 'right') { Node29_16textStart = 0; Node29_16textWidth =Node29_16fontSize <= 8 ? Node29_16width + Node29_16fontSize * 0.2 + 6 : Node29_16width - Node29_16fontSize * 0.2; Node29_16lineStart = (Node29_16width - (ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_16align === 'center') { Node29_16textStart = -3; Node29_16textWidth = Node29_16width; Node29_16lineStart = Node29_16width - ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_16.setImage(GD.getTextJSON(Node29_16width, Node29_16height, true, false, false, 'bold '+ Node29_16fontSize + 'px "UniDreamLED"')) Node29_16.setPosition(446*ratio.ratioX, 317*ratio.ratioY); Node29_16.setWidth(Node29_16width); Node29_16.setHeight(Node29_16height); Node29_16._nodeType = 'text'; Node29_16._disallowEvert = true; Node29_16.setRotation(0*Math.PI/180); Node29_16.a('node.width', Node29_16width); Node29_16.a('node.height', Node29_16height); Node29_16.a('node.rect', [0, 0, Node29_16width, Node29_16height]); Node29_16.a('node.bordercolor','rgba(0,0,0,1)'); Node29_16.a('node.borderwidth', 0); Node29_16.a('node.background','' || 'rgba(0,0,0,0)'); Node29_16.a('node.gradient',''); Node29_16.a('node.gradientcolor',''); Node29_16.a('node.text','-'); Node29_16.a('node.textalign','center'); Node29_16.a('node.textvAlign','middle'); Node29_16.a('node.textrect', [Node29_16textStart, 0, Node29_16textWidth, Node29_16height]); Node29_16.a('node.color','rgba(0,0,0,1)'); Node29_16.a('node.font','bold '+ Node29_16fontSize + 'px "UniDreamLED"'); Node29_16.a('node.textvisible',true); Node29_16.a('node.linefeed',false); if (false) { Node29_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_16.a('node.text') || '-'; var color=Node29_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_16width,Node29_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_16.a('node.underlinepoints',[Node29_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width + 6, (Node29_16height - Node29_16fontSize) * 0.5*_ratio.ratioY + Node29_16fontSize + 2 ]); Node29_16.a('node.underlinevisible',false); Node29_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_16); zoomNodeList.push({ node: Node29_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_17 = new ht.Node(); var Node29_17textStart, Node29_17textWidth, Node29_17lineStart, Node29_17align = 'center', Node29_17fontSize = 13.3333*_ratio.ratioY,Node29_17width = 110*_ratio.ratioX, Node29_17height = 27*_ratio.ratioY; (function () { if (Node29_17align === 'left') { Node29_17textStart = Node29_17fontSize * 0.2 > 2 ? Node29_17fontSize * 0.2 - 4 : Node29_17fontSize * 0.2 - 9; Node29_17textWidth = Node29_17width; Node29_17lineStart = 1; } else if (Node29_17align === 'right') { Node29_17textStart = 0; Node29_17textWidth =Node29_17fontSize <= 8 ? Node29_17width + Node29_17fontSize * 0.2 + 6 : Node29_17width - Node29_17fontSize * 0.2; Node29_17lineStart = (Node29_17width - (ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_17align === 'center') { Node29_17textStart = -3; Node29_17textWidth = Node29_17width; Node29_17lineStart = Node29_17width - ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_17.setImage(GD.getTextJSON(Node29_17width, Node29_17height, true, false, false, 'bold '+ Node29_17fontSize + 'px "UniDreamLED"')) Node29_17.setPosition(446*ratio.ratioX, 346*ratio.ratioY); Node29_17.setWidth(Node29_17width); Node29_17.setHeight(Node29_17height); Node29_17._nodeType = 'text'; Node29_17._disallowEvert = true; Node29_17.setRotation(0*Math.PI/180); Node29_17.a('node.width', Node29_17width); Node29_17.a('node.height', Node29_17height); Node29_17.a('node.rect', [0, 0, Node29_17width, Node29_17height]); Node29_17.a('node.bordercolor','rgba(0,0,0,1)'); Node29_17.a('node.borderwidth', 0); Node29_17.a('node.background','' || 'rgba(0,0,0,0)'); Node29_17.a('node.gradient',''); Node29_17.a('node.gradientcolor',''); Node29_17.a('node.text','-'); Node29_17.a('node.textalign','center'); Node29_17.a('node.textvAlign','middle'); Node29_17.a('node.textrect', [Node29_17textStart, 0, Node29_17textWidth, Node29_17height]); Node29_17.a('node.color','rgba(0,0,0,1)'); Node29_17.a('node.font','bold '+ Node29_17fontSize + 'px "UniDreamLED"'); Node29_17.a('node.textvisible',true); Node29_17.a('node.linefeed',false); if (false) { Node29_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_17.a('node.text') || '-'; var color=Node29_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_17width,Node29_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_17.a('node.underlinepoints',[Node29_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width + 6, (Node29_17height - Node29_17fontSize) * 0.5*_ratio.ratioY + Node29_17fontSize + 2 ]); Node29_17.a('node.underlinevisible',false); Node29_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_17); zoomNodeList.push({ node: Node29_17, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_18 = new ht.Node(); var Node29_18textStart, Node29_18textWidth, Node29_18lineStart, Node29_18align = 'center', Node29_18fontSize = 13.3333*_ratio.ratioY,Node29_18width = 110*_ratio.ratioX, Node29_18height = 27*_ratio.ratioY; (function () { if (Node29_18align === 'left') { Node29_18textStart = Node29_18fontSize * 0.2 > 2 ? Node29_18fontSize * 0.2 - 4 : Node29_18fontSize * 0.2 - 9; Node29_18textWidth = Node29_18width; Node29_18lineStart = 1; } else if (Node29_18align === 'right') { Node29_18textStart = 0; Node29_18textWidth =Node29_18fontSize <= 8 ? Node29_18width + Node29_18fontSize * 0.2 + 6 : Node29_18width - Node29_18fontSize * 0.2; Node29_18lineStart = (Node29_18width - (ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node29_18align === 'center') { Node29_18textStart = -3; Node29_18textWidth = Node29_18width; Node29_18lineStart = Node29_18width - ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width - 11; } })(); Node29_18.setImage(GD.getTextJSON(Node29_18width, Node29_18height, true, false, false, 'bold '+ Node29_18fontSize + 'px "UniDreamLED"')) Node29_18.setPosition(446*ratio.ratioX, 377*ratio.ratioY); Node29_18.setWidth(Node29_18width); Node29_18.setHeight(Node29_18height); Node29_18._nodeType = 'text'; Node29_18._disallowEvert = true; Node29_18.setRotation(0*Math.PI/180); Node29_18.a('node.width', Node29_18width); Node29_18.a('node.height', Node29_18height); Node29_18.a('node.rect', [0, 0, Node29_18width, Node29_18height]); Node29_18.a('node.bordercolor','rgba(0,0,0,1)'); Node29_18.a('node.borderwidth', 0); Node29_18.a('node.background','' || 'rgba(0,0,0,0)'); Node29_18.a('node.gradient',''); Node29_18.a('node.gradientcolor',''); Node29_18.a('node.text','-'); Node29_18.a('node.textalign','center'); Node29_18.a('node.textvAlign','middle'); Node29_18.a('node.textrect', [Node29_18textStart, 0, Node29_18textWidth, Node29_18height]); Node29_18.a('node.color','rgba(0,0,0,1)'); Node29_18.a('node.font','bold '+ Node29_18fontSize + 'px "UniDreamLED"'); Node29_18.a('node.textvisible',true); Node29_18.a('node.linefeed',false); if (false) { Node29_18.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_18.a('node.text') || '-'; var color=Node29_18.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_18width,Node29_18height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_18fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node29_18.a('node.underlinepoints',[Node29_18lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_18fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width + 6, (Node29_18height - Node29_18fontSize) * 0.5*_ratio.ratioY + Node29_18fontSize + 2 ]); Node29_18.a('node.underlinevisible',false); Node29_18.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_18); zoomNodeList.push({ node: Node29_18, borderWidth: 0, attr: 'node.borderwidth' }); var Node29_19points=[518, 230,518, 230], Node29_19rect=ht.Default.unionPoint([{x:518,y:230},{x:518,y:230}]), Node29_19compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio), _endratio = GD.getRatioWithRotation(4.71238898038469, ratio); for(var i=0;i 2 ? Node30_8fontSize * 0.2 - 4 : Node30_8fontSize * 0.2 - 9; Node30_8textWidth = Node30_8width; Node30_8lineStart = 1; } else if (Node30_8align === 'right') { Node30_8textStart = 0; Node30_8textWidth =Node30_8fontSize <= 8 ? Node30_8width + Node30_8fontSize * 0.2 + 6 : Node30_8width - Node30_8fontSize * 0.2; Node30_8lineStart = (Node30_8width - (ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node30_8align === 'center') { Node30_8textStart = -3; Node30_8textWidth = Node30_8width; Node30_8lineStart = Node30_8width - ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width - 11; } })(); Node30_8.setImage(GD.getTextJSON(Node30_8width, Node30_8height, true, false, false, 'bold '+ Node30_8fontSize + 'px "Arial"')) Node30_8.setPosition(570*ratio.ratioX, 103*ratio.ratioY); Node30_8.setWidth(Node30_8width); Node30_8.setHeight(Node30_8height); Node30_8._nodeType = 'text'; Node30_8._disallowEvert = true; Node30_8.setRotation(0*Math.PI/180); Node30_8.a('node.width', Node30_8width); Node30_8.a('node.height', Node30_8height); Node30_8.a('node.rect', [0, 0, Node30_8width, Node30_8height]); Node30_8.a('node.bordercolor','rgba(255,255,255,1)'); Node30_8.a('node.borderwidth', 0); Node30_8.a('node.background','' || 'rgba(0,0,0,0)'); Node30_8.a('node.gradient',''); Node30_8.a('node.gradientcolor',''); Node30_8.a('node.text','日发电量'); Node30_8.a('node.textalign','center'); Node30_8.a('node.textvAlign','middle'); Node30_8.a('node.textrect', [Node30_8textStart, 0, Node30_8textWidth, Node30_8height]); Node30_8.a('node.color','rgba(255,255,255,1)'); Node30_8.a('node.font','bold '+ Node30_8fontSize + 'px "Arial"'); Node30_8.a('node.textvisible',true); Node30_8.a('node.linefeed',false); if (false) { Node30_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_8.a('node.text') || '日发电量'; var color=Node30_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_8width,Node30_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node30_8.a('node.underlinepoints',[Node30_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_8fontSize + 2 , ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width + 6, (Node30_8height - Node30_8fontSize) * 0.5*_ratio.ratioY + Node30_8fontSize + 2 ]); Node30_8.a('node.underlinevisible',false); Node30_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_8); zoomNodeList.push({ node: Node30_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_9 = new ht.Node(); var Node30_9textStart, Node30_9textWidth, Node30_9lineStart, Node30_9align = 'center', Node30_9fontSize = 11.99997*_ratio.ratioY,Node30_9width = 105*_ratio.ratioX, Node30_9height = 17*_ratio.ratioY; (function () { if (Node30_9align === 'left') { Node30_9textStart = Node30_9fontSize * 0.2 > 2 ? Node30_9fontSize * 0.2 - 4 : Node30_9fontSize * 0.2 - 9; Node30_9textWidth = Node30_9width; Node30_9lineStart = 1; } else if (Node30_9align === 'right') { Node30_9textStart = 0; Node30_9textWidth =Node30_9fontSize <= 8 ? Node30_9width + Node30_9fontSize * 0.2 + 6 : Node30_9width - Node30_9fontSize * 0.2; Node30_9lineStart = (Node30_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node30_9align === 'center') { Node30_9textStart = -3; Node30_9textWidth = Node30_9width; Node30_9lineStart = Node30_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width - 11; } })(); Node30_9.setImage(GD.getTextJSON(Node30_9width, Node30_9height, true, false, false, 'bold '+ Node30_9fontSize + 'px "Arial"')) Node30_9.setPosition(570*ratio.ratioX, 131*ratio.ratioY); Node30_9.setWidth(Node30_9width); Node30_9.setHeight(Node30_9height); Node30_9._nodeType = 'text'; Node30_9._disallowEvert = true; Node30_9.setRotation(0*Math.PI/180); Node30_9.a('node.width', Node30_9width); Node30_9.a('node.height', Node30_9height); Node30_9.a('node.rect', [0, 0, Node30_9width, Node30_9height]); Node30_9.a('node.bordercolor','rgba(128,128,128,1)'); Node30_9.a('node.borderwidth', 0); Node30_9.a('node.background','' || 'rgba(0,0,0,0)'); Node30_9.a('node.gradient',''); Node30_9.a('node.gradientcolor',''); Node30_9.a('node.text','万kwh'); Node30_9.a('node.textalign','center'); Node30_9.a('node.textvAlign','middle'); Node30_9.a('node.textrect', [Node30_9textStart, 0, Node30_9textWidth, Node30_9height]); Node30_9.a('node.color','rgba(128,128,128,1)'); Node30_9.a('node.font','bold '+ Node30_9fontSize + 'px "Arial"'); Node30_9.a('node.textvisible',true); Node30_9.a('node.linefeed',false); if (false) { Node30_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_9.a('node.text') || '万kwh'; var color=Node30_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node30_9width,Node30_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node30_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node30_9.a('node.underlinepoints',[Node30_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node30_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width + 6, (Node30_9height - Node30_9fontSize) * 0.5*_ratio.ratioY + Node30_9fontSize + 2 ]); Node30_9.a('node.underlinevisible',false); Node30_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_9); zoomNodeList.push({ node: Node30_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_10 = new ht.Node(); var Node30_10textStart, Node30_10textWidth, Node30_10lineStart, Node30_10align = 'center', Node30_10fontSize = 13.3333*_ratio.ratioY,Node30_10width = 105*_ratio.ratioX, Node30_10height = 27*_ratio.ratioY; (function () { if (Node30_10align === 'left') { Node30_10textStart = Node30_10fontSize * 0.2 > 2 ? Node30_10fontSize * 0.2 - 4 : Node30_10fontSize * 0.2 - 9; Node30_10textWidth = Node30_10width; Node30_10lineStart = 1; } else if (Node30_10align === 'right') { Node30_10textStart = 0; Node30_10textWidth =Node30_10fontSize <= 8 ? Node30_10width + Node30_10fontSize * 0.2 + 6 : Node30_10width - Node30_10fontSize * 0.2; Node30_10lineStart = (Node30_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_10align === 'center') { Node30_10textStart = -3; Node30_10textWidth = Node30_10width; Node30_10lineStart = Node30_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_10.setImage(GD.getTextJSON(Node30_10width, Node30_10height, true, false, false, 'bold '+ Node30_10fontSize + 'px "UniDreamLED"')) Node30_10.setPosition(570*ratio.ratioX, 158*ratio.ratioY); Node30_10.setWidth(Node30_10width); Node30_10.setHeight(Node30_10height); Node30_10._nodeType = 'text'; Node30_10._disallowEvert = true; Node30_10.setRotation(0*Math.PI/180); Node30_10.a('node.width', Node30_10width); Node30_10.a('node.height', Node30_10height); Node30_10.a('node.rect', [0, 0, Node30_10width, Node30_10height]); Node30_10.a('node.bordercolor','rgba(0,0,0,1)'); Node30_10.a('node.borderwidth', 0); Node30_10.a('node.background','' || 'rgba(0,0,0,0)'); Node30_10.a('node.gradient',''); Node30_10.a('node.gradientcolor',''); Node30_10.a('node.text','1134.76'); Node30_10.a('node.textalign','center'); Node30_10.a('node.textvAlign','middle'); Node30_10.a('node.textrect', [Node30_10textStart, 0, Node30_10textWidth, Node30_10height]); Node30_10.a('node.color','rgba(0,0,0,1)'); Node30_10.a('node.font','bold '+ Node30_10fontSize + 'px "UniDreamLED"'); Node30_10.a('node.textvisible',true); Node30_10.a('node.linefeed',false); if (false) { Node30_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_10.a('node.text') || '1134.76'; var color=Node30_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_10width,Node30_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_10.a('node.underlinepoints',[Node30_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width + 6, (Node30_10height - Node30_10fontSize) * 0.5*_ratio.ratioY + Node30_10fontSize + 2 ]); Node30_10.a('node.underlinevisible',false); Node30_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_10); zoomNodeList.push({ node: Node30_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_11 = new ht.Node(); var Node30_11textStart, Node30_11textWidth, Node30_11lineStart, Node30_11align = 'center', Node30_11fontSize = 13.3333*_ratio.ratioY,Node30_11width = 110*_ratio.ratioX, Node30_11height = 27*_ratio.ratioY; (function () { if (Node30_11align === 'left') { Node30_11textStart = Node30_11fontSize * 0.2 > 2 ? Node30_11fontSize * 0.2 - 4 : Node30_11fontSize * 0.2 - 9; Node30_11textWidth = Node30_11width; Node30_11lineStart = 1; } else if (Node30_11align === 'right') { Node30_11textStart = 0; Node30_11textWidth =Node30_11fontSize <= 8 ? Node30_11width + Node30_11fontSize * 0.2 + 6 : Node30_11width - Node30_11fontSize * 0.2; Node30_11lineStart = (Node30_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_11align === 'center') { Node30_11textStart = -3; Node30_11textWidth = Node30_11width; Node30_11lineStart = Node30_11width - ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_11.setImage(GD.getTextJSON(Node30_11width, Node30_11height, true, false, false, 'bold '+ Node30_11fontSize + 'px "UniDreamLED"')) Node30_11.setPosition(573*ratio.ratioX, 190*ratio.ratioY); Node30_11.setWidth(Node30_11width); Node30_11.setHeight(Node30_11height); Node30_11._nodeType = 'text'; Node30_11._disallowEvert = true; Node30_11.setRotation(0*Math.PI/180); Node30_11.a('node.width', Node30_11width); Node30_11.a('node.height', Node30_11height); Node30_11.a('node.rect', [0, 0, Node30_11width, Node30_11height]); Node30_11.a('node.bordercolor','rgba(0,0,0,1)'); Node30_11.a('node.borderwidth', 0); Node30_11.a('node.background','' || 'rgba(0,0,0,0)'); Node30_11.a('node.gradient',''); Node30_11.a('node.gradientcolor',''); Node30_11.a('node.text','171.51'); Node30_11.a('node.textalign','center'); Node30_11.a('node.textvAlign','middle'); Node30_11.a('node.textrect', [Node30_11textStart, 0, Node30_11textWidth, Node30_11height]); Node30_11.a('node.color','rgba(0,0,0,1)'); Node30_11.a('node.font','bold '+ Node30_11fontSize + 'px "UniDreamLED"'); Node30_11.a('node.textvisible',true); Node30_11.a('node.linefeed',false); if (false) { Node30_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_11.a('node.text') || '171.51'; var color=Node30_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_11width,Node30_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_11.a('node.underlinepoints',[Node30_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width + 6, (Node30_11height - Node30_11fontSize) * 0.5*_ratio.ratioY + Node30_11fontSize + 2 ]); Node30_11.a('node.underlinevisible',false); Node30_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_11); zoomNodeList.push({ node: Node30_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_12 = new ht.Node(); var Node30_12textStart, Node30_12textWidth, Node30_12lineStart, Node30_12align = 'center', Node30_12fontSize = 13.3333*_ratio.ratioY,Node30_12width = 110*_ratio.ratioX, Node30_12height = 27*_ratio.ratioY; (function () { if (Node30_12align === 'left') { Node30_12textStart = Node30_12fontSize * 0.2 > 2 ? Node30_12fontSize * 0.2 - 4 : Node30_12fontSize * 0.2 - 9; Node30_12textWidth = Node30_12width; Node30_12lineStart = 1; } else if (Node30_12align === 'right') { Node30_12textStart = 0; Node30_12textWidth =Node30_12fontSize <= 8 ? Node30_12width + Node30_12fontSize * 0.2 + 6 : Node30_12width - Node30_12fontSize * 0.2; Node30_12lineStart = (Node30_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_12align === 'center') { Node30_12textStart = -3; Node30_12textWidth = Node30_12width; Node30_12lineStart = Node30_12width - ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_12.setImage(GD.getTextJSON(Node30_12width, Node30_12height, true, false, false, 'bold '+ Node30_12fontSize + 'px "UniDreamLED"')) Node30_12.setPosition(573*ratio.ratioX, 220*ratio.ratioY); Node30_12.setWidth(Node30_12width); Node30_12.setHeight(Node30_12height); Node30_12._nodeType = 'text'; Node30_12._disallowEvert = true; Node30_12.setRotation(0*Math.PI/180); Node30_12.a('node.width', Node30_12width); Node30_12.a('node.height', Node30_12height); Node30_12.a('node.rect', [0, 0, Node30_12width, Node30_12height]); Node30_12.a('node.bordercolor','rgba(0,0,0,1)'); Node30_12.a('node.borderwidth', 0); Node30_12.a('node.background','' || 'rgba(0,0,0,0)'); Node30_12.a('node.gradient',''); Node30_12.a('node.gradientcolor',''); Node30_12.a('node.text','329.51'); Node30_12.a('node.textalign','center'); Node30_12.a('node.textvAlign','middle'); Node30_12.a('node.textrect', [Node30_12textStart, 0, Node30_12textWidth, Node30_12height]); Node30_12.a('node.color','rgba(0,0,0,1)'); Node30_12.a('node.font','bold '+ Node30_12fontSize + 'px "UniDreamLED"'); Node30_12.a('node.textvisible',true); Node30_12.a('node.linefeed',false); if (false) { Node30_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_12.a('node.text') || '329.51'; var color=Node30_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_12width,Node30_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_12.a('node.underlinepoints',[Node30_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width + 6, (Node30_12height - Node30_12fontSize) * 0.5*_ratio.ratioY + Node30_12fontSize + 2 ]); Node30_12.a('node.underlinevisible',false); Node30_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_12); zoomNodeList.push({ node: Node30_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_13 = new ht.Node(); var Node30_13textStart, Node30_13textWidth, Node30_13lineStart, Node30_13align = 'center', Node30_13fontSize = 13.3333*_ratio.ratioY,Node30_13width = 110*_ratio.ratioX, Node30_13height = 27*_ratio.ratioY; (function () { if (Node30_13align === 'left') { Node30_13textStart = Node30_13fontSize * 0.2 > 2 ? Node30_13fontSize * 0.2 - 4 : Node30_13fontSize * 0.2 - 9; Node30_13textWidth = Node30_13width; Node30_13lineStart = 1; } else if (Node30_13align === 'right') { Node30_13textStart = 0; Node30_13textWidth =Node30_13fontSize <= 8 ? Node30_13width + Node30_13fontSize * 0.2 + 6 : Node30_13width - Node30_13fontSize * 0.2; Node30_13lineStart = (Node30_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_13align === 'center') { Node30_13textStart = -3; Node30_13textWidth = Node30_13width; Node30_13lineStart = Node30_13width - ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_13.setImage(GD.getTextJSON(Node30_13width, Node30_13height, true, false, false, 'bold '+ Node30_13fontSize + 'px "UniDreamLED"')) Node30_13.setPosition(573*ratio.ratioX, 250*ratio.ratioY); Node30_13.setWidth(Node30_13width); Node30_13.setHeight(Node30_13height); Node30_13._nodeType = 'text'; Node30_13._disallowEvert = true; Node30_13.setRotation(0*Math.PI/180); Node30_13.a('node.width', Node30_13width); Node30_13.a('node.height', Node30_13height); Node30_13.a('node.rect', [0, 0, Node30_13width, Node30_13height]); Node30_13.a('node.bordercolor','rgba(0,0,0,1)'); Node30_13.a('node.borderwidth', 0); Node30_13.a('node.background','' || 'rgba(0,0,0,0)'); Node30_13.a('node.gradient',''); Node30_13.a('node.gradientcolor',''); Node30_13.a('node.text','340.14'); Node30_13.a('node.textalign','center'); Node30_13.a('node.textvAlign','middle'); Node30_13.a('node.textrect', [Node30_13textStart, 0, Node30_13textWidth, Node30_13height]); Node30_13.a('node.color','rgba(0,0,0,1)'); Node30_13.a('node.font','bold '+ Node30_13fontSize + 'px "UniDreamLED"'); Node30_13.a('node.textvisible',true); Node30_13.a('node.linefeed',false); if (false) { Node30_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_13.a('node.text') || '340.14'; var color=Node30_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_13width,Node30_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_13.a('node.underlinepoints',[Node30_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width + 6, (Node30_13height - Node30_13fontSize) * 0.5*_ratio.ratioY + Node30_13fontSize + 2 ]); Node30_13.a('node.underlinevisible',false); Node30_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_13); zoomNodeList.push({ node: Node30_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_14 = new ht.Node(); var Node30_14textStart, Node30_14textWidth, Node30_14lineStart, Node30_14align = 'center', Node30_14fontSize = 13.3333*_ratio.ratioY,Node30_14width = 110*_ratio.ratioX, Node30_14height = 27*_ratio.ratioY; (function () { if (Node30_14align === 'left') { Node30_14textStart = Node30_14fontSize * 0.2 > 2 ? Node30_14fontSize * 0.2 - 4 : Node30_14fontSize * 0.2 - 9; Node30_14textWidth = Node30_14width; Node30_14lineStart = 1; } else if (Node30_14align === 'right') { Node30_14textStart = 0; Node30_14textWidth =Node30_14fontSize <= 8 ? Node30_14width + Node30_14fontSize * 0.2 + 6 : Node30_14width - Node30_14fontSize * 0.2; Node30_14lineStart = (Node30_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_14align === 'center') { Node30_14textStart = -3; Node30_14textWidth = Node30_14width; Node30_14lineStart = Node30_14width - ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_14.setImage(GD.getTextJSON(Node30_14width, Node30_14height, true, false, false, 'bold '+ Node30_14fontSize + 'px "UniDreamLED"')) Node30_14.setPosition(573*ratio.ratioX, 284*ratio.ratioY); Node30_14.setWidth(Node30_14width); Node30_14.setHeight(Node30_14height); Node30_14._nodeType = 'text'; Node30_14._disallowEvert = true; Node30_14.setRotation(0*Math.PI/180); Node30_14.a('node.width', Node30_14width); Node30_14.a('node.height', Node30_14height); Node30_14.a('node.rect', [0, 0, Node30_14width, Node30_14height]); Node30_14.a('node.bordercolor','rgba(0,0,0,1)'); Node30_14.a('node.borderwidth', 0); Node30_14.a('node.background','' || 'rgba(0,0,0,0)'); Node30_14.a('node.gradient',''); Node30_14.a('node.gradientcolor',''); Node30_14.a('node.text','60.61'); Node30_14.a('node.textalign','center'); Node30_14.a('node.textvAlign','middle'); Node30_14.a('node.textrect', [Node30_14textStart, 0, Node30_14textWidth, Node30_14height]); Node30_14.a('node.color','rgba(0,0,0,1)'); Node30_14.a('node.font','bold '+ Node30_14fontSize + 'px "UniDreamLED"'); Node30_14.a('node.textvisible',true); Node30_14.a('node.linefeed',false); if (false) { Node30_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_14.a('node.text') || '60.61'; var color=Node30_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_14width,Node30_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_14.a('node.underlinepoints',[Node30_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width + 6, (Node30_14height - Node30_14fontSize) * 0.5*_ratio.ratioY + Node30_14fontSize + 2 ]); Node30_14.a('node.underlinevisible',false); Node30_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_14); zoomNodeList.push({ node: Node30_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_15 = new ht.Node(); var Node30_15textStart, Node30_15textWidth, Node30_15lineStart, Node30_15align = 'center', Node30_15fontSize = 13.3333*_ratio.ratioY,Node30_15width = 110*_ratio.ratioX, Node30_15height = 27*_ratio.ratioY; (function () { if (Node30_15align === 'left') { Node30_15textStart = Node30_15fontSize * 0.2 > 2 ? Node30_15fontSize * 0.2 - 4 : Node30_15fontSize * 0.2 - 9; Node30_15textWidth = Node30_15width; Node30_15lineStart = 1; } else if (Node30_15align === 'right') { Node30_15textStart = 0; Node30_15textWidth =Node30_15fontSize <= 8 ? Node30_15width + Node30_15fontSize * 0.2 + 6 : Node30_15width - Node30_15fontSize * 0.2; Node30_15lineStart = (Node30_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_15align === 'center') { Node30_15textStart = -3; Node30_15textWidth = Node30_15width; Node30_15lineStart = Node30_15width - ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_15.setImage(GD.getTextJSON(Node30_15width, Node30_15height, true, false, false, 'bold '+ Node30_15fontSize + 'px "UniDreamLED"')) Node30_15.setPosition(573*ratio.ratioX, 317*ratio.ratioY); Node30_15.setWidth(Node30_15width); Node30_15.setHeight(Node30_15height); Node30_15._nodeType = 'text'; Node30_15._disallowEvert = true; Node30_15.setRotation(0*Math.PI/180); Node30_15.a('node.width', Node30_15width); Node30_15.a('node.height', Node30_15height); Node30_15.a('node.rect', [0, 0, Node30_15width, Node30_15height]); Node30_15.a('node.bordercolor','rgba(0,0,0,1)'); Node30_15.a('node.borderwidth', 0); Node30_15.a('node.background','' || 'rgba(0,0,0,0)'); Node30_15.a('node.gradient',''); Node30_15.a('node.gradientcolor',''); Node30_15.a('node.text','166.79'); Node30_15.a('node.textalign','center'); Node30_15.a('node.textvAlign','middle'); Node30_15.a('node.textrect', [Node30_15textStart, 0, Node30_15textWidth, Node30_15height]); Node30_15.a('node.color','rgba(0,0,0,1)'); Node30_15.a('node.font','bold '+ Node30_15fontSize + 'px "UniDreamLED"'); Node30_15.a('node.textvisible',true); Node30_15.a('node.linefeed',false); if (false) { Node30_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_15.a('node.text') || '166.79'; var color=Node30_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_15width,Node30_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_15.a('node.underlinepoints',[Node30_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width + 6, (Node30_15height - Node30_15fontSize) * 0.5*_ratio.ratioY + Node30_15fontSize + 2 ]); Node30_15.a('node.underlinevisible',false); Node30_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_15); zoomNodeList.push({ node: Node30_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_16 = new ht.Node(); var Node30_16textStart, Node30_16textWidth, Node30_16lineStart, Node30_16align = 'center', Node30_16fontSize = 13.3333*_ratio.ratioY,Node30_16width = 110*_ratio.ratioX, Node30_16height = 27*_ratio.ratioY; (function () { if (Node30_16align === 'left') { Node30_16textStart = Node30_16fontSize * 0.2 > 2 ? Node30_16fontSize * 0.2 - 4 : Node30_16fontSize * 0.2 - 9; Node30_16textWidth = Node30_16width; Node30_16lineStart = 1; } else if (Node30_16align === 'right') { Node30_16textStart = 0; Node30_16textWidth =Node30_16fontSize <= 8 ? Node30_16width + Node30_16fontSize * 0.2 + 6 : Node30_16width - Node30_16fontSize * 0.2; Node30_16lineStart = (Node30_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_16align === 'center') { Node30_16textStart = -3; Node30_16textWidth = Node30_16width; Node30_16lineStart = Node30_16width - ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_16.setImage(GD.getTextJSON(Node30_16width, Node30_16height, true, false, false, 'bold '+ Node30_16fontSize + 'px "UniDreamLED"')) Node30_16.setPosition(573*ratio.ratioX, 346*ratio.ratioY); Node30_16.setWidth(Node30_16width); Node30_16.setHeight(Node30_16height); Node30_16._nodeType = 'text'; Node30_16._disallowEvert = true; Node30_16.setRotation(0*Math.PI/180); Node30_16.a('node.width', Node30_16width); Node30_16.a('node.height', Node30_16height); Node30_16.a('node.rect', [0, 0, Node30_16width, Node30_16height]); Node30_16.a('node.bordercolor','rgba(0,0,0,1)'); Node30_16.a('node.borderwidth', 0); Node30_16.a('node.background','' || 'rgba(0,0,0,0)'); Node30_16.a('node.gradient',''); Node30_16.a('node.gradientcolor',''); Node30_16.a('node.text','66.18'); Node30_16.a('node.textalign','center'); Node30_16.a('node.textvAlign','middle'); Node30_16.a('node.textrect', [Node30_16textStart, 0, Node30_16textWidth, Node30_16height]); Node30_16.a('node.color','rgba(0,0,0,1)'); Node30_16.a('node.font','bold '+ Node30_16fontSize + 'px "UniDreamLED"'); Node30_16.a('node.textvisible',true); Node30_16.a('node.linefeed',false); if (false) { Node30_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_16.a('node.text') || '66.18'; var color=Node30_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_16width,Node30_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_16.a('node.underlinepoints',[Node30_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width + 6, (Node30_16height - Node30_16fontSize) * 0.5*_ratio.ratioY + Node30_16fontSize + 2 ]); Node30_16.a('node.underlinevisible',false); Node30_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_16); zoomNodeList.push({ node: Node30_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30_17 = new ht.Node(); var Node30_17textStart, Node30_17textWidth, Node30_17lineStart, Node30_17align = 'center', Node30_17fontSize = 13.3333*_ratio.ratioY,Node30_17width = 110*_ratio.ratioX, Node30_17height = 27*_ratio.ratioY; (function () { if (Node30_17align === 'left') { Node30_17textStart = Node30_17fontSize * 0.2 > 2 ? Node30_17fontSize * 0.2 - 4 : Node30_17fontSize * 0.2 - 9; Node30_17textWidth = Node30_17width; Node30_17lineStart = 1; } else if (Node30_17align === 'right') { Node30_17textStart = 0; Node30_17textWidth =Node30_17fontSize <= 8 ? Node30_17width + Node30_17fontSize * 0.2 + 6 : Node30_17width - Node30_17fontSize * 0.2; Node30_17lineStart = (Node30_17width - (ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node30_17align === 'center') { Node30_17textStart = -3; Node30_17textWidth = Node30_17width; Node30_17lineStart = Node30_17width - ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node30_17.setImage(GD.getTextJSON(Node30_17width, Node30_17height, true, false, false, 'bold '+ Node30_17fontSize + 'px "UniDreamLED"')) Node30_17.setPosition(573*ratio.ratioX, 377*ratio.ratioY); Node30_17.setWidth(Node30_17width); Node30_17.setHeight(Node30_17height); Node30_17._nodeType = 'text'; Node30_17._disallowEvert = true; Node30_17.setRotation(0*Math.PI/180); Node30_17.a('node.width', Node30_17width); Node30_17.a('node.height', Node30_17height); Node30_17.a('node.rect', [0, 0, Node30_17width, Node30_17height]); Node30_17.a('node.bordercolor','rgba(0,0,0,1)'); Node30_17.a('node.borderwidth', 0); Node30_17.a('node.background','' || 'rgba(0,0,0,0)'); Node30_17.a('node.gradient',''); Node30_17.a('node.gradientcolor',''); Node30_17.a('node.text','-'); Node30_17.a('node.textalign','center'); Node30_17.a('node.textvAlign','middle'); Node30_17.a('node.textrect', [Node30_17textStart, 0, Node30_17textWidth, Node30_17height]); Node30_17.a('node.color','rgba(0,0,0,1)'); Node30_17.a('node.font','bold '+ Node30_17fontSize + 'px "UniDreamLED"'); Node30_17.a('node.textvisible',true); Node30_17.a('node.linefeed',false); if (false) { Node30_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node30_17.a('node.text') || '-'; var color=Node30_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_17width,Node30_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node30_17.a('node.underlinepoints',[Node30_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width + 6, (Node30_17height - Node30_17fontSize) * 0.5*_ratio.ratioY + Node30_17fontSize + 2 ]); Node30_17.a('node.underlinevisible',false); Node30_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node30_17); zoomNodeList.push({ node: Node30_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node31_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node31_0 = new ht.Node(); Node31_0.setPosition(319*ratio.ratioX, 238*ratio.ratioY); Node31_0.setSize(127*ratioX, 313*ratioY); Node31_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node31_0.setRotation(0*Math.PI/180); Node31_0._zoomBy = 'Default'; Node31_0._nodeType = 'image'; Node31_0._disallowEvert = true; dataModel.add(Node31_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node31_1 = new ht.Node(); var Node31_1textStart, Node31_1textWidth, Node31_1lineStart, Node31_1align = 'left', Node31_1fontSize = 13.3333*_ratio.ratioY,Node31_1width = 64*_ratio.ratioX, Node31_1height = 17*_ratio.ratioY; (function () { if (Node31_1align === 'left') { Node31_1textStart = Node31_1fontSize * 0.2 > 2 ? Node31_1fontSize * 0.2 - 4 : Node31_1fontSize * 0.2 - 9; Node31_1textWidth = Node31_1width; Node31_1lineStart = 1; } else if (Node31_1align === 'right') { Node31_1textStart = 0; Node31_1textWidth =Node31_1fontSize <= 8 ? Node31_1width + Node31_1fontSize * 0.2 + 6 : Node31_1width - Node31_1fontSize * 0.2; Node31_1lineStart = (Node31_1width - (ht.Default.getTextSize('实际功率', ' '+ Node31_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node31_1align === 'center') { Node31_1textStart = -3; Node31_1textWidth = Node31_1width; Node31_1lineStart = Node31_1width - ht.Default.getTextSize('实际功率', ' '+ Node31_1fontSize + 'px "Arial"').width - 11; } })(); Node31_1.setImage(GD.getTextJSON(Node31_1width, Node31_1height, true, false, false, ' '+ Node31_1fontSize + 'px "Arial"')) Node31_1.setPosition(319*ratio.ratioX, 103*ratio.ratioY); Node31_1.setWidth(Node31_1width); Node31_1.setHeight(Node31_1height); Node31_1._nodeType = 'text'; Node31_1._disallowEvert = true; Node31_1.setRotation(0*Math.PI/180); Node31_1.a('node.width', Node31_1width); Node31_1.a('node.height', Node31_1height); Node31_1.a('node.rect', [0, 0, Node31_1width, Node31_1height]); Node31_1.a('node.bordercolor','rgba(255,255,255,1)'); Node31_1.a('node.borderwidth', 0); Node31_1.a('node.background','' || 'rgba(0,0,0,0)'); Node31_1.a('node.gradient',''); Node31_1.a('node.gradientcolor',''); Node31_1.a('node.text','实际功率'); Node31_1.a('node.textalign','left'); Node31_1.a('node.textvAlign','middle'); Node31_1.a('node.textrect', [Node31_1textStart, 0, Node31_1textWidth, Node31_1height]); Node31_1.a('node.color','rgba(255,255,255,1)'); Node31_1.a('node.font',' '+ Node31_1fontSize + 'px "Arial"'); Node31_1.a('node.textvisible',true); Node31_1.a('node.linefeed',false); if (false) { Node31_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node31_1.a('node.text') || '实际功率'; var color=Node31_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node31_1width,Node31_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node31_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node31_1.a('node.underlinepoints',[Node31_1lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node31_1fontSize + 2 , ht.Default.getTextSize('实际功率', ' '+ Node31_1fontSize + 'px "Arial"').width + 6, (Node31_1height - Node31_1fontSize) * 0.5*_ratio.ratioY + Node31_1fontSize + 2 ]); Node31_1.a('node.underlinevisible',false); Node31_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node31_1); zoomNodeList.push({ node: Node31_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node32_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node32_0 = new ht.Node(); Node32_0.setPosition(446*ratio.ratioX, 237*ratio.ratioY); Node32_0.setSize(127*ratioX, 313*ratioY); Node32_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node32_0.setRotation(0*Math.PI/180); Node32_0._zoomBy = 'Default'; Node32_0._nodeType = 'image'; Node32_0._disallowEvert = true; dataModel.add(Node32_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node32_1 = new ht.Node(); var Node32_1textStart, Node32_1textWidth, Node32_1lineStart, Node32_1align = 'center', Node32_1fontSize = 13.3333*_ratio.ratioY,Node32_1width = 105*_ratio.ratioX, Node32_1height = 27*_ratio.ratioY; (function () { if (Node32_1align === 'left') { Node32_1textStart = Node32_1fontSize * 0.2 > 2 ? Node32_1fontSize * 0.2 - 4 : Node32_1fontSize * 0.2 - 9; Node32_1textWidth = Node32_1width; Node32_1lineStart = 1; } else if (Node32_1align === 'right') { Node32_1textStart = 0; Node32_1textWidth =Node32_1fontSize <= 8 ? Node32_1width + Node32_1fontSize * 0.2 + 6 : Node32_1width - Node32_1fontSize * 0.2; Node32_1lineStart = (Node32_1width - (ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node32_1align === 'center') { Node32_1textStart = -3; Node32_1textWidth = Node32_1width; Node32_1lineStart = Node32_1width - ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width - 11; } })(); Node32_1.setImage(GD.getTextJSON(Node32_1width, Node32_1height, true, false, false, 'bold '+ Node32_1fontSize + 'px "Arial"')) Node32_1.setPosition(441*ratio.ratioX, 102*ratio.ratioY); Node32_1.setWidth(Node32_1width); Node32_1.setHeight(Node32_1height); Node32_1._nodeType = 'text'; Node32_1._disallowEvert = true; Node32_1.setRotation(0*Math.PI/180); Node32_1.a('node.width', Node32_1width); Node32_1.a('node.height', Node32_1height); Node32_1.a('node.rect', [0, 0, Node32_1width, Node32_1height]); Node32_1.a('node.bordercolor','rgba(255,255,255,1)'); Node32_1.a('node.borderwidth', 0); Node32_1.a('node.background','' || 'rgba(0,0,0,0)'); Node32_1.a('node.gradient',''); Node32_1.a('node.gradientcolor',''); Node32_1.a('node.text','应发功率'); Node32_1.a('node.textalign','center'); Node32_1.a('node.textvAlign','middle'); Node32_1.a('node.textrect', [Node32_1textStart, 0, Node32_1textWidth, Node32_1height]); Node32_1.a('node.color','rgba(255,255,255,1)'); Node32_1.a('node.font','bold '+ Node32_1fontSize + 'px "Arial"'); Node32_1.a('node.textvisible',true); Node32_1.a('node.linefeed',false); if (false) { Node32_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node32_1.a('node.text') || '应发功率'; var color=Node32_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node32_1width,Node32_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node32_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node32_1.a('node.underlinepoints',[Node32_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node32_1fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width + 6, (Node32_1height - Node32_1fontSize) * 0.5*_ratio.ratioY + Node32_1fontSize + 2 ]); Node32_1.a('node.underlinevisible',false); Node32_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node32_1); zoomNodeList.push({ node: Node32_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node33_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node33_0 = new ht.Node(); Node33_0.setPosition(573*ratio.ratioX, 237*ratio.ratioY); Node33_0.setSize(127*ratioX, 313*ratioY); Node33_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node33_0.setRotation(0*Math.PI/180); Node33_0._zoomBy = 'Default'; Node33_0._nodeType = 'image'; Node33_0._disallowEvert = true; dataModel.add(Node33_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node33_1 = new ht.Node(); var Node33_1textStart, Node33_1textWidth, Node33_1lineStart, Node33_1align = 'center', Node33_1fontSize = 13.3333*_ratio.ratioY,Node33_1width = 105*_ratio.ratioX, Node33_1height = 27*_ratio.ratioY; (function () { if (Node33_1align === 'left') { Node33_1textStart = Node33_1fontSize * 0.2 > 2 ? Node33_1fontSize * 0.2 - 4 : Node33_1fontSize * 0.2 - 9; Node33_1textWidth = Node33_1width; Node33_1lineStart = 1; } else if (Node33_1align === 'right') { Node33_1textStart = 0; Node33_1textWidth =Node33_1fontSize <= 8 ? Node33_1width + Node33_1fontSize * 0.2 + 6 : Node33_1width - Node33_1fontSize * 0.2; Node33_1lineStart = (Node33_1width - (ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node33_1align === 'center') { Node33_1textStart = -3; Node33_1textWidth = Node33_1width; Node33_1lineStart = Node33_1width - ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width - 11; } })(); Node33_1.setImage(GD.getTextJSON(Node33_1width, Node33_1height, true, false, false, 'bold '+ Node33_1fontSize + 'px "Arial"')) Node33_1.setPosition(568*ratio.ratioX, 102*ratio.ratioY); Node33_1.setWidth(Node33_1width); Node33_1.setHeight(Node33_1height); Node33_1._nodeType = 'text'; Node33_1._disallowEvert = true; Node33_1.setRotation(0*Math.PI/180); Node33_1.a('node.width', Node33_1width); Node33_1.a('node.height', Node33_1height); Node33_1.a('node.rect', [0, 0, Node33_1width, Node33_1height]); Node33_1.a('node.bordercolor','rgba(255,255,255,1)'); Node33_1.a('node.borderwidth', 0); Node33_1.a('node.background','' || 'rgba(0,0,0,0)'); Node33_1.a('node.gradient',''); Node33_1.a('node.gradientcolor',''); Node33_1.a('node.text','日发电量'); Node33_1.a('node.textalign','center'); Node33_1.a('node.textvAlign','middle'); Node33_1.a('node.textrect', [Node33_1textStart, 0, Node33_1textWidth, Node33_1height]); Node33_1.a('node.color','rgba(255,255,255,1)'); Node33_1.a('node.font','bold '+ Node33_1fontSize + 'px "Arial"'); Node33_1.a('node.textvisible',true); Node33_1.a('node.linefeed',false); if (false) { Node33_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node33_1.a('node.text') || '日发电量'; var color=Node33_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33_1width,Node33_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node33_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node33_1.a('node.underlinepoints',[Node33_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node33_1fontSize + 2 , ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width + 6, (Node33_1height - Node33_1fontSize) * 0.5*_ratio.ratioY + Node33_1fontSize + 2 ]); Node33_1.a('node.underlinevisible',false); Node33_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node33_1); zoomNodeList.push({ node: Node33_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_0type = 'rect'; var Node34_0 = new ht.Node(), Node34_0BorderWidth = 0*2; if (Node34_0type === 'arc') { Node34_0BorderWidth *= 0; } Node34_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_0.setPosition(700*ratio.ratioX, 190*ratio.ratioY); Node34_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_0.a('node.width', 127*_ratio.ratioX); Node34_0.a('node.height', 32*_ratio.ratioY); Node34_0.a('node.type', Node34_0type); Node34_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_0.a('node.background', 'rgba(245,245,245,1)'); Node34_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node34_0.a('node.gradient', ''); Node34_0.a('node.borderwidth', Node34_0BorderWidth); Node34_0.a('node.color', 'rgba(192,192,192,0)'); Node34_0.a('node.fillrect', [0,0,0,0]); Node34_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_0.a('node.fillgradient', ''); if (Node34_0type !== 'rect') { Node34_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_0.a('node.arcTo', parseFloat('@arcTo@')); Node34_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_0type === 'arc') { Node34_0.a('node.arcOval', true); } Node34_0.setRotation(0*Math.PI/180); Node34_0.borderWidth = Node34_0BorderWidth; Node34_0.borderFillwidth = Node34_0BorderWidth; dataModel.add(Node34_0); Node34_0._nodename = 'Node34_0' Node34_0._nodeType = 'rect'; zoomNodeList.push({ node: Node34_0, 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); } })(Node34_0, Node34_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_1type = 'rect'; var Node34_1 = new ht.Node(), Node34_1BorderWidth = 0*2; if (Node34_1type === 'arc') { Node34_1BorderWidth *= 0; } Node34_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_1.setPosition(700*ratio.ratioX, 222*ratio.ratioY); Node34_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_1.a('node.width', 127*_ratio.ratioX); Node34_1.a('node.height', 32*_ratio.ratioY); Node34_1.a('node.type', Node34_1type); Node34_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node34_1.a('node.gradientcolor', ''); Node34_1.a('node.gradient', ''); Node34_1.a('node.borderwidth', Node34_1BorderWidth); Node34_1.a('node.color', 'rgba(192,192,192,0)'); Node34_1.a('node.fillrect', [0,0,0,0]); Node34_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_1.a('node.fillgradient', ''); if (Node34_1type !== 'rect') { Node34_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_1.a('node.arcTo', parseFloat('@arcTo@')); Node34_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_1type === 'arc') { Node34_1.a('node.arcOval', true); } Node34_1.setRotation(0*Math.PI/180); Node34_1.borderWidth = Node34_1BorderWidth; Node34_1.borderFillwidth = Node34_1BorderWidth; dataModel.add(Node34_1); Node34_1._nodename = 'Node34_1' Node34_1._nodeType = 'rect'; zoomNodeList.push({ node: Node34_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); } })(Node34_1, Node34_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_2type = 'rect'; var Node34_2 = new ht.Node(), Node34_2BorderWidth = 0*2; if (Node34_2type === 'arc') { Node34_2BorderWidth *= 0; } Node34_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_2.setPosition(700*ratio.ratioX, 254*ratio.ratioY); Node34_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_2.a('node.width', 127*_ratio.ratioX); Node34_2.a('node.height', 32*_ratio.ratioY); Node34_2.a('node.type', Node34_2type); Node34_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_2.a('node.background', 'rgba(245,245,245,1)'); Node34_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node34_2.a('node.gradient', ''); Node34_2.a('node.borderwidth', Node34_2BorderWidth); Node34_2.a('node.color', 'rgba(192,192,192,0)'); Node34_2.a('node.fillrect', [0,0,0,0]); Node34_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_2.a('node.fillgradient', ''); if (Node34_2type !== 'rect') { Node34_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_2.a('node.arcTo', parseFloat('@arcTo@')); Node34_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_2type === 'arc') { Node34_2.a('node.arcOval', true); } Node34_2.setRotation(0*Math.PI/180); Node34_2.borderWidth = Node34_2BorderWidth; Node34_2.borderFillwidth = Node34_2BorderWidth; dataModel.add(Node34_2); Node34_2._nodename = 'Node34_2' Node34_2._nodeType = 'rect'; zoomNodeList.push({ node: Node34_2, 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); } })(Node34_2, Node34_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_3type = 'rect'; var Node34_3 = new ht.Node(), Node34_3BorderWidth = 0*2; if (Node34_3type === 'arc') { Node34_3BorderWidth *= 0; } Node34_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_3.setPosition(700*ratio.ratioX, 285*ratio.ratioY); Node34_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_3.a('node.width', 127*_ratio.ratioX); Node34_3.a('node.height', 32*_ratio.ratioY); Node34_3.a('node.type', Node34_3type); Node34_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node34_3.a('node.gradientcolor', ''); Node34_3.a('node.gradient', ''); Node34_3.a('node.borderwidth', Node34_3BorderWidth); Node34_3.a('node.color', 'rgba(192,192,192,0)'); Node34_3.a('node.fillrect', [0,0,0,0]); Node34_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_3.a('node.fillgradient', ''); if (Node34_3type !== 'rect') { Node34_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_3.a('node.arcTo', parseFloat('@arcTo@')); Node34_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_3type === 'arc') { Node34_3.a('node.arcOval', true); } Node34_3.setRotation(0*Math.PI/180); Node34_3.borderWidth = Node34_3BorderWidth; Node34_3.borderFillwidth = Node34_3BorderWidth; dataModel.add(Node34_3); Node34_3._nodename = 'Node34_3' Node34_3._nodeType = 'rect'; zoomNodeList.push({ node: Node34_3, 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); } })(Node34_3, Node34_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_4type = 'rect'; var Node34_4 = new ht.Node(), Node34_4BorderWidth = 0*2; if (Node34_4type === 'arc') { Node34_4BorderWidth *= 0; } Node34_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_4.setPosition(700*ratio.ratioX, 316*ratio.ratioY); Node34_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_4.a('node.width', 127*_ratio.ratioX); Node34_4.a('node.height', 32*_ratio.ratioY); Node34_4.a('node.type', Node34_4type); Node34_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_4.a('node.background', 'rgba(245,245,245,1)'); Node34_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node34_4.a('node.gradient', ''); Node34_4.a('node.borderwidth', Node34_4BorderWidth); Node34_4.a('node.color', 'rgba(192,192,192,0)'); Node34_4.a('node.fillrect', [0,0,0,0]); Node34_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_4.a('node.fillgradient', ''); if (Node34_4type !== 'rect') { Node34_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_4.a('node.arcTo', parseFloat('@arcTo@')); Node34_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_4type === 'arc') { Node34_4.a('node.arcOval', true); } Node34_4.setRotation(0*Math.PI/180); Node34_4.borderWidth = Node34_4BorderWidth; Node34_4.borderFillwidth = Node34_4BorderWidth; dataModel.add(Node34_4); Node34_4._nodename = 'Node34_4' Node34_4._nodeType = 'rect'; zoomNodeList.push({ node: Node34_4, 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); } })(Node34_4, Node34_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_5type = 'rect'; var Node34_5 = new ht.Node(), Node34_5BorderWidth = 0*2; if (Node34_5type === 'arc') { Node34_5BorderWidth *= 0; } Node34_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_5.setPosition(700*ratio.ratioX, 347*ratio.ratioY); Node34_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_5.a('node.width', 127*_ratio.ratioX); Node34_5.a('node.height', 32*_ratio.ratioY); Node34_5.a('node.type', Node34_5type); Node34_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node34_5.a('node.gradientcolor', ''); Node34_5.a('node.gradient', ''); Node34_5.a('node.borderwidth', Node34_5BorderWidth); Node34_5.a('node.color', 'rgba(192,192,192,0)'); Node34_5.a('node.fillrect', [0,0,0,0]); Node34_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_5.a('node.fillgradient', ''); if (Node34_5type !== 'rect') { Node34_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_5.a('node.arcTo', parseFloat('@arcTo@')); Node34_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_5type === 'arc') { Node34_5.a('node.arcOval', true); } Node34_5.setRotation(0*Math.PI/180); Node34_5.borderWidth = Node34_5BorderWidth; Node34_5.borderFillwidth = Node34_5BorderWidth; dataModel.add(Node34_5); Node34_5._nodename = 'Node34_5' Node34_5._nodeType = 'rect'; zoomNodeList.push({ node: Node34_5, 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); } })(Node34_5, Node34_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_6type = 'rect'; var Node34_6 = new ht.Node(), Node34_6BorderWidth = 0*2; if (Node34_6type === 'arc') { Node34_6BorderWidth *= 0; } Node34_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_6.setPosition(700*ratio.ratioX, 378*ratio.ratioY); Node34_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node34_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_6.a('node.width', 127*_ratio.ratioX); Node34_6.a('node.height', 32*_ratio.ratioY); Node34_6.a('node.type', Node34_6type); Node34_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node34_6.a('node.background', 'rgba(245,245,245,1)'); Node34_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node34_6.a('node.gradient', ''); Node34_6.a('node.borderwidth', Node34_6BorderWidth); Node34_6.a('node.color', 'rgba(192,192,192,0)'); Node34_6.a('node.fillrect', [0,0,0,0]); Node34_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_6.a('node.fillgradient', ''); if (Node34_6type !== 'rect') { Node34_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_6.a('node.arcTo', parseFloat('@arcTo@')); Node34_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_6type === 'arc') { Node34_6.a('node.arcOval', true); } Node34_6.setRotation(0*Math.PI/180); Node34_6.borderWidth = Node34_6BorderWidth; Node34_6.borderFillwidth = Node34_6BorderWidth; dataModel.add(Node34_6); Node34_6._nodename = 'Node34_6' Node34_6._nodeType = 'rect'; zoomNodeList.push({ node: Node34_6, 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); } })(Node34_6, Node34_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_7type = 'rect'; var Node34_7 = new ht.Node(), Node34_7BorderWidth = 1*2; if (Node34_7type === 'arc') { Node34_7BorderWidth *= 1; } Node34_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node34_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34_7.setPosition(700*ratio.ratioX, 239*ratio.ratioY); Node34_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node34_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34_7.a('node.width', 127*_ratio.ratioX); Node34_7.a('node.height', 309*_ratio.ratioY); Node34_7.a('node.type', Node34_7type); Node34_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node34_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node34_7.a('node.gradientcolor', ''); Node34_7.a('node.gradient', ''); Node34_7.a('node.borderwidth', Node34_7BorderWidth); Node34_7.a('node.color', 'rgba(192,192,192,1)'); Node34_7.a('node.fillrect', [0,0,0,0]); Node34_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34_7.a('node.fillgradient', ''); if (Node34_7type !== 'rect') { Node34_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node34_7.a('node.arcTo', parseFloat('@arcTo@')); Node34_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34_7type === 'arc') { Node34_7.a('node.arcOval', true); } Node34_7.setRotation(0*Math.PI/180); Node34_7.borderWidth = Node34_7BorderWidth; Node34_7.borderFillwidth = Node34_7BorderWidth; dataModel.add(Node34_7); Node34_7._nodename = 'Node34_7' Node34_7._nodeType = 'rect'; zoomNodeList.push({ node: Node34_7, 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); } })(Node34_7, Node34_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_8 = new ht.Node(); var Node34_8textStart, Node34_8textWidth, Node34_8lineStart, Node34_8align = 'center', Node34_8fontSize = 13.3333*_ratio.ratioY,Node34_8width = 105*_ratio.ratioX, Node34_8height = 27*_ratio.ratioY; (function () { if (Node34_8align === 'left') { Node34_8textStart = Node34_8fontSize * 0.2 > 2 ? Node34_8fontSize * 0.2 - 4 : Node34_8fontSize * 0.2 - 9; Node34_8textWidth = Node34_8width; Node34_8lineStart = 1; } else if (Node34_8align === 'right') { Node34_8textStart = 0; Node34_8textWidth =Node34_8fontSize <= 8 ? Node34_8width + Node34_8fontSize * 0.2 + 6 : Node34_8width - Node34_8fontSize * 0.2; Node34_8lineStart = (Node34_8width - (ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node34_8align === 'center') { Node34_8textStart = -3; Node34_8textWidth = Node34_8width; Node34_8lineStart = Node34_8width - ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width - 11; } })(); Node34_8.setImage(GD.getTextJSON(Node34_8width, Node34_8height, true, false, false, 'bold '+ Node34_8fontSize + 'px "Arial"')) Node34_8.setPosition(697*ratio.ratioX, 103*ratio.ratioY); Node34_8.setWidth(Node34_8width); Node34_8.setHeight(Node34_8height); Node34_8._nodeType = 'text'; Node34_8._disallowEvert = true; Node34_8.setRotation(0*Math.PI/180); Node34_8.a('node.width', Node34_8width); Node34_8.a('node.height', Node34_8height); Node34_8.a('node.rect', [0, 0, Node34_8width, Node34_8height]); Node34_8.a('node.bordercolor','rgba(255,255,255,1)'); Node34_8.a('node.borderwidth', 0); Node34_8.a('node.background','' || 'rgba(0,0,0,0)'); Node34_8.a('node.gradient',''); Node34_8.a('node.gradientcolor',''); Node34_8.a('node.text','月发电量'); Node34_8.a('node.textalign','center'); Node34_8.a('node.textvAlign','middle'); Node34_8.a('node.textrect', [Node34_8textStart, 0, Node34_8textWidth, Node34_8height]); Node34_8.a('node.color','rgba(255,255,255,1)'); Node34_8.a('node.font','bold '+ Node34_8fontSize + 'px "Arial"'); Node34_8.a('node.textvisible',true); Node34_8.a('node.linefeed',false); if (false) { Node34_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_8.a('node.text') || '月发电量'; var color=Node34_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_8width,Node34_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node34_8.a('node.underlinepoints',[Node34_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_8fontSize + 2 , ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width + 6, (Node34_8height - Node34_8fontSize) * 0.5*_ratio.ratioY + Node34_8fontSize + 2 ]); Node34_8.a('node.underlinevisible',false); Node34_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_8); zoomNodeList.push({ node: Node34_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_9 = new ht.Node(); var Node34_9textStart, Node34_9textWidth, Node34_9lineStart, Node34_9align = 'center', Node34_9fontSize = 11.99997*_ratio.ratioY,Node34_9width = 105*_ratio.ratioX, Node34_9height = 17*_ratio.ratioY; (function () { if (Node34_9align === 'left') { Node34_9textStart = Node34_9fontSize * 0.2 > 2 ? Node34_9fontSize * 0.2 - 4 : Node34_9fontSize * 0.2 - 9; Node34_9textWidth = Node34_9width; Node34_9lineStart = 1; } else if (Node34_9align === 'right') { Node34_9textStart = 0; Node34_9textWidth =Node34_9fontSize <= 8 ? Node34_9width + Node34_9fontSize * 0.2 + 6 : Node34_9width - Node34_9fontSize * 0.2; Node34_9lineStart = (Node34_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node34_9align === 'center') { Node34_9textStart = -3; Node34_9textWidth = Node34_9width; Node34_9lineStart = Node34_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width - 11; } })(); Node34_9.setImage(GD.getTextJSON(Node34_9width, Node34_9height, true, false, false, 'bold '+ Node34_9fontSize + 'px "Arial"')) Node34_9.setPosition(697*ratio.ratioX, 131*ratio.ratioY); Node34_9.setWidth(Node34_9width); Node34_9.setHeight(Node34_9height); Node34_9._nodeType = 'text'; Node34_9._disallowEvert = true; Node34_9.setRotation(0*Math.PI/180); Node34_9.a('node.width', Node34_9width); Node34_9.a('node.height', Node34_9height); Node34_9.a('node.rect', [0, 0, Node34_9width, Node34_9height]); Node34_9.a('node.bordercolor','rgba(128,128,128,1)'); Node34_9.a('node.borderwidth', 0); Node34_9.a('node.background','' || 'rgba(0,0,0,0)'); Node34_9.a('node.gradient',''); Node34_9.a('node.gradientcolor',''); Node34_9.a('node.text','万kwh'); Node34_9.a('node.textalign','center'); Node34_9.a('node.textvAlign','middle'); Node34_9.a('node.textrect', [Node34_9textStart, 0, Node34_9textWidth, Node34_9height]); Node34_9.a('node.color','rgba(128,128,128,1)'); Node34_9.a('node.font','bold '+ Node34_9fontSize + 'px "Arial"'); Node34_9.a('node.textvisible',true); Node34_9.a('node.linefeed',false); if (false) { Node34_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_9.a('node.text') || '万kwh'; var color=Node34_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node34_9width,Node34_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node34_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node34_9.a('node.underlinepoints',[Node34_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node34_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width + 6, (Node34_9height - Node34_9fontSize) * 0.5*_ratio.ratioY + Node34_9fontSize + 2 ]); Node34_9.a('node.underlinevisible',false); Node34_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_9); zoomNodeList.push({ node: Node34_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_10 = new ht.Node(); var Node34_10textStart, Node34_10textWidth, Node34_10lineStart, Node34_10align = 'center', Node34_10fontSize = 13.3333*_ratio.ratioY,Node34_10width = 105*_ratio.ratioX, Node34_10height = 27*_ratio.ratioY; (function () { if (Node34_10align === 'left') { Node34_10textStart = Node34_10fontSize * 0.2 > 2 ? Node34_10fontSize * 0.2 - 4 : Node34_10fontSize * 0.2 - 9; Node34_10textWidth = Node34_10width; Node34_10lineStart = 1; } else if (Node34_10align === 'right') { Node34_10textStart = 0; Node34_10textWidth =Node34_10fontSize <= 8 ? Node34_10width + Node34_10fontSize * 0.2 + 6 : Node34_10width - Node34_10fontSize * 0.2; Node34_10lineStart = (Node34_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_10align === 'center') { Node34_10textStart = -3; Node34_10textWidth = Node34_10width; Node34_10lineStart = Node34_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_10.setImage(GD.getTextJSON(Node34_10width, Node34_10height, true, false, false, 'bold '+ Node34_10fontSize + 'px "UniDreamLED"')) Node34_10.setPosition(697*ratio.ratioX, 158*ratio.ratioY); Node34_10.setWidth(Node34_10width); Node34_10.setHeight(Node34_10height); Node34_10._nodeType = 'text'; Node34_10._disallowEvert = true; Node34_10.setRotation(0*Math.PI/180); Node34_10.a('node.width', Node34_10width); Node34_10.a('node.height', Node34_10height); Node34_10.a('node.rect', [0, 0, Node34_10width, Node34_10height]); Node34_10.a('node.bordercolor','rgba(0,0,0,1)'); Node34_10.a('node.borderwidth', 0); Node34_10.a('node.background','' || 'rgba(0,0,0,0)'); Node34_10.a('node.gradient',''); Node34_10.a('node.gradientcolor',''); Node34_10.a('node.text','1134.76'); Node34_10.a('node.textalign','center'); Node34_10.a('node.textvAlign','middle'); Node34_10.a('node.textrect', [Node34_10textStart, 0, Node34_10textWidth, Node34_10height]); Node34_10.a('node.color','rgba(0,0,0,1)'); Node34_10.a('node.font','bold '+ Node34_10fontSize + 'px "UniDreamLED"'); Node34_10.a('node.textvisible',true); Node34_10.a('node.linefeed',false); if (false) { Node34_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_10.a('node.text') || '1134.76'; var color=Node34_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_10width,Node34_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_10.a('node.underlinepoints',[Node34_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width + 6, (Node34_10height - Node34_10fontSize) * 0.5*_ratio.ratioY + Node34_10fontSize + 2 ]); Node34_10.a('node.underlinevisible',false); Node34_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_10); zoomNodeList.push({ node: Node34_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_11 = new ht.Node(); var Node34_11textStart, Node34_11textWidth, Node34_11lineStart, Node34_11align = 'center', Node34_11fontSize = 13.3333*_ratio.ratioY,Node34_11width = 110*_ratio.ratioX, Node34_11height = 27*_ratio.ratioY; (function () { if (Node34_11align === 'left') { Node34_11textStart = Node34_11fontSize * 0.2 > 2 ? Node34_11fontSize * 0.2 - 4 : Node34_11fontSize * 0.2 - 9; Node34_11textWidth = Node34_11width; Node34_11lineStart = 1; } else if (Node34_11align === 'right') { Node34_11textStart = 0; Node34_11textWidth =Node34_11fontSize <= 8 ? Node34_11width + Node34_11fontSize * 0.2 + 6 : Node34_11width - Node34_11fontSize * 0.2; Node34_11lineStart = (Node34_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_11align === 'center') { Node34_11textStart = -3; Node34_11textWidth = Node34_11width; Node34_11lineStart = Node34_11width - ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_11.setImage(GD.getTextJSON(Node34_11width, Node34_11height, true, false, false, 'bold '+ Node34_11fontSize + 'px "UniDreamLED"')) Node34_11.setPosition(700*ratio.ratioX, 190*ratio.ratioY); Node34_11.setWidth(Node34_11width); Node34_11.setHeight(Node34_11height); Node34_11._nodeType = 'text'; Node34_11._disallowEvert = true; Node34_11.setRotation(0*Math.PI/180); Node34_11.a('node.width', Node34_11width); Node34_11.a('node.height', Node34_11height); Node34_11.a('node.rect', [0, 0, Node34_11width, Node34_11height]); Node34_11.a('node.bordercolor','rgba(0,0,0,1)'); Node34_11.a('node.borderwidth', 0); Node34_11.a('node.background','' || 'rgba(0,0,0,0)'); Node34_11.a('node.gradient',''); Node34_11.a('node.gradientcolor',''); Node34_11.a('node.text','171.51'); Node34_11.a('node.textalign','center'); Node34_11.a('node.textvAlign','middle'); Node34_11.a('node.textrect', [Node34_11textStart, 0, Node34_11textWidth, Node34_11height]); Node34_11.a('node.color','rgba(0,0,0,1)'); Node34_11.a('node.font','bold '+ Node34_11fontSize + 'px "UniDreamLED"'); Node34_11.a('node.textvisible',true); Node34_11.a('node.linefeed',false); if (false) { Node34_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_11.a('node.text') || '171.51'; var color=Node34_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_11width,Node34_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_11.a('node.underlinepoints',[Node34_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width + 6, (Node34_11height - Node34_11fontSize) * 0.5*_ratio.ratioY + Node34_11fontSize + 2 ]); Node34_11.a('node.underlinevisible',false); Node34_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_11); zoomNodeList.push({ node: Node34_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_12 = new ht.Node(); var Node34_12textStart, Node34_12textWidth, Node34_12lineStart, Node34_12align = 'center', Node34_12fontSize = 13.3333*_ratio.ratioY,Node34_12width = 110*_ratio.ratioX, Node34_12height = 27*_ratio.ratioY; (function () { if (Node34_12align === 'left') { Node34_12textStart = Node34_12fontSize * 0.2 > 2 ? Node34_12fontSize * 0.2 - 4 : Node34_12fontSize * 0.2 - 9; Node34_12textWidth = Node34_12width; Node34_12lineStart = 1; } else if (Node34_12align === 'right') { Node34_12textStart = 0; Node34_12textWidth =Node34_12fontSize <= 8 ? Node34_12width + Node34_12fontSize * 0.2 + 6 : Node34_12width - Node34_12fontSize * 0.2; Node34_12lineStart = (Node34_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_12align === 'center') { Node34_12textStart = -3; Node34_12textWidth = Node34_12width; Node34_12lineStart = Node34_12width - ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_12.setImage(GD.getTextJSON(Node34_12width, Node34_12height, true, false, false, 'bold '+ Node34_12fontSize + 'px "UniDreamLED"')) Node34_12.setPosition(700*ratio.ratioX, 220*ratio.ratioY); Node34_12.setWidth(Node34_12width); Node34_12.setHeight(Node34_12height); Node34_12._nodeType = 'text'; Node34_12._disallowEvert = true; Node34_12.setRotation(0*Math.PI/180); Node34_12.a('node.width', Node34_12width); Node34_12.a('node.height', Node34_12height); Node34_12.a('node.rect', [0, 0, Node34_12width, Node34_12height]); Node34_12.a('node.bordercolor','rgba(0,0,0,1)'); Node34_12.a('node.borderwidth', 0); Node34_12.a('node.background','' || 'rgba(0,0,0,0)'); Node34_12.a('node.gradient',''); Node34_12.a('node.gradientcolor',''); Node34_12.a('node.text','329.51'); Node34_12.a('node.textalign','center'); Node34_12.a('node.textvAlign','middle'); Node34_12.a('node.textrect', [Node34_12textStart, 0, Node34_12textWidth, Node34_12height]); Node34_12.a('node.color','rgba(0,0,0,1)'); Node34_12.a('node.font','bold '+ Node34_12fontSize + 'px "UniDreamLED"'); Node34_12.a('node.textvisible',true); Node34_12.a('node.linefeed',false); if (false) { Node34_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_12.a('node.text') || '329.51'; var color=Node34_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_12width,Node34_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_12.a('node.underlinepoints',[Node34_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width + 6, (Node34_12height - Node34_12fontSize) * 0.5*_ratio.ratioY + Node34_12fontSize + 2 ]); Node34_12.a('node.underlinevisible',false); Node34_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_12); zoomNodeList.push({ node: Node34_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_13 = new ht.Node(); var Node34_13textStart, Node34_13textWidth, Node34_13lineStart, Node34_13align = 'center', Node34_13fontSize = 13.3333*_ratio.ratioY,Node34_13width = 110*_ratio.ratioX, Node34_13height = 27*_ratio.ratioY; (function () { if (Node34_13align === 'left') { Node34_13textStart = Node34_13fontSize * 0.2 > 2 ? Node34_13fontSize * 0.2 - 4 : Node34_13fontSize * 0.2 - 9; Node34_13textWidth = Node34_13width; Node34_13lineStart = 1; } else if (Node34_13align === 'right') { Node34_13textStart = 0; Node34_13textWidth =Node34_13fontSize <= 8 ? Node34_13width + Node34_13fontSize * 0.2 + 6 : Node34_13width - Node34_13fontSize * 0.2; Node34_13lineStart = (Node34_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_13align === 'center') { Node34_13textStart = -3; Node34_13textWidth = Node34_13width; Node34_13lineStart = Node34_13width - ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_13.setImage(GD.getTextJSON(Node34_13width, Node34_13height, true, false, false, 'bold '+ Node34_13fontSize + 'px "UniDreamLED"')) Node34_13.setPosition(700*ratio.ratioX, 250*ratio.ratioY); Node34_13.setWidth(Node34_13width); Node34_13.setHeight(Node34_13height); Node34_13._nodeType = 'text'; Node34_13._disallowEvert = true; Node34_13.setRotation(0*Math.PI/180); Node34_13.a('node.width', Node34_13width); Node34_13.a('node.height', Node34_13height); Node34_13.a('node.rect', [0, 0, Node34_13width, Node34_13height]); Node34_13.a('node.bordercolor','rgba(0,0,0,1)'); Node34_13.a('node.borderwidth', 0); Node34_13.a('node.background','' || 'rgba(0,0,0,0)'); Node34_13.a('node.gradient',''); Node34_13.a('node.gradientcolor',''); Node34_13.a('node.text','340.14'); Node34_13.a('node.textalign','center'); Node34_13.a('node.textvAlign','middle'); Node34_13.a('node.textrect', [Node34_13textStart, 0, Node34_13textWidth, Node34_13height]); Node34_13.a('node.color','rgba(0,0,0,1)'); Node34_13.a('node.font','bold '+ Node34_13fontSize + 'px "UniDreamLED"'); Node34_13.a('node.textvisible',true); Node34_13.a('node.linefeed',false); if (false) { Node34_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_13.a('node.text') || '340.14'; var color=Node34_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_13width,Node34_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_13.a('node.underlinepoints',[Node34_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width + 6, (Node34_13height - Node34_13fontSize) * 0.5*_ratio.ratioY + Node34_13fontSize + 2 ]); Node34_13.a('node.underlinevisible',false); Node34_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_13); zoomNodeList.push({ node: Node34_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_14 = new ht.Node(); var Node34_14textStart, Node34_14textWidth, Node34_14lineStart, Node34_14align = 'center', Node34_14fontSize = 13.3333*_ratio.ratioY,Node34_14width = 110*_ratio.ratioX, Node34_14height = 27*_ratio.ratioY; (function () { if (Node34_14align === 'left') { Node34_14textStart = Node34_14fontSize * 0.2 > 2 ? Node34_14fontSize * 0.2 - 4 : Node34_14fontSize * 0.2 - 9; Node34_14textWidth = Node34_14width; Node34_14lineStart = 1; } else if (Node34_14align === 'right') { Node34_14textStart = 0; Node34_14textWidth =Node34_14fontSize <= 8 ? Node34_14width + Node34_14fontSize * 0.2 + 6 : Node34_14width - Node34_14fontSize * 0.2; Node34_14lineStart = (Node34_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_14align === 'center') { Node34_14textStart = -3; Node34_14textWidth = Node34_14width; Node34_14lineStart = Node34_14width - ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_14.setImage(GD.getTextJSON(Node34_14width, Node34_14height, true, false, false, 'bold '+ Node34_14fontSize + 'px "UniDreamLED"')) Node34_14.setPosition(700*ratio.ratioX, 284*ratio.ratioY); Node34_14.setWidth(Node34_14width); Node34_14.setHeight(Node34_14height); Node34_14._nodeType = 'text'; Node34_14._disallowEvert = true; Node34_14.setRotation(0*Math.PI/180); Node34_14.a('node.width', Node34_14width); Node34_14.a('node.height', Node34_14height); Node34_14.a('node.rect', [0, 0, Node34_14width, Node34_14height]); Node34_14.a('node.bordercolor','rgba(0,0,0,1)'); Node34_14.a('node.borderwidth', 0); Node34_14.a('node.background','' || 'rgba(0,0,0,0)'); Node34_14.a('node.gradient',''); Node34_14.a('node.gradientcolor',''); Node34_14.a('node.text','60.61'); Node34_14.a('node.textalign','center'); Node34_14.a('node.textvAlign','middle'); Node34_14.a('node.textrect', [Node34_14textStart, 0, Node34_14textWidth, Node34_14height]); Node34_14.a('node.color','rgba(0,0,0,1)'); Node34_14.a('node.font','bold '+ Node34_14fontSize + 'px "UniDreamLED"'); Node34_14.a('node.textvisible',true); Node34_14.a('node.linefeed',false); if (false) { Node34_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_14.a('node.text') || '60.61'; var color=Node34_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_14width,Node34_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_14.a('node.underlinepoints',[Node34_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width + 6, (Node34_14height - Node34_14fontSize) * 0.5*_ratio.ratioY + Node34_14fontSize + 2 ]); Node34_14.a('node.underlinevisible',false); Node34_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_14); zoomNodeList.push({ node: Node34_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_15 = new ht.Node(); var Node34_15textStart, Node34_15textWidth, Node34_15lineStart, Node34_15align = 'center', Node34_15fontSize = 13.3333*_ratio.ratioY,Node34_15width = 110*_ratio.ratioX, Node34_15height = 27*_ratio.ratioY; (function () { if (Node34_15align === 'left') { Node34_15textStart = Node34_15fontSize * 0.2 > 2 ? Node34_15fontSize * 0.2 - 4 : Node34_15fontSize * 0.2 - 9; Node34_15textWidth = Node34_15width; Node34_15lineStart = 1; } else if (Node34_15align === 'right') { Node34_15textStart = 0; Node34_15textWidth =Node34_15fontSize <= 8 ? Node34_15width + Node34_15fontSize * 0.2 + 6 : Node34_15width - Node34_15fontSize * 0.2; Node34_15lineStart = (Node34_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_15align === 'center') { Node34_15textStart = -3; Node34_15textWidth = Node34_15width; Node34_15lineStart = Node34_15width - ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_15.setImage(GD.getTextJSON(Node34_15width, Node34_15height, true, false, false, 'bold '+ Node34_15fontSize + 'px "UniDreamLED"')) Node34_15.setPosition(700*ratio.ratioX, 317*ratio.ratioY); Node34_15.setWidth(Node34_15width); Node34_15.setHeight(Node34_15height); Node34_15._nodeType = 'text'; Node34_15._disallowEvert = true; Node34_15.setRotation(0*Math.PI/180); Node34_15.a('node.width', Node34_15width); Node34_15.a('node.height', Node34_15height); Node34_15.a('node.rect', [0, 0, Node34_15width, Node34_15height]); Node34_15.a('node.bordercolor','rgba(0,0,0,1)'); Node34_15.a('node.borderwidth', 0); Node34_15.a('node.background','' || 'rgba(0,0,0,0)'); Node34_15.a('node.gradient',''); Node34_15.a('node.gradientcolor',''); Node34_15.a('node.text','166.79'); Node34_15.a('node.textalign','center'); Node34_15.a('node.textvAlign','middle'); Node34_15.a('node.textrect', [Node34_15textStart, 0, Node34_15textWidth, Node34_15height]); Node34_15.a('node.color','rgba(0,0,0,1)'); Node34_15.a('node.font','bold '+ Node34_15fontSize + 'px "UniDreamLED"'); Node34_15.a('node.textvisible',true); Node34_15.a('node.linefeed',false); if (false) { Node34_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_15.a('node.text') || '166.79'; var color=Node34_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_15width,Node34_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_15.a('node.underlinepoints',[Node34_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width + 6, (Node34_15height - Node34_15fontSize) * 0.5*_ratio.ratioY + Node34_15fontSize + 2 ]); Node34_15.a('node.underlinevisible',false); Node34_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_15); zoomNodeList.push({ node: Node34_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_16 = new ht.Node(); var Node34_16textStart, Node34_16textWidth, Node34_16lineStart, Node34_16align = 'center', Node34_16fontSize = 13.3333*_ratio.ratioY,Node34_16width = 110*_ratio.ratioX, Node34_16height = 27*_ratio.ratioY; (function () { if (Node34_16align === 'left') { Node34_16textStart = Node34_16fontSize * 0.2 > 2 ? Node34_16fontSize * 0.2 - 4 : Node34_16fontSize * 0.2 - 9; Node34_16textWidth = Node34_16width; Node34_16lineStart = 1; } else if (Node34_16align === 'right') { Node34_16textStart = 0; Node34_16textWidth =Node34_16fontSize <= 8 ? Node34_16width + Node34_16fontSize * 0.2 + 6 : Node34_16width - Node34_16fontSize * 0.2; Node34_16lineStart = (Node34_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_16align === 'center') { Node34_16textStart = -3; Node34_16textWidth = Node34_16width; Node34_16lineStart = Node34_16width - ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_16.setImage(GD.getTextJSON(Node34_16width, Node34_16height, true, false, false, 'bold '+ Node34_16fontSize + 'px "UniDreamLED"')) Node34_16.setPosition(700*ratio.ratioX, 346*ratio.ratioY); Node34_16.setWidth(Node34_16width); Node34_16.setHeight(Node34_16height); Node34_16._nodeType = 'text'; Node34_16._disallowEvert = true; Node34_16.setRotation(0*Math.PI/180); Node34_16.a('node.width', Node34_16width); Node34_16.a('node.height', Node34_16height); Node34_16.a('node.rect', [0, 0, Node34_16width, Node34_16height]); Node34_16.a('node.bordercolor','rgba(0,0,0,1)'); Node34_16.a('node.borderwidth', 0); Node34_16.a('node.background','' || 'rgba(0,0,0,0)'); Node34_16.a('node.gradient',''); Node34_16.a('node.gradientcolor',''); Node34_16.a('node.text','66.18'); Node34_16.a('node.textalign','center'); Node34_16.a('node.textvAlign','middle'); Node34_16.a('node.textrect', [Node34_16textStart, 0, Node34_16textWidth, Node34_16height]); Node34_16.a('node.color','rgba(0,0,0,1)'); Node34_16.a('node.font','bold '+ Node34_16fontSize + 'px "UniDreamLED"'); Node34_16.a('node.textvisible',true); Node34_16.a('node.linefeed',false); if (false) { Node34_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_16.a('node.text') || '66.18'; var color=Node34_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_16width,Node34_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_16.a('node.underlinepoints',[Node34_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width + 6, (Node34_16height - Node34_16fontSize) * 0.5*_ratio.ratioY + Node34_16fontSize + 2 ]); Node34_16.a('node.underlinevisible',false); Node34_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_16); zoomNodeList.push({ node: Node34_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_17 = new ht.Node(); var Node34_17textStart, Node34_17textWidth, Node34_17lineStart, Node34_17align = 'center', Node34_17fontSize = 13.3333*_ratio.ratioY,Node34_17width = 110*_ratio.ratioX, Node34_17height = 27*_ratio.ratioY; (function () { if (Node34_17align === 'left') { Node34_17textStart = Node34_17fontSize * 0.2 > 2 ? Node34_17fontSize * 0.2 - 4 : Node34_17fontSize * 0.2 - 9; Node34_17textWidth = Node34_17width; Node34_17lineStart = 1; } else if (Node34_17align === 'right') { Node34_17textStart = 0; Node34_17textWidth =Node34_17fontSize <= 8 ? Node34_17width + Node34_17fontSize * 0.2 + 6 : Node34_17width - Node34_17fontSize * 0.2; Node34_17lineStart = (Node34_17width - (ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node34_17align === 'center') { Node34_17textStart = -3; Node34_17textWidth = Node34_17width; Node34_17lineStart = Node34_17width - ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node34_17.setImage(GD.getTextJSON(Node34_17width, Node34_17height, true, false, false, 'bold '+ Node34_17fontSize + 'px "UniDreamLED"')) Node34_17.setPosition(700*ratio.ratioX, 377*ratio.ratioY); Node34_17.setWidth(Node34_17width); Node34_17.setHeight(Node34_17height); Node34_17._nodeType = 'text'; Node34_17._disallowEvert = true; Node34_17.setRotation(0*Math.PI/180); Node34_17.a('node.width', Node34_17width); Node34_17.a('node.height', Node34_17height); Node34_17.a('node.rect', [0, 0, Node34_17width, Node34_17height]); Node34_17.a('node.bordercolor','rgba(0,0,0,1)'); Node34_17.a('node.borderwidth', 0); Node34_17.a('node.background','' || 'rgba(0,0,0,0)'); Node34_17.a('node.gradient',''); Node34_17.a('node.gradientcolor',''); Node34_17.a('node.text','-'); Node34_17.a('node.textalign','center'); Node34_17.a('node.textvAlign','middle'); Node34_17.a('node.textrect', [Node34_17textStart, 0, Node34_17textWidth, Node34_17height]); Node34_17.a('node.color','rgba(0,0,0,1)'); Node34_17.a('node.font','bold '+ Node34_17fontSize + 'px "UniDreamLED"'); Node34_17.a('node.textvisible',true); Node34_17.a('node.linefeed',false); if (false) { Node34_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_17.a('node.text') || '-'; var color=Node34_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_17width,Node34_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node34_17.a('node.underlinepoints',[Node34_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width + 6, (Node34_17height - Node34_17fontSize) * 0.5*_ratio.ratioY + Node34_17fontSize + 2 ]); Node34_17.a('node.underlinevisible',false); Node34_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_17); zoomNodeList.push({ node: Node34_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node35_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node35_0 = new ht.Node(); Node35_0.setPosition(700*ratio.ratioX, 237*ratio.ratioY); Node35_0.setSize(127*ratioX, 313*ratioY); Node35_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node35_0.setRotation(0*Math.PI/180); Node35_0._zoomBy = 'Default'; Node35_0._nodeType = 'image'; Node35_0._disallowEvert = true; dataModel.add(Node35_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node35_1 = new ht.Node(); var Node35_1textStart, Node35_1textWidth, Node35_1lineStart, Node35_1align = 'center', Node35_1fontSize = 13.3333*_ratio.ratioY,Node35_1width = 105*_ratio.ratioX, Node35_1height = 27*_ratio.ratioY; (function () { if (Node35_1align === 'left') { Node35_1textStart = Node35_1fontSize * 0.2 > 2 ? Node35_1fontSize * 0.2 - 4 : Node35_1fontSize * 0.2 - 9; Node35_1textWidth = Node35_1width; Node35_1lineStart = 1; } else if (Node35_1align === 'right') { Node35_1textStart = 0; Node35_1textWidth =Node35_1fontSize <= 8 ? Node35_1width + Node35_1fontSize * 0.2 + 6 : Node35_1width - Node35_1fontSize * 0.2; Node35_1lineStart = (Node35_1width - (ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node35_1align === 'center') { Node35_1textStart = -3; Node35_1textWidth = Node35_1width; Node35_1lineStart = Node35_1width - ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width - 11; } })(); Node35_1.setImage(GD.getTextJSON(Node35_1width, Node35_1height, true, false, false, 'bold '+ Node35_1fontSize + 'px "Arial"')) Node35_1.setPosition(695*ratio.ratioX, 102*ratio.ratioY); Node35_1.setWidth(Node35_1width); Node35_1.setHeight(Node35_1height); Node35_1._nodeType = 'text'; Node35_1._disallowEvert = true; Node35_1.setRotation(0*Math.PI/180); Node35_1.a('node.width', Node35_1width); Node35_1.a('node.height', Node35_1height); Node35_1.a('node.rect', [0, 0, Node35_1width, Node35_1height]); Node35_1.a('node.bordercolor','rgba(255,255,255,1)'); Node35_1.a('node.borderwidth', 0); Node35_1.a('node.background','' || 'rgba(0,0,0,0)'); Node35_1.a('node.gradient',''); Node35_1.a('node.gradientcolor',''); Node35_1.a('node.text','月发电量'); Node35_1.a('node.textalign','center'); Node35_1.a('node.textvAlign','middle'); Node35_1.a('node.textrect', [Node35_1textStart, 0, Node35_1textWidth, Node35_1height]); Node35_1.a('node.color','rgba(255,255,255,1)'); Node35_1.a('node.font','bold '+ Node35_1fontSize + 'px "Arial"'); Node35_1.a('node.textvisible',true); Node35_1.a('node.linefeed',false); if (false) { Node35_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node35_1.a('node.text') || '月发电量'; var color=Node35_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35_1width,Node35_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node35_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node35_1.a('node.underlinepoints',[Node35_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node35_1fontSize + 2 , ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width + 6, (Node35_1height - Node35_1fontSize) * 0.5*_ratio.ratioY + Node35_1fontSize + 2 ]); Node35_1.a('node.underlinevisible',false); Node35_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node35_1); zoomNodeList.push({ node: Node35_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_0type = 'rect'; var Node36_0 = new ht.Node(), Node36_0BorderWidth = 0*2; if (Node36_0type === 'arc') { Node36_0BorderWidth *= 0; } Node36_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_0.setPosition(827*ratio.ratioX, 190*ratio.ratioY); Node36_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_0.a('node.width', 127*_ratio.ratioX); Node36_0.a('node.height', 32*_ratio.ratioY); Node36_0.a('node.type', Node36_0type); Node36_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_0.a('node.background', 'rgba(245,245,245,1)'); Node36_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node36_0.a('node.gradient', ''); Node36_0.a('node.borderwidth', Node36_0BorderWidth); Node36_0.a('node.color', 'rgba(192,192,192,0)'); Node36_0.a('node.fillrect', [0,0,0,0]); Node36_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_0.a('node.fillgradient', ''); if (Node36_0type !== 'rect') { Node36_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_0.a('node.arcTo', parseFloat('@arcTo@')); Node36_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_0type === 'arc') { Node36_0.a('node.arcOval', true); } Node36_0.setRotation(0*Math.PI/180); Node36_0.borderWidth = Node36_0BorderWidth; Node36_0.borderFillwidth = Node36_0BorderWidth; dataModel.add(Node36_0); Node36_0._nodename = 'Node36_0' Node36_0._nodeType = 'rect'; zoomNodeList.push({ node: Node36_0, 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); } })(Node36_0, Node36_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_1type = 'rect'; var Node36_1 = new ht.Node(), Node36_1BorderWidth = 0*2; if (Node36_1type === 'arc') { Node36_1BorderWidth *= 0; } Node36_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_1.setPosition(827*ratio.ratioX, 222*ratio.ratioY); Node36_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_1.a('node.width', 127*_ratio.ratioX); Node36_1.a('node.height', 32*_ratio.ratioY); Node36_1.a('node.type', Node36_1type); Node36_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node36_1.a('node.gradientcolor', ''); Node36_1.a('node.gradient', ''); Node36_1.a('node.borderwidth', Node36_1BorderWidth); Node36_1.a('node.color', 'rgba(192,192,192,0)'); Node36_1.a('node.fillrect', [0,0,0,0]); Node36_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_1.a('node.fillgradient', ''); if (Node36_1type !== 'rect') { Node36_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_1.a('node.arcTo', parseFloat('@arcTo@')); Node36_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_1type === 'arc') { Node36_1.a('node.arcOval', true); } Node36_1.setRotation(0*Math.PI/180); Node36_1.borderWidth = Node36_1BorderWidth; Node36_1.borderFillwidth = Node36_1BorderWidth; dataModel.add(Node36_1); Node36_1._nodename = 'Node36_1' Node36_1._nodeType = 'rect'; zoomNodeList.push({ node: Node36_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); } })(Node36_1, Node36_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_2type = 'rect'; var Node36_2 = new ht.Node(), Node36_2BorderWidth = 0*2; if (Node36_2type === 'arc') { Node36_2BorderWidth *= 0; } Node36_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_2.setPosition(827*ratio.ratioX, 254*ratio.ratioY); Node36_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_2.a('node.width', 127*_ratio.ratioX); Node36_2.a('node.height', 32*_ratio.ratioY); Node36_2.a('node.type', Node36_2type); Node36_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_2.a('node.background', 'rgba(245,245,245,1)'); Node36_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node36_2.a('node.gradient', ''); Node36_2.a('node.borderwidth', Node36_2BorderWidth); Node36_2.a('node.color', 'rgba(192,192,192,0)'); Node36_2.a('node.fillrect', [0,0,0,0]); Node36_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_2.a('node.fillgradient', ''); if (Node36_2type !== 'rect') { Node36_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_2.a('node.arcTo', parseFloat('@arcTo@')); Node36_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_2type === 'arc') { Node36_2.a('node.arcOval', true); } Node36_2.setRotation(0*Math.PI/180); Node36_2.borderWidth = Node36_2BorderWidth; Node36_2.borderFillwidth = Node36_2BorderWidth; dataModel.add(Node36_2); Node36_2._nodename = 'Node36_2' Node36_2._nodeType = 'rect'; zoomNodeList.push({ node: Node36_2, 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); } })(Node36_2, Node36_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_3type = 'rect'; var Node36_3 = new ht.Node(), Node36_3BorderWidth = 0*2; if (Node36_3type === 'arc') { Node36_3BorderWidth *= 0; } Node36_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_3.setPosition(827*ratio.ratioX, 285*ratio.ratioY); Node36_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_3.a('node.width', 127*_ratio.ratioX); Node36_3.a('node.height', 32*_ratio.ratioY); Node36_3.a('node.type', Node36_3type); Node36_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node36_3.a('node.gradientcolor', ''); Node36_3.a('node.gradient', ''); Node36_3.a('node.borderwidth', Node36_3BorderWidth); Node36_3.a('node.color', 'rgba(192,192,192,0)'); Node36_3.a('node.fillrect', [0,0,0,0]); Node36_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_3.a('node.fillgradient', ''); if (Node36_3type !== 'rect') { Node36_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_3.a('node.arcTo', parseFloat('@arcTo@')); Node36_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_3type === 'arc') { Node36_3.a('node.arcOval', true); } Node36_3.setRotation(0*Math.PI/180); Node36_3.borderWidth = Node36_3BorderWidth; Node36_3.borderFillwidth = Node36_3BorderWidth; dataModel.add(Node36_3); Node36_3._nodename = 'Node36_3' Node36_3._nodeType = 'rect'; zoomNodeList.push({ node: Node36_3, 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); } })(Node36_3, Node36_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_4type = 'rect'; var Node36_4 = new ht.Node(), Node36_4BorderWidth = 0*2; if (Node36_4type === 'arc') { Node36_4BorderWidth *= 0; } Node36_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_4.setPosition(827*ratio.ratioX, 316*ratio.ratioY); Node36_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_4.a('node.width', 127*_ratio.ratioX); Node36_4.a('node.height', 32*_ratio.ratioY); Node36_4.a('node.type', Node36_4type); Node36_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_4.a('node.background', 'rgba(245,245,245,1)'); Node36_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node36_4.a('node.gradient', ''); Node36_4.a('node.borderwidth', Node36_4BorderWidth); Node36_4.a('node.color', 'rgba(192,192,192,0)'); Node36_4.a('node.fillrect', [0,0,0,0]); Node36_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_4.a('node.fillgradient', ''); if (Node36_4type !== 'rect') { Node36_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_4.a('node.arcTo', parseFloat('@arcTo@')); Node36_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_4type === 'arc') { Node36_4.a('node.arcOval', true); } Node36_4.setRotation(0*Math.PI/180); Node36_4.borderWidth = Node36_4BorderWidth; Node36_4.borderFillwidth = Node36_4BorderWidth; dataModel.add(Node36_4); Node36_4._nodename = 'Node36_4' Node36_4._nodeType = 'rect'; zoomNodeList.push({ node: Node36_4, 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); } })(Node36_4, Node36_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_5type = 'rect'; var Node36_5 = new ht.Node(), Node36_5BorderWidth = 0*2; if (Node36_5type === 'arc') { Node36_5BorderWidth *= 0; } Node36_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_5.setPosition(827*ratio.ratioX, 347*ratio.ratioY); Node36_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_5.a('node.width', 127*_ratio.ratioX); Node36_5.a('node.height', 32*_ratio.ratioY); Node36_5.a('node.type', Node36_5type); Node36_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node36_5.a('node.gradientcolor', ''); Node36_5.a('node.gradient', ''); Node36_5.a('node.borderwidth', Node36_5BorderWidth); Node36_5.a('node.color', 'rgba(192,192,192,0)'); Node36_5.a('node.fillrect', [0,0,0,0]); Node36_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_5.a('node.fillgradient', ''); if (Node36_5type !== 'rect') { Node36_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_5.a('node.arcTo', parseFloat('@arcTo@')); Node36_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_5type === 'arc') { Node36_5.a('node.arcOval', true); } Node36_5.setRotation(0*Math.PI/180); Node36_5.borderWidth = Node36_5BorderWidth; Node36_5.borderFillwidth = Node36_5BorderWidth; dataModel.add(Node36_5); Node36_5._nodename = 'Node36_5' Node36_5._nodeType = 'rect'; zoomNodeList.push({ node: Node36_5, 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); } })(Node36_5, Node36_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_6type = 'rect'; var Node36_6 = new ht.Node(), Node36_6BorderWidth = 0*2; if (Node36_6type === 'arc') { Node36_6BorderWidth *= 0; } Node36_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_6.setPosition(827*ratio.ratioX, 378*ratio.ratioY); Node36_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node36_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_6.a('node.width', 127*_ratio.ratioX); Node36_6.a('node.height', 32*_ratio.ratioY); Node36_6.a('node.type', Node36_6type); Node36_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node36_6.a('node.background', 'rgba(245,245,245,1)'); Node36_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node36_6.a('node.gradient', ''); Node36_6.a('node.borderwidth', Node36_6BorderWidth); Node36_6.a('node.color', 'rgba(192,192,192,0)'); Node36_6.a('node.fillrect', [0,0,0,0]); Node36_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_6.a('node.fillgradient', ''); if (Node36_6type !== 'rect') { Node36_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_6.a('node.arcTo', parseFloat('@arcTo@')); Node36_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_6type === 'arc') { Node36_6.a('node.arcOval', true); } Node36_6.setRotation(0*Math.PI/180); Node36_6.borderWidth = Node36_6BorderWidth; Node36_6.borderFillwidth = Node36_6BorderWidth; dataModel.add(Node36_6); Node36_6._nodename = 'Node36_6' Node36_6._nodeType = 'rect'; zoomNodeList.push({ node: Node36_6, 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); } })(Node36_6, Node36_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_7type = 'rect'; var Node36_7 = new ht.Node(), Node36_7BorderWidth = 1*2; if (Node36_7type === 'arc') { Node36_7BorderWidth *= 1; } Node36_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node36_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node36_7.setPosition(827*ratio.ratioX, 239*ratio.ratioY); Node36_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node36_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node36_7.a('node.width', 127*_ratio.ratioX); Node36_7.a('node.height', 309*_ratio.ratioY); Node36_7.a('node.type', Node36_7type); Node36_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node36_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node36_7.a('node.gradientcolor', ''); Node36_7.a('node.gradient', ''); Node36_7.a('node.borderwidth', Node36_7BorderWidth); Node36_7.a('node.color', 'rgba(192,192,192,1)'); Node36_7.a('node.fillrect', [0,0,0,0]); Node36_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node36_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node36_7.a('node.fillgradient', ''); if (Node36_7type !== 'rect') { Node36_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node36_7.a('node.arcTo', parseFloat('@arcTo@')); Node36_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node36_7type === 'arc') { Node36_7.a('node.arcOval', true); } Node36_7.setRotation(0*Math.PI/180); Node36_7.borderWidth = Node36_7BorderWidth; Node36_7.borderFillwidth = Node36_7BorderWidth; dataModel.add(Node36_7); Node36_7._nodename = 'Node36_7' Node36_7._nodeType = 'rect'; zoomNodeList.push({ node: Node36_7, 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); } })(Node36_7, Node36_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_8 = new ht.Node(); var Node36_8textStart, Node36_8textWidth, Node36_8lineStart, Node36_8align = 'center', Node36_8fontSize = 13.3333*_ratio.ratioY,Node36_8width = 105*_ratio.ratioX, Node36_8height = 27*_ratio.ratioY; (function () { if (Node36_8align === 'left') { Node36_8textStart = Node36_8fontSize * 0.2 > 2 ? Node36_8fontSize * 0.2 - 4 : Node36_8fontSize * 0.2 - 9; Node36_8textWidth = Node36_8width; Node36_8lineStart = 1; } else if (Node36_8align === 'right') { Node36_8textStart = 0; Node36_8textWidth =Node36_8fontSize <= 8 ? Node36_8width + Node36_8fontSize * 0.2 + 6 : Node36_8width - Node36_8fontSize * 0.2; Node36_8lineStart = (Node36_8width - (ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node36_8align === 'center') { Node36_8textStart = -3; Node36_8textWidth = Node36_8width; Node36_8lineStart = Node36_8width - ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width - 11; } })(); Node36_8.setImage(GD.getTextJSON(Node36_8width, Node36_8height, true, false, false, 'bold '+ Node36_8fontSize + 'px "Arial"')) Node36_8.setPosition(824*ratio.ratioX, 103*ratio.ratioY); Node36_8.setWidth(Node36_8width); Node36_8.setHeight(Node36_8height); Node36_8._nodeType = 'text'; Node36_8._disallowEvert = true; Node36_8.setRotation(0*Math.PI/180); Node36_8.a('node.width', Node36_8width); Node36_8.a('node.height', Node36_8height); Node36_8.a('node.rect', [0, 0, Node36_8width, Node36_8height]); Node36_8.a('node.bordercolor','rgba(255,255,255,1)'); Node36_8.a('node.borderwidth', 0); Node36_8.a('node.background','' || 'rgba(0,0,0,0)'); Node36_8.a('node.gradient',''); Node36_8.a('node.gradientcolor',''); Node36_8.a('node.text','月利用小时'); Node36_8.a('node.textalign','center'); Node36_8.a('node.textvAlign','middle'); Node36_8.a('node.textrect', [Node36_8textStart, 0, Node36_8textWidth, Node36_8height]); Node36_8.a('node.color','rgba(255,255,255,1)'); Node36_8.a('node.font','bold '+ Node36_8fontSize + 'px "Arial"'); Node36_8.a('node.textvisible',true); Node36_8.a('node.linefeed',false); if (false) { Node36_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_8.a('node.text') || '月利用小时'; var color=Node36_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_8width,Node36_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node36_8.a('node.underlinepoints',[Node36_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_8fontSize + 2 , ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width + 6, (Node36_8height - Node36_8fontSize) * 0.5*_ratio.ratioY + Node36_8fontSize + 2 ]); Node36_8.a('node.underlinevisible',false); Node36_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_8); zoomNodeList.push({ node: Node36_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_9 = new ht.Node(); var Node36_9textStart, Node36_9textWidth, Node36_9lineStart, Node36_9align = 'center', Node36_9fontSize = 11.99997*_ratio.ratioY,Node36_9width = 105*_ratio.ratioX, Node36_9height = 17*_ratio.ratioY; (function () { if (Node36_9align === 'left') { Node36_9textStart = Node36_9fontSize * 0.2 > 2 ? Node36_9fontSize * 0.2 - 4 : Node36_9fontSize * 0.2 - 9; Node36_9textWidth = Node36_9width; Node36_9lineStart = 1; } else if (Node36_9align === 'right') { Node36_9textStart = 0; Node36_9textWidth =Node36_9fontSize <= 8 ? Node36_9width + Node36_9fontSize * 0.2 + 6 : Node36_9width - Node36_9fontSize * 0.2; Node36_9lineStart = (Node36_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node36_9align === 'center') { Node36_9textStart = -3; Node36_9textWidth = Node36_9width; Node36_9lineStart = Node36_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width - 11; } })(); Node36_9.setImage(GD.getTextJSON(Node36_9width, Node36_9height, true, false, false, 'bold '+ Node36_9fontSize + 'px "Arial"')) Node36_9.setPosition(824*ratio.ratioX, 131*ratio.ratioY); Node36_9.setWidth(Node36_9width); Node36_9.setHeight(Node36_9height); Node36_9._nodeType = 'text'; Node36_9._disallowEvert = true; Node36_9.setRotation(0*Math.PI/180); Node36_9.a('node.width', Node36_9width); Node36_9.a('node.height', Node36_9height); Node36_9.a('node.rect', [0, 0, Node36_9width, Node36_9height]); Node36_9.a('node.bordercolor','rgba(128,128,128,1)'); Node36_9.a('node.borderwidth', 0); Node36_9.a('node.background','' || 'rgba(0,0,0,0)'); Node36_9.a('node.gradient',''); Node36_9.a('node.gradientcolor',''); Node36_9.a('node.text','万kwh'); Node36_9.a('node.textalign','center'); Node36_9.a('node.textvAlign','middle'); Node36_9.a('node.textrect', [Node36_9textStart, 0, Node36_9textWidth, Node36_9height]); Node36_9.a('node.color','rgba(128,128,128,1)'); Node36_9.a('node.font','bold '+ Node36_9fontSize + 'px "Arial"'); Node36_9.a('node.textvisible',true); Node36_9.a('node.linefeed',false); if (false) { Node36_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_9.a('node.text') || '万kwh'; var color=Node36_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node36_9width,Node36_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node36_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node36_9.a('node.underlinepoints',[Node36_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node36_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width + 6, (Node36_9height - Node36_9fontSize) * 0.5*_ratio.ratioY + Node36_9fontSize + 2 ]); Node36_9.a('node.underlinevisible',false); Node36_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_9); zoomNodeList.push({ node: Node36_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_10 = new ht.Node(); var Node36_10textStart, Node36_10textWidth, Node36_10lineStart, Node36_10align = 'center', Node36_10fontSize = 13.3333*_ratio.ratioY,Node36_10width = 105*_ratio.ratioX, Node36_10height = 27*_ratio.ratioY; (function () { if (Node36_10align === 'left') { Node36_10textStart = Node36_10fontSize * 0.2 > 2 ? Node36_10fontSize * 0.2 - 4 : Node36_10fontSize * 0.2 - 9; Node36_10textWidth = Node36_10width; Node36_10lineStart = 1; } else if (Node36_10align === 'right') { Node36_10textStart = 0; Node36_10textWidth =Node36_10fontSize <= 8 ? Node36_10width + Node36_10fontSize * 0.2 + 6 : Node36_10width - Node36_10fontSize * 0.2; Node36_10lineStart = (Node36_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_10align === 'center') { Node36_10textStart = -3; Node36_10textWidth = Node36_10width; Node36_10lineStart = Node36_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_10.setImage(GD.getTextJSON(Node36_10width, Node36_10height, true, false, false, 'bold '+ Node36_10fontSize + 'px "UniDreamLED"')) Node36_10.setPosition(824*ratio.ratioX, 158*ratio.ratioY); Node36_10.setWidth(Node36_10width); Node36_10.setHeight(Node36_10height); Node36_10._nodeType = 'text'; Node36_10._disallowEvert = true; Node36_10.setRotation(0*Math.PI/180); Node36_10.a('node.width', Node36_10width); Node36_10.a('node.height', Node36_10height); Node36_10.a('node.rect', [0, 0, Node36_10width, Node36_10height]); Node36_10.a('node.bordercolor','rgba(0,0,0,1)'); Node36_10.a('node.borderwidth', 0); Node36_10.a('node.background','' || 'rgba(0,0,0,0)'); Node36_10.a('node.gradient',''); Node36_10.a('node.gradientcolor',''); Node36_10.a('node.text','1134.76'); Node36_10.a('node.textalign','center'); Node36_10.a('node.textvAlign','middle'); Node36_10.a('node.textrect', [Node36_10textStart, 0, Node36_10textWidth, Node36_10height]); Node36_10.a('node.color','rgba(0,0,0,1)'); Node36_10.a('node.font','bold '+ Node36_10fontSize + 'px "UniDreamLED"'); Node36_10.a('node.textvisible',true); Node36_10.a('node.linefeed',false); if (false) { Node36_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_10.a('node.text') || '1134.76'; var color=Node36_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_10width,Node36_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_10.a('node.underlinepoints',[Node36_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width + 6, (Node36_10height - Node36_10fontSize) * 0.5*_ratio.ratioY + Node36_10fontSize + 2 ]); Node36_10.a('node.underlinevisible',false); Node36_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_10); zoomNodeList.push({ node: Node36_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_11 = new ht.Node(); var Node36_11textStart, Node36_11textWidth, Node36_11lineStart, Node36_11align = 'center', Node36_11fontSize = 13.3333*_ratio.ratioY,Node36_11width = 110*_ratio.ratioX, Node36_11height = 27*_ratio.ratioY; (function () { if (Node36_11align === 'left') { Node36_11textStart = Node36_11fontSize * 0.2 > 2 ? Node36_11fontSize * 0.2 - 4 : Node36_11fontSize * 0.2 - 9; Node36_11textWidth = Node36_11width; Node36_11lineStart = 1; } else if (Node36_11align === 'right') { Node36_11textStart = 0; Node36_11textWidth =Node36_11fontSize <= 8 ? Node36_11width + Node36_11fontSize * 0.2 + 6 : Node36_11width - Node36_11fontSize * 0.2; Node36_11lineStart = (Node36_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_11align === 'center') { Node36_11textStart = -3; Node36_11textWidth = Node36_11width; Node36_11lineStart = Node36_11width - ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_11.setImage(GD.getTextJSON(Node36_11width, Node36_11height, true, false, false, 'bold '+ Node36_11fontSize + 'px "UniDreamLED"')) Node36_11.setPosition(827*ratio.ratioX, 190*ratio.ratioY); Node36_11.setWidth(Node36_11width); Node36_11.setHeight(Node36_11height); Node36_11._nodeType = 'text'; Node36_11._disallowEvert = true; Node36_11.setRotation(0*Math.PI/180); Node36_11.a('node.width', Node36_11width); Node36_11.a('node.height', Node36_11height); Node36_11.a('node.rect', [0, 0, Node36_11width, Node36_11height]); Node36_11.a('node.bordercolor','rgba(0,0,0,1)'); Node36_11.a('node.borderwidth', 0); Node36_11.a('node.background','' || 'rgba(0,0,0,0)'); Node36_11.a('node.gradient',''); Node36_11.a('node.gradientcolor',''); Node36_11.a('node.text','171.51'); Node36_11.a('node.textalign','center'); Node36_11.a('node.textvAlign','middle'); Node36_11.a('node.textrect', [Node36_11textStart, 0, Node36_11textWidth, Node36_11height]); Node36_11.a('node.color','rgba(0,0,0,1)'); Node36_11.a('node.font','bold '+ Node36_11fontSize + 'px "UniDreamLED"'); Node36_11.a('node.textvisible',true); Node36_11.a('node.linefeed',false); if (false) { Node36_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_11.a('node.text') || '171.51'; var color=Node36_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_11width,Node36_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_11.a('node.underlinepoints',[Node36_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width + 6, (Node36_11height - Node36_11fontSize) * 0.5*_ratio.ratioY + Node36_11fontSize + 2 ]); Node36_11.a('node.underlinevisible',false); Node36_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_11); zoomNodeList.push({ node: Node36_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_12 = new ht.Node(); var Node36_12textStart, Node36_12textWidth, Node36_12lineStart, Node36_12align = 'center', Node36_12fontSize = 13.3333*_ratio.ratioY,Node36_12width = 110*_ratio.ratioX, Node36_12height = 27*_ratio.ratioY; (function () { if (Node36_12align === 'left') { Node36_12textStart = Node36_12fontSize * 0.2 > 2 ? Node36_12fontSize * 0.2 - 4 : Node36_12fontSize * 0.2 - 9; Node36_12textWidth = Node36_12width; Node36_12lineStart = 1; } else if (Node36_12align === 'right') { Node36_12textStart = 0; Node36_12textWidth =Node36_12fontSize <= 8 ? Node36_12width + Node36_12fontSize * 0.2 + 6 : Node36_12width - Node36_12fontSize * 0.2; Node36_12lineStart = (Node36_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_12align === 'center') { Node36_12textStart = -3; Node36_12textWidth = Node36_12width; Node36_12lineStart = Node36_12width - ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_12.setImage(GD.getTextJSON(Node36_12width, Node36_12height, true, false, false, 'bold '+ Node36_12fontSize + 'px "UniDreamLED"')) Node36_12.setPosition(827*ratio.ratioX, 220*ratio.ratioY); Node36_12.setWidth(Node36_12width); Node36_12.setHeight(Node36_12height); Node36_12._nodeType = 'text'; Node36_12._disallowEvert = true; Node36_12.setRotation(0*Math.PI/180); Node36_12.a('node.width', Node36_12width); Node36_12.a('node.height', Node36_12height); Node36_12.a('node.rect', [0, 0, Node36_12width, Node36_12height]); Node36_12.a('node.bordercolor','rgba(0,0,0,1)'); Node36_12.a('node.borderwidth', 0); Node36_12.a('node.background','' || 'rgba(0,0,0,0)'); Node36_12.a('node.gradient',''); Node36_12.a('node.gradientcolor',''); Node36_12.a('node.text','329.51'); Node36_12.a('node.textalign','center'); Node36_12.a('node.textvAlign','middle'); Node36_12.a('node.textrect', [Node36_12textStart, 0, Node36_12textWidth, Node36_12height]); Node36_12.a('node.color','rgba(0,0,0,1)'); Node36_12.a('node.font','bold '+ Node36_12fontSize + 'px "UniDreamLED"'); Node36_12.a('node.textvisible',true); Node36_12.a('node.linefeed',false); if (false) { Node36_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_12.a('node.text') || '329.51'; var color=Node36_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_12width,Node36_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_12.a('node.underlinepoints',[Node36_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width + 6, (Node36_12height - Node36_12fontSize) * 0.5*_ratio.ratioY + Node36_12fontSize + 2 ]); Node36_12.a('node.underlinevisible',false); Node36_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_12); zoomNodeList.push({ node: Node36_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_13 = new ht.Node(); var Node36_13textStart, Node36_13textWidth, Node36_13lineStart, Node36_13align = 'center', Node36_13fontSize = 13.3333*_ratio.ratioY,Node36_13width = 110*_ratio.ratioX, Node36_13height = 27*_ratio.ratioY; (function () { if (Node36_13align === 'left') { Node36_13textStart = Node36_13fontSize * 0.2 > 2 ? Node36_13fontSize * 0.2 - 4 : Node36_13fontSize * 0.2 - 9; Node36_13textWidth = Node36_13width; Node36_13lineStart = 1; } else if (Node36_13align === 'right') { Node36_13textStart = 0; Node36_13textWidth =Node36_13fontSize <= 8 ? Node36_13width + Node36_13fontSize * 0.2 + 6 : Node36_13width - Node36_13fontSize * 0.2; Node36_13lineStart = (Node36_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_13align === 'center') { Node36_13textStart = -3; Node36_13textWidth = Node36_13width; Node36_13lineStart = Node36_13width - ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_13.setImage(GD.getTextJSON(Node36_13width, Node36_13height, true, false, false, 'bold '+ Node36_13fontSize + 'px "UniDreamLED"')) Node36_13.setPosition(827*ratio.ratioX, 250*ratio.ratioY); Node36_13.setWidth(Node36_13width); Node36_13.setHeight(Node36_13height); Node36_13._nodeType = 'text'; Node36_13._disallowEvert = true; Node36_13.setRotation(0*Math.PI/180); Node36_13.a('node.width', Node36_13width); Node36_13.a('node.height', Node36_13height); Node36_13.a('node.rect', [0, 0, Node36_13width, Node36_13height]); Node36_13.a('node.bordercolor','rgba(0,0,0,1)'); Node36_13.a('node.borderwidth', 0); Node36_13.a('node.background','' || 'rgba(0,0,0,0)'); Node36_13.a('node.gradient',''); Node36_13.a('node.gradientcolor',''); Node36_13.a('node.text','340.14'); Node36_13.a('node.textalign','center'); Node36_13.a('node.textvAlign','middle'); Node36_13.a('node.textrect', [Node36_13textStart, 0, Node36_13textWidth, Node36_13height]); Node36_13.a('node.color','rgba(0,0,0,1)'); Node36_13.a('node.font','bold '+ Node36_13fontSize + 'px "UniDreamLED"'); Node36_13.a('node.textvisible',true); Node36_13.a('node.linefeed',false); if (false) { Node36_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_13.a('node.text') || '340.14'; var color=Node36_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_13width,Node36_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_13.a('node.underlinepoints',[Node36_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width + 6, (Node36_13height - Node36_13fontSize) * 0.5*_ratio.ratioY + Node36_13fontSize + 2 ]); Node36_13.a('node.underlinevisible',false); Node36_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_13); zoomNodeList.push({ node: Node36_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_14 = new ht.Node(); var Node36_14textStart, Node36_14textWidth, Node36_14lineStart, Node36_14align = 'center', Node36_14fontSize = 13.3333*_ratio.ratioY,Node36_14width = 110*_ratio.ratioX, Node36_14height = 27*_ratio.ratioY; (function () { if (Node36_14align === 'left') { Node36_14textStart = Node36_14fontSize * 0.2 > 2 ? Node36_14fontSize * 0.2 - 4 : Node36_14fontSize * 0.2 - 9; Node36_14textWidth = Node36_14width; Node36_14lineStart = 1; } else if (Node36_14align === 'right') { Node36_14textStart = 0; Node36_14textWidth =Node36_14fontSize <= 8 ? Node36_14width + Node36_14fontSize * 0.2 + 6 : Node36_14width - Node36_14fontSize * 0.2; Node36_14lineStart = (Node36_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_14align === 'center') { Node36_14textStart = -3; Node36_14textWidth = Node36_14width; Node36_14lineStart = Node36_14width - ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_14.setImage(GD.getTextJSON(Node36_14width, Node36_14height, true, false, false, 'bold '+ Node36_14fontSize + 'px "UniDreamLED"')) Node36_14.setPosition(827*ratio.ratioX, 284*ratio.ratioY); Node36_14.setWidth(Node36_14width); Node36_14.setHeight(Node36_14height); Node36_14._nodeType = 'text'; Node36_14._disallowEvert = true; Node36_14.setRotation(0*Math.PI/180); Node36_14.a('node.width', Node36_14width); Node36_14.a('node.height', Node36_14height); Node36_14.a('node.rect', [0, 0, Node36_14width, Node36_14height]); Node36_14.a('node.bordercolor','rgba(0,0,0,1)'); Node36_14.a('node.borderwidth', 0); Node36_14.a('node.background','' || 'rgba(0,0,0,0)'); Node36_14.a('node.gradient',''); Node36_14.a('node.gradientcolor',''); Node36_14.a('node.text','60.61'); Node36_14.a('node.textalign','center'); Node36_14.a('node.textvAlign','middle'); Node36_14.a('node.textrect', [Node36_14textStart, 0, Node36_14textWidth, Node36_14height]); Node36_14.a('node.color','rgba(0,0,0,1)'); Node36_14.a('node.font','bold '+ Node36_14fontSize + 'px "UniDreamLED"'); Node36_14.a('node.textvisible',true); Node36_14.a('node.linefeed',false); if (false) { Node36_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_14.a('node.text') || '60.61'; var color=Node36_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_14width,Node36_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_14.a('node.underlinepoints',[Node36_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width + 6, (Node36_14height - Node36_14fontSize) * 0.5*_ratio.ratioY + Node36_14fontSize + 2 ]); Node36_14.a('node.underlinevisible',false); Node36_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_14); zoomNodeList.push({ node: Node36_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_15 = new ht.Node(); var Node36_15textStart, Node36_15textWidth, Node36_15lineStart, Node36_15align = 'center', Node36_15fontSize = 13.3333*_ratio.ratioY,Node36_15width = 110*_ratio.ratioX, Node36_15height = 27*_ratio.ratioY; (function () { if (Node36_15align === 'left') { Node36_15textStart = Node36_15fontSize * 0.2 > 2 ? Node36_15fontSize * 0.2 - 4 : Node36_15fontSize * 0.2 - 9; Node36_15textWidth = Node36_15width; Node36_15lineStart = 1; } else if (Node36_15align === 'right') { Node36_15textStart = 0; Node36_15textWidth =Node36_15fontSize <= 8 ? Node36_15width + Node36_15fontSize * 0.2 + 6 : Node36_15width - Node36_15fontSize * 0.2; Node36_15lineStart = (Node36_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_15align === 'center') { Node36_15textStart = -3; Node36_15textWidth = Node36_15width; Node36_15lineStart = Node36_15width - ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_15.setImage(GD.getTextJSON(Node36_15width, Node36_15height, true, false, false, 'bold '+ Node36_15fontSize + 'px "UniDreamLED"')) Node36_15.setPosition(827*ratio.ratioX, 317*ratio.ratioY); Node36_15.setWidth(Node36_15width); Node36_15.setHeight(Node36_15height); Node36_15._nodeType = 'text'; Node36_15._disallowEvert = true; Node36_15.setRotation(0*Math.PI/180); Node36_15.a('node.width', Node36_15width); Node36_15.a('node.height', Node36_15height); Node36_15.a('node.rect', [0, 0, Node36_15width, Node36_15height]); Node36_15.a('node.bordercolor','rgba(0,0,0,1)'); Node36_15.a('node.borderwidth', 0); Node36_15.a('node.background','' || 'rgba(0,0,0,0)'); Node36_15.a('node.gradient',''); Node36_15.a('node.gradientcolor',''); Node36_15.a('node.text','166.79'); Node36_15.a('node.textalign','center'); Node36_15.a('node.textvAlign','middle'); Node36_15.a('node.textrect', [Node36_15textStart, 0, Node36_15textWidth, Node36_15height]); Node36_15.a('node.color','rgba(0,0,0,1)'); Node36_15.a('node.font','bold '+ Node36_15fontSize + 'px "UniDreamLED"'); Node36_15.a('node.textvisible',true); Node36_15.a('node.linefeed',false); if (false) { Node36_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_15.a('node.text') || '166.79'; var color=Node36_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_15width,Node36_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_15.a('node.underlinepoints',[Node36_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width + 6, (Node36_15height - Node36_15fontSize) * 0.5*_ratio.ratioY + Node36_15fontSize + 2 ]); Node36_15.a('node.underlinevisible',false); Node36_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_15); zoomNodeList.push({ node: Node36_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_16 = new ht.Node(); var Node36_16textStart, Node36_16textWidth, Node36_16lineStart, Node36_16align = 'center', Node36_16fontSize = 13.3333*_ratio.ratioY,Node36_16width = 110*_ratio.ratioX, Node36_16height = 27*_ratio.ratioY; (function () { if (Node36_16align === 'left') { Node36_16textStart = Node36_16fontSize * 0.2 > 2 ? Node36_16fontSize * 0.2 - 4 : Node36_16fontSize * 0.2 - 9; Node36_16textWidth = Node36_16width; Node36_16lineStart = 1; } else if (Node36_16align === 'right') { Node36_16textStart = 0; Node36_16textWidth =Node36_16fontSize <= 8 ? Node36_16width + Node36_16fontSize * 0.2 + 6 : Node36_16width - Node36_16fontSize * 0.2; Node36_16lineStart = (Node36_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_16align === 'center') { Node36_16textStart = -3; Node36_16textWidth = Node36_16width; Node36_16lineStart = Node36_16width - ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_16.setImage(GD.getTextJSON(Node36_16width, Node36_16height, true, false, false, 'bold '+ Node36_16fontSize + 'px "UniDreamLED"')) Node36_16.setPosition(827*ratio.ratioX, 346*ratio.ratioY); Node36_16.setWidth(Node36_16width); Node36_16.setHeight(Node36_16height); Node36_16._nodeType = 'text'; Node36_16._disallowEvert = true; Node36_16.setRotation(0*Math.PI/180); Node36_16.a('node.width', Node36_16width); Node36_16.a('node.height', Node36_16height); Node36_16.a('node.rect', [0, 0, Node36_16width, Node36_16height]); Node36_16.a('node.bordercolor','rgba(0,0,0,1)'); Node36_16.a('node.borderwidth', 0); Node36_16.a('node.background','' || 'rgba(0,0,0,0)'); Node36_16.a('node.gradient',''); Node36_16.a('node.gradientcolor',''); Node36_16.a('node.text','66.18'); Node36_16.a('node.textalign','center'); Node36_16.a('node.textvAlign','middle'); Node36_16.a('node.textrect', [Node36_16textStart, 0, Node36_16textWidth, Node36_16height]); Node36_16.a('node.color','rgba(0,0,0,1)'); Node36_16.a('node.font','bold '+ Node36_16fontSize + 'px "UniDreamLED"'); Node36_16.a('node.textvisible',true); Node36_16.a('node.linefeed',false); if (false) { Node36_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_16.a('node.text') || '66.18'; var color=Node36_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_16width,Node36_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_16.a('node.underlinepoints',[Node36_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width + 6, (Node36_16height - Node36_16fontSize) * 0.5*_ratio.ratioY + Node36_16fontSize + 2 ]); Node36_16.a('node.underlinevisible',false); Node36_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_16); zoomNodeList.push({ node: Node36_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_17 = new ht.Node(); var Node36_17textStart, Node36_17textWidth, Node36_17lineStart, Node36_17align = 'center', Node36_17fontSize = 13.3333*_ratio.ratioY,Node36_17width = 110*_ratio.ratioX, Node36_17height = 27*_ratio.ratioY; (function () { if (Node36_17align === 'left') { Node36_17textStart = Node36_17fontSize * 0.2 > 2 ? Node36_17fontSize * 0.2 - 4 : Node36_17fontSize * 0.2 - 9; Node36_17textWidth = Node36_17width; Node36_17lineStart = 1; } else if (Node36_17align === 'right') { Node36_17textStart = 0; Node36_17textWidth =Node36_17fontSize <= 8 ? Node36_17width + Node36_17fontSize * 0.2 + 6 : Node36_17width - Node36_17fontSize * 0.2; Node36_17lineStart = (Node36_17width - (ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node36_17align === 'center') { Node36_17textStart = -3; Node36_17textWidth = Node36_17width; Node36_17lineStart = Node36_17width - ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node36_17.setImage(GD.getTextJSON(Node36_17width, Node36_17height, true, false, false, 'bold '+ Node36_17fontSize + 'px "UniDreamLED"')) Node36_17.setPosition(827*ratio.ratioX, 377*ratio.ratioY); Node36_17.setWidth(Node36_17width); Node36_17.setHeight(Node36_17height); Node36_17._nodeType = 'text'; Node36_17._disallowEvert = true; Node36_17.setRotation(0*Math.PI/180); Node36_17.a('node.width', Node36_17width); Node36_17.a('node.height', Node36_17height); Node36_17.a('node.rect', [0, 0, Node36_17width, Node36_17height]); Node36_17.a('node.bordercolor','rgba(0,0,0,1)'); Node36_17.a('node.borderwidth', 0); Node36_17.a('node.background','' || 'rgba(0,0,0,0)'); Node36_17.a('node.gradient',''); Node36_17.a('node.gradientcolor',''); Node36_17.a('node.text','-'); Node36_17.a('node.textalign','center'); Node36_17.a('node.textvAlign','middle'); Node36_17.a('node.textrect', [Node36_17textStart, 0, Node36_17textWidth, Node36_17height]); Node36_17.a('node.color','rgba(0,0,0,1)'); Node36_17.a('node.font','bold '+ Node36_17fontSize + 'px "UniDreamLED"'); Node36_17.a('node.textvisible',true); Node36_17.a('node.linefeed',false); if (false) { Node36_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_17.a('node.text') || '-'; var color=Node36_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_17width,Node36_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node36_17.a('node.underlinepoints',[Node36_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width + 6, (Node36_17height - Node36_17fontSize) * 0.5*_ratio.ratioY + Node36_17fontSize + 2 ]); Node36_17.a('node.underlinevisible',false); Node36_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_17); zoomNodeList.push({ node: Node36_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node37_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node37_0 = new ht.Node(); Node37_0.setPosition(827*ratio.ratioX, 237*ratio.ratioY); Node37_0.setSize(127*ratioX, 313*ratioY); Node37_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node37_0.setRotation(0*Math.PI/180); Node37_0._zoomBy = 'Default'; Node37_0._nodeType = 'image'; Node37_0._disallowEvert = true; dataModel.add(Node37_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node37_1 = new ht.Node(); var Node37_1textStart, Node37_1textWidth, Node37_1lineStart, Node37_1align = 'center', Node37_1fontSize = 13.3333*_ratio.ratioY,Node37_1width = 105*_ratio.ratioX, Node37_1height = 27*_ratio.ratioY; (function () { if (Node37_1align === 'left') { Node37_1textStart = Node37_1fontSize * 0.2 > 2 ? Node37_1fontSize * 0.2 - 4 : Node37_1fontSize * 0.2 - 9; Node37_1textWidth = Node37_1width; Node37_1lineStart = 1; } else if (Node37_1align === 'right') { Node37_1textStart = 0; Node37_1textWidth =Node37_1fontSize <= 8 ? Node37_1width + Node37_1fontSize * 0.2 + 6 : Node37_1width - Node37_1fontSize * 0.2; Node37_1lineStart = (Node37_1width - (ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node37_1align === 'center') { Node37_1textStart = -3; Node37_1textWidth = Node37_1width; Node37_1lineStart = Node37_1width - ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width - 11; } })(); Node37_1.setImage(GD.getTextJSON(Node37_1width, Node37_1height, true, false, false, 'bold '+ Node37_1fontSize + 'px "Arial"')) Node37_1.setPosition(822*ratio.ratioX, 102*ratio.ratioY); Node37_1.setWidth(Node37_1width); Node37_1.setHeight(Node37_1height); Node37_1._nodeType = 'text'; Node37_1._disallowEvert = true; Node37_1.setRotation(0*Math.PI/180); Node37_1.a('node.width', Node37_1width); Node37_1.a('node.height', Node37_1height); Node37_1.a('node.rect', [0, 0, Node37_1width, Node37_1height]); Node37_1.a('node.bordercolor','rgba(255,255,255,1)'); Node37_1.a('node.borderwidth', 0); Node37_1.a('node.background','' || 'rgba(0,0,0,0)'); Node37_1.a('node.gradient',''); Node37_1.a('node.gradientcolor',''); Node37_1.a('node.text','月利用小时'); Node37_1.a('node.textalign','center'); Node37_1.a('node.textvAlign','middle'); Node37_1.a('node.textrect', [Node37_1textStart, 0, Node37_1textWidth, Node37_1height]); Node37_1.a('node.color','rgba(255,255,255,1)'); Node37_1.a('node.font','bold '+ Node37_1fontSize + 'px "Arial"'); Node37_1.a('node.textvisible',true); Node37_1.a('node.linefeed',false); if (false) { Node37_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node37_1.a('node.text') || '月利用小时'; var color=Node37_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37_1width,Node37_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node37_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node37_1.a('node.underlinepoints',[Node37_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node37_1fontSize + 2 , ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width + 6, (Node37_1height - Node37_1fontSize) * 0.5*_ratio.ratioY + Node37_1fontSize + 2 ]); Node37_1.a('node.underlinevisible',false); Node37_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node37_1); zoomNodeList.push({ node: Node37_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_0type = 'rect'; var Node38_0 = new ht.Node(), Node38_0BorderWidth = 0*2; if (Node38_0type === 'arc') { Node38_0BorderWidth *= 0; } Node38_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_0.setPosition(1081*ratio.ratioX, 190*ratio.ratioY); Node38_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_0.a('node.width', 127*_ratio.ratioX); Node38_0.a('node.height', 32*_ratio.ratioY); Node38_0.a('node.type', Node38_0type); Node38_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_0.a('node.background', 'rgba(245,245,245,1)'); Node38_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node38_0.a('node.gradient', ''); Node38_0.a('node.borderwidth', Node38_0BorderWidth); Node38_0.a('node.color', 'rgba(192,192,192,0)'); Node38_0.a('node.fillrect', [0,0,0,0]); Node38_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_0.a('node.fillgradient', ''); if (Node38_0type !== 'rect') { Node38_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_0.a('node.arcTo', parseFloat('@arcTo@')); Node38_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_0type === 'arc') { Node38_0.a('node.arcOval', true); } Node38_0.setRotation(0*Math.PI/180); Node38_0.borderWidth = Node38_0BorderWidth; Node38_0.borderFillwidth = Node38_0BorderWidth; dataModel.add(Node38_0); Node38_0._nodename = 'Node38_0' Node38_0._nodeType = 'rect'; zoomNodeList.push({ node: Node38_0, 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); } })(Node38_0, Node38_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_1type = 'rect'; var Node38_1 = new ht.Node(), Node38_1BorderWidth = 0*2; if (Node38_1type === 'arc') { Node38_1BorderWidth *= 0; } Node38_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_1.setPosition(1081*ratio.ratioX, 222*ratio.ratioY); Node38_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_1.a('node.width', 127*_ratio.ratioX); Node38_1.a('node.height', 32*_ratio.ratioY); Node38_1.a('node.type', Node38_1type); Node38_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node38_1.a('node.gradientcolor', ''); Node38_1.a('node.gradient', ''); Node38_1.a('node.borderwidth', Node38_1BorderWidth); Node38_1.a('node.color', 'rgba(192,192,192,0)'); Node38_1.a('node.fillrect', [0,0,0,0]); Node38_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_1.a('node.fillgradient', ''); if (Node38_1type !== 'rect') { Node38_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_1.a('node.arcTo', parseFloat('@arcTo@')); Node38_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_1type === 'arc') { Node38_1.a('node.arcOval', true); } Node38_1.setRotation(0*Math.PI/180); Node38_1.borderWidth = Node38_1BorderWidth; Node38_1.borderFillwidth = Node38_1BorderWidth; dataModel.add(Node38_1); Node38_1._nodename = 'Node38_1' Node38_1._nodeType = 'rect'; zoomNodeList.push({ node: Node38_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); } })(Node38_1, Node38_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_2type = 'rect'; var Node38_2 = new ht.Node(), Node38_2BorderWidth = 0*2; if (Node38_2type === 'arc') { Node38_2BorderWidth *= 0; } Node38_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_2.setPosition(1081*ratio.ratioX, 254*ratio.ratioY); Node38_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_2.a('node.width', 127*_ratio.ratioX); Node38_2.a('node.height', 32*_ratio.ratioY); Node38_2.a('node.type', Node38_2type); Node38_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_2.a('node.background', 'rgba(245,245,245,1)'); Node38_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node38_2.a('node.gradient', ''); Node38_2.a('node.borderwidth', Node38_2BorderWidth); Node38_2.a('node.color', 'rgba(192,192,192,0)'); Node38_2.a('node.fillrect', [0,0,0,0]); Node38_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_2.a('node.fillgradient', ''); if (Node38_2type !== 'rect') { Node38_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_2.a('node.arcTo', parseFloat('@arcTo@')); Node38_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_2type === 'arc') { Node38_2.a('node.arcOval', true); } Node38_2.setRotation(0*Math.PI/180); Node38_2.borderWidth = Node38_2BorderWidth; Node38_2.borderFillwidth = Node38_2BorderWidth; dataModel.add(Node38_2); Node38_2._nodename = 'Node38_2' Node38_2._nodeType = 'rect'; zoomNodeList.push({ node: Node38_2, 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); } })(Node38_2, Node38_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_3type = 'rect'; var Node38_3 = new ht.Node(), Node38_3BorderWidth = 0*2; if (Node38_3type === 'arc') { Node38_3BorderWidth *= 0; } Node38_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_3.setPosition(1081*ratio.ratioX, 285*ratio.ratioY); Node38_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_3.a('node.width', 127*_ratio.ratioX); Node38_3.a('node.height', 32*_ratio.ratioY); Node38_3.a('node.type', Node38_3type); Node38_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node38_3.a('node.gradientcolor', ''); Node38_3.a('node.gradient', ''); Node38_3.a('node.borderwidth', Node38_3BorderWidth); Node38_3.a('node.color', 'rgba(192,192,192,0)'); Node38_3.a('node.fillrect', [0,0,0,0]); Node38_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_3.a('node.fillgradient', ''); if (Node38_3type !== 'rect') { Node38_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_3.a('node.arcTo', parseFloat('@arcTo@')); Node38_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_3type === 'arc') { Node38_3.a('node.arcOval', true); } Node38_3.setRotation(0*Math.PI/180); Node38_3.borderWidth = Node38_3BorderWidth; Node38_3.borderFillwidth = Node38_3BorderWidth; dataModel.add(Node38_3); Node38_3._nodename = 'Node38_3' Node38_3._nodeType = 'rect'; zoomNodeList.push({ node: Node38_3, 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); } })(Node38_3, Node38_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_4type = 'rect'; var Node38_4 = new ht.Node(), Node38_4BorderWidth = 0*2; if (Node38_4type === 'arc') { Node38_4BorderWidth *= 0; } Node38_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_4.setPosition(1081*ratio.ratioX, 316*ratio.ratioY); Node38_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_4.a('node.width', 127*_ratio.ratioX); Node38_4.a('node.height', 32*_ratio.ratioY); Node38_4.a('node.type', Node38_4type); Node38_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_4.a('node.background', 'rgba(245,245,245,1)'); Node38_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node38_4.a('node.gradient', ''); Node38_4.a('node.borderwidth', Node38_4BorderWidth); Node38_4.a('node.color', 'rgba(192,192,192,0)'); Node38_4.a('node.fillrect', [0,0,0,0]); Node38_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_4.a('node.fillgradient', ''); if (Node38_4type !== 'rect') { Node38_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_4.a('node.arcTo', parseFloat('@arcTo@')); Node38_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_4type === 'arc') { Node38_4.a('node.arcOval', true); } Node38_4.setRotation(0*Math.PI/180); Node38_4.borderWidth = Node38_4BorderWidth; Node38_4.borderFillwidth = Node38_4BorderWidth; dataModel.add(Node38_4); Node38_4._nodename = 'Node38_4' Node38_4._nodeType = 'rect'; zoomNodeList.push({ node: Node38_4, 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); } })(Node38_4, Node38_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_5type = 'rect'; var Node38_5 = new ht.Node(), Node38_5BorderWidth = 0*2; if (Node38_5type === 'arc') { Node38_5BorderWidth *= 0; } Node38_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_5.setPosition(1081*ratio.ratioX, 347*ratio.ratioY); Node38_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_5.a('node.width', 127*_ratio.ratioX); Node38_5.a('node.height', 32*_ratio.ratioY); Node38_5.a('node.type', Node38_5type); Node38_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node38_5.a('node.gradientcolor', ''); Node38_5.a('node.gradient', ''); Node38_5.a('node.borderwidth', Node38_5BorderWidth); Node38_5.a('node.color', 'rgba(192,192,192,0)'); Node38_5.a('node.fillrect', [0,0,0,0]); Node38_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_5.a('node.fillgradient', ''); if (Node38_5type !== 'rect') { Node38_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_5.a('node.arcTo', parseFloat('@arcTo@')); Node38_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_5type === 'arc') { Node38_5.a('node.arcOval', true); } Node38_5.setRotation(0*Math.PI/180); Node38_5.borderWidth = Node38_5BorderWidth; Node38_5.borderFillwidth = Node38_5BorderWidth; dataModel.add(Node38_5); Node38_5._nodename = 'Node38_5' Node38_5._nodeType = 'rect'; zoomNodeList.push({ node: Node38_5, 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); } })(Node38_5, Node38_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_6type = 'rect'; var Node38_6 = new ht.Node(), Node38_6BorderWidth = 0*2; if (Node38_6type === 'arc') { Node38_6BorderWidth *= 0; } Node38_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_6.setPosition(1081*ratio.ratioX, 378*ratio.ratioY); Node38_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node38_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_6.a('node.width', 127*_ratio.ratioX); Node38_6.a('node.height', 32*_ratio.ratioY); Node38_6.a('node.type', Node38_6type); Node38_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node38_6.a('node.background', 'rgba(245,245,245,1)'); Node38_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node38_6.a('node.gradient', ''); Node38_6.a('node.borderwidth', Node38_6BorderWidth); Node38_6.a('node.color', 'rgba(192,192,192,0)'); Node38_6.a('node.fillrect', [0,0,0,0]); Node38_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_6.a('node.fillgradient', ''); if (Node38_6type !== 'rect') { Node38_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_6.a('node.arcTo', parseFloat('@arcTo@')); Node38_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_6type === 'arc') { Node38_6.a('node.arcOval', true); } Node38_6.setRotation(0*Math.PI/180); Node38_6.borderWidth = Node38_6BorderWidth; Node38_6.borderFillwidth = Node38_6BorderWidth; dataModel.add(Node38_6); Node38_6._nodename = 'Node38_6' Node38_6._nodeType = 'rect'; zoomNodeList.push({ node: Node38_6, 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); } })(Node38_6, Node38_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_7type = 'rect'; var Node38_7 = new ht.Node(), Node38_7BorderWidth = 1*2; if (Node38_7type === 'arc') { Node38_7BorderWidth *= 1; } Node38_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node38_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node38_7.setPosition(1081*ratio.ratioX, 239*ratio.ratioY); Node38_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node38_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node38_7.a('node.width', 127*_ratio.ratioX); Node38_7.a('node.height', 309*_ratio.ratioY); Node38_7.a('node.type', Node38_7type); Node38_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node38_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node38_7.a('node.gradientcolor', ''); Node38_7.a('node.gradient', ''); Node38_7.a('node.borderwidth', Node38_7BorderWidth); Node38_7.a('node.color', 'rgba(192,192,192,1)'); Node38_7.a('node.fillrect', [0,0,0,0]); Node38_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node38_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node38_7.a('node.fillgradient', ''); if (Node38_7type !== 'rect') { Node38_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node38_7.a('node.arcTo', parseFloat('@arcTo@')); Node38_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node38_7type === 'arc') { Node38_7.a('node.arcOval', true); } Node38_7.setRotation(0*Math.PI/180); Node38_7.borderWidth = Node38_7BorderWidth; Node38_7.borderFillwidth = Node38_7BorderWidth; dataModel.add(Node38_7); Node38_7._nodename = 'Node38_7' Node38_7._nodeType = 'rect'; zoomNodeList.push({ node: Node38_7, 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); } })(Node38_7, Node38_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_8 = new ht.Node(); var Node38_8textStart, Node38_8textWidth, Node38_8lineStart, Node38_8align = 'center', Node38_8fontSize = 13.3333*_ratio.ratioY,Node38_8width = 105*_ratio.ratioX, Node38_8height = 27*_ratio.ratioY; (function () { if (Node38_8align === 'left') { Node38_8textStart = Node38_8fontSize * 0.2 > 2 ? Node38_8fontSize * 0.2 - 4 : Node38_8fontSize * 0.2 - 9; Node38_8textWidth = Node38_8width; Node38_8lineStart = 1; } else if (Node38_8align === 'right') { Node38_8textStart = 0; Node38_8textWidth =Node38_8fontSize <= 8 ? Node38_8width + Node38_8fontSize * 0.2 + 6 : Node38_8width - Node38_8fontSize * 0.2; Node38_8lineStart = (Node38_8width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node38_8align === 'center') { Node38_8textStart = -3; Node38_8textWidth = Node38_8width; Node38_8lineStart = Node38_8width - ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width - 11; } })(); Node38_8.setImage(GD.getTextJSON(Node38_8width, Node38_8height, true, false, false, 'bold '+ Node38_8fontSize + 'px "Arial"')) Node38_8.setPosition(1078*ratio.ratioX, 103*ratio.ratioY); Node38_8.setWidth(Node38_8width); Node38_8.setHeight(Node38_8height); Node38_8._nodeType = 'text'; Node38_8._disallowEvert = true; Node38_8.setRotation(0*Math.PI/180); Node38_8.a('node.width', Node38_8width); Node38_8.a('node.height', Node38_8height); Node38_8.a('node.rect', [0, 0, Node38_8width, Node38_8height]); Node38_8.a('node.bordercolor','rgba(255,255,255,1)'); Node38_8.a('node.borderwidth', 0); Node38_8.a('node.background','' || 'rgba(0,0,0,0)'); Node38_8.a('node.gradient',''); Node38_8.a('node.gradientcolor',''); Node38_8.a('node.text','年利用小时'); Node38_8.a('node.textalign','center'); Node38_8.a('node.textvAlign','middle'); Node38_8.a('node.textrect', [Node38_8textStart, 0, Node38_8textWidth, Node38_8height]); Node38_8.a('node.color','rgba(255,255,255,1)'); Node38_8.a('node.font','bold '+ Node38_8fontSize + 'px "Arial"'); Node38_8.a('node.textvisible',true); Node38_8.a('node.linefeed',false); if (false) { Node38_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_8.a('node.text') || '年利用小时'; var color=Node38_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_8width,Node38_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node38_8.a('node.underlinepoints',[Node38_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_8fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width + 6, (Node38_8height - Node38_8fontSize) * 0.5*_ratio.ratioY + Node38_8fontSize + 2 ]); Node38_8.a('node.underlinevisible',false); Node38_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_8); zoomNodeList.push({ node: Node38_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_9 = new ht.Node(); var Node38_9textStart, Node38_9textWidth, Node38_9lineStart, Node38_9align = 'center', Node38_9fontSize = 11.99997*_ratio.ratioY,Node38_9width = 105*_ratio.ratioX, Node38_9height = 17*_ratio.ratioY; (function () { if (Node38_9align === 'left') { Node38_9textStart = Node38_9fontSize * 0.2 > 2 ? Node38_9fontSize * 0.2 - 4 : Node38_9fontSize * 0.2 - 9; Node38_9textWidth = Node38_9width; Node38_9lineStart = 1; } else if (Node38_9align === 'right') { Node38_9textStart = 0; Node38_9textWidth =Node38_9fontSize <= 8 ? Node38_9width + Node38_9fontSize * 0.2 + 6 : Node38_9width - Node38_9fontSize * 0.2; Node38_9lineStart = (Node38_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node38_9align === 'center') { Node38_9textStart = -3; Node38_9textWidth = Node38_9width; Node38_9lineStart = Node38_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width - 11; } })(); Node38_9.setImage(GD.getTextJSON(Node38_9width, Node38_9height, true, false, false, 'bold '+ Node38_9fontSize + 'px "Arial"')) Node38_9.setPosition(1078*ratio.ratioX, 131*ratio.ratioY); Node38_9.setWidth(Node38_9width); Node38_9.setHeight(Node38_9height); Node38_9._nodeType = 'text'; Node38_9._disallowEvert = true; Node38_9.setRotation(0*Math.PI/180); Node38_9.a('node.width', Node38_9width); Node38_9.a('node.height', Node38_9height); Node38_9.a('node.rect', [0, 0, Node38_9width, Node38_9height]); Node38_9.a('node.bordercolor','rgba(128,128,128,1)'); Node38_9.a('node.borderwidth', 0); Node38_9.a('node.background','' || 'rgba(0,0,0,0)'); Node38_9.a('node.gradient',''); Node38_9.a('node.gradientcolor',''); Node38_9.a('node.text','万kwh'); Node38_9.a('node.textalign','center'); Node38_9.a('node.textvAlign','middle'); Node38_9.a('node.textrect', [Node38_9textStart, 0, Node38_9textWidth, Node38_9height]); Node38_9.a('node.color','rgba(128,128,128,1)'); Node38_9.a('node.font','bold '+ Node38_9fontSize + 'px "Arial"'); Node38_9.a('node.textvisible',true); Node38_9.a('node.linefeed',false); if (false) { Node38_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_9.a('node.text') || '万kwh'; var color=Node38_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node38_9width,Node38_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node38_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node38_9.a('node.underlinepoints',[Node38_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node38_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width + 6, (Node38_9height - Node38_9fontSize) * 0.5*_ratio.ratioY + Node38_9fontSize + 2 ]); Node38_9.a('node.underlinevisible',false); Node38_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_9); zoomNodeList.push({ node: Node38_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_10 = new ht.Node(); var Node38_10textStart, Node38_10textWidth, Node38_10lineStart, Node38_10align = 'center', Node38_10fontSize = 13.3333*_ratio.ratioY,Node38_10width = 105*_ratio.ratioX, Node38_10height = 27*_ratio.ratioY; (function () { if (Node38_10align === 'left') { Node38_10textStart = Node38_10fontSize * 0.2 > 2 ? Node38_10fontSize * 0.2 - 4 : Node38_10fontSize * 0.2 - 9; Node38_10textWidth = Node38_10width; Node38_10lineStart = 1; } else if (Node38_10align === 'right') { Node38_10textStart = 0; Node38_10textWidth =Node38_10fontSize <= 8 ? Node38_10width + Node38_10fontSize * 0.2 + 6 : Node38_10width - Node38_10fontSize * 0.2; Node38_10lineStart = (Node38_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_10align === 'center') { Node38_10textStart = -3; Node38_10textWidth = Node38_10width; Node38_10lineStart = Node38_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_10.setImage(GD.getTextJSON(Node38_10width, Node38_10height, true, false, false, 'bold '+ Node38_10fontSize + 'px "UniDreamLED"')) Node38_10.setPosition(1078*ratio.ratioX, 158*ratio.ratioY); Node38_10.setWidth(Node38_10width); Node38_10.setHeight(Node38_10height); Node38_10._nodeType = 'text'; Node38_10._disallowEvert = true; Node38_10.setRotation(0*Math.PI/180); Node38_10.a('node.width', Node38_10width); Node38_10.a('node.height', Node38_10height); Node38_10.a('node.rect', [0, 0, Node38_10width, Node38_10height]); Node38_10.a('node.bordercolor','rgba(0,0,0,1)'); Node38_10.a('node.borderwidth', 0); Node38_10.a('node.background','' || 'rgba(0,0,0,0)'); Node38_10.a('node.gradient',''); Node38_10.a('node.gradientcolor',''); Node38_10.a('node.text','1134.76'); Node38_10.a('node.textalign','center'); Node38_10.a('node.textvAlign','middle'); Node38_10.a('node.textrect', [Node38_10textStart, 0, Node38_10textWidth, Node38_10height]); Node38_10.a('node.color','rgba(0,0,0,1)'); Node38_10.a('node.font','bold '+ Node38_10fontSize + 'px "UniDreamLED"'); Node38_10.a('node.textvisible',true); Node38_10.a('node.linefeed',false); if (false) { Node38_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_10.a('node.text') || '1134.76'; var color=Node38_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_10width,Node38_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_10.a('node.underlinepoints',[Node38_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width + 6, (Node38_10height - Node38_10fontSize) * 0.5*_ratio.ratioY + Node38_10fontSize + 2 ]); Node38_10.a('node.underlinevisible',false); Node38_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_10); zoomNodeList.push({ node: Node38_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_11 = new ht.Node(); var Node38_11textStart, Node38_11textWidth, Node38_11lineStart, Node38_11align = 'center', Node38_11fontSize = 13.3333*_ratio.ratioY,Node38_11width = 110*_ratio.ratioX, Node38_11height = 27*_ratio.ratioY; (function () { if (Node38_11align === 'left') { Node38_11textStart = Node38_11fontSize * 0.2 > 2 ? Node38_11fontSize * 0.2 - 4 : Node38_11fontSize * 0.2 - 9; Node38_11textWidth = Node38_11width; Node38_11lineStart = 1; } else if (Node38_11align === 'right') { Node38_11textStart = 0; Node38_11textWidth =Node38_11fontSize <= 8 ? Node38_11width + Node38_11fontSize * 0.2 + 6 : Node38_11width - Node38_11fontSize * 0.2; Node38_11lineStart = (Node38_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_11align === 'center') { Node38_11textStart = -3; Node38_11textWidth = Node38_11width; Node38_11lineStart = Node38_11width - ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_11.setImage(GD.getTextJSON(Node38_11width, Node38_11height, true, false, false, 'bold '+ Node38_11fontSize + 'px "UniDreamLED"')) Node38_11.setPosition(1081*ratio.ratioX, 190*ratio.ratioY); Node38_11.setWidth(Node38_11width); Node38_11.setHeight(Node38_11height); Node38_11._nodeType = 'text'; Node38_11._disallowEvert = true; Node38_11.setRotation(0*Math.PI/180); Node38_11.a('node.width', Node38_11width); Node38_11.a('node.height', Node38_11height); Node38_11.a('node.rect', [0, 0, Node38_11width, Node38_11height]); Node38_11.a('node.bordercolor','rgba(0,0,0,1)'); Node38_11.a('node.borderwidth', 0); Node38_11.a('node.background','' || 'rgba(0,0,0,0)'); Node38_11.a('node.gradient',''); Node38_11.a('node.gradientcolor',''); Node38_11.a('node.text','171.51'); Node38_11.a('node.textalign','center'); Node38_11.a('node.textvAlign','middle'); Node38_11.a('node.textrect', [Node38_11textStart, 0, Node38_11textWidth, Node38_11height]); Node38_11.a('node.color','rgba(0,0,0,1)'); Node38_11.a('node.font','bold '+ Node38_11fontSize + 'px "UniDreamLED"'); Node38_11.a('node.textvisible',true); Node38_11.a('node.linefeed',false); if (false) { Node38_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_11.a('node.text') || '171.51'; var color=Node38_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_11width,Node38_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_11.a('node.underlinepoints',[Node38_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width + 6, (Node38_11height - Node38_11fontSize) * 0.5*_ratio.ratioY + Node38_11fontSize + 2 ]); Node38_11.a('node.underlinevisible',false); Node38_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_11); zoomNodeList.push({ node: Node38_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_12 = new ht.Node(); var Node38_12textStart, Node38_12textWidth, Node38_12lineStart, Node38_12align = 'center', Node38_12fontSize = 13.3333*_ratio.ratioY,Node38_12width = 110*_ratio.ratioX, Node38_12height = 27*_ratio.ratioY; (function () { if (Node38_12align === 'left') { Node38_12textStart = Node38_12fontSize * 0.2 > 2 ? Node38_12fontSize * 0.2 - 4 : Node38_12fontSize * 0.2 - 9; Node38_12textWidth = Node38_12width; Node38_12lineStart = 1; } else if (Node38_12align === 'right') { Node38_12textStart = 0; Node38_12textWidth =Node38_12fontSize <= 8 ? Node38_12width + Node38_12fontSize * 0.2 + 6 : Node38_12width - Node38_12fontSize * 0.2; Node38_12lineStart = (Node38_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_12align === 'center') { Node38_12textStart = -3; Node38_12textWidth = Node38_12width; Node38_12lineStart = Node38_12width - ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_12.setImage(GD.getTextJSON(Node38_12width, Node38_12height, true, false, false, 'bold '+ Node38_12fontSize + 'px "UniDreamLED"')) Node38_12.setPosition(1081*ratio.ratioX, 220*ratio.ratioY); Node38_12.setWidth(Node38_12width); Node38_12.setHeight(Node38_12height); Node38_12._nodeType = 'text'; Node38_12._disallowEvert = true; Node38_12.setRotation(0*Math.PI/180); Node38_12.a('node.width', Node38_12width); Node38_12.a('node.height', Node38_12height); Node38_12.a('node.rect', [0, 0, Node38_12width, Node38_12height]); Node38_12.a('node.bordercolor','rgba(0,0,0,1)'); Node38_12.a('node.borderwidth', 0); Node38_12.a('node.background','' || 'rgba(0,0,0,0)'); Node38_12.a('node.gradient',''); Node38_12.a('node.gradientcolor',''); Node38_12.a('node.text','329.51'); Node38_12.a('node.textalign','center'); Node38_12.a('node.textvAlign','middle'); Node38_12.a('node.textrect', [Node38_12textStart, 0, Node38_12textWidth, Node38_12height]); Node38_12.a('node.color','rgba(0,0,0,1)'); Node38_12.a('node.font','bold '+ Node38_12fontSize + 'px "UniDreamLED"'); Node38_12.a('node.textvisible',true); Node38_12.a('node.linefeed',false); if (false) { Node38_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_12.a('node.text') || '329.51'; var color=Node38_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_12width,Node38_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_12.a('node.underlinepoints',[Node38_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width + 6, (Node38_12height - Node38_12fontSize) * 0.5*_ratio.ratioY + Node38_12fontSize + 2 ]); Node38_12.a('node.underlinevisible',false); Node38_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_12); zoomNodeList.push({ node: Node38_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_13 = new ht.Node(); var Node38_13textStart, Node38_13textWidth, Node38_13lineStart, Node38_13align = 'center', Node38_13fontSize = 13.3333*_ratio.ratioY,Node38_13width = 110*_ratio.ratioX, Node38_13height = 27*_ratio.ratioY; (function () { if (Node38_13align === 'left') { Node38_13textStart = Node38_13fontSize * 0.2 > 2 ? Node38_13fontSize * 0.2 - 4 : Node38_13fontSize * 0.2 - 9; Node38_13textWidth = Node38_13width; Node38_13lineStart = 1; } else if (Node38_13align === 'right') { Node38_13textStart = 0; Node38_13textWidth =Node38_13fontSize <= 8 ? Node38_13width + Node38_13fontSize * 0.2 + 6 : Node38_13width - Node38_13fontSize * 0.2; Node38_13lineStart = (Node38_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_13align === 'center') { Node38_13textStart = -3; Node38_13textWidth = Node38_13width; Node38_13lineStart = Node38_13width - ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_13.setImage(GD.getTextJSON(Node38_13width, Node38_13height, true, false, false, 'bold '+ Node38_13fontSize + 'px "UniDreamLED"')) Node38_13.setPosition(1081*ratio.ratioX, 250*ratio.ratioY); Node38_13.setWidth(Node38_13width); Node38_13.setHeight(Node38_13height); Node38_13._nodeType = 'text'; Node38_13._disallowEvert = true; Node38_13.setRotation(0*Math.PI/180); Node38_13.a('node.width', Node38_13width); Node38_13.a('node.height', Node38_13height); Node38_13.a('node.rect', [0, 0, Node38_13width, Node38_13height]); Node38_13.a('node.bordercolor','rgba(0,0,0,1)'); Node38_13.a('node.borderwidth', 0); Node38_13.a('node.background','' || 'rgba(0,0,0,0)'); Node38_13.a('node.gradient',''); Node38_13.a('node.gradientcolor',''); Node38_13.a('node.text','340.14'); Node38_13.a('node.textalign','center'); Node38_13.a('node.textvAlign','middle'); Node38_13.a('node.textrect', [Node38_13textStart, 0, Node38_13textWidth, Node38_13height]); Node38_13.a('node.color','rgba(0,0,0,1)'); Node38_13.a('node.font','bold '+ Node38_13fontSize + 'px "UniDreamLED"'); Node38_13.a('node.textvisible',true); Node38_13.a('node.linefeed',false); if (false) { Node38_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_13.a('node.text') || '340.14'; var color=Node38_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_13width,Node38_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_13.a('node.underlinepoints',[Node38_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width + 6, (Node38_13height - Node38_13fontSize) * 0.5*_ratio.ratioY + Node38_13fontSize + 2 ]); Node38_13.a('node.underlinevisible',false); Node38_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_13); zoomNodeList.push({ node: Node38_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_14 = new ht.Node(); var Node38_14textStart, Node38_14textWidth, Node38_14lineStart, Node38_14align = 'center', Node38_14fontSize = 13.3333*_ratio.ratioY,Node38_14width = 110*_ratio.ratioX, Node38_14height = 27*_ratio.ratioY; (function () { if (Node38_14align === 'left') { Node38_14textStart = Node38_14fontSize * 0.2 > 2 ? Node38_14fontSize * 0.2 - 4 : Node38_14fontSize * 0.2 - 9; Node38_14textWidth = Node38_14width; Node38_14lineStart = 1; } else if (Node38_14align === 'right') { Node38_14textStart = 0; Node38_14textWidth =Node38_14fontSize <= 8 ? Node38_14width + Node38_14fontSize * 0.2 + 6 : Node38_14width - Node38_14fontSize * 0.2; Node38_14lineStart = (Node38_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_14align === 'center') { Node38_14textStart = -3; Node38_14textWidth = Node38_14width; Node38_14lineStart = Node38_14width - ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_14.setImage(GD.getTextJSON(Node38_14width, Node38_14height, true, false, false, 'bold '+ Node38_14fontSize + 'px "UniDreamLED"')) Node38_14.setPosition(1081*ratio.ratioX, 284*ratio.ratioY); Node38_14.setWidth(Node38_14width); Node38_14.setHeight(Node38_14height); Node38_14._nodeType = 'text'; Node38_14._disallowEvert = true; Node38_14.setRotation(0*Math.PI/180); Node38_14.a('node.width', Node38_14width); Node38_14.a('node.height', Node38_14height); Node38_14.a('node.rect', [0, 0, Node38_14width, Node38_14height]); Node38_14.a('node.bordercolor','rgba(0,0,0,1)'); Node38_14.a('node.borderwidth', 0); Node38_14.a('node.background','' || 'rgba(0,0,0,0)'); Node38_14.a('node.gradient',''); Node38_14.a('node.gradientcolor',''); Node38_14.a('node.text','60.61'); Node38_14.a('node.textalign','center'); Node38_14.a('node.textvAlign','middle'); Node38_14.a('node.textrect', [Node38_14textStart, 0, Node38_14textWidth, Node38_14height]); Node38_14.a('node.color','rgba(0,0,0,1)'); Node38_14.a('node.font','bold '+ Node38_14fontSize + 'px "UniDreamLED"'); Node38_14.a('node.textvisible',true); Node38_14.a('node.linefeed',false); if (false) { Node38_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_14.a('node.text') || '60.61'; var color=Node38_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_14width,Node38_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_14.a('node.underlinepoints',[Node38_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width + 6, (Node38_14height - Node38_14fontSize) * 0.5*_ratio.ratioY + Node38_14fontSize + 2 ]); Node38_14.a('node.underlinevisible',false); Node38_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_14); zoomNodeList.push({ node: Node38_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_15 = new ht.Node(); var Node38_15textStart, Node38_15textWidth, Node38_15lineStart, Node38_15align = 'center', Node38_15fontSize = 13.3333*_ratio.ratioY,Node38_15width = 110*_ratio.ratioX, Node38_15height = 27*_ratio.ratioY; (function () { if (Node38_15align === 'left') { Node38_15textStart = Node38_15fontSize * 0.2 > 2 ? Node38_15fontSize * 0.2 - 4 : Node38_15fontSize * 0.2 - 9; Node38_15textWidth = Node38_15width; Node38_15lineStart = 1; } else if (Node38_15align === 'right') { Node38_15textStart = 0; Node38_15textWidth =Node38_15fontSize <= 8 ? Node38_15width + Node38_15fontSize * 0.2 + 6 : Node38_15width - Node38_15fontSize * 0.2; Node38_15lineStart = (Node38_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_15align === 'center') { Node38_15textStart = -3; Node38_15textWidth = Node38_15width; Node38_15lineStart = Node38_15width - ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_15.setImage(GD.getTextJSON(Node38_15width, Node38_15height, true, false, false, 'bold '+ Node38_15fontSize + 'px "UniDreamLED"')) Node38_15.setPosition(1081*ratio.ratioX, 317*ratio.ratioY); Node38_15.setWidth(Node38_15width); Node38_15.setHeight(Node38_15height); Node38_15._nodeType = 'text'; Node38_15._disallowEvert = true; Node38_15.setRotation(0*Math.PI/180); Node38_15.a('node.width', Node38_15width); Node38_15.a('node.height', Node38_15height); Node38_15.a('node.rect', [0, 0, Node38_15width, Node38_15height]); Node38_15.a('node.bordercolor','rgba(0,0,0,1)'); Node38_15.a('node.borderwidth', 0); Node38_15.a('node.background','' || 'rgba(0,0,0,0)'); Node38_15.a('node.gradient',''); Node38_15.a('node.gradientcolor',''); Node38_15.a('node.text','166.79'); Node38_15.a('node.textalign','center'); Node38_15.a('node.textvAlign','middle'); Node38_15.a('node.textrect', [Node38_15textStart, 0, Node38_15textWidth, Node38_15height]); Node38_15.a('node.color','rgba(0,0,0,1)'); Node38_15.a('node.font','bold '+ Node38_15fontSize + 'px "UniDreamLED"'); Node38_15.a('node.textvisible',true); Node38_15.a('node.linefeed',false); if (false) { Node38_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_15.a('node.text') || '166.79'; var color=Node38_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_15width,Node38_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_15.a('node.underlinepoints',[Node38_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width + 6, (Node38_15height - Node38_15fontSize) * 0.5*_ratio.ratioY + Node38_15fontSize + 2 ]); Node38_15.a('node.underlinevisible',false); Node38_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_15); zoomNodeList.push({ node: Node38_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_16 = new ht.Node(); var Node38_16textStart, Node38_16textWidth, Node38_16lineStart, Node38_16align = 'center', Node38_16fontSize = 13.3333*_ratio.ratioY,Node38_16width = 110*_ratio.ratioX, Node38_16height = 27*_ratio.ratioY; (function () { if (Node38_16align === 'left') { Node38_16textStart = Node38_16fontSize * 0.2 > 2 ? Node38_16fontSize * 0.2 - 4 : Node38_16fontSize * 0.2 - 9; Node38_16textWidth = Node38_16width; Node38_16lineStart = 1; } else if (Node38_16align === 'right') { Node38_16textStart = 0; Node38_16textWidth =Node38_16fontSize <= 8 ? Node38_16width + Node38_16fontSize * 0.2 + 6 : Node38_16width - Node38_16fontSize * 0.2; Node38_16lineStart = (Node38_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_16align === 'center') { Node38_16textStart = -3; Node38_16textWidth = Node38_16width; Node38_16lineStart = Node38_16width - ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_16.setImage(GD.getTextJSON(Node38_16width, Node38_16height, true, false, false, 'bold '+ Node38_16fontSize + 'px "UniDreamLED"')) Node38_16.setPosition(1081*ratio.ratioX, 346*ratio.ratioY); Node38_16.setWidth(Node38_16width); Node38_16.setHeight(Node38_16height); Node38_16._nodeType = 'text'; Node38_16._disallowEvert = true; Node38_16.setRotation(0*Math.PI/180); Node38_16.a('node.width', Node38_16width); Node38_16.a('node.height', Node38_16height); Node38_16.a('node.rect', [0, 0, Node38_16width, Node38_16height]); Node38_16.a('node.bordercolor','rgba(0,0,0,1)'); Node38_16.a('node.borderwidth', 0); Node38_16.a('node.background','' || 'rgba(0,0,0,0)'); Node38_16.a('node.gradient',''); Node38_16.a('node.gradientcolor',''); Node38_16.a('node.text','66.18'); Node38_16.a('node.textalign','center'); Node38_16.a('node.textvAlign','middle'); Node38_16.a('node.textrect', [Node38_16textStart, 0, Node38_16textWidth, Node38_16height]); Node38_16.a('node.color','rgba(0,0,0,1)'); Node38_16.a('node.font','bold '+ Node38_16fontSize + 'px "UniDreamLED"'); Node38_16.a('node.textvisible',true); Node38_16.a('node.linefeed',false); if (false) { Node38_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_16.a('node.text') || '66.18'; var color=Node38_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_16width,Node38_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_16.a('node.underlinepoints',[Node38_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width + 6, (Node38_16height - Node38_16fontSize) * 0.5*_ratio.ratioY + Node38_16fontSize + 2 ]); Node38_16.a('node.underlinevisible',false); Node38_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_16); zoomNodeList.push({ node: Node38_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_17 = new ht.Node(); var Node38_17textStart, Node38_17textWidth, Node38_17lineStart, Node38_17align = 'center', Node38_17fontSize = 13.3333*_ratio.ratioY,Node38_17width = 110*_ratio.ratioX, Node38_17height = 27*_ratio.ratioY; (function () { if (Node38_17align === 'left') { Node38_17textStart = Node38_17fontSize * 0.2 > 2 ? Node38_17fontSize * 0.2 - 4 : Node38_17fontSize * 0.2 - 9; Node38_17textWidth = Node38_17width; Node38_17lineStart = 1; } else if (Node38_17align === 'right') { Node38_17textStart = 0; Node38_17textWidth =Node38_17fontSize <= 8 ? Node38_17width + Node38_17fontSize * 0.2 + 6 : Node38_17width - Node38_17fontSize * 0.2; Node38_17lineStart = (Node38_17width - (ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node38_17align === 'center') { Node38_17textStart = -3; Node38_17textWidth = Node38_17width; Node38_17lineStart = Node38_17width - ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node38_17.setImage(GD.getTextJSON(Node38_17width, Node38_17height, true, false, false, 'bold '+ Node38_17fontSize + 'px "UniDreamLED"')) Node38_17.setPosition(1081*ratio.ratioX, 377*ratio.ratioY); Node38_17.setWidth(Node38_17width); Node38_17.setHeight(Node38_17height); Node38_17._nodeType = 'text'; Node38_17._disallowEvert = true; Node38_17.setRotation(0*Math.PI/180); Node38_17.a('node.width', Node38_17width); Node38_17.a('node.height', Node38_17height); Node38_17.a('node.rect', [0, 0, Node38_17width, Node38_17height]); Node38_17.a('node.bordercolor','rgba(0,0,0,1)'); Node38_17.a('node.borderwidth', 0); Node38_17.a('node.background','' || 'rgba(0,0,0,0)'); Node38_17.a('node.gradient',''); Node38_17.a('node.gradientcolor',''); Node38_17.a('node.text','-'); Node38_17.a('node.textalign','center'); Node38_17.a('node.textvAlign','middle'); Node38_17.a('node.textrect', [Node38_17textStart, 0, Node38_17textWidth, Node38_17height]); Node38_17.a('node.color','rgba(0,0,0,1)'); Node38_17.a('node.font','bold '+ Node38_17fontSize + 'px "UniDreamLED"'); Node38_17.a('node.textvisible',true); Node38_17.a('node.linefeed',false); if (false) { Node38_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_17.a('node.text') || '-'; var color=Node38_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_17width,Node38_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node38_17.a('node.underlinepoints',[Node38_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width + 6, (Node38_17height - Node38_17fontSize) * 0.5*_ratio.ratioY + Node38_17fontSize + 2 ]); Node38_17.a('node.underlinevisible',false); Node38_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_17); zoomNodeList.push({ node: Node38_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node39_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node39_0 = new ht.Node(); Node39_0.setPosition(1081*ratio.ratioX, 238*ratio.ratioY); Node39_0.setSize(127*ratioX, 313*ratioY); Node39_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node39_0.setRotation(0*Math.PI/180); Node39_0._zoomBy = 'Default'; Node39_0._nodeType = 'image'; Node39_0._disallowEvert = true; dataModel.add(Node39_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node39_1 = new ht.Node(); var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'center', Node39_1fontSize = 13.3333*_ratio.ratioY,Node39_1width = 105*_ratio.ratioX, Node39_1height = 27*_ratio.ratioY; (function () { if (Node39_1align === 'left') { Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9; Node39_1textWidth = Node39_1width; Node39_1lineStart = 1; } else if (Node39_1align === 'right') { Node39_1textStart = 0; Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2; Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node39_1align === 'center') { Node39_1textStart = -3; Node39_1textWidth = Node39_1width; Node39_1lineStart = Node39_1width - ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width - 11; } })(); Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, true, false, false, 'bold '+ Node39_1fontSize + 'px "Arial"')) Node39_1.setPosition(1076*ratio.ratioX, 103*ratio.ratioY); Node39_1.setWidth(Node39_1width); Node39_1.setHeight(Node39_1height); Node39_1._nodeType = 'text'; Node39_1._disallowEvert = true; Node39_1.setRotation(0*Math.PI/180); Node39_1.a('node.width', Node39_1width); Node39_1.a('node.height', Node39_1height); Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]); Node39_1.a('node.bordercolor','rgba(255,255,255,1)'); Node39_1.a('node.borderwidth', 0); Node39_1.a('node.background','' || 'rgba(0,0,0,0)'); Node39_1.a('node.gradient',''); Node39_1.a('node.gradientcolor',''); Node39_1.a('node.text','年利用小时'); Node39_1.a('node.textalign','center'); Node39_1.a('node.textvAlign','middle'); Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]); Node39_1.a('node.color','rgba(255,255,255,1)'); Node39_1.a('node.font','bold '+ Node39_1fontSize + 'px "Arial"'); Node39_1.a('node.textvisible',true); Node39_1.a('node.linefeed',false); if (false) { Node39_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node39_1.a('node.text') || '年利用小时'; var color=Node39_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39_1width,Node39_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node39_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node39_1.a('node.underlinepoints',[Node39_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]); Node39_1.a('node.underlinevisible',false); Node39_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node39_1); zoomNodeList.push({ node: Node39_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_0type = 'rect'; var Node40_0 = new ht.Node(), Node40_0BorderWidth = 0*2; if (Node40_0type === 'arc') { Node40_0BorderWidth *= 0; } Node40_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_0.setPosition(1208*ratio.ratioX, 190*ratio.ratioY); Node40_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_0.a('node.width', 127*_ratio.ratioX); Node40_0.a('node.height', 32*_ratio.ratioY); Node40_0.a('node.type', Node40_0type); Node40_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_0.a('node.background', 'rgba(245,245,245,1)'); Node40_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node40_0.a('node.gradient', ''); Node40_0.a('node.borderwidth', Node40_0BorderWidth); Node40_0.a('node.color', 'rgba(192,192,192,0)'); Node40_0.a('node.fillrect', [0,0,0,0]); Node40_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_0.a('node.fillgradient', ''); if (Node40_0type !== 'rect') { Node40_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_0.a('node.arcTo', parseFloat('@arcTo@')); Node40_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_0type === 'arc') { Node40_0.a('node.arcOval', true); } Node40_0.setRotation(0*Math.PI/180); Node40_0.borderWidth = Node40_0BorderWidth; Node40_0.borderFillwidth = Node40_0BorderWidth; dataModel.add(Node40_0); Node40_0._nodename = 'Node40_0' Node40_0._nodeType = 'rect'; zoomNodeList.push({ node: Node40_0, 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); } })(Node40_0, Node40_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_1type = 'rect'; var Node40_1 = new ht.Node(), Node40_1BorderWidth = 0*2; if (Node40_1type === 'arc') { Node40_1BorderWidth *= 0; } Node40_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_1.setPosition(1208*ratio.ratioX, 222*ratio.ratioY); Node40_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_1.a('node.width', 127*_ratio.ratioX); Node40_1.a('node.height', 32*_ratio.ratioY); Node40_1.a('node.type', Node40_1type); Node40_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node40_1.a('node.gradientcolor', ''); Node40_1.a('node.gradient', ''); Node40_1.a('node.borderwidth', Node40_1BorderWidth); Node40_1.a('node.color', 'rgba(192,192,192,0)'); Node40_1.a('node.fillrect', [0,0,0,0]); Node40_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_1.a('node.fillgradient', ''); if (Node40_1type !== 'rect') { Node40_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_1.a('node.arcTo', parseFloat('@arcTo@')); Node40_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_1type === 'arc') { Node40_1.a('node.arcOval', true); } Node40_1.setRotation(0*Math.PI/180); Node40_1.borderWidth = Node40_1BorderWidth; Node40_1.borderFillwidth = Node40_1BorderWidth; dataModel.add(Node40_1); Node40_1._nodename = 'Node40_1' Node40_1._nodeType = 'rect'; zoomNodeList.push({ node: Node40_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); } })(Node40_1, Node40_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_2type = 'rect'; var Node40_2 = new ht.Node(), Node40_2BorderWidth = 0*2; if (Node40_2type === 'arc') { Node40_2BorderWidth *= 0; } Node40_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_2.setPosition(1208*ratio.ratioX, 254*ratio.ratioY); Node40_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_2.a('node.width', 127*_ratio.ratioX); Node40_2.a('node.height', 32*_ratio.ratioY); Node40_2.a('node.type', Node40_2type); Node40_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_2.a('node.background', 'rgba(245,245,245,1)'); Node40_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node40_2.a('node.gradient', ''); Node40_2.a('node.borderwidth', Node40_2BorderWidth); Node40_2.a('node.color', 'rgba(192,192,192,0)'); Node40_2.a('node.fillrect', [0,0,0,0]); Node40_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_2.a('node.fillgradient', ''); if (Node40_2type !== 'rect') { Node40_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_2.a('node.arcTo', parseFloat('@arcTo@')); Node40_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_2type === 'arc') { Node40_2.a('node.arcOval', true); } Node40_2.setRotation(0*Math.PI/180); Node40_2.borderWidth = Node40_2BorderWidth; Node40_2.borderFillwidth = Node40_2BorderWidth; dataModel.add(Node40_2); Node40_2._nodename = 'Node40_2' Node40_2._nodeType = 'rect'; zoomNodeList.push({ node: Node40_2, 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); } })(Node40_2, Node40_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_3type = 'rect'; var Node40_3 = new ht.Node(), Node40_3BorderWidth = 0*2; if (Node40_3type === 'arc') { Node40_3BorderWidth *= 0; } Node40_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_3.setPosition(1208*ratio.ratioX, 285*ratio.ratioY); Node40_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_3.a('node.width', 127*_ratio.ratioX); Node40_3.a('node.height', 32*_ratio.ratioY); Node40_3.a('node.type', Node40_3type); Node40_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node40_3.a('node.gradientcolor', ''); Node40_3.a('node.gradient', ''); Node40_3.a('node.borderwidth', Node40_3BorderWidth); Node40_3.a('node.color', 'rgba(192,192,192,0)'); Node40_3.a('node.fillrect', [0,0,0,0]); Node40_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_3.a('node.fillgradient', ''); if (Node40_3type !== 'rect') { Node40_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_3.a('node.arcTo', parseFloat('@arcTo@')); Node40_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_3type === 'arc') { Node40_3.a('node.arcOval', true); } Node40_3.setRotation(0*Math.PI/180); Node40_3.borderWidth = Node40_3BorderWidth; Node40_3.borderFillwidth = Node40_3BorderWidth; dataModel.add(Node40_3); Node40_3._nodename = 'Node40_3' Node40_3._nodeType = 'rect'; zoomNodeList.push({ node: Node40_3, 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); } })(Node40_3, Node40_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_4type = 'rect'; var Node40_4 = new ht.Node(), Node40_4BorderWidth = 0*2; if (Node40_4type === 'arc') { Node40_4BorderWidth *= 0; } Node40_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_4.setPosition(1208*ratio.ratioX, 316*ratio.ratioY); Node40_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_4.a('node.width', 127*_ratio.ratioX); Node40_4.a('node.height', 32*_ratio.ratioY); Node40_4.a('node.type', Node40_4type); Node40_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_4.a('node.background', 'rgba(245,245,245,1)'); Node40_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node40_4.a('node.gradient', ''); Node40_4.a('node.borderwidth', Node40_4BorderWidth); Node40_4.a('node.color', 'rgba(192,192,192,0)'); Node40_4.a('node.fillrect', [0,0,0,0]); Node40_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_4.a('node.fillgradient', ''); if (Node40_4type !== 'rect') { Node40_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_4.a('node.arcTo', parseFloat('@arcTo@')); Node40_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_4type === 'arc') { Node40_4.a('node.arcOval', true); } Node40_4.setRotation(0*Math.PI/180); Node40_4.borderWidth = Node40_4BorderWidth; Node40_4.borderFillwidth = Node40_4BorderWidth; dataModel.add(Node40_4); Node40_4._nodename = 'Node40_4' Node40_4._nodeType = 'rect'; zoomNodeList.push({ node: Node40_4, 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); } })(Node40_4, Node40_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_5type = 'rect'; var Node40_5 = new ht.Node(), Node40_5BorderWidth = 0*2; if (Node40_5type === 'arc') { Node40_5BorderWidth *= 0; } Node40_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_5.setPosition(1208*ratio.ratioX, 347*ratio.ratioY); Node40_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_5.a('node.width', 127*_ratio.ratioX); Node40_5.a('node.height', 32*_ratio.ratioY); Node40_5.a('node.type', Node40_5type); Node40_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node40_5.a('node.gradientcolor', ''); Node40_5.a('node.gradient', ''); Node40_5.a('node.borderwidth', Node40_5BorderWidth); Node40_5.a('node.color', 'rgba(192,192,192,0)'); Node40_5.a('node.fillrect', [0,0,0,0]); Node40_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_5.a('node.fillgradient', ''); if (Node40_5type !== 'rect') { Node40_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_5.a('node.arcTo', parseFloat('@arcTo@')); Node40_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_5type === 'arc') { Node40_5.a('node.arcOval', true); } Node40_5.setRotation(0*Math.PI/180); Node40_5.borderWidth = Node40_5BorderWidth; Node40_5.borderFillwidth = Node40_5BorderWidth; dataModel.add(Node40_5); Node40_5._nodename = 'Node40_5' Node40_5._nodeType = 'rect'; zoomNodeList.push({ node: Node40_5, 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); } })(Node40_5, Node40_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_6type = 'rect'; var Node40_6 = new ht.Node(), Node40_6BorderWidth = 0*2; if (Node40_6type === 'arc') { Node40_6BorderWidth *= 0; } Node40_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_6.setPosition(1208*ratio.ratioX, 378*ratio.ratioY); Node40_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node40_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_6.a('node.width', 127*_ratio.ratioX); Node40_6.a('node.height', 32*_ratio.ratioY); Node40_6.a('node.type', Node40_6type); Node40_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node40_6.a('node.background', 'rgba(245,245,245,1)'); Node40_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node40_6.a('node.gradient', ''); Node40_6.a('node.borderwidth', Node40_6BorderWidth); Node40_6.a('node.color', 'rgba(192,192,192,0)'); Node40_6.a('node.fillrect', [0,0,0,0]); Node40_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_6.a('node.fillgradient', ''); if (Node40_6type !== 'rect') { Node40_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_6.a('node.arcTo', parseFloat('@arcTo@')); Node40_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_6type === 'arc') { Node40_6.a('node.arcOval', true); } Node40_6.setRotation(0*Math.PI/180); Node40_6.borderWidth = Node40_6BorderWidth; Node40_6.borderFillwidth = Node40_6BorderWidth; dataModel.add(Node40_6); Node40_6._nodename = 'Node40_6' Node40_6._nodeType = 'rect'; zoomNodeList.push({ node: Node40_6, 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); } })(Node40_6, Node40_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_7type = 'rect'; var Node40_7 = new ht.Node(), Node40_7BorderWidth = 1*2; if (Node40_7type === 'arc') { Node40_7BorderWidth *= 1; } Node40_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node40_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40_7.setPosition(1208*ratio.ratioX, 239*ratio.ratioY); Node40_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node40_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40_7.a('node.width', 127*_ratio.ratioX); Node40_7.a('node.height', 309*_ratio.ratioY); Node40_7.a('node.type', Node40_7type); Node40_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node40_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node40_7.a('node.gradientcolor', ''); Node40_7.a('node.gradient', ''); Node40_7.a('node.borderwidth', Node40_7BorderWidth); Node40_7.a('node.color', 'rgba(192,192,192,1)'); Node40_7.a('node.fillrect', [0,0,0,0]); Node40_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40_7.a('node.fillgradient', ''); if (Node40_7type !== 'rect') { Node40_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node40_7.a('node.arcTo', parseFloat('@arcTo@')); Node40_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40_7type === 'arc') { Node40_7.a('node.arcOval', true); } Node40_7.setRotation(0*Math.PI/180); Node40_7.borderWidth = Node40_7BorderWidth; Node40_7.borderFillwidth = Node40_7BorderWidth; dataModel.add(Node40_7); Node40_7._nodename = 'Node40_7' Node40_7._nodeType = 'rect'; zoomNodeList.push({ node: Node40_7, 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); } })(Node40_7, Node40_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_8 = new ht.Node(); var Node40_8textStart, Node40_8textWidth, Node40_8lineStart, Node40_8align = 'center', Node40_8fontSize = 13.3333*_ratio.ratioY,Node40_8width = 105*_ratio.ratioX, Node40_8height = 27*_ratio.ratioY; (function () { if (Node40_8align === 'left') { Node40_8textStart = Node40_8fontSize * 0.2 > 2 ? Node40_8fontSize * 0.2 - 4 : Node40_8fontSize * 0.2 - 9; Node40_8textWidth = Node40_8width; Node40_8lineStart = 1; } else if (Node40_8align === 'right') { Node40_8textStart = 0; Node40_8textWidth =Node40_8fontSize <= 8 ? Node40_8width + Node40_8fontSize * 0.2 + 6 : Node40_8width - Node40_8fontSize * 0.2; Node40_8lineStart = (Node40_8width - (ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node40_8align === 'center') { Node40_8textStart = -3; Node40_8textWidth = Node40_8width; Node40_8lineStart = Node40_8width - ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width - 11; } })(); Node40_8.setImage(GD.getTextJSON(Node40_8width, Node40_8height, true, false, false, 'bold '+ Node40_8fontSize + 'px "Arial"')) Node40_8.setPosition(1205*ratio.ratioX, 103*ratio.ratioY); Node40_8.setWidth(Node40_8width); Node40_8.setHeight(Node40_8height); Node40_8._nodeType = 'text'; Node40_8._disallowEvert = true; Node40_8.setRotation(0*Math.PI/180); Node40_8.a('node.width', Node40_8width); Node40_8.a('node.height', Node40_8height); Node40_8.a('node.rect', [0, 0, Node40_8width, Node40_8height]); Node40_8.a('node.bordercolor','rgba(255,255,255,1)'); Node40_8.a('node.borderwidth', 0); Node40_8.a('node.background','' || 'rgba(0,0,0,0)'); Node40_8.a('node.gradient',''); Node40_8.a('node.gradientcolor',''); Node40_8.a('node.text','理论发电量'); Node40_8.a('node.textalign','center'); Node40_8.a('node.textvAlign','middle'); Node40_8.a('node.textrect', [Node40_8textStart, 0, Node40_8textWidth, Node40_8height]); Node40_8.a('node.color','rgba(255,255,255,1)'); Node40_8.a('node.font','bold '+ Node40_8fontSize + 'px "Arial"'); Node40_8.a('node.textvisible',true); Node40_8.a('node.linefeed',false); if (false) { Node40_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_8.a('node.text') || '理论发电量'; var color=Node40_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_8width,Node40_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node40_8.a('node.underlinepoints',[Node40_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_8fontSize + 2 , ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width + 6, (Node40_8height - Node40_8fontSize) * 0.5*_ratio.ratioY + Node40_8fontSize + 2 ]); Node40_8.a('node.underlinevisible',false); Node40_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_8); zoomNodeList.push({ node: Node40_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_9 = new ht.Node(); var Node40_9textStart, Node40_9textWidth, Node40_9lineStart, Node40_9align = 'center', Node40_9fontSize = 11.99997*_ratio.ratioY,Node40_9width = 105*_ratio.ratioX, Node40_9height = 17*_ratio.ratioY; (function () { if (Node40_9align === 'left') { Node40_9textStart = Node40_9fontSize * 0.2 > 2 ? Node40_9fontSize * 0.2 - 4 : Node40_9fontSize * 0.2 - 9; Node40_9textWidth = Node40_9width; Node40_9lineStart = 1; } else if (Node40_9align === 'right') { Node40_9textStart = 0; Node40_9textWidth =Node40_9fontSize <= 8 ? Node40_9width + Node40_9fontSize * 0.2 + 6 : Node40_9width - Node40_9fontSize * 0.2; Node40_9lineStart = (Node40_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node40_9align === 'center') { Node40_9textStart = -3; Node40_9textWidth = Node40_9width; Node40_9lineStart = Node40_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width - 11; } })(); Node40_9.setImage(GD.getTextJSON(Node40_9width, Node40_9height, true, false, false, 'bold '+ Node40_9fontSize + 'px "Arial"')) Node40_9.setPosition(1205*ratio.ratioX, 131*ratio.ratioY); Node40_9.setWidth(Node40_9width); Node40_9.setHeight(Node40_9height); Node40_9._nodeType = 'text'; Node40_9._disallowEvert = true; Node40_9.setRotation(0*Math.PI/180); Node40_9.a('node.width', Node40_9width); Node40_9.a('node.height', Node40_9height); Node40_9.a('node.rect', [0, 0, Node40_9width, Node40_9height]); Node40_9.a('node.bordercolor','rgba(128,128,128,1)'); Node40_9.a('node.borderwidth', 0); Node40_9.a('node.background','' || 'rgba(0,0,0,0)'); Node40_9.a('node.gradient',''); Node40_9.a('node.gradientcolor',''); Node40_9.a('node.text','万kwh'); Node40_9.a('node.textalign','center'); Node40_9.a('node.textvAlign','middle'); Node40_9.a('node.textrect', [Node40_9textStart, 0, Node40_9textWidth, Node40_9height]); Node40_9.a('node.color','rgba(128,128,128,1)'); Node40_9.a('node.font','bold '+ Node40_9fontSize + 'px "Arial"'); Node40_9.a('node.textvisible',true); Node40_9.a('node.linefeed',false); if (false) { Node40_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_9.a('node.text') || '万kwh'; var color=Node40_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node40_9width,Node40_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node40_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node40_9.a('node.underlinepoints',[Node40_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node40_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width + 6, (Node40_9height - Node40_9fontSize) * 0.5*_ratio.ratioY + Node40_9fontSize + 2 ]); Node40_9.a('node.underlinevisible',false); Node40_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_9); zoomNodeList.push({ node: Node40_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_10 = new ht.Node(); var Node40_10textStart, Node40_10textWidth, Node40_10lineStart, Node40_10align = 'center', Node40_10fontSize = 13.3333*_ratio.ratioY,Node40_10width = 105*_ratio.ratioX, Node40_10height = 27*_ratio.ratioY; (function () { if (Node40_10align === 'left') { Node40_10textStart = Node40_10fontSize * 0.2 > 2 ? Node40_10fontSize * 0.2 - 4 : Node40_10fontSize * 0.2 - 9; Node40_10textWidth = Node40_10width; Node40_10lineStart = 1; } else if (Node40_10align === 'right') { Node40_10textStart = 0; Node40_10textWidth =Node40_10fontSize <= 8 ? Node40_10width + Node40_10fontSize * 0.2 + 6 : Node40_10width - Node40_10fontSize * 0.2; Node40_10lineStart = (Node40_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_10align === 'center') { Node40_10textStart = -3; Node40_10textWidth = Node40_10width; Node40_10lineStart = Node40_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_10.setImage(GD.getTextJSON(Node40_10width, Node40_10height, true, false, false, 'bold '+ Node40_10fontSize + 'px "UniDreamLED"')) Node40_10.setPosition(1205*ratio.ratioX, 158*ratio.ratioY); Node40_10.setWidth(Node40_10width); Node40_10.setHeight(Node40_10height); Node40_10._nodeType = 'text'; Node40_10._disallowEvert = true; Node40_10.setRotation(0*Math.PI/180); Node40_10.a('node.width', Node40_10width); Node40_10.a('node.height', Node40_10height); Node40_10.a('node.rect', [0, 0, Node40_10width, Node40_10height]); Node40_10.a('node.bordercolor','rgba(0,0,0,1)'); Node40_10.a('node.borderwidth', 0); Node40_10.a('node.background','' || 'rgba(0,0,0,0)'); Node40_10.a('node.gradient',''); Node40_10.a('node.gradientcolor',''); Node40_10.a('node.text','1134.76'); Node40_10.a('node.textalign','center'); Node40_10.a('node.textvAlign','middle'); Node40_10.a('node.textrect', [Node40_10textStart, 0, Node40_10textWidth, Node40_10height]); Node40_10.a('node.color','rgba(0,0,0,1)'); Node40_10.a('node.font','bold '+ Node40_10fontSize + 'px "UniDreamLED"'); Node40_10.a('node.textvisible',true); Node40_10.a('node.linefeed',false); if (false) { Node40_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_10.a('node.text') || '1134.76'; var color=Node40_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_10width,Node40_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_10.a('node.underlinepoints',[Node40_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width + 6, (Node40_10height - Node40_10fontSize) * 0.5*_ratio.ratioY + Node40_10fontSize + 2 ]); Node40_10.a('node.underlinevisible',false); Node40_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_10); zoomNodeList.push({ node: Node40_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_11 = new ht.Node(); var Node40_11textStart, Node40_11textWidth, Node40_11lineStart, Node40_11align = 'center', Node40_11fontSize = 13.3333*_ratio.ratioY,Node40_11width = 110*_ratio.ratioX, Node40_11height = 27*_ratio.ratioY; (function () { if (Node40_11align === 'left') { Node40_11textStart = Node40_11fontSize * 0.2 > 2 ? Node40_11fontSize * 0.2 - 4 : Node40_11fontSize * 0.2 - 9; Node40_11textWidth = Node40_11width; Node40_11lineStart = 1; } else if (Node40_11align === 'right') { Node40_11textStart = 0; Node40_11textWidth =Node40_11fontSize <= 8 ? Node40_11width + Node40_11fontSize * 0.2 + 6 : Node40_11width - Node40_11fontSize * 0.2; Node40_11lineStart = (Node40_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_11align === 'center') { Node40_11textStart = -3; Node40_11textWidth = Node40_11width; Node40_11lineStart = Node40_11width - ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_11.setImage(GD.getTextJSON(Node40_11width, Node40_11height, true, false, false, 'bold '+ Node40_11fontSize + 'px "UniDreamLED"')) Node40_11.setPosition(1208*ratio.ratioX, 190*ratio.ratioY); Node40_11.setWidth(Node40_11width); Node40_11.setHeight(Node40_11height); Node40_11._nodeType = 'text'; Node40_11._disallowEvert = true; Node40_11.setRotation(0*Math.PI/180); Node40_11.a('node.width', Node40_11width); Node40_11.a('node.height', Node40_11height); Node40_11.a('node.rect', [0, 0, Node40_11width, Node40_11height]); Node40_11.a('node.bordercolor','rgba(0,0,0,1)'); Node40_11.a('node.borderwidth', 0); Node40_11.a('node.background','' || 'rgba(0,0,0,0)'); Node40_11.a('node.gradient',''); Node40_11.a('node.gradientcolor',''); Node40_11.a('node.text','171.51'); Node40_11.a('node.textalign','center'); Node40_11.a('node.textvAlign','middle'); Node40_11.a('node.textrect', [Node40_11textStart, 0, Node40_11textWidth, Node40_11height]); Node40_11.a('node.color','rgba(0,0,0,1)'); Node40_11.a('node.font','bold '+ Node40_11fontSize + 'px "UniDreamLED"'); Node40_11.a('node.textvisible',true); Node40_11.a('node.linefeed',false); if (false) { Node40_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_11.a('node.text') || '171.51'; var color=Node40_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_11width,Node40_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_11.a('node.underlinepoints',[Node40_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width + 6, (Node40_11height - Node40_11fontSize) * 0.5*_ratio.ratioY + Node40_11fontSize + 2 ]); Node40_11.a('node.underlinevisible',false); Node40_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_11); zoomNodeList.push({ node: Node40_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_12 = new ht.Node(); var Node40_12textStart, Node40_12textWidth, Node40_12lineStart, Node40_12align = 'center', Node40_12fontSize = 13.3333*_ratio.ratioY,Node40_12width = 110*_ratio.ratioX, Node40_12height = 27*_ratio.ratioY; (function () { if (Node40_12align === 'left') { Node40_12textStart = Node40_12fontSize * 0.2 > 2 ? Node40_12fontSize * 0.2 - 4 : Node40_12fontSize * 0.2 - 9; Node40_12textWidth = Node40_12width; Node40_12lineStart = 1; } else if (Node40_12align === 'right') { Node40_12textStart = 0; Node40_12textWidth =Node40_12fontSize <= 8 ? Node40_12width + Node40_12fontSize * 0.2 + 6 : Node40_12width - Node40_12fontSize * 0.2; Node40_12lineStart = (Node40_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_12align === 'center') { Node40_12textStart = -3; Node40_12textWidth = Node40_12width; Node40_12lineStart = Node40_12width - ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_12.setImage(GD.getTextJSON(Node40_12width, Node40_12height, true, false, false, 'bold '+ Node40_12fontSize + 'px "UniDreamLED"')) Node40_12.setPosition(1208*ratio.ratioX, 220*ratio.ratioY); Node40_12.setWidth(Node40_12width); Node40_12.setHeight(Node40_12height); Node40_12._nodeType = 'text'; Node40_12._disallowEvert = true; Node40_12.setRotation(0*Math.PI/180); Node40_12.a('node.width', Node40_12width); Node40_12.a('node.height', Node40_12height); Node40_12.a('node.rect', [0, 0, Node40_12width, Node40_12height]); Node40_12.a('node.bordercolor','rgba(0,0,0,1)'); Node40_12.a('node.borderwidth', 0); Node40_12.a('node.background','' || 'rgba(0,0,0,0)'); Node40_12.a('node.gradient',''); Node40_12.a('node.gradientcolor',''); Node40_12.a('node.text','329.51'); Node40_12.a('node.textalign','center'); Node40_12.a('node.textvAlign','middle'); Node40_12.a('node.textrect', [Node40_12textStart, 0, Node40_12textWidth, Node40_12height]); Node40_12.a('node.color','rgba(0,0,0,1)'); Node40_12.a('node.font','bold '+ Node40_12fontSize + 'px "UniDreamLED"'); Node40_12.a('node.textvisible',true); Node40_12.a('node.linefeed',false); if (false) { Node40_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_12.a('node.text') || '329.51'; var color=Node40_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_12width,Node40_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_12.a('node.underlinepoints',[Node40_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width + 6, (Node40_12height - Node40_12fontSize) * 0.5*_ratio.ratioY + Node40_12fontSize + 2 ]); Node40_12.a('node.underlinevisible',false); Node40_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_12); zoomNodeList.push({ node: Node40_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_13 = new ht.Node(); var Node40_13textStart, Node40_13textWidth, Node40_13lineStart, Node40_13align = 'center', Node40_13fontSize = 13.3333*_ratio.ratioY,Node40_13width = 110*_ratio.ratioX, Node40_13height = 27*_ratio.ratioY; (function () { if (Node40_13align === 'left') { Node40_13textStart = Node40_13fontSize * 0.2 > 2 ? Node40_13fontSize * 0.2 - 4 : Node40_13fontSize * 0.2 - 9; Node40_13textWidth = Node40_13width; Node40_13lineStart = 1; } else if (Node40_13align === 'right') { Node40_13textStart = 0; Node40_13textWidth =Node40_13fontSize <= 8 ? Node40_13width + Node40_13fontSize * 0.2 + 6 : Node40_13width - Node40_13fontSize * 0.2; Node40_13lineStart = (Node40_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_13align === 'center') { Node40_13textStart = -3; Node40_13textWidth = Node40_13width; Node40_13lineStart = Node40_13width - ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_13.setImage(GD.getTextJSON(Node40_13width, Node40_13height, true, false, false, 'bold '+ Node40_13fontSize + 'px "UniDreamLED"')) Node40_13.setPosition(1208*ratio.ratioX, 250*ratio.ratioY); Node40_13.setWidth(Node40_13width); Node40_13.setHeight(Node40_13height); Node40_13._nodeType = 'text'; Node40_13._disallowEvert = true; Node40_13.setRotation(0*Math.PI/180); Node40_13.a('node.width', Node40_13width); Node40_13.a('node.height', Node40_13height); Node40_13.a('node.rect', [0, 0, Node40_13width, Node40_13height]); Node40_13.a('node.bordercolor','rgba(0,0,0,1)'); Node40_13.a('node.borderwidth', 0); Node40_13.a('node.background','' || 'rgba(0,0,0,0)'); Node40_13.a('node.gradient',''); Node40_13.a('node.gradientcolor',''); Node40_13.a('node.text','340.14'); Node40_13.a('node.textalign','center'); Node40_13.a('node.textvAlign','middle'); Node40_13.a('node.textrect', [Node40_13textStart, 0, Node40_13textWidth, Node40_13height]); Node40_13.a('node.color','rgba(0,0,0,1)'); Node40_13.a('node.font','bold '+ Node40_13fontSize + 'px "UniDreamLED"'); Node40_13.a('node.textvisible',true); Node40_13.a('node.linefeed',false); if (false) { Node40_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_13.a('node.text') || '340.14'; var color=Node40_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_13width,Node40_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_13.a('node.underlinepoints',[Node40_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width + 6, (Node40_13height - Node40_13fontSize) * 0.5*_ratio.ratioY + Node40_13fontSize + 2 ]); Node40_13.a('node.underlinevisible',false); Node40_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_13); zoomNodeList.push({ node: Node40_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_14 = new ht.Node(); var Node40_14textStart, Node40_14textWidth, Node40_14lineStart, Node40_14align = 'center', Node40_14fontSize = 13.3333*_ratio.ratioY,Node40_14width = 110*_ratio.ratioX, Node40_14height = 27*_ratio.ratioY; (function () { if (Node40_14align === 'left') { Node40_14textStart = Node40_14fontSize * 0.2 > 2 ? Node40_14fontSize * 0.2 - 4 : Node40_14fontSize * 0.2 - 9; Node40_14textWidth = Node40_14width; Node40_14lineStart = 1; } else if (Node40_14align === 'right') { Node40_14textStart = 0; Node40_14textWidth =Node40_14fontSize <= 8 ? Node40_14width + Node40_14fontSize * 0.2 + 6 : Node40_14width - Node40_14fontSize * 0.2; Node40_14lineStart = (Node40_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_14align === 'center') { Node40_14textStart = -3; Node40_14textWidth = Node40_14width; Node40_14lineStart = Node40_14width - ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_14.setImage(GD.getTextJSON(Node40_14width, Node40_14height, true, false, false, 'bold '+ Node40_14fontSize + 'px "UniDreamLED"')) Node40_14.setPosition(1208*ratio.ratioX, 284*ratio.ratioY); Node40_14.setWidth(Node40_14width); Node40_14.setHeight(Node40_14height); Node40_14._nodeType = 'text'; Node40_14._disallowEvert = true; Node40_14.setRotation(0*Math.PI/180); Node40_14.a('node.width', Node40_14width); Node40_14.a('node.height', Node40_14height); Node40_14.a('node.rect', [0, 0, Node40_14width, Node40_14height]); Node40_14.a('node.bordercolor','rgba(0,0,0,1)'); Node40_14.a('node.borderwidth', 0); Node40_14.a('node.background','' || 'rgba(0,0,0,0)'); Node40_14.a('node.gradient',''); Node40_14.a('node.gradientcolor',''); Node40_14.a('node.text','60.61'); Node40_14.a('node.textalign','center'); Node40_14.a('node.textvAlign','middle'); Node40_14.a('node.textrect', [Node40_14textStart, 0, Node40_14textWidth, Node40_14height]); Node40_14.a('node.color','rgba(0,0,0,1)'); Node40_14.a('node.font','bold '+ Node40_14fontSize + 'px "UniDreamLED"'); Node40_14.a('node.textvisible',true); Node40_14.a('node.linefeed',false); if (false) { Node40_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_14.a('node.text') || '60.61'; var color=Node40_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_14width,Node40_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_14.a('node.underlinepoints',[Node40_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width + 6, (Node40_14height - Node40_14fontSize) * 0.5*_ratio.ratioY + Node40_14fontSize + 2 ]); Node40_14.a('node.underlinevisible',false); Node40_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_14); zoomNodeList.push({ node: Node40_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_15 = new ht.Node(); var Node40_15textStart, Node40_15textWidth, Node40_15lineStart, Node40_15align = 'center', Node40_15fontSize = 13.3333*_ratio.ratioY,Node40_15width = 110*_ratio.ratioX, Node40_15height = 27*_ratio.ratioY; (function () { if (Node40_15align === 'left') { Node40_15textStart = Node40_15fontSize * 0.2 > 2 ? Node40_15fontSize * 0.2 - 4 : Node40_15fontSize * 0.2 - 9; Node40_15textWidth = Node40_15width; Node40_15lineStart = 1; } else if (Node40_15align === 'right') { Node40_15textStart = 0; Node40_15textWidth =Node40_15fontSize <= 8 ? Node40_15width + Node40_15fontSize * 0.2 + 6 : Node40_15width - Node40_15fontSize * 0.2; Node40_15lineStart = (Node40_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_15align === 'center') { Node40_15textStart = -3; Node40_15textWidth = Node40_15width; Node40_15lineStart = Node40_15width - ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_15.setImage(GD.getTextJSON(Node40_15width, Node40_15height, true, false, false, 'bold '+ Node40_15fontSize + 'px "UniDreamLED"')) Node40_15.setPosition(1208*ratio.ratioX, 317*ratio.ratioY); Node40_15.setWidth(Node40_15width); Node40_15.setHeight(Node40_15height); Node40_15._nodeType = 'text'; Node40_15._disallowEvert = true; Node40_15.setRotation(0*Math.PI/180); Node40_15.a('node.width', Node40_15width); Node40_15.a('node.height', Node40_15height); Node40_15.a('node.rect', [0, 0, Node40_15width, Node40_15height]); Node40_15.a('node.bordercolor','rgba(0,0,0,1)'); Node40_15.a('node.borderwidth', 0); Node40_15.a('node.background','' || 'rgba(0,0,0,0)'); Node40_15.a('node.gradient',''); Node40_15.a('node.gradientcolor',''); Node40_15.a('node.text','166.79'); Node40_15.a('node.textalign','center'); Node40_15.a('node.textvAlign','middle'); Node40_15.a('node.textrect', [Node40_15textStart, 0, Node40_15textWidth, Node40_15height]); Node40_15.a('node.color','rgba(0,0,0,1)'); Node40_15.a('node.font','bold '+ Node40_15fontSize + 'px "UniDreamLED"'); Node40_15.a('node.textvisible',true); Node40_15.a('node.linefeed',false); if (false) { Node40_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_15.a('node.text') || '166.79'; var color=Node40_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_15width,Node40_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_15.a('node.underlinepoints',[Node40_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width + 6, (Node40_15height - Node40_15fontSize) * 0.5*_ratio.ratioY + Node40_15fontSize + 2 ]); Node40_15.a('node.underlinevisible',false); Node40_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_15); zoomNodeList.push({ node: Node40_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_16 = new ht.Node(); var Node40_16textStart, Node40_16textWidth, Node40_16lineStart, Node40_16align = 'center', Node40_16fontSize = 13.3333*_ratio.ratioY,Node40_16width = 110*_ratio.ratioX, Node40_16height = 27*_ratio.ratioY; (function () { if (Node40_16align === 'left') { Node40_16textStart = Node40_16fontSize * 0.2 > 2 ? Node40_16fontSize * 0.2 - 4 : Node40_16fontSize * 0.2 - 9; Node40_16textWidth = Node40_16width; Node40_16lineStart = 1; } else if (Node40_16align === 'right') { Node40_16textStart = 0; Node40_16textWidth =Node40_16fontSize <= 8 ? Node40_16width + Node40_16fontSize * 0.2 + 6 : Node40_16width - Node40_16fontSize * 0.2; Node40_16lineStart = (Node40_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_16align === 'center') { Node40_16textStart = -3; Node40_16textWidth = Node40_16width; Node40_16lineStart = Node40_16width - ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_16.setImage(GD.getTextJSON(Node40_16width, Node40_16height, true, false, false, 'bold '+ Node40_16fontSize + 'px "UniDreamLED"')) Node40_16.setPosition(1208*ratio.ratioX, 346*ratio.ratioY); Node40_16.setWidth(Node40_16width); Node40_16.setHeight(Node40_16height); Node40_16._nodeType = 'text'; Node40_16._disallowEvert = true; Node40_16.setRotation(0*Math.PI/180); Node40_16.a('node.width', Node40_16width); Node40_16.a('node.height', Node40_16height); Node40_16.a('node.rect', [0, 0, Node40_16width, Node40_16height]); Node40_16.a('node.bordercolor','rgba(0,0,0,1)'); Node40_16.a('node.borderwidth', 0); Node40_16.a('node.background','' || 'rgba(0,0,0,0)'); Node40_16.a('node.gradient',''); Node40_16.a('node.gradientcolor',''); Node40_16.a('node.text','66.18'); Node40_16.a('node.textalign','center'); Node40_16.a('node.textvAlign','middle'); Node40_16.a('node.textrect', [Node40_16textStart, 0, Node40_16textWidth, Node40_16height]); Node40_16.a('node.color','rgba(0,0,0,1)'); Node40_16.a('node.font','bold '+ Node40_16fontSize + 'px "UniDreamLED"'); Node40_16.a('node.textvisible',true); Node40_16.a('node.linefeed',false); if (false) { Node40_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_16.a('node.text') || '66.18'; var color=Node40_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_16width,Node40_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_16.a('node.underlinepoints',[Node40_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width + 6, (Node40_16height - Node40_16fontSize) * 0.5*_ratio.ratioY + Node40_16fontSize + 2 ]); Node40_16.a('node.underlinevisible',false); Node40_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_16); zoomNodeList.push({ node: Node40_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_17 = new ht.Node(); var Node40_17textStart, Node40_17textWidth, Node40_17lineStart, Node40_17align = 'center', Node40_17fontSize = 13.3333*_ratio.ratioY,Node40_17width = 110*_ratio.ratioX, Node40_17height = 27*_ratio.ratioY; (function () { if (Node40_17align === 'left') { Node40_17textStart = Node40_17fontSize * 0.2 > 2 ? Node40_17fontSize * 0.2 - 4 : Node40_17fontSize * 0.2 - 9; Node40_17textWidth = Node40_17width; Node40_17lineStart = 1; } else if (Node40_17align === 'right') { Node40_17textStart = 0; Node40_17textWidth =Node40_17fontSize <= 8 ? Node40_17width + Node40_17fontSize * 0.2 + 6 : Node40_17width - Node40_17fontSize * 0.2; Node40_17lineStart = (Node40_17width - (ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node40_17align === 'center') { Node40_17textStart = -3; Node40_17textWidth = Node40_17width; Node40_17lineStart = Node40_17width - ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node40_17.setImage(GD.getTextJSON(Node40_17width, Node40_17height, true, false, false, 'bold '+ Node40_17fontSize + 'px "UniDreamLED"')) Node40_17.setPosition(1208*ratio.ratioX, 377*ratio.ratioY); Node40_17.setWidth(Node40_17width); Node40_17.setHeight(Node40_17height); Node40_17._nodeType = 'text'; Node40_17._disallowEvert = true; Node40_17.setRotation(0*Math.PI/180); Node40_17.a('node.width', Node40_17width); Node40_17.a('node.height', Node40_17height); Node40_17.a('node.rect', [0, 0, Node40_17width, Node40_17height]); Node40_17.a('node.bordercolor','rgba(0,0,0,1)'); Node40_17.a('node.borderwidth', 0); Node40_17.a('node.background','' || 'rgba(0,0,0,0)'); Node40_17.a('node.gradient',''); Node40_17.a('node.gradientcolor',''); Node40_17.a('node.text','-'); Node40_17.a('node.textalign','center'); Node40_17.a('node.textvAlign','middle'); Node40_17.a('node.textrect', [Node40_17textStart, 0, Node40_17textWidth, Node40_17height]); Node40_17.a('node.color','rgba(0,0,0,1)'); Node40_17.a('node.font','bold '+ Node40_17fontSize + 'px "UniDreamLED"'); Node40_17.a('node.textvisible',true); Node40_17.a('node.linefeed',false); if (false) { Node40_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_17.a('node.text') || '-'; var color=Node40_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_17width,Node40_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node40_17.a('node.underlinepoints',[Node40_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width + 6, (Node40_17height - Node40_17fontSize) * 0.5*_ratio.ratioY + Node40_17fontSize + 2 ]); Node40_17.a('node.underlinevisible',false); Node40_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_17); zoomNodeList.push({ node: Node40_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node41_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node41_0 = new ht.Node(); Node41_0.setPosition(1208*ratio.ratioX, 237*ratio.ratioY); Node41_0.setSize(127*ratioX, 313*ratioY); Node41_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node41_0.setRotation(0*Math.PI/180); Node41_0._zoomBy = 'Default'; Node41_0._nodeType = 'image'; Node41_0._disallowEvert = true; dataModel.add(Node41_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node41_1 = new ht.Node(); var Node41_1textStart, Node41_1textWidth, Node41_1lineStart, Node41_1align = 'center', Node41_1fontSize = 13.3333*_ratio.ratioY,Node41_1width = 105*_ratio.ratioX, Node41_1height = 27*_ratio.ratioY; (function () { if (Node41_1align === 'left') { Node41_1textStart = Node41_1fontSize * 0.2 > 2 ? Node41_1fontSize * 0.2 - 4 : Node41_1fontSize * 0.2 - 9; Node41_1textWidth = Node41_1width; Node41_1lineStart = 1; } else if (Node41_1align === 'right') { Node41_1textStart = 0; Node41_1textWidth =Node41_1fontSize <= 8 ? Node41_1width + Node41_1fontSize * 0.2 + 6 : Node41_1width - Node41_1fontSize * 0.2; Node41_1lineStart = (Node41_1width - (ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node41_1align === 'center') { Node41_1textStart = -3; Node41_1textWidth = Node41_1width; Node41_1lineStart = Node41_1width - ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width - 11; } })(); Node41_1.setImage(GD.getTextJSON(Node41_1width, Node41_1height, true, false, false, 'bold '+ Node41_1fontSize + 'px "Arial"')) Node41_1.setPosition(1203*ratio.ratioX, 102*ratio.ratioY); Node41_1.setWidth(Node41_1width); Node41_1.setHeight(Node41_1height); Node41_1._nodeType = 'text'; Node41_1._disallowEvert = true; Node41_1.setRotation(0*Math.PI/180); Node41_1.a('node.width', Node41_1width); Node41_1.a('node.height', Node41_1height); Node41_1.a('node.rect', [0, 0, Node41_1width, Node41_1height]); Node41_1.a('node.bordercolor','rgba(255,255,255,1)'); Node41_1.a('node.borderwidth', 0); Node41_1.a('node.background','' || 'rgba(0,0,0,0)'); Node41_1.a('node.gradient',''); Node41_1.a('node.gradientcolor',''); Node41_1.a('node.text','理论发电量'); Node41_1.a('node.textalign','center'); Node41_1.a('node.textvAlign','middle'); Node41_1.a('node.textrect', [Node41_1textStart, 0, Node41_1textWidth, Node41_1height]); Node41_1.a('node.color','rgba(255,255,255,1)'); Node41_1.a('node.font','bold '+ Node41_1fontSize + 'px "Arial"'); Node41_1.a('node.textvisible',true); Node41_1.a('node.linefeed',false); if (false) { Node41_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node41_1.a('node.text') || '理论发电量'; var color=Node41_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41_1width,Node41_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node41_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node41_1.a('node.underlinepoints',[Node41_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node41_1fontSize + 2 , ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width + 6, (Node41_1height - Node41_1fontSize) * 0.5*_ratio.ratioY + Node41_1fontSize + 2 ]); Node41_1.a('node.underlinevisible',false); Node41_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node41_1); zoomNodeList.push({ node: Node41_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_0type = 'rect'; var Node42_0 = new ht.Node(), Node42_0BorderWidth = 0*2; if (Node42_0type === 'arc') { Node42_0BorderWidth *= 0; } Node42_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_0.setPosition(1335*ratio.ratioX, 190*ratio.ratioY); Node42_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_0.a('node.width', 127*_ratio.ratioX); Node42_0.a('node.height', 32*_ratio.ratioY); Node42_0.a('node.type', Node42_0type); Node42_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_0.a('node.background', 'rgba(245,245,245,1)'); Node42_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node42_0.a('node.gradient', ''); Node42_0.a('node.borderwidth', Node42_0BorderWidth); Node42_0.a('node.color', 'rgba(192,192,192,0)'); Node42_0.a('node.fillrect', [0,0,0,0]); Node42_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_0.a('node.fillgradient', ''); if (Node42_0type !== 'rect') { Node42_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_0.a('node.arcTo', parseFloat('@arcTo@')); Node42_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_0type === 'arc') { Node42_0.a('node.arcOval', true); } Node42_0.setRotation(0*Math.PI/180); Node42_0.borderWidth = Node42_0BorderWidth; Node42_0.borderFillwidth = Node42_0BorderWidth; dataModel.add(Node42_0); Node42_0._nodename = 'Node42_0' Node42_0._nodeType = 'rect'; zoomNodeList.push({ node: Node42_0, 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); } })(Node42_0, Node42_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_1type = 'rect'; var Node42_1 = new ht.Node(), Node42_1BorderWidth = 0*2; if (Node42_1type === 'arc') { Node42_1BorderWidth *= 0; } Node42_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_1.setPosition(1335*ratio.ratioX, 222*ratio.ratioY); Node42_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_1.a('node.width', 127*_ratio.ratioX); Node42_1.a('node.height', 32*_ratio.ratioY); Node42_1.a('node.type', Node42_1type); Node42_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node42_1.a('node.gradientcolor', ''); Node42_1.a('node.gradient', ''); Node42_1.a('node.borderwidth', Node42_1BorderWidth); Node42_1.a('node.color', 'rgba(192,192,192,0)'); Node42_1.a('node.fillrect', [0,0,0,0]); Node42_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_1.a('node.fillgradient', ''); if (Node42_1type !== 'rect') { Node42_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_1.a('node.arcTo', parseFloat('@arcTo@')); Node42_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_1type === 'arc') { Node42_1.a('node.arcOval', true); } Node42_1.setRotation(0*Math.PI/180); Node42_1.borderWidth = Node42_1BorderWidth; Node42_1.borderFillwidth = Node42_1BorderWidth; dataModel.add(Node42_1); Node42_1._nodename = 'Node42_1' Node42_1._nodeType = 'rect'; zoomNodeList.push({ node: Node42_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); } })(Node42_1, Node42_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_2type = 'rect'; var Node42_2 = new ht.Node(), Node42_2BorderWidth = 0*2; if (Node42_2type === 'arc') { Node42_2BorderWidth *= 0; } Node42_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_2.setPosition(1335*ratio.ratioX, 254*ratio.ratioY); Node42_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_2.a('node.width', 127*_ratio.ratioX); Node42_2.a('node.height', 32*_ratio.ratioY); Node42_2.a('node.type', Node42_2type); Node42_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_2.a('node.background', 'rgba(245,245,245,1)'); Node42_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node42_2.a('node.gradient', ''); Node42_2.a('node.borderwidth', Node42_2BorderWidth); Node42_2.a('node.color', 'rgba(192,192,192,0)'); Node42_2.a('node.fillrect', [0,0,0,0]); Node42_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_2.a('node.fillgradient', ''); if (Node42_2type !== 'rect') { Node42_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_2.a('node.arcTo', parseFloat('@arcTo@')); Node42_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_2type === 'arc') { Node42_2.a('node.arcOval', true); } Node42_2.setRotation(0*Math.PI/180); Node42_2.borderWidth = Node42_2BorderWidth; Node42_2.borderFillwidth = Node42_2BorderWidth; dataModel.add(Node42_2); Node42_2._nodename = 'Node42_2' Node42_2._nodeType = 'rect'; zoomNodeList.push({ node: Node42_2, 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); } })(Node42_2, Node42_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_3type = 'rect'; var Node42_3 = new ht.Node(), Node42_3BorderWidth = 0*2; if (Node42_3type === 'arc') { Node42_3BorderWidth *= 0; } Node42_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_3.setPosition(1335*ratio.ratioX, 285*ratio.ratioY); Node42_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_3.a('node.width', 127*_ratio.ratioX); Node42_3.a('node.height', 32*_ratio.ratioY); Node42_3.a('node.type', Node42_3type); Node42_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node42_3.a('node.gradientcolor', ''); Node42_3.a('node.gradient', ''); Node42_3.a('node.borderwidth', Node42_3BorderWidth); Node42_3.a('node.color', 'rgba(192,192,192,0)'); Node42_3.a('node.fillrect', [0,0,0,0]); Node42_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_3.a('node.fillgradient', ''); if (Node42_3type !== 'rect') { Node42_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_3.a('node.arcTo', parseFloat('@arcTo@')); Node42_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_3type === 'arc') { Node42_3.a('node.arcOval', true); } Node42_3.setRotation(0*Math.PI/180); Node42_3.borderWidth = Node42_3BorderWidth; Node42_3.borderFillwidth = Node42_3BorderWidth; dataModel.add(Node42_3); Node42_3._nodename = 'Node42_3' Node42_3._nodeType = 'rect'; zoomNodeList.push({ node: Node42_3, 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); } })(Node42_3, Node42_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_4type = 'rect'; var Node42_4 = new ht.Node(), Node42_4BorderWidth = 0*2; if (Node42_4type === 'arc') { Node42_4BorderWidth *= 0; } Node42_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_4.setPosition(1335*ratio.ratioX, 316*ratio.ratioY); Node42_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_4.a('node.width', 127*_ratio.ratioX); Node42_4.a('node.height', 32*_ratio.ratioY); Node42_4.a('node.type', Node42_4type); Node42_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_4.a('node.background', 'rgba(245,245,245,1)'); Node42_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node42_4.a('node.gradient', ''); Node42_4.a('node.borderwidth', Node42_4BorderWidth); Node42_4.a('node.color', 'rgba(192,192,192,0)'); Node42_4.a('node.fillrect', [0,0,0,0]); Node42_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_4.a('node.fillgradient', ''); if (Node42_4type !== 'rect') { Node42_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_4.a('node.arcTo', parseFloat('@arcTo@')); Node42_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_4type === 'arc') { Node42_4.a('node.arcOval', true); } Node42_4.setRotation(0*Math.PI/180); Node42_4.borderWidth = Node42_4BorderWidth; Node42_4.borderFillwidth = Node42_4BorderWidth; dataModel.add(Node42_4); Node42_4._nodename = 'Node42_4' Node42_4._nodeType = 'rect'; zoomNodeList.push({ node: Node42_4, 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); } })(Node42_4, Node42_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_5type = 'rect'; var Node42_5 = new ht.Node(), Node42_5BorderWidth = 0*2; if (Node42_5type === 'arc') { Node42_5BorderWidth *= 0; } Node42_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_5.setPosition(1335*ratio.ratioX, 347*ratio.ratioY); Node42_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_5.a('node.width', 127*_ratio.ratioX); Node42_5.a('node.height', 32*_ratio.ratioY); Node42_5.a('node.type', Node42_5type); Node42_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node42_5.a('node.gradientcolor', ''); Node42_5.a('node.gradient', ''); Node42_5.a('node.borderwidth', Node42_5BorderWidth); Node42_5.a('node.color', 'rgba(192,192,192,0)'); Node42_5.a('node.fillrect', [0,0,0,0]); Node42_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_5.a('node.fillgradient', ''); if (Node42_5type !== 'rect') { Node42_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_5.a('node.arcTo', parseFloat('@arcTo@')); Node42_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_5type === 'arc') { Node42_5.a('node.arcOval', true); } Node42_5.setRotation(0*Math.PI/180); Node42_5.borderWidth = Node42_5BorderWidth; Node42_5.borderFillwidth = Node42_5BorderWidth; dataModel.add(Node42_5); Node42_5._nodename = 'Node42_5' Node42_5._nodeType = 'rect'; zoomNodeList.push({ node: Node42_5, 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); } })(Node42_5, Node42_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_6type = 'rect'; var Node42_6 = new ht.Node(), Node42_6BorderWidth = 0*2; if (Node42_6type === 'arc') { Node42_6BorderWidth *= 0; } Node42_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_6.setPosition(1335*ratio.ratioX, 378*ratio.ratioY); Node42_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node42_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_6.a('node.width', 127*_ratio.ratioX); Node42_6.a('node.height', 32*_ratio.ratioY); Node42_6.a('node.type', Node42_6type); Node42_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node42_6.a('node.background', 'rgba(245,245,245,1)'); Node42_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node42_6.a('node.gradient', ''); Node42_6.a('node.borderwidth', Node42_6BorderWidth); Node42_6.a('node.color', 'rgba(192,192,192,0)'); Node42_6.a('node.fillrect', [0,0,0,0]); Node42_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_6.a('node.fillgradient', ''); if (Node42_6type !== 'rect') { Node42_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_6.a('node.arcTo', parseFloat('@arcTo@')); Node42_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_6type === 'arc') { Node42_6.a('node.arcOval', true); } Node42_6.setRotation(0*Math.PI/180); Node42_6.borderWidth = Node42_6BorderWidth; Node42_6.borderFillwidth = Node42_6BorderWidth; dataModel.add(Node42_6); Node42_6._nodename = 'Node42_6' Node42_6._nodeType = 'rect'; zoomNodeList.push({ node: Node42_6, 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); } })(Node42_6, Node42_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_7type = 'rect'; var Node42_7 = new ht.Node(), Node42_7BorderWidth = 1*2; if (Node42_7type === 'arc') { Node42_7BorderWidth *= 1; } Node42_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node42_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node42_7.setPosition(1335*ratio.ratioX, 239*ratio.ratioY); Node42_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node42_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node42_7.a('node.width', 127*_ratio.ratioX); Node42_7.a('node.height', 309*_ratio.ratioY); Node42_7.a('node.type', Node42_7type); Node42_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node42_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node42_7.a('node.gradientcolor', ''); Node42_7.a('node.gradient', ''); Node42_7.a('node.borderwidth', Node42_7BorderWidth); Node42_7.a('node.color', 'rgba(192,192,192,1)'); Node42_7.a('node.fillrect', [0,0,0,0]); Node42_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node42_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node42_7.a('node.fillgradient', ''); if (Node42_7type !== 'rect') { Node42_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node42_7.a('node.arcTo', parseFloat('@arcTo@')); Node42_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node42_7type === 'arc') { Node42_7.a('node.arcOval', true); } Node42_7.setRotation(0*Math.PI/180); Node42_7.borderWidth = Node42_7BorderWidth; Node42_7.borderFillwidth = Node42_7BorderWidth; dataModel.add(Node42_7); Node42_7._nodename = 'Node42_7' Node42_7._nodeType = 'rect'; zoomNodeList.push({ node: Node42_7, 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); } })(Node42_7, Node42_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_8 = new ht.Node(); var Node42_8textStart, Node42_8textWidth, Node42_8lineStart, Node42_8align = 'center', Node42_8fontSize = 13.3333*_ratio.ratioY,Node42_8width = 105*_ratio.ratioX, Node42_8height = 27*_ratio.ratioY; (function () { if (Node42_8align === 'left') { Node42_8textStart = Node42_8fontSize * 0.2 > 2 ? Node42_8fontSize * 0.2 - 4 : Node42_8fontSize * 0.2 - 9; Node42_8textWidth = Node42_8width; Node42_8lineStart = 1; } else if (Node42_8align === 'right') { Node42_8textStart = 0; Node42_8textWidth =Node42_8fontSize <= 8 ? Node42_8width + Node42_8fontSize * 0.2 + 6 : Node42_8width - Node42_8fontSize * 0.2; Node42_8lineStart = (Node42_8width - (ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node42_8align === 'center') { Node42_8textStart = -3; Node42_8textWidth = Node42_8width; Node42_8lineStart = Node42_8width - ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width - 11; } })(); Node42_8.setImage(GD.getTextJSON(Node42_8width, Node42_8height, true, false, false, 'bold '+ Node42_8fontSize + 'px "Arial"')) Node42_8.setPosition(1332*ratio.ratioX, 103*ratio.ratioY); Node42_8.setWidth(Node42_8width); Node42_8.setHeight(Node42_8height); Node42_8._nodeType = 'text'; Node42_8._disallowEvert = true; Node42_8.setRotation(0*Math.PI/180); Node42_8.a('node.width', Node42_8width); Node42_8.a('node.height', Node42_8height); Node42_8.a('node.rect', [0, 0, Node42_8width, Node42_8height]); Node42_8.a('node.bordercolor','rgba(255,255,255,1)'); Node42_8.a('node.borderwidth', 0); Node42_8.a('node.background','' || 'rgba(0,0,0,0)'); Node42_8.a('node.gradient',''); Node42_8.a('node.gradientcolor',''); Node42_8.a('node.text','维护损失电量'); Node42_8.a('node.textalign','center'); Node42_8.a('node.textvAlign','middle'); Node42_8.a('node.textrect', [Node42_8textStart, 0, Node42_8textWidth, Node42_8height]); Node42_8.a('node.color','rgba(255,255,255,1)'); Node42_8.a('node.font','bold '+ Node42_8fontSize + 'px "Arial"'); Node42_8.a('node.textvisible',true); Node42_8.a('node.linefeed',false); if (false) { Node42_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_8.a('node.text') || '维护损失电量'; var color=Node42_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_8width,Node42_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node42_8.a('node.underlinepoints',[Node42_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_8fontSize + 2 , ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width + 6, (Node42_8height - Node42_8fontSize) * 0.5*_ratio.ratioY + Node42_8fontSize + 2 ]); Node42_8.a('node.underlinevisible',false); Node42_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_8); zoomNodeList.push({ node: Node42_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_9 = new ht.Node(); var Node42_9textStart, Node42_9textWidth, Node42_9lineStart, Node42_9align = 'center', Node42_9fontSize = 11.99997*_ratio.ratioY,Node42_9width = 105*_ratio.ratioX, Node42_9height = 17*_ratio.ratioY; (function () { if (Node42_9align === 'left') { Node42_9textStart = Node42_9fontSize * 0.2 > 2 ? Node42_9fontSize * 0.2 - 4 : Node42_9fontSize * 0.2 - 9; Node42_9textWidth = Node42_9width; Node42_9lineStart = 1; } else if (Node42_9align === 'right') { Node42_9textStart = 0; Node42_9textWidth =Node42_9fontSize <= 8 ? Node42_9width + Node42_9fontSize * 0.2 + 6 : Node42_9width - Node42_9fontSize * 0.2; Node42_9lineStart = (Node42_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node42_9align === 'center') { Node42_9textStart = -3; Node42_9textWidth = Node42_9width; Node42_9lineStart = Node42_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width - 11; } })(); Node42_9.setImage(GD.getTextJSON(Node42_9width, Node42_9height, true, false, false, 'bold '+ Node42_9fontSize + 'px "Arial"')) Node42_9.setPosition(1332*ratio.ratioX, 131*ratio.ratioY); Node42_9.setWidth(Node42_9width); Node42_9.setHeight(Node42_9height); Node42_9._nodeType = 'text'; Node42_9._disallowEvert = true; Node42_9.setRotation(0*Math.PI/180); Node42_9.a('node.width', Node42_9width); Node42_9.a('node.height', Node42_9height); Node42_9.a('node.rect', [0, 0, Node42_9width, Node42_9height]); Node42_9.a('node.bordercolor','rgba(128,128,128,1)'); Node42_9.a('node.borderwidth', 0); Node42_9.a('node.background','' || 'rgba(0,0,0,0)'); Node42_9.a('node.gradient',''); Node42_9.a('node.gradientcolor',''); Node42_9.a('node.text','万kwh'); Node42_9.a('node.textalign','center'); Node42_9.a('node.textvAlign','middle'); Node42_9.a('node.textrect', [Node42_9textStart, 0, Node42_9textWidth, Node42_9height]); Node42_9.a('node.color','rgba(128,128,128,1)'); Node42_9.a('node.font','bold '+ Node42_9fontSize + 'px "Arial"'); Node42_9.a('node.textvisible',true); Node42_9.a('node.linefeed',false); if (false) { Node42_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_9.a('node.text') || '万kwh'; var color=Node42_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node42_9width,Node42_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node42_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node42_9.a('node.underlinepoints',[Node42_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node42_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width + 6, (Node42_9height - Node42_9fontSize) * 0.5*_ratio.ratioY + Node42_9fontSize + 2 ]); Node42_9.a('node.underlinevisible',false); Node42_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_9); zoomNodeList.push({ node: Node42_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_10 = new ht.Node(); var Node42_10textStart, Node42_10textWidth, Node42_10lineStart, Node42_10align = 'center', Node42_10fontSize = 13.3333*_ratio.ratioY,Node42_10width = 105*_ratio.ratioX, Node42_10height = 27*_ratio.ratioY; (function () { if (Node42_10align === 'left') { Node42_10textStart = Node42_10fontSize * 0.2 > 2 ? Node42_10fontSize * 0.2 - 4 : Node42_10fontSize * 0.2 - 9; Node42_10textWidth = Node42_10width; Node42_10lineStart = 1; } else if (Node42_10align === 'right') { Node42_10textStart = 0; Node42_10textWidth =Node42_10fontSize <= 8 ? Node42_10width + Node42_10fontSize * 0.2 + 6 : Node42_10width - Node42_10fontSize * 0.2; Node42_10lineStart = (Node42_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_10align === 'center') { Node42_10textStart = -3; Node42_10textWidth = Node42_10width; Node42_10lineStart = Node42_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_10.setImage(GD.getTextJSON(Node42_10width, Node42_10height, true, false, false, 'bold '+ Node42_10fontSize + 'px "UniDreamLED"')) Node42_10.setPosition(1332*ratio.ratioX, 158*ratio.ratioY); Node42_10.setWidth(Node42_10width); Node42_10.setHeight(Node42_10height); Node42_10._nodeType = 'text'; Node42_10._disallowEvert = true; Node42_10.setRotation(0*Math.PI/180); Node42_10.a('node.width', Node42_10width); Node42_10.a('node.height', Node42_10height); Node42_10.a('node.rect', [0, 0, Node42_10width, Node42_10height]); Node42_10.a('node.bordercolor','rgba(0,0,0,1)'); Node42_10.a('node.borderwidth', 0); Node42_10.a('node.background','' || 'rgba(0,0,0,0)'); Node42_10.a('node.gradient',''); Node42_10.a('node.gradientcolor',''); Node42_10.a('node.text','1134.76'); Node42_10.a('node.textalign','center'); Node42_10.a('node.textvAlign','middle'); Node42_10.a('node.textrect', [Node42_10textStart, 0, Node42_10textWidth, Node42_10height]); Node42_10.a('node.color','rgba(0,0,0,1)'); Node42_10.a('node.font','bold '+ Node42_10fontSize + 'px "UniDreamLED"'); Node42_10.a('node.textvisible',true); Node42_10.a('node.linefeed',false); if (false) { Node42_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_10.a('node.text') || '1134.76'; var color=Node42_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_10width,Node42_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_10.a('node.underlinepoints',[Node42_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width + 6, (Node42_10height - Node42_10fontSize) * 0.5*_ratio.ratioY + Node42_10fontSize + 2 ]); Node42_10.a('node.underlinevisible',false); Node42_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_10); zoomNodeList.push({ node: Node42_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_11 = new ht.Node(); var Node42_11textStart, Node42_11textWidth, Node42_11lineStart, Node42_11align = 'center', Node42_11fontSize = 13.3333*_ratio.ratioY,Node42_11width = 110*_ratio.ratioX, Node42_11height = 27*_ratio.ratioY; (function () { if (Node42_11align === 'left') { Node42_11textStart = Node42_11fontSize * 0.2 > 2 ? Node42_11fontSize * 0.2 - 4 : Node42_11fontSize * 0.2 - 9; Node42_11textWidth = Node42_11width; Node42_11lineStart = 1; } else if (Node42_11align === 'right') { Node42_11textStart = 0; Node42_11textWidth =Node42_11fontSize <= 8 ? Node42_11width + Node42_11fontSize * 0.2 + 6 : Node42_11width - Node42_11fontSize * 0.2; Node42_11lineStart = (Node42_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_11align === 'center') { Node42_11textStart = -3; Node42_11textWidth = Node42_11width; Node42_11lineStart = Node42_11width - ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_11.setImage(GD.getTextJSON(Node42_11width, Node42_11height, true, false, false, 'bold '+ Node42_11fontSize + 'px "UniDreamLED"')) Node42_11.setPosition(1335*ratio.ratioX, 190*ratio.ratioY); Node42_11.setWidth(Node42_11width); Node42_11.setHeight(Node42_11height); Node42_11._nodeType = 'text'; Node42_11._disallowEvert = true; Node42_11.setRotation(0*Math.PI/180); Node42_11.a('node.width', Node42_11width); Node42_11.a('node.height', Node42_11height); Node42_11.a('node.rect', [0, 0, Node42_11width, Node42_11height]); Node42_11.a('node.bordercolor','rgba(0,0,0,1)'); Node42_11.a('node.borderwidth', 0); Node42_11.a('node.background','' || 'rgba(0,0,0,0)'); Node42_11.a('node.gradient',''); Node42_11.a('node.gradientcolor',''); Node42_11.a('node.text','171.51'); Node42_11.a('node.textalign','center'); Node42_11.a('node.textvAlign','middle'); Node42_11.a('node.textrect', [Node42_11textStart, 0, Node42_11textWidth, Node42_11height]); Node42_11.a('node.color','rgba(0,0,0,1)'); Node42_11.a('node.font','bold '+ Node42_11fontSize + 'px "UniDreamLED"'); Node42_11.a('node.textvisible',true); Node42_11.a('node.linefeed',false); if (false) { Node42_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_11.a('node.text') || '171.51'; var color=Node42_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_11width,Node42_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_11.a('node.underlinepoints',[Node42_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width + 6, (Node42_11height - Node42_11fontSize) * 0.5*_ratio.ratioY + Node42_11fontSize + 2 ]); Node42_11.a('node.underlinevisible',false); Node42_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_11); zoomNodeList.push({ node: Node42_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_12 = new ht.Node(); var Node42_12textStart, Node42_12textWidth, Node42_12lineStart, Node42_12align = 'center', Node42_12fontSize = 13.3333*_ratio.ratioY,Node42_12width = 110*_ratio.ratioX, Node42_12height = 27*_ratio.ratioY; (function () { if (Node42_12align === 'left') { Node42_12textStart = Node42_12fontSize * 0.2 > 2 ? Node42_12fontSize * 0.2 - 4 : Node42_12fontSize * 0.2 - 9; Node42_12textWidth = Node42_12width; Node42_12lineStart = 1; } else if (Node42_12align === 'right') { Node42_12textStart = 0; Node42_12textWidth =Node42_12fontSize <= 8 ? Node42_12width + Node42_12fontSize * 0.2 + 6 : Node42_12width - Node42_12fontSize * 0.2; Node42_12lineStart = (Node42_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_12align === 'center') { Node42_12textStart = -3; Node42_12textWidth = Node42_12width; Node42_12lineStart = Node42_12width - ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_12.setImage(GD.getTextJSON(Node42_12width, Node42_12height, true, false, false, 'bold '+ Node42_12fontSize + 'px "UniDreamLED"')) Node42_12.setPosition(1335*ratio.ratioX, 220*ratio.ratioY); Node42_12.setWidth(Node42_12width); Node42_12.setHeight(Node42_12height); Node42_12._nodeType = 'text'; Node42_12._disallowEvert = true; Node42_12.setRotation(0*Math.PI/180); Node42_12.a('node.width', Node42_12width); Node42_12.a('node.height', Node42_12height); Node42_12.a('node.rect', [0, 0, Node42_12width, Node42_12height]); Node42_12.a('node.bordercolor','rgba(0,0,0,1)'); Node42_12.a('node.borderwidth', 0); Node42_12.a('node.background','' || 'rgba(0,0,0,0)'); Node42_12.a('node.gradient',''); Node42_12.a('node.gradientcolor',''); Node42_12.a('node.text','329.51'); Node42_12.a('node.textalign','center'); Node42_12.a('node.textvAlign','middle'); Node42_12.a('node.textrect', [Node42_12textStart, 0, Node42_12textWidth, Node42_12height]); Node42_12.a('node.color','rgba(0,0,0,1)'); Node42_12.a('node.font','bold '+ Node42_12fontSize + 'px "UniDreamLED"'); Node42_12.a('node.textvisible',true); Node42_12.a('node.linefeed',false); if (false) { Node42_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_12.a('node.text') || '329.51'; var color=Node42_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_12width,Node42_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_12.a('node.underlinepoints',[Node42_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width + 6, (Node42_12height - Node42_12fontSize) * 0.5*_ratio.ratioY + Node42_12fontSize + 2 ]); Node42_12.a('node.underlinevisible',false); Node42_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_12); zoomNodeList.push({ node: Node42_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_13 = new ht.Node(); var Node42_13textStart, Node42_13textWidth, Node42_13lineStart, Node42_13align = 'center', Node42_13fontSize = 13.3333*_ratio.ratioY,Node42_13width = 110*_ratio.ratioX, Node42_13height = 27*_ratio.ratioY; (function () { if (Node42_13align === 'left') { Node42_13textStart = Node42_13fontSize * 0.2 > 2 ? Node42_13fontSize * 0.2 - 4 : Node42_13fontSize * 0.2 - 9; Node42_13textWidth = Node42_13width; Node42_13lineStart = 1; } else if (Node42_13align === 'right') { Node42_13textStart = 0; Node42_13textWidth =Node42_13fontSize <= 8 ? Node42_13width + Node42_13fontSize * 0.2 + 6 : Node42_13width - Node42_13fontSize * 0.2; Node42_13lineStart = (Node42_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_13align === 'center') { Node42_13textStart = -3; Node42_13textWidth = Node42_13width; Node42_13lineStart = Node42_13width - ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_13.setImage(GD.getTextJSON(Node42_13width, Node42_13height, true, false, false, 'bold '+ Node42_13fontSize + 'px "UniDreamLED"')) Node42_13.setPosition(1335*ratio.ratioX, 250*ratio.ratioY); Node42_13.setWidth(Node42_13width); Node42_13.setHeight(Node42_13height); Node42_13._nodeType = 'text'; Node42_13._disallowEvert = true; Node42_13.setRotation(0*Math.PI/180); Node42_13.a('node.width', Node42_13width); Node42_13.a('node.height', Node42_13height); Node42_13.a('node.rect', [0, 0, Node42_13width, Node42_13height]); Node42_13.a('node.bordercolor','rgba(0,0,0,1)'); Node42_13.a('node.borderwidth', 0); Node42_13.a('node.background','' || 'rgba(0,0,0,0)'); Node42_13.a('node.gradient',''); Node42_13.a('node.gradientcolor',''); Node42_13.a('node.text','340.14'); Node42_13.a('node.textalign','center'); Node42_13.a('node.textvAlign','middle'); Node42_13.a('node.textrect', [Node42_13textStart, 0, Node42_13textWidth, Node42_13height]); Node42_13.a('node.color','rgba(0,0,0,1)'); Node42_13.a('node.font','bold '+ Node42_13fontSize + 'px "UniDreamLED"'); Node42_13.a('node.textvisible',true); Node42_13.a('node.linefeed',false); if (false) { Node42_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_13.a('node.text') || '340.14'; var color=Node42_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_13width,Node42_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_13.a('node.underlinepoints',[Node42_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width + 6, (Node42_13height - Node42_13fontSize) * 0.5*_ratio.ratioY + Node42_13fontSize + 2 ]); Node42_13.a('node.underlinevisible',false); Node42_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_13); zoomNodeList.push({ node: Node42_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_14 = new ht.Node(); var Node42_14textStart, Node42_14textWidth, Node42_14lineStart, Node42_14align = 'center', Node42_14fontSize = 13.3333*_ratio.ratioY,Node42_14width = 110*_ratio.ratioX, Node42_14height = 27*_ratio.ratioY; (function () { if (Node42_14align === 'left') { Node42_14textStart = Node42_14fontSize * 0.2 > 2 ? Node42_14fontSize * 0.2 - 4 : Node42_14fontSize * 0.2 - 9; Node42_14textWidth = Node42_14width; Node42_14lineStart = 1; } else if (Node42_14align === 'right') { Node42_14textStart = 0; Node42_14textWidth =Node42_14fontSize <= 8 ? Node42_14width + Node42_14fontSize * 0.2 + 6 : Node42_14width - Node42_14fontSize * 0.2; Node42_14lineStart = (Node42_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_14align === 'center') { Node42_14textStart = -3; Node42_14textWidth = Node42_14width; Node42_14lineStart = Node42_14width - ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_14.setImage(GD.getTextJSON(Node42_14width, Node42_14height, true, false, false, 'bold '+ Node42_14fontSize + 'px "UniDreamLED"')) Node42_14.setPosition(1335*ratio.ratioX, 284*ratio.ratioY); Node42_14.setWidth(Node42_14width); Node42_14.setHeight(Node42_14height); Node42_14._nodeType = 'text'; Node42_14._disallowEvert = true; Node42_14.setRotation(0*Math.PI/180); Node42_14.a('node.width', Node42_14width); Node42_14.a('node.height', Node42_14height); Node42_14.a('node.rect', [0, 0, Node42_14width, Node42_14height]); Node42_14.a('node.bordercolor','rgba(0,0,0,1)'); Node42_14.a('node.borderwidth', 0); Node42_14.a('node.background','' || 'rgba(0,0,0,0)'); Node42_14.a('node.gradient',''); Node42_14.a('node.gradientcolor',''); Node42_14.a('node.text','60.61'); Node42_14.a('node.textalign','center'); Node42_14.a('node.textvAlign','middle'); Node42_14.a('node.textrect', [Node42_14textStart, 0, Node42_14textWidth, Node42_14height]); Node42_14.a('node.color','rgba(0,0,0,1)'); Node42_14.a('node.font','bold '+ Node42_14fontSize + 'px "UniDreamLED"'); Node42_14.a('node.textvisible',true); Node42_14.a('node.linefeed',false); if (false) { Node42_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_14.a('node.text') || '60.61'; var color=Node42_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_14width,Node42_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_14.a('node.underlinepoints',[Node42_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width + 6, (Node42_14height - Node42_14fontSize) * 0.5*_ratio.ratioY + Node42_14fontSize + 2 ]); Node42_14.a('node.underlinevisible',false); Node42_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_14); zoomNodeList.push({ node: Node42_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_15 = new ht.Node(); var Node42_15textStart, Node42_15textWidth, Node42_15lineStart, Node42_15align = 'center', Node42_15fontSize = 13.3333*_ratio.ratioY,Node42_15width = 110*_ratio.ratioX, Node42_15height = 27*_ratio.ratioY; (function () { if (Node42_15align === 'left') { Node42_15textStart = Node42_15fontSize * 0.2 > 2 ? Node42_15fontSize * 0.2 - 4 : Node42_15fontSize * 0.2 - 9; Node42_15textWidth = Node42_15width; Node42_15lineStart = 1; } else if (Node42_15align === 'right') { Node42_15textStart = 0; Node42_15textWidth =Node42_15fontSize <= 8 ? Node42_15width + Node42_15fontSize * 0.2 + 6 : Node42_15width - Node42_15fontSize * 0.2; Node42_15lineStart = (Node42_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_15align === 'center') { Node42_15textStart = -3; Node42_15textWidth = Node42_15width; Node42_15lineStart = Node42_15width - ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_15.setImage(GD.getTextJSON(Node42_15width, Node42_15height, true, false, false, 'bold '+ Node42_15fontSize + 'px "UniDreamLED"')) Node42_15.setPosition(1335*ratio.ratioX, 317*ratio.ratioY); Node42_15.setWidth(Node42_15width); Node42_15.setHeight(Node42_15height); Node42_15._nodeType = 'text'; Node42_15._disallowEvert = true; Node42_15.setRotation(0*Math.PI/180); Node42_15.a('node.width', Node42_15width); Node42_15.a('node.height', Node42_15height); Node42_15.a('node.rect', [0, 0, Node42_15width, Node42_15height]); Node42_15.a('node.bordercolor','rgba(0,0,0,1)'); Node42_15.a('node.borderwidth', 0); Node42_15.a('node.background','' || 'rgba(0,0,0,0)'); Node42_15.a('node.gradient',''); Node42_15.a('node.gradientcolor',''); Node42_15.a('node.text','166.79'); Node42_15.a('node.textalign','center'); Node42_15.a('node.textvAlign','middle'); Node42_15.a('node.textrect', [Node42_15textStart, 0, Node42_15textWidth, Node42_15height]); Node42_15.a('node.color','rgba(0,0,0,1)'); Node42_15.a('node.font','bold '+ Node42_15fontSize + 'px "UniDreamLED"'); Node42_15.a('node.textvisible',true); Node42_15.a('node.linefeed',false); if (false) { Node42_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_15.a('node.text') || '166.79'; var color=Node42_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_15width,Node42_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_15.a('node.underlinepoints',[Node42_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width + 6, (Node42_15height - Node42_15fontSize) * 0.5*_ratio.ratioY + Node42_15fontSize + 2 ]); Node42_15.a('node.underlinevisible',false); Node42_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_15); zoomNodeList.push({ node: Node42_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_16 = new ht.Node(); var Node42_16textStart, Node42_16textWidth, Node42_16lineStart, Node42_16align = 'center', Node42_16fontSize = 13.3333*_ratio.ratioY,Node42_16width = 110*_ratio.ratioX, Node42_16height = 27*_ratio.ratioY; (function () { if (Node42_16align === 'left') { Node42_16textStart = Node42_16fontSize * 0.2 > 2 ? Node42_16fontSize * 0.2 - 4 : Node42_16fontSize * 0.2 - 9; Node42_16textWidth = Node42_16width; Node42_16lineStart = 1; } else if (Node42_16align === 'right') { Node42_16textStart = 0; Node42_16textWidth =Node42_16fontSize <= 8 ? Node42_16width + Node42_16fontSize * 0.2 + 6 : Node42_16width - Node42_16fontSize * 0.2; Node42_16lineStart = (Node42_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_16align === 'center') { Node42_16textStart = -3; Node42_16textWidth = Node42_16width; Node42_16lineStart = Node42_16width - ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_16.setImage(GD.getTextJSON(Node42_16width, Node42_16height, true, false, false, 'bold '+ Node42_16fontSize + 'px "UniDreamLED"')) Node42_16.setPosition(1335*ratio.ratioX, 346*ratio.ratioY); Node42_16.setWidth(Node42_16width); Node42_16.setHeight(Node42_16height); Node42_16._nodeType = 'text'; Node42_16._disallowEvert = true; Node42_16.setRotation(0*Math.PI/180); Node42_16.a('node.width', Node42_16width); Node42_16.a('node.height', Node42_16height); Node42_16.a('node.rect', [0, 0, Node42_16width, Node42_16height]); Node42_16.a('node.bordercolor','rgba(0,0,0,1)'); Node42_16.a('node.borderwidth', 0); Node42_16.a('node.background','' || 'rgba(0,0,0,0)'); Node42_16.a('node.gradient',''); Node42_16.a('node.gradientcolor',''); Node42_16.a('node.text','66.18'); Node42_16.a('node.textalign','center'); Node42_16.a('node.textvAlign','middle'); Node42_16.a('node.textrect', [Node42_16textStart, 0, Node42_16textWidth, Node42_16height]); Node42_16.a('node.color','rgba(0,0,0,1)'); Node42_16.a('node.font','bold '+ Node42_16fontSize + 'px "UniDreamLED"'); Node42_16.a('node.textvisible',true); Node42_16.a('node.linefeed',false); if (false) { Node42_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_16.a('node.text') || '66.18'; var color=Node42_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_16width,Node42_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_16.a('node.underlinepoints',[Node42_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width + 6, (Node42_16height - Node42_16fontSize) * 0.5*_ratio.ratioY + Node42_16fontSize + 2 ]); Node42_16.a('node.underlinevisible',false); Node42_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_16); zoomNodeList.push({ node: Node42_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_17 = new ht.Node(); var Node42_17textStart, Node42_17textWidth, Node42_17lineStart, Node42_17align = 'center', Node42_17fontSize = 13.3333*_ratio.ratioY,Node42_17width = 110*_ratio.ratioX, Node42_17height = 27*_ratio.ratioY; (function () { if (Node42_17align === 'left') { Node42_17textStart = Node42_17fontSize * 0.2 > 2 ? Node42_17fontSize * 0.2 - 4 : Node42_17fontSize * 0.2 - 9; Node42_17textWidth = Node42_17width; Node42_17lineStart = 1; } else if (Node42_17align === 'right') { Node42_17textStart = 0; Node42_17textWidth =Node42_17fontSize <= 8 ? Node42_17width + Node42_17fontSize * 0.2 + 6 : Node42_17width - Node42_17fontSize * 0.2; Node42_17lineStart = (Node42_17width - (ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node42_17align === 'center') { Node42_17textStart = -3; Node42_17textWidth = Node42_17width; Node42_17lineStart = Node42_17width - ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node42_17.setImage(GD.getTextJSON(Node42_17width, Node42_17height, true, false, false, 'bold '+ Node42_17fontSize + 'px "UniDreamLED"')) Node42_17.setPosition(1335*ratio.ratioX, 377*ratio.ratioY); Node42_17.setWidth(Node42_17width); Node42_17.setHeight(Node42_17height); Node42_17._nodeType = 'text'; Node42_17._disallowEvert = true; Node42_17.setRotation(0*Math.PI/180); Node42_17.a('node.width', Node42_17width); Node42_17.a('node.height', Node42_17height); Node42_17.a('node.rect', [0, 0, Node42_17width, Node42_17height]); Node42_17.a('node.bordercolor','rgba(0,0,0,1)'); Node42_17.a('node.borderwidth', 0); Node42_17.a('node.background','' || 'rgba(0,0,0,0)'); Node42_17.a('node.gradient',''); Node42_17.a('node.gradientcolor',''); Node42_17.a('node.text','-'); Node42_17.a('node.textalign','center'); Node42_17.a('node.textvAlign','middle'); Node42_17.a('node.textrect', [Node42_17textStart, 0, Node42_17textWidth, Node42_17height]); Node42_17.a('node.color','rgba(0,0,0,1)'); Node42_17.a('node.font','bold '+ Node42_17fontSize + 'px "UniDreamLED"'); Node42_17.a('node.textvisible',true); Node42_17.a('node.linefeed',false); if (false) { Node42_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_17.a('node.text') || '-'; var color=Node42_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_17width,Node42_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node42_17.a('node.underlinepoints',[Node42_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width + 6, (Node42_17height - Node42_17fontSize) * 0.5*_ratio.ratioY + Node42_17fontSize + 2 ]); Node42_17.a('node.underlinevisible',false); Node42_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_17); zoomNodeList.push({ node: Node42_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node43_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node43_0 = new ht.Node(); Node43_0.setPosition(1335*ratio.ratioX, 237*ratio.ratioY); Node43_0.setSize(127*ratioX, 313*ratioY); Node43_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node43_0.setRotation(0*Math.PI/180); Node43_0._zoomBy = 'Default'; Node43_0._nodeType = 'image'; Node43_0._disallowEvert = true; dataModel.add(Node43_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node43_1 = new ht.Node(); var Node43_1textStart, Node43_1textWidth, Node43_1lineStart, Node43_1align = 'center', Node43_1fontSize = 13.3333*_ratio.ratioY,Node43_1width = 105*_ratio.ratioX, Node43_1height = 27*_ratio.ratioY; (function () { if (Node43_1align === 'left') { Node43_1textStart = Node43_1fontSize * 0.2 > 2 ? Node43_1fontSize * 0.2 - 4 : Node43_1fontSize * 0.2 - 9; Node43_1textWidth = Node43_1width; Node43_1lineStart = 1; } else if (Node43_1align === 'right') { Node43_1textStart = 0; Node43_1textWidth =Node43_1fontSize <= 8 ? Node43_1width + Node43_1fontSize * 0.2 + 6 : Node43_1width - Node43_1fontSize * 0.2; Node43_1lineStart = (Node43_1width - (ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node43_1align === 'center') { Node43_1textStart = -3; Node43_1textWidth = Node43_1width; Node43_1lineStart = Node43_1width - ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width - 11; } })(); Node43_1.setImage(GD.getTextJSON(Node43_1width, Node43_1height, true, false, false, 'bold '+ Node43_1fontSize + 'px "Arial"')) Node43_1.setPosition(1330*ratio.ratioX, 102*ratio.ratioY); Node43_1.setWidth(Node43_1width); Node43_1.setHeight(Node43_1height); Node43_1._nodeType = 'text'; Node43_1._disallowEvert = true; Node43_1.setRotation(0*Math.PI/180); Node43_1.a('node.width', Node43_1width); Node43_1.a('node.height', Node43_1height); Node43_1.a('node.rect', [0, 0, Node43_1width, Node43_1height]); Node43_1.a('node.bordercolor','rgba(255,255,255,1)'); Node43_1.a('node.borderwidth', 0); Node43_1.a('node.background','' || 'rgba(0,0,0,0)'); Node43_1.a('node.gradient',''); Node43_1.a('node.gradientcolor',''); Node43_1.a('node.text','维护损失电量'); Node43_1.a('node.textalign','center'); Node43_1.a('node.textvAlign','middle'); Node43_1.a('node.textrect', [Node43_1textStart, 0, Node43_1textWidth, Node43_1height]); Node43_1.a('node.color','rgba(255,255,255,1)'); Node43_1.a('node.font','bold '+ Node43_1fontSize + 'px "Arial"'); Node43_1.a('node.textvisible',true); Node43_1.a('node.linefeed',false); if (false) { Node43_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node43_1.a('node.text') || '维护损失电量'; var color=Node43_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43_1width,Node43_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node43_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node43_1.a('node.underlinepoints',[Node43_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node43_1fontSize + 2 , ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width + 6, (Node43_1height - Node43_1fontSize) * 0.5*_ratio.ratioY + Node43_1fontSize + 2 ]); Node43_1.a('node.underlinevisible',false); Node43_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node43_1); zoomNodeList.push({ node: Node43_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_0type = 'rect'; var Node44_0 = new ht.Node(), Node44_0BorderWidth = 0*2; if (Node44_0type === 'arc') { Node44_0BorderWidth *= 0; } Node44_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_0.setPosition(1462*ratio.ratioX, 190*ratio.ratioY); Node44_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_0.a('node.width', 127*_ratio.ratioX); Node44_0.a('node.height', 32*_ratio.ratioY); Node44_0.a('node.type', Node44_0type); Node44_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_0.a('node.background', 'rgba(245,245,245,1)'); Node44_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node44_0.a('node.gradient', ''); Node44_0.a('node.borderwidth', Node44_0BorderWidth); Node44_0.a('node.color', 'rgba(192,192,192,0)'); Node44_0.a('node.fillrect', [0,0,0,0]); Node44_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_0.a('node.fillgradient', ''); if (Node44_0type !== 'rect') { Node44_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_0.a('node.arcTo', parseFloat('@arcTo@')); Node44_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_0type === 'arc') { Node44_0.a('node.arcOval', true); } Node44_0.setRotation(0*Math.PI/180); Node44_0.borderWidth = Node44_0BorderWidth; Node44_0.borderFillwidth = Node44_0BorderWidth; dataModel.add(Node44_0); Node44_0._nodename = 'Node44_0' Node44_0._nodeType = 'rect'; zoomNodeList.push({ node: Node44_0, 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); } })(Node44_0, Node44_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_1type = 'rect'; var Node44_1 = new ht.Node(), Node44_1BorderWidth = 0*2; if (Node44_1type === 'arc') { Node44_1BorderWidth *= 0; } Node44_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_1.setPosition(1462*ratio.ratioX, 222*ratio.ratioY); Node44_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_1.a('node.width', 127*_ratio.ratioX); Node44_1.a('node.height', 32*_ratio.ratioY); Node44_1.a('node.type', Node44_1type); Node44_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node44_1.a('node.gradientcolor', ''); Node44_1.a('node.gradient', ''); Node44_1.a('node.borderwidth', Node44_1BorderWidth); Node44_1.a('node.color', 'rgba(192,192,192,0)'); Node44_1.a('node.fillrect', [0,0,0,0]); Node44_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_1.a('node.fillgradient', ''); if (Node44_1type !== 'rect') { Node44_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_1.a('node.arcTo', parseFloat('@arcTo@')); Node44_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_1type === 'arc') { Node44_1.a('node.arcOval', true); } Node44_1.setRotation(0*Math.PI/180); Node44_1.borderWidth = Node44_1BorderWidth; Node44_1.borderFillwidth = Node44_1BorderWidth; dataModel.add(Node44_1); Node44_1._nodename = 'Node44_1' Node44_1._nodeType = 'rect'; zoomNodeList.push({ node: Node44_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); } })(Node44_1, Node44_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_2type = 'rect'; var Node44_2 = new ht.Node(), Node44_2BorderWidth = 0*2; if (Node44_2type === 'arc') { Node44_2BorderWidth *= 0; } Node44_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_2.setPosition(1462*ratio.ratioX, 254*ratio.ratioY); Node44_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_2.a('node.width', 127*_ratio.ratioX); Node44_2.a('node.height', 32*_ratio.ratioY); Node44_2.a('node.type', Node44_2type); Node44_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_2.a('node.background', 'rgba(245,245,245,1)'); Node44_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node44_2.a('node.gradient', ''); Node44_2.a('node.borderwidth', Node44_2BorderWidth); Node44_2.a('node.color', 'rgba(192,192,192,0)'); Node44_2.a('node.fillrect', [0,0,0,0]); Node44_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_2.a('node.fillgradient', ''); if (Node44_2type !== 'rect') { Node44_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_2.a('node.arcTo', parseFloat('@arcTo@')); Node44_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_2type === 'arc') { Node44_2.a('node.arcOval', true); } Node44_2.setRotation(0*Math.PI/180); Node44_2.borderWidth = Node44_2BorderWidth; Node44_2.borderFillwidth = Node44_2BorderWidth; dataModel.add(Node44_2); Node44_2._nodename = 'Node44_2' Node44_2._nodeType = 'rect'; zoomNodeList.push({ node: Node44_2, 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); } })(Node44_2, Node44_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_3type = 'rect'; var Node44_3 = new ht.Node(), Node44_3BorderWidth = 0*2; if (Node44_3type === 'arc') { Node44_3BorderWidth *= 0; } Node44_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_3.setPosition(1462*ratio.ratioX, 285*ratio.ratioY); Node44_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_3.a('node.width', 127*_ratio.ratioX); Node44_3.a('node.height', 32*_ratio.ratioY); Node44_3.a('node.type', Node44_3type); Node44_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node44_3.a('node.gradientcolor', ''); Node44_3.a('node.gradient', ''); Node44_3.a('node.borderwidth', Node44_3BorderWidth); Node44_3.a('node.color', 'rgba(192,192,192,0)'); Node44_3.a('node.fillrect', [0,0,0,0]); Node44_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_3.a('node.fillgradient', ''); if (Node44_3type !== 'rect') { Node44_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_3.a('node.arcTo', parseFloat('@arcTo@')); Node44_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_3type === 'arc') { Node44_3.a('node.arcOval', true); } Node44_3.setRotation(0*Math.PI/180); Node44_3.borderWidth = Node44_3BorderWidth; Node44_3.borderFillwidth = Node44_3BorderWidth; dataModel.add(Node44_3); Node44_3._nodename = 'Node44_3' Node44_3._nodeType = 'rect'; zoomNodeList.push({ node: Node44_3, 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); } })(Node44_3, Node44_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_4type = 'rect'; var Node44_4 = new ht.Node(), Node44_4BorderWidth = 0*2; if (Node44_4type === 'arc') { Node44_4BorderWidth *= 0; } Node44_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_4.setPosition(1462*ratio.ratioX, 316*ratio.ratioY); Node44_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_4.a('node.width', 127*_ratio.ratioX); Node44_4.a('node.height', 32*_ratio.ratioY); Node44_4.a('node.type', Node44_4type); Node44_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_4.a('node.background', 'rgba(245,245,245,1)'); Node44_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node44_4.a('node.gradient', ''); Node44_4.a('node.borderwidth', Node44_4BorderWidth); Node44_4.a('node.color', 'rgba(192,192,192,0)'); Node44_4.a('node.fillrect', [0,0,0,0]); Node44_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_4.a('node.fillgradient', ''); if (Node44_4type !== 'rect') { Node44_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_4.a('node.arcTo', parseFloat('@arcTo@')); Node44_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_4type === 'arc') { Node44_4.a('node.arcOval', true); } Node44_4.setRotation(0*Math.PI/180); Node44_4.borderWidth = Node44_4BorderWidth; Node44_4.borderFillwidth = Node44_4BorderWidth; dataModel.add(Node44_4); Node44_4._nodename = 'Node44_4' Node44_4._nodeType = 'rect'; zoomNodeList.push({ node: Node44_4, 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); } })(Node44_4, Node44_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_5type = 'rect'; var Node44_5 = new ht.Node(), Node44_5BorderWidth = 0*2; if (Node44_5type === 'arc') { Node44_5BorderWidth *= 0; } Node44_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_5.setPosition(1462*ratio.ratioX, 347*ratio.ratioY); Node44_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_5.a('node.width', 127*_ratio.ratioX); Node44_5.a('node.height', 32*_ratio.ratioY); Node44_5.a('node.type', Node44_5type); Node44_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node44_5.a('node.gradientcolor', ''); Node44_5.a('node.gradient', ''); Node44_5.a('node.borderwidth', Node44_5BorderWidth); Node44_5.a('node.color', 'rgba(192,192,192,0)'); Node44_5.a('node.fillrect', [0,0,0,0]); Node44_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_5.a('node.fillgradient', ''); if (Node44_5type !== 'rect') { Node44_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_5.a('node.arcTo', parseFloat('@arcTo@')); Node44_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_5type === 'arc') { Node44_5.a('node.arcOval', true); } Node44_5.setRotation(0*Math.PI/180); Node44_5.borderWidth = Node44_5BorderWidth; Node44_5.borderFillwidth = Node44_5BorderWidth; dataModel.add(Node44_5); Node44_5._nodename = 'Node44_5' Node44_5._nodeType = 'rect'; zoomNodeList.push({ node: Node44_5, 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); } })(Node44_5, Node44_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_6type = 'rect'; var Node44_6 = new ht.Node(), Node44_6BorderWidth = 0*2; if (Node44_6type === 'arc') { Node44_6BorderWidth *= 0; } Node44_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_6.setPosition(1462*ratio.ratioX, 378*ratio.ratioY); Node44_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node44_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_6.a('node.width', 127*_ratio.ratioX); Node44_6.a('node.height', 32*_ratio.ratioY); Node44_6.a('node.type', Node44_6type); Node44_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node44_6.a('node.background', 'rgba(245,245,245,1)'); Node44_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node44_6.a('node.gradient', ''); Node44_6.a('node.borderwidth', Node44_6BorderWidth); Node44_6.a('node.color', 'rgba(192,192,192,0)'); Node44_6.a('node.fillrect', [0,0,0,0]); Node44_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_6.a('node.fillgradient', ''); if (Node44_6type !== 'rect') { Node44_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_6.a('node.arcTo', parseFloat('@arcTo@')); Node44_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_6type === 'arc') { Node44_6.a('node.arcOval', true); } Node44_6.setRotation(0*Math.PI/180); Node44_6.borderWidth = Node44_6BorderWidth; Node44_6.borderFillwidth = Node44_6BorderWidth; dataModel.add(Node44_6); Node44_6._nodename = 'Node44_6' Node44_6._nodeType = 'rect'; zoomNodeList.push({ node: Node44_6, 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); } })(Node44_6, Node44_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_7type = 'rect'; var Node44_7 = new ht.Node(), Node44_7BorderWidth = 1*2; if (Node44_7type === 'arc') { Node44_7BorderWidth *= 1; } Node44_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node44_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44_7.setPosition(1462*ratio.ratioX, 239*ratio.ratioY); Node44_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node44_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44_7.a('node.width', 127*_ratio.ratioX); Node44_7.a('node.height', 309*_ratio.ratioY); Node44_7.a('node.type', Node44_7type); Node44_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node44_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node44_7.a('node.gradientcolor', ''); Node44_7.a('node.gradient', ''); Node44_7.a('node.borderwidth', Node44_7BorderWidth); Node44_7.a('node.color', 'rgba(192,192,192,1)'); Node44_7.a('node.fillrect', [0,0,0,0]); Node44_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44_7.a('node.fillgradient', ''); if (Node44_7type !== 'rect') { Node44_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node44_7.a('node.arcTo', parseFloat('@arcTo@')); Node44_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44_7type === 'arc') { Node44_7.a('node.arcOval', true); } Node44_7.setRotation(0*Math.PI/180); Node44_7.borderWidth = Node44_7BorderWidth; Node44_7.borderFillwidth = Node44_7BorderWidth; dataModel.add(Node44_7); Node44_7._nodename = 'Node44_7' Node44_7._nodeType = 'rect'; zoomNodeList.push({ node: Node44_7, 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); } })(Node44_7, Node44_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_8 = new ht.Node(); var Node44_8textStart, Node44_8textWidth, Node44_8lineStart, Node44_8align = 'center', Node44_8fontSize = 13.3333*_ratio.ratioY,Node44_8width = 105*_ratio.ratioX, Node44_8height = 27*_ratio.ratioY; (function () { if (Node44_8align === 'left') { Node44_8textStart = Node44_8fontSize * 0.2 > 2 ? Node44_8fontSize * 0.2 - 4 : Node44_8fontSize * 0.2 - 9; Node44_8textWidth = Node44_8width; Node44_8lineStart = 1; } else if (Node44_8align === 'right') { Node44_8textStart = 0; Node44_8textWidth =Node44_8fontSize <= 8 ? Node44_8width + Node44_8fontSize * 0.2 + 6 : Node44_8width - Node44_8fontSize * 0.2; Node44_8lineStart = (Node44_8width - (ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node44_8align === 'center') { Node44_8textStart = -3; Node44_8textWidth = Node44_8width; Node44_8lineStart = Node44_8width - ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width - 11; } })(); Node44_8.setImage(GD.getTextJSON(Node44_8width, Node44_8height, true, false, false, 'bold '+ Node44_8fontSize + 'px "Arial"')) Node44_8.setPosition(1459*ratio.ratioX, 103*ratio.ratioY); Node44_8.setWidth(Node44_8width); Node44_8.setHeight(Node44_8height); Node44_8._nodeType = 'text'; Node44_8._disallowEvert = true; Node44_8.setRotation(0*Math.PI/180); Node44_8.a('node.width', Node44_8width); Node44_8.a('node.height', Node44_8height); Node44_8.a('node.rect', [0, 0, Node44_8width, Node44_8height]); Node44_8.a('node.bordercolor','rgba(255,255,255,1)'); Node44_8.a('node.borderwidth', 0); Node44_8.a('node.background','' || 'rgba(0,0,0,0)'); Node44_8.a('node.gradient',''); Node44_8.a('node.gradientcolor',''); Node44_8.a('node.text','故障损失电量'); Node44_8.a('node.textalign','center'); Node44_8.a('node.textvAlign','middle'); Node44_8.a('node.textrect', [Node44_8textStart, 0, Node44_8textWidth, Node44_8height]); Node44_8.a('node.color','rgba(255,255,255,1)'); Node44_8.a('node.font','bold '+ Node44_8fontSize + 'px "Arial"'); Node44_8.a('node.textvisible',true); Node44_8.a('node.linefeed',false); if (false) { Node44_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_8.a('node.text') || '故障损失电量'; var color=Node44_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_8width,Node44_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node44_8.a('node.underlinepoints',[Node44_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_8fontSize + 2 , ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width + 6, (Node44_8height - Node44_8fontSize) * 0.5*_ratio.ratioY + Node44_8fontSize + 2 ]); Node44_8.a('node.underlinevisible',false); Node44_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_8); zoomNodeList.push({ node: Node44_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_9 = new ht.Node(); var Node44_9textStart, Node44_9textWidth, Node44_9lineStart, Node44_9align = 'center', Node44_9fontSize = 11.99997*_ratio.ratioY,Node44_9width = 105*_ratio.ratioX, Node44_9height = 17*_ratio.ratioY; (function () { if (Node44_9align === 'left') { Node44_9textStart = Node44_9fontSize * 0.2 > 2 ? Node44_9fontSize * 0.2 - 4 : Node44_9fontSize * 0.2 - 9; Node44_9textWidth = Node44_9width; Node44_9lineStart = 1; } else if (Node44_9align === 'right') { Node44_9textStart = 0; Node44_9textWidth =Node44_9fontSize <= 8 ? Node44_9width + Node44_9fontSize * 0.2 + 6 : Node44_9width - Node44_9fontSize * 0.2; Node44_9lineStart = (Node44_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node44_9align === 'center') { Node44_9textStart = -3; Node44_9textWidth = Node44_9width; Node44_9lineStart = Node44_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width - 11; } })(); Node44_9.setImage(GD.getTextJSON(Node44_9width, Node44_9height, true, false, false, 'bold '+ Node44_9fontSize + 'px "Arial"')) Node44_9.setPosition(1459*ratio.ratioX, 131*ratio.ratioY); Node44_9.setWidth(Node44_9width); Node44_9.setHeight(Node44_9height); Node44_9._nodeType = 'text'; Node44_9._disallowEvert = true; Node44_9.setRotation(0*Math.PI/180); Node44_9.a('node.width', Node44_9width); Node44_9.a('node.height', Node44_9height); Node44_9.a('node.rect', [0, 0, Node44_9width, Node44_9height]); Node44_9.a('node.bordercolor','rgba(128,128,128,1)'); Node44_9.a('node.borderwidth', 0); Node44_9.a('node.background','' || 'rgba(0,0,0,0)'); Node44_9.a('node.gradient',''); Node44_9.a('node.gradientcolor',''); Node44_9.a('node.text','万kwh'); Node44_9.a('node.textalign','center'); Node44_9.a('node.textvAlign','middle'); Node44_9.a('node.textrect', [Node44_9textStart, 0, Node44_9textWidth, Node44_9height]); Node44_9.a('node.color','rgba(128,128,128,1)'); Node44_9.a('node.font','bold '+ Node44_9fontSize + 'px "Arial"'); Node44_9.a('node.textvisible',true); Node44_9.a('node.linefeed',false); if (false) { Node44_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_9.a('node.text') || '万kwh'; var color=Node44_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node44_9width,Node44_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node44_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node44_9.a('node.underlinepoints',[Node44_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node44_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width + 6, (Node44_9height - Node44_9fontSize) * 0.5*_ratio.ratioY + Node44_9fontSize + 2 ]); Node44_9.a('node.underlinevisible',false); Node44_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_9); zoomNodeList.push({ node: Node44_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_10 = new ht.Node(); var Node44_10textStart, Node44_10textWidth, Node44_10lineStart, Node44_10align = 'center', Node44_10fontSize = 13.3333*_ratio.ratioY,Node44_10width = 105*_ratio.ratioX, Node44_10height = 27*_ratio.ratioY; (function () { if (Node44_10align === 'left') { Node44_10textStart = Node44_10fontSize * 0.2 > 2 ? Node44_10fontSize * 0.2 - 4 : Node44_10fontSize * 0.2 - 9; Node44_10textWidth = Node44_10width; Node44_10lineStart = 1; } else if (Node44_10align === 'right') { Node44_10textStart = 0; Node44_10textWidth =Node44_10fontSize <= 8 ? Node44_10width + Node44_10fontSize * 0.2 + 6 : Node44_10width - Node44_10fontSize * 0.2; Node44_10lineStart = (Node44_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_10align === 'center') { Node44_10textStart = -3; Node44_10textWidth = Node44_10width; Node44_10lineStart = Node44_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_10.setImage(GD.getTextJSON(Node44_10width, Node44_10height, true, false, false, 'bold '+ Node44_10fontSize + 'px "UniDreamLED"')) Node44_10.setPosition(1459*ratio.ratioX, 158*ratio.ratioY); Node44_10.setWidth(Node44_10width); Node44_10.setHeight(Node44_10height); Node44_10._nodeType = 'text'; Node44_10._disallowEvert = true; Node44_10.setRotation(0*Math.PI/180); Node44_10.a('node.width', Node44_10width); Node44_10.a('node.height', Node44_10height); Node44_10.a('node.rect', [0, 0, Node44_10width, Node44_10height]); Node44_10.a('node.bordercolor','rgba(0,0,0,1)'); Node44_10.a('node.borderwidth', 0); Node44_10.a('node.background','' || 'rgba(0,0,0,0)'); Node44_10.a('node.gradient',''); Node44_10.a('node.gradientcolor',''); Node44_10.a('node.text','1134.76'); Node44_10.a('node.textalign','center'); Node44_10.a('node.textvAlign','middle'); Node44_10.a('node.textrect', [Node44_10textStart, 0, Node44_10textWidth, Node44_10height]); Node44_10.a('node.color','rgba(0,0,0,1)'); Node44_10.a('node.font','bold '+ Node44_10fontSize + 'px "UniDreamLED"'); Node44_10.a('node.textvisible',true); Node44_10.a('node.linefeed',false); if (false) { Node44_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_10.a('node.text') || '1134.76'; var color=Node44_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_10width,Node44_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_10.a('node.underlinepoints',[Node44_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width + 6, (Node44_10height - Node44_10fontSize) * 0.5*_ratio.ratioY + Node44_10fontSize + 2 ]); Node44_10.a('node.underlinevisible',false); Node44_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_10); zoomNodeList.push({ node: Node44_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_11 = new ht.Node(); var Node44_11textStart, Node44_11textWidth, Node44_11lineStart, Node44_11align = 'center', Node44_11fontSize = 13.3333*_ratio.ratioY,Node44_11width = 110*_ratio.ratioX, Node44_11height = 27*_ratio.ratioY; (function () { if (Node44_11align === 'left') { Node44_11textStart = Node44_11fontSize * 0.2 > 2 ? Node44_11fontSize * 0.2 - 4 : Node44_11fontSize * 0.2 - 9; Node44_11textWidth = Node44_11width; Node44_11lineStart = 1; } else if (Node44_11align === 'right') { Node44_11textStart = 0; Node44_11textWidth =Node44_11fontSize <= 8 ? Node44_11width + Node44_11fontSize * 0.2 + 6 : Node44_11width - Node44_11fontSize * 0.2; Node44_11lineStart = (Node44_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_11align === 'center') { Node44_11textStart = -3; Node44_11textWidth = Node44_11width; Node44_11lineStart = Node44_11width - ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_11.setImage(GD.getTextJSON(Node44_11width, Node44_11height, true, false, false, 'bold '+ Node44_11fontSize + 'px "UniDreamLED"')) Node44_11.setPosition(1462*ratio.ratioX, 190*ratio.ratioY); Node44_11.setWidth(Node44_11width); Node44_11.setHeight(Node44_11height); Node44_11._nodeType = 'text'; Node44_11._disallowEvert = true; Node44_11.setRotation(0*Math.PI/180); Node44_11.a('node.width', Node44_11width); Node44_11.a('node.height', Node44_11height); Node44_11.a('node.rect', [0, 0, Node44_11width, Node44_11height]); Node44_11.a('node.bordercolor','rgba(0,0,0,1)'); Node44_11.a('node.borderwidth', 0); Node44_11.a('node.background','' || 'rgba(0,0,0,0)'); Node44_11.a('node.gradient',''); Node44_11.a('node.gradientcolor',''); Node44_11.a('node.text','171.51'); Node44_11.a('node.textalign','center'); Node44_11.a('node.textvAlign','middle'); Node44_11.a('node.textrect', [Node44_11textStart, 0, Node44_11textWidth, Node44_11height]); Node44_11.a('node.color','rgba(0,0,0,1)'); Node44_11.a('node.font','bold '+ Node44_11fontSize + 'px "UniDreamLED"'); Node44_11.a('node.textvisible',true); Node44_11.a('node.linefeed',false); if (false) { Node44_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_11.a('node.text') || '171.51'; var color=Node44_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_11width,Node44_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_11.a('node.underlinepoints',[Node44_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width + 6, (Node44_11height - Node44_11fontSize) * 0.5*_ratio.ratioY + Node44_11fontSize + 2 ]); Node44_11.a('node.underlinevisible',false); Node44_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_11); zoomNodeList.push({ node: Node44_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_12 = new ht.Node(); var Node44_12textStart, Node44_12textWidth, Node44_12lineStart, Node44_12align = 'center', Node44_12fontSize = 13.3333*_ratio.ratioY,Node44_12width = 110*_ratio.ratioX, Node44_12height = 27*_ratio.ratioY; (function () { if (Node44_12align === 'left') { Node44_12textStart = Node44_12fontSize * 0.2 > 2 ? Node44_12fontSize * 0.2 - 4 : Node44_12fontSize * 0.2 - 9; Node44_12textWidth = Node44_12width; Node44_12lineStart = 1; } else if (Node44_12align === 'right') { Node44_12textStart = 0; Node44_12textWidth =Node44_12fontSize <= 8 ? Node44_12width + Node44_12fontSize * 0.2 + 6 : Node44_12width - Node44_12fontSize * 0.2; Node44_12lineStart = (Node44_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_12align === 'center') { Node44_12textStart = -3; Node44_12textWidth = Node44_12width; Node44_12lineStart = Node44_12width - ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_12.setImage(GD.getTextJSON(Node44_12width, Node44_12height, true, false, false, 'bold '+ Node44_12fontSize + 'px "UniDreamLED"')) Node44_12.setPosition(1462*ratio.ratioX, 220*ratio.ratioY); Node44_12.setWidth(Node44_12width); Node44_12.setHeight(Node44_12height); Node44_12._nodeType = 'text'; Node44_12._disallowEvert = true; Node44_12.setRotation(0*Math.PI/180); Node44_12.a('node.width', Node44_12width); Node44_12.a('node.height', Node44_12height); Node44_12.a('node.rect', [0, 0, Node44_12width, Node44_12height]); Node44_12.a('node.bordercolor','rgba(0,0,0,1)'); Node44_12.a('node.borderwidth', 0); Node44_12.a('node.background','' || 'rgba(0,0,0,0)'); Node44_12.a('node.gradient',''); Node44_12.a('node.gradientcolor',''); Node44_12.a('node.text','329.51'); Node44_12.a('node.textalign','center'); Node44_12.a('node.textvAlign','middle'); Node44_12.a('node.textrect', [Node44_12textStart, 0, Node44_12textWidth, Node44_12height]); Node44_12.a('node.color','rgba(0,0,0,1)'); Node44_12.a('node.font','bold '+ Node44_12fontSize + 'px "UniDreamLED"'); Node44_12.a('node.textvisible',true); Node44_12.a('node.linefeed',false); if (false) { Node44_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_12.a('node.text') || '329.51'; var color=Node44_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_12width,Node44_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_12.a('node.underlinepoints',[Node44_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width + 6, (Node44_12height - Node44_12fontSize) * 0.5*_ratio.ratioY + Node44_12fontSize + 2 ]); Node44_12.a('node.underlinevisible',false); Node44_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_12); zoomNodeList.push({ node: Node44_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_13 = new ht.Node(); var Node44_13textStart, Node44_13textWidth, Node44_13lineStart, Node44_13align = 'center', Node44_13fontSize = 13.3333*_ratio.ratioY,Node44_13width = 110*_ratio.ratioX, Node44_13height = 27*_ratio.ratioY; (function () { if (Node44_13align === 'left') { Node44_13textStart = Node44_13fontSize * 0.2 > 2 ? Node44_13fontSize * 0.2 - 4 : Node44_13fontSize * 0.2 - 9; Node44_13textWidth = Node44_13width; Node44_13lineStart = 1; } else if (Node44_13align === 'right') { Node44_13textStart = 0; Node44_13textWidth =Node44_13fontSize <= 8 ? Node44_13width + Node44_13fontSize * 0.2 + 6 : Node44_13width - Node44_13fontSize * 0.2; Node44_13lineStart = (Node44_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_13align === 'center') { Node44_13textStart = -3; Node44_13textWidth = Node44_13width; Node44_13lineStart = Node44_13width - ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_13.setImage(GD.getTextJSON(Node44_13width, Node44_13height, true, false, false, 'bold '+ Node44_13fontSize + 'px "UniDreamLED"')) Node44_13.setPosition(1462*ratio.ratioX, 250*ratio.ratioY); Node44_13.setWidth(Node44_13width); Node44_13.setHeight(Node44_13height); Node44_13._nodeType = 'text'; Node44_13._disallowEvert = true; Node44_13.setRotation(0*Math.PI/180); Node44_13.a('node.width', Node44_13width); Node44_13.a('node.height', Node44_13height); Node44_13.a('node.rect', [0, 0, Node44_13width, Node44_13height]); Node44_13.a('node.bordercolor','rgba(0,0,0,1)'); Node44_13.a('node.borderwidth', 0); Node44_13.a('node.background','' || 'rgba(0,0,0,0)'); Node44_13.a('node.gradient',''); Node44_13.a('node.gradientcolor',''); Node44_13.a('node.text','340.14'); Node44_13.a('node.textalign','center'); Node44_13.a('node.textvAlign','middle'); Node44_13.a('node.textrect', [Node44_13textStart, 0, Node44_13textWidth, Node44_13height]); Node44_13.a('node.color','rgba(0,0,0,1)'); Node44_13.a('node.font','bold '+ Node44_13fontSize + 'px "UniDreamLED"'); Node44_13.a('node.textvisible',true); Node44_13.a('node.linefeed',false); if (false) { Node44_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_13.a('node.text') || '340.14'; var color=Node44_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_13width,Node44_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_13.a('node.underlinepoints',[Node44_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width + 6, (Node44_13height - Node44_13fontSize) * 0.5*_ratio.ratioY + Node44_13fontSize + 2 ]); Node44_13.a('node.underlinevisible',false); Node44_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_13); zoomNodeList.push({ node: Node44_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_14 = new ht.Node(); var Node44_14textStart, Node44_14textWidth, Node44_14lineStart, Node44_14align = 'center', Node44_14fontSize = 13.3333*_ratio.ratioY,Node44_14width = 110*_ratio.ratioX, Node44_14height = 27*_ratio.ratioY; (function () { if (Node44_14align === 'left') { Node44_14textStart = Node44_14fontSize * 0.2 > 2 ? Node44_14fontSize * 0.2 - 4 : Node44_14fontSize * 0.2 - 9; Node44_14textWidth = Node44_14width; Node44_14lineStart = 1; } else if (Node44_14align === 'right') { Node44_14textStart = 0; Node44_14textWidth =Node44_14fontSize <= 8 ? Node44_14width + Node44_14fontSize * 0.2 + 6 : Node44_14width - Node44_14fontSize * 0.2; Node44_14lineStart = (Node44_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_14align === 'center') { Node44_14textStart = -3; Node44_14textWidth = Node44_14width; Node44_14lineStart = Node44_14width - ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_14.setImage(GD.getTextJSON(Node44_14width, Node44_14height, true, false, false, 'bold '+ Node44_14fontSize + 'px "UniDreamLED"')) Node44_14.setPosition(1462*ratio.ratioX, 284*ratio.ratioY); Node44_14.setWidth(Node44_14width); Node44_14.setHeight(Node44_14height); Node44_14._nodeType = 'text'; Node44_14._disallowEvert = true; Node44_14.setRotation(0*Math.PI/180); Node44_14.a('node.width', Node44_14width); Node44_14.a('node.height', Node44_14height); Node44_14.a('node.rect', [0, 0, Node44_14width, Node44_14height]); Node44_14.a('node.bordercolor','rgba(0,0,0,1)'); Node44_14.a('node.borderwidth', 0); Node44_14.a('node.background','' || 'rgba(0,0,0,0)'); Node44_14.a('node.gradient',''); Node44_14.a('node.gradientcolor',''); Node44_14.a('node.text','60.61'); Node44_14.a('node.textalign','center'); Node44_14.a('node.textvAlign','middle'); Node44_14.a('node.textrect', [Node44_14textStart, 0, Node44_14textWidth, Node44_14height]); Node44_14.a('node.color','rgba(0,0,0,1)'); Node44_14.a('node.font','bold '+ Node44_14fontSize + 'px "UniDreamLED"'); Node44_14.a('node.textvisible',true); Node44_14.a('node.linefeed',false); if (false) { Node44_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_14.a('node.text') || '60.61'; var color=Node44_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_14width,Node44_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_14.a('node.underlinepoints',[Node44_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width + 6, (Node44_14height - Node44_14fontSize) * 0.5*_ratio.ratioY + Node44_14fontSize + 2 ]); Node44_14.a('node.underlinevisible',false); Node44_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_14); zoomNodeList.push({ node: Node44_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_15 = new ht.Node(); var Node44_15textStart, Node44_15textWidth, Node44_15lineStart, Node44_15align = 'center', Node44_15fontSize = 13.3333*_ratio.ratioY,Node44_15width = 110*_ratio.ratioX, Node44_15height = 27*_ratio.ratioY; (function () { if (Node44_15align === 'left') { Node44_15textStart = Node44_15fontSize * 0.2 > 2 ? Node44_15fontSize * 0.2 - 4 : Node44_15fontSize * 0.2 - 9; Node44_15textWidth = Node44_15width; Node44_15lineStart = 1; } else if (Node44_15align === 'right') { Node44_15textStart = 0; Node44_15textWidth =Node44_15fontSize <= 8 ? Node44_15width + Node44_15fontSize * 0.2 + 6 : Node44_15width - Node44_15fontSize * 0.2; Node44_15lineStart = (Node44_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_15align === 'center') { Node44_15textStart = -3; Node44_15textWidth = Node44_15width; Node44_15lineStart = Node44_15width - ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_15.setImage(GD.getTextJSON(Node44_15width, Node44_15height, true, false, false, 'bold '+ Node44_15fontSize + 'px "UniDreamLED"')) Node44_15.setPosition(1462*ratio.ratioX, 317*ratio.ratioY); Node44_15.setWidth(Node44_15width); Node44_15.setHeight(Node44_15height); Node44_15._nodeType = 'text'; Node44_15._disallowEvert = true; Node44_15.setRotation(0*Math.PI/180); Node44_15.a('node.width', Node44_15width); Node44_15.a('node.height', Node44_15height); Node44_15.a('node.rect', [0, 0, Node44_15width, Node44_15height]); Node44_15.a('node.bordercolor','rgba(0,0,0,1)'); Node44_15.a('node.borderwidth', 0); Node44_15.a('node.background','' || 'rgba(0,0,0,0)'); Node44_15.a('node.gradient',''); Node44_15.a('node.gradientcolor',''); Node44_15.a('node.text','166.79'); Node44_15.a('node.textalign','center'); Node44_15.a('node.textvAlign','middle'); Node44_15.a('node.textrect', [Node44_15textStart, 0, Node44_15textWidth, Node44_15height]); Node44_15.a('node.color','rgba(0,0,0,1)'); Node44_15.a('node.font','bold '+ Node44_15fontSize + 'px "UniDreamLED"'); Node44_15.a('node.textvisible',true); Node44_15.a('node.linefeed',false); if (false) { Node44_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_15.a('node.text') || '166.79'; var color=Node44_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_15width,Node44_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_15.a('node.underlinepoints',[Node44_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width + 6, (Node44_15height - Node44_15fontSize) * 0.5*_ratio.ratioY + Node44_15fontSize + 2 ]); Node44_15.a('node.underlinevisible',false); Node44_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_15); zoomNodeList.push({ node: Node44_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_16 = new ht.Node(); var Node44_16textStart, Node44_16textWidth, Node44_16lineStart, Node44_16align = 'center', Node44_16fontSize = 13.3333*_ratio.ratioY,Node44_16width = 110*_ratio.ratioX, Node44_16height = 27*_ratio.ratioY; (function () { if (Node44_16align === 'left') { Node44_16textStart = Node44_16fontSize * 0.2 > 2 ? Node44_16fontSize * 0.2 - 4 : Node44_16fontSize * 0.2 - 9; Node44_16textWidth = Node44_16width; Node44_16lineStart = 1; } else if (Node44_16align === 'right') { Node44_16textStart = 0; Node44_16textWidth =Node44_16fontSize <= 8 ? Node44_16width + Node44_16fontSize * 0.2 + 6 : Node44_16width - Node44_16fontSize * 0.2; Node44_16lineStart = (Node44_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_16align === 'center') { Node44_16textStart = -3; Node44_16textWidth = Node44_16width; Node44_16lineStart = Node44_16width - ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_16.setImage(GD.getTextJSON(Node44_16width, Node44_16height, true, false, false, 'bold '+ Node44_16fontSize + 'px "UniDreamLED"')) Node44_16.setPosition(1462*ratio.ratioX, 346*ratio.ratioY); Node44_16.setWidth(Node44_16width); Node44_16.setHeight(Node44_16height); Node44_16._nodeType = 'text'; Node44_16._disallowEvert = true; Node44_16.setRotation(0*Math.PI/180); Node44_16.a('node.width', Node44_16width); Node44_16.a('node.height', Node44_16height); Node44_16.a('node.rect', [0, 0, Node44_16width, Node44_16height]); Node44_16.a('node.bordercolor','rgba(0,0,0,1)'); Node44_16.a('node.borderwidth', 0); Node44_16.a('node.background','' || 'rgba(0,0,0,0)'); Node44_16.a('node.gradient',''); Node44_16.a('node.gradientcolor',''); Node44_16.a('node.text','66.18'); Node44_16.a('node.textalign','center'); Node44_16.a('node.textvAlign','middle'); Node44_16.a('node.textrect', [Node44_16textStart, 0, Node44_16textWidth, Node44_16height]); Node44_16.a('node.color','rgba(0,0,0,1)'); Node44_16.a('node.font','bold '+ Node44_16fontSize + 'px "UniDreamLED"'); Node44_16.a('node.textvisible',true); Node44_16.a('node.linefeed',false); if (false) { Node44_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_16.a('node.text') || '66.18'; var color=Node44_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_16width,Node44_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_16.a('node.underlinepoints',[Node44_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width + 6, (Node44_16height - Node44_16fontSize) * 0.5*_ratio.ratioY + Node44_16fontSize + 2 ]); Node44_16.a('node.underlinevisible',false); Node44_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_16); zoomNodeList.push({ node: Node44_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44_17 = new ht.Node(); var Node44_17textStart, Node44_17textWidth, Node44_17lineStart, Node44_17align = 'center', Node44_17fontSize = 13.3333*_ratio.ratioY,Node44_17width = 110*_ratio.ratioX, Node44_17height = 27*_ratio.ratioY; (function () { if (Node44_17align === 'left') { Node44_17textStart = Node44_17fontSize * 0.2 > 2 ? Node44_17fontSize * 0.2 - 4 : Node44_17fontSize * 0.2 - 9; Node44_17textWidth = Node44_17width; Node44_17lineStart = 1; } else if (Node44_17align === 'right') { Node44_17textStart = 0; Node44_17textWidth =Node44_17fontSize <= 8 ? Node44_17width + Node44_17fontSize * 0.2 + 6 : Node44_17width - Node44_17fontSize * 0.2; Node44_17lineStart = (Node44_17width - (ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node44_17align === 'center') { Node44_17textStart = -3; Node44_17textWidth = Node44_17width; Node44_17lineStart = Node44_17width - ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node44_17.setImage(GD.getTextJSON(Node44_17width, Node44_17height, true, false, false, 'bold '+ Node44_17fontSize + 'px "UniDreamLED"')) Node44_17.setPosition(1462*ratio.ratioX, 377*ratio.ratioY); Node44_17.setWidth(Node44_17width); Node44_17.setHeight(Node44_17height); Node44_17._nodeType = 'text'; Node44_17._disallowEvert = true; Node44_17.setRotation(0*Math.PI/180); Node44_17.a('node.width', Node44_17width); Node44_17.a('node.height', Node44_17height); Node44_17.a('node.rect', [0, 0, Node44_17width, Node44_17height]); Node44_17.a('node.bordercolor','rgba(0,0,0,1)'); Node44_17.a('node.borderwidth', 0); Node44_17.a('node.background','' || 'rgba(0,0,0,0)'); Node44_17.a('node.gradient',''); Node44_17.a('node.gradientcolor',''); Node44_17.a('node.text','-'); Node44_17.a('node.textalign','center'); Node44_17.a('node.textvAlign','middle'); Node44_17.a('node.textrect', [Node44_17textStart, 0, Node44_17textWidth, Node44_17height]); Node44_17.a('node.color','rgba(0,0,0,1)'); Node44_17.a('node.font','bold '+ Node44_17fontSize + 'px "UniDreamLED"'); Node44_17.a('node.textvisible',true); Node44_17.a('node.linefeed',false); if (false) { Node44_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node44_17.a('node.text') || '-'; var color=Node44_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_17width,Node44_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node44_17.a('node.underlinepoints',[Node44_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width + 6, (Node44_17height - Node44_17fontSize) * 0.5*_ratio.ratioY + Node44_17fontSize + 2 ]); Node44_17.a('node.underlinevisible',false); Node44_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node44_17); zoomNodeList.push({ node: Node44_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node45_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node45_0 = new ht.Node(); Node45_0.setPosition(1462*ratio.ratioX, 237*ratio.ratioY); Node45_0.setSize(127*ratioX, 313*ratioY); Node45_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node45_0.setRotation(0*Math.PI/180); Node45_0._zoomBy = 'Default'; Node45_0._nodeType = 'image'; Node45_0._disallowEvert = true; dataModel.add(Node45_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node45_1 = new ht.Node(); var Node45_1textStart, Node45_1textWidth, Node45_1lineStart, Node45_1align = 'center', Node45_1fontSize = 13.3333*_ratio.ratioY,Node45_1width = 105*_ratio.ratioX, Node45_1height = 27*_ratio.ratioY; (function () { if (Node45_1align === 'left') { Node45_1textStart = Node45_1fontSize * 0.2 > 2 ? Node45_1fontSize * 0.2 - 4 : Node45_1fontSize * 0.2 - 9; Node45_1textWidth = Node45_1width; Node45_1lineStart = 1; } else if (Node45_1align === 'right') { Node45_1textStart = 0; Node45_1textWidth =Node45_1fontSize <= 8 ? Node45_1width + Node45_1fontSize * 0.2 + 6 : Node45_1width - Node45_1fontSize * 0.2; Node45_1lineStart = (Node45_1width - (ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node45_1align === 'center') { Node45_1textStart = -3; Node45_1textWidth = Node45_1width; Node45_1lineStart = Node45_1width - ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width - 11; } })(); Node45_1.setImage(GD.getTextJSON(Node45_1width, Node45_1height, true, false, false, 'bold '+ Node45_1fontSize + 'px "Arial"')) Node45_1.setPosition(1457*ratio.ratioX, 102*ratio.ratioY); Node45_1.setWidth(Node45_1width); Node45_1.setHeight(Node45_1height); Node45_1._nodeType = 'text'; Node45_1._disallowEvert = true; Node45_1.setRotation(0*Math.PI/180); Node45_1.a('node.width', Node45_1width); Node45_1.a('node.height', Node45_1height); Node45_1.a('node.rect', [0, 0, Node45_1width, Node45_1height]); Node45_1.a('node.bordercolor','rgba(255,255,255,1)'); Node45_1.a('node.borderwidth', 0); Node45_1.a('node.background','' || 'rgba(0,0,0,0)'); Node45_1.a('node.gradient',''); Node45_1.a('node.gradientcolor',''); Node45_1.a('node.text','故障损失电量'); Node45_1.a('node.textalign','center'); Node45_1.a('node.textvAlign','middle'); Node45_1.a('node.textrect', [Node45_1textStart, 0, Node45_1textWidth, Node45_1height]); Node45_1.a('node.color','rgba(255,255,255,1)'); Node45_1.a('node.font','bold '+ Node45_1fontSize + 'px "Arial"'); Node45_1.a('node.textvisible',true); Node45_1.a('node.linefeed',false); if (false) { Node45_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node45_1.a('node.text') || '故障损失电量'; var color=Node45_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node45_1width,Node45_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node45_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node45_1.a('node.underlinepoints',[Node45_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node45_1fontSize + 2 , ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width + 6, (Node45_1height - Node45_1fontSize) * 0.5*_ratio.ratioY + Node45_1fontSize + 2 ]); Node45_1.a('node.underlinevisible',false); Node45_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node45_1); zoomNodeList.push({ node: Node45_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_0type = 'rect'; var Node46_0 = new ht.Node(), Node46_0BorderWidth = 0*2; if (Node46_0type === 'arc') { Node46_0BorderWidth *= 0; } Node46_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_0.setPosition(1589*ratio.ratioX, 190*ratio.ratioY); Node46_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_0.a('node.width', 127*_ratio.ratioX); Node46_0.a('node.height', 32*_ratio.ratioY); Node46_0.a('node.type', Node46_0type); Node46_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_0.a('node.background', 'rgba(245,245,245,1)'); Node46_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node46_0.a('node.gradient', ''); Node46_0.a('node.borderwidth', Node46_0BorderWidth); Node46_0.a('node.color', 'rgba(192,192,192,0)'); Node46_0.a('node.fillrect', [0,0,0,0]); Node46_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_0.a('node.fillgradient', ''); if (Node46_0type !== 'rect') { Node46_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_0.a('node.arcTo', parseFloat('@arcTo@')); Node46_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_0type === 'arc') { Node46_0.a('node.arcOval', true); } Node46_0.setRotation(0*Math.PI/180); Node46_0.borderWidth = Node46_0BorderWidth; Node46_0.borderFillwidth = Node46_0BorderWidth; dataModel.add(Node46_0); Node46_0._nodename = 'Node46_0' Node46_0._nodeType = 'rect'; zoomNodeList.push({ node: Node46_0, 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); } })(Node46_0, Node46_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_1type = 'rect'; var Node46_1 = new ht.Node(), Node46_1BorderWidth = 0*2; if (Node46_1type === 'arc') { Node46_1BorderWidth *= 0; } Node46_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_1.setPosition(1589*ratio.ratioX, 222*ratio.ratioY); Node46_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_1.a('node.width', 127*_ratio.ratioX); Node46_1.a('node.height', 32*_ratio.ratioY); Node46_1.a('node.type', Node46_1type); Node46_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node46_1.a('node.gradientcolor', ''); Node46_1.a('node.gradient', ''); Node46_1.a('node.borderwidth', Node46_1BorderWidth); Node46_1.a('node.color', 'rgba(192,192,192,0)'); Node46_1.a('node.fillrect', [0,0,0,0]); Node46_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_1.a('node.fillgradient', ''); if (Node46_1type !== 'rect') { Node46_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_1.a('node.arcTo', parseFloat('@arcTo@')); Node46_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_1type === 'arc') { Node46_1.a('node.arcOval', true); } Node46_1.setRotation(0*Math.PI/180); Node46_1.borderWidth = Node46_1BorderWidth; Node46_1.borderFillwidth = Node46_1BorderWidth; dataModel.add(Node46_1); Node46_1._nodename = 'Node46_1' Node46_1._nodeType = 'rect'; zoomNodeList.push({ node: Node46_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); } })(Node46_1, Node46_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_2type = 'rect'; var Node46_2 = new ht.Node(), Node46_2BorderWidth = 0*2; if (Node46_2type === 'arc') { Node46_2BorderWidth *= 0; } Node46_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_2.setPosition(1589*ratio.ratioX, 254*ratio.ratioY); Node46_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_2.a('node.width', 127*_ratio.ratioX); Node46_2.a('node.height', 32*_ratio.ratioY); Node46_2.a('node.type', Node46_2type); Node46_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_2.a('node.background', 'rgba(245,245,245,1)'); Node46_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node46_2.a('node.gradient', ''); Node46_2.a('node.borderwidth', Node46_2BorderWidth); Node46_2.a('node.color', 'rgba(192,192,192,0)'); Node46_2.a('node.fillrect', [0,0,0,0]); Node46_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_2.a('node.fillgradient', ''); if (Node46_2type !== 'rect') { Node46_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_2.a('node.arcTo', parseFloat('@arcTo@')); Node46_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_2type === 'arc') { Node46_2.a('node.arcOval', true); } Node46_2.setRotation(0*Math.PI/180); Node46_2.borderWidth = Node46_2BorderWidth; Node46_2.borderFillwidth = Node46_2BorderWidth; dataModel.add(Node46_2); Node46_2._nodename = 'Node46_2' Node46_2._nodeType = 'rect'; zoomNodeList.push({ node: Node46_2, 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); } })(Node46_2, Node46_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_3type = 'rect'; var Node46_3 = new ht.Node(), Node46_3BorderWidth = 0*2; if (Node46_3type === 'arc') { Node46_3BorderWidth *= 0; } Node46_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_3.setPosition(1589*ratio.ratioX, 285*ratio.ratioY); Node46_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_3.a('node.width', 127*_ratio.ratioX); Node46_3.a('node.height', 32*_ratio.ratioY); Node46_3.a('node.type', Node46_3type); Node46_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node46_3.a('node.gradientcolor', ''); Node46_3.a('node.gradient', ''); Node46_3.a('node.borderwidth', Node46_3BorderWidth); Node46_3.a('node.color', 'rgba(192,192,192,0)'); Node46_3.a('node.fillrect', [0,0,0,0]); Node46_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_3.a('node.fillgradient', ''); if (Node46_3type !== 'rect') { Node46_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_3.a('node.arcTo', parseFloat('@arcTo@')); Node46_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_3type === 'arc') { Node46_3.a('node.arcOval', true); } Node46_3.setRotation(0*Math.PI/180); Node46_3.borderWidth = Node46_3BorderWidth; Node46_3.borderFillwidth = Node46_3BorderWidth; dataModel.add(Node46_3); Node46_3._nodename = 'Node46_3' Node46_3._nodeType = 'rect'; zoomNodeList.push({ node: Node46_3, 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); } })(Node46_3, Node46_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_4type = 'rect'; var Node46_4 = new ht.Node(), Node46_4BorderWidth = 0*2; if (Node46_4type === 'arc') { Node46_4BorderWidth *= 0; } Node46_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_4.setPosition(1589*ratio.ratioX, 316*ratio.ratioY); Node46_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_4.a('node.width', 127*_ratio.ratioX); Node46_4.a('node.height', 32*_ratio.ratioY); Node46_4.a('node.type', Node46_4type); Node46_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_4.a('node.background', 'rgba(245,245,245,1)'); Node46_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node46_4.a('node.gradient', ''); Node46_4.a('node.borderwidth', Node46_4BorderWidth); Node46_4.a('node.color', 'rgba(192,192,192,0)'); Node46_4.a('node.fillrect', [0,0,0,0]); Node46_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_4.a('node.fillgradient', ''); if (Node46_4type !== 'rect') { Node46_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_4.a('node.arcTo', parseFloat('@arcTo@')); Node46_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_4type === 'arc') { Node46_4.a('node.arcOval', true); } Node46_4.setRotation(0*Math.PI/180); Node46_4.borderWidth = Node46_4BorderWidth; Node46_4.borderFillwidth = Node46_4BorderWidth; dataModel.add(Node46_4); Node46_4._nodename = 'Node46_4' Node46_4._nodeType = 'rect'; zoomNodeList.push({ node: Node46_4, 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); } })(Node46_4, Node46_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_5type = 'rect'; var Node46_5 = new ht.Node(), Node46_5BorderWidth = 0*2; if (Node46_5type === 'arc') { Node46_5BorderWidth *= 0; } Node46_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_5.setPosition(1589*ratio.ratioX, 347*ratio.ratioY); Node46_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_5.a('node.width', 127*_ratio.ratioX); Node46_5.a('node.height', 32*_ratio.ratioY); Node46_5.a('node.type', Node46_5type); Node46_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node46_5.a('node.gradientcolor', ''); Node46_5.a('node.gradient', ''); Node46_5.a('node.borderwidth', Node46_5BorderWidth); Node46_5.a('node.color', 'rgba(192,192,192,0)'); Node46_5.a('node.fillrect', [0,0,0,0]); Node46_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_5.a('node.fillgradient', ''); if (Node46_5type !== 'rect') { Node46_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_5.a('node.arcTo', parseFloat('@arcTo@')); Node46_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_5type === 'arc') { Node46_5.a('node.arcOval', true); } Node46_5.setRotation(0*Math.PI/180); Node46_5.borderWidth = Node46_5BorderWidth; Node46_5.borderFillwidth = Node46_5BorderWidth; dataModel.add(Node46_5); Node46_5._nodename = 'Node46_5' Node46_5._nodeType = 'rect'; zoomNodeList.push({ node: Node46_5, 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); } })(Node46_5, Node46_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_6type = 'rect'; var Node46_6 = new ht.Node(), Node46_6BorderWidth = 0*2; if (Node46_6type === 'arc') { Node46_6BorderWidth *= 0; } Node46_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_6.setPosition(1589*ratio.ratioX, 378*ratio.ratioY); Node46_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node46_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_6.a('node.width', 127*_ratio.ratioX); Node46_6.a('node.height', 32*_ratio.ratioY); Node46_6.a('node.type', Node46_6type); Node46_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node46_6.a('node.background', 'rgba(245,245,245,1)'); Node46_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node46_6.a('node.gradient', ''); Node46_6.a('node.borderwidth', Node46_6BorderWidth); Node46_6.a('node.color', 'rgba(192,192,192,0)'); Node46_6.a('node.fillrect', [0,0,0,0]); Node46_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_6.a('node.fillgradient', ''); if (Node46_6type !== 'rect') { Node46_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_6.a('node.arcTo', parseFloat('@arcTo@')); Node46_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_6type === 'arc') { Node46_6.a('node.arcOval', true); } Node46_6.setRotation(0*Math.PI/180); Node46_6.borderWidth = Node46_6BorderWidth; Node46_6.borderFillwidth = Node46_6BorderWidth; dataModel.add(Node46_6); Node46_6._nodename = 'Node46_6' Node46_6._nodeType = 'rect'; zoomNodeList.push({ node: Node46_6, 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); } })(Node46_6, Node46_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_7type = 'rect'; var Node46_7 = new ht.Node(), Node46_7BorderWidth = 1*2; if (Node46_7type === 'arc') { Node46_7BorderWidth *= 1; } Node46_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node46_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46_7.setPosition(1589*ratio.ratioX, 239*ratio.ratioY); Node46_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node46_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46_7.a('node.width', 127*_ratio.ratioX); Node46_7.a('node.height', 309*_ratio.ratioY); Node46_7.a('node.type', Node46_7type); Node46_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node46_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node46_7.a('node.gradientcolor', ''); Node46_7.a('node.gradient', ''); Node46_7.a('node.borderwidth', Node46_7BorderWidth); Node46_7.a('node.color', 'rgba(192,192,192,1)'); Node46_7.a('node.fillrect', [0,0,0,0]); Node46_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46_7.a('node.fillgradient', ''); if (Node46_7type !== 'rect') { Node46_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node46_7.a('node.arcTo', parseFloat('@arcTo@')); Node46_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46_7type === 'arc') { Node46_7.a('node.arcOval', true); } Node46_7.setRotation(0*Math.PI/180); Node46_7.borderWidth = Node46_7BorderWidth; Node46_7.borderFillwidth = Node46_7BorderWidth; dataModel.add(Node46_7); Node46_7._nodename = 'Node46_7' Node46_7._nodeType = 'rect'; zoomNodeList.push({ node: Node46_7, 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); } })(Node46_7, Node46_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_8 = new ht.Node(); var Node46_8textStart, Node46_8textWidth, Node46_8lineStart, Node46_8align = 'center', Node46_8fontSize = 13.3333*_ratio.ratioY,Node46_8width = 105*_ratio.ratioX, Node46_8height = 27*_ratio.ratioY; (function () { if (Node46_8align === 'left') { Node46_8textStart = Node46_8fontSize * 0.2 > 2 ? Node46_8fontSize * 0.2 - 4 : Node46_8fontSize * 0.2 - 9; Node46_8textWidth = Node46_8width; Node46_8lineStart = 1; } else if (Node46_8align === 'right') { Node46_8textStart = 0; Node46_8textWidth =Node46_8fontSize <= 8 ? Node46_8width + Node46_8fontSize * 0.2 + 6 : Node46_8width - Node46_8fontSize * 0.2; Node46_8lineStart = (Node46_8width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node46_8align === 'center') { Node46_8textStart = -3; Node46_8textWidth = Node46_8width; Node46_8lineStart = Node46_8width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width - 11; } })(); Node46_8.setImage(GD.getTextJSON(Node46_8width, Node46_8height, true, false, false, 'bold '+ Node46_8fontSize + 'px "Arial"')) Node46_8.setPosition(1586*ratio.ratioX, 103*ratio.ratioY); Node46_8.setWidth(Node46_8width); Node46_8.setHeight(Node46_8height); Node46_8._nodeType = 'text'; Node46_8._disallowEvert = true; Node46_8.setRotation(0*Math.PI/180); Node46_8.a('node.width', Node46_8width); Node46_8.a('node.height', Node46_8height); Node46_8.a('node.rect', [0, 0, Node46_8width, Node46_8height]); Node46_8.a('node.bordercolor','rgba(255,255,255,1)'); Node46_8.a('node.borderwidth', 0); Node46_8.a('node.background','' || 'rgba(0,0,0,0)'); Node46_8.a('node.gradient',''); Node46_8.a('node.gradientcolor',''); Node46_8.a('node.text','限电损失电量'); Node46_8.a('node.textalign','center'); Node46_8.a('node.textvAlign','middle'); Node46_8.a('node.textrect', [Node46_8textStart, 0, Node46_8textWidth, Node46_8height]); Node46_8.a('node.color','rgba(255,255,255,1)'); Node46_8.a('node.font','bold '+ Node46_8fontSize + 'px "Arial"'); Node46_8.a('node.textvisible',true); Node46_8.a('node.linefeed',false); if (false) { Node46_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_8.a('node.text') || '限电损失电量'; var color=Node46_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_8width,Node46_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node46_8.a('node.underlinepoints',[Node46_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_8fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width + 6, (Node46_8height - Node46_8fontSize) * 0.5*_ratio.ratioY + Node46_8fontSize + 2 ]); Node46_8.a('node.underlinevisible',false); Node46_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_8); zoomNodeList.push({ node: Node46_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_9 = new ht.Node(); var Node46_9textStart, Node46_9textWidth, Node46_9lineStart, Node46_9align = 'center', Node46_9fontSize = 11.99997*_ratio.ratioY,Node46_9width = 105*_ratio.ratioX, Node46_9height = 17*_ratio.ratioY; (function () { if (Node46_9align === 'left') { Node46_9textStart = Node46_9fontSize * 0.2 > 2 ? Node46_9fontSize * 0.2 - 4 : Node46_9fontSize * 0.2 - 9; Node46_9textWidth = Node46_9width; Node46_9lineStart = 1; } else if (Node46_9align === 'right') { Node46_9textStart = 0; Node46_9textWidth =Node46_9fontSize <= 8 ? Node46_9width + Node46_9fontSize * 0.2 + 6 : Node46_9width - Node46_9fontSize * 0.2; Node46_9lineStart = (Node46_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node46_9align === 'center') { Node46_9textStart = -3; Node46_9textWidth = Node46_9width; Node46_9lineStart = Node46_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width - 11; } })(); Node46_9.setImage(GD.getTextJSON(Node46_9width, Node46_9height, true, false, false, 'bold '+ Node46_9fontSize + 'px "Arial"')) Node46_9.setPosition(1586*ratio.ratioX, 131*ratio.ratioY); Node46_9.setWidth(Node46_9width); Node46_9.setHeight(Node46_9height); Node46_9._nodeType = 'text'; Node46_9._disallowEvert = true; Node46_9.setRotation(0*Math.PI/180); Node46_9.a('node.width', Node46_9width); Node46_9.a('node.height', Node46_9height); Node46_9.a('node.rect', [0, 0, Node46_9width, Node46_9height]); Node46_9.a('node.bordercolor','rgba(128,128,128,1)'); Node46_9.a('node.borderwidth', 0); Node46_9.a('node.background','' || 'rgba(0,0,0,0)'); Node46_9.a('node.gradient',''); Node46_9.a('node.gradientcolor',''); Node46_9.a('node.text','万kwh'); Node46_9.a('node.textalign','center'); Node46_9.a('node.textvAlign','middle'); Node46_9.a('node.textrect', [Node46_9textStart, 0, Node46_9textWidth, Node46_9height]); Node46_9.a('node.color','rgba(128,128,128,1)'); Node46_9.a('node.font','bold '+ Node46_9fontSize + 'px "Arial"'); Node46_9.a('node.textvisible',true); Node46_9.a('node.linefeed',false); if (false) { Node46_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_9.a('node.text') || '万kwh'; var color=Node46_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node46_9width,Node46_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node46_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node46_9.a('node.underlinepoints',[Node46_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node46_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width + 6, (Node46_9height - Node46_9fontSize) * 0.5*_ratio.ratioY + Node46_9fontSize + 2 ]); Node46_9.a('node.underlinevisible',false); Node46_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_9); zoomNodeList.push({ node: Node46_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_10 = new ht.Node(); var Node46_10textStart, Node46_10textWidth, Node46_10lineStart, Node46_10align = 'center', Node46_10fontSize = 13.3333*_ratio.ratioY,Node46_10width = 105*_ratio.ratioX, Node46_10height = 27*_ratio.ratioY; (function () { if (Node46_10align === 'left') { Node46_10textStart = Node46_10fontSize * 0.2 > 2 ? Node46_10fontSize * 0.2 - 4 : Node46_10fontSize * 0.2 - 9; Node46_10textWidth = Node46_10width; Node46_10lineStart = 1; } else if (Node46_10align === 'right') { Node46_10textStart = 0; Node46_10textWidth =Node46_10fontSize <= 8 ? Node46_10width + Node46_10fontSize * 0.2 + 6 : Node46_10width - Node46_10fontSize * 0.2; Node46_10lineStart = (Node46_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_10align === 'center') { Node46_10textStart = -3; Node46_10textWidth = Node46_10width; Node46_10lineStart = Node46_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_10.setImage(GD.getTextJSON(Node46_10width, Node46_10height, true, false, false, 'bold '+ Node46_10fontSize + 'px "UniDreamLED"')) Node46_10.setPosition(1586*ratio.ratioX, 158*ratio.ratioY); Node46_10.setWidth(Node46_10width); Node46_10.setHeight(Node46_10height); Node46_10._nodeType = 'text'; Node46_10._disallowEvert = true; Node46_10.setRotation(0*Math.PI/180); Node46_10.a('node.width', Node46_10width); Node46_10.a('node.height', Node46_10height); Node46_10.a('node.rect', [0, 0, Node46_10width, Node46_10height]); Node46_10.a('node.bordercolor','rgba(0,0,0,1)'); Node46_10.a('node.borderwidth', 0); Node46_10.a('node.background','' || 'rgba(0,0,0,0)'); Node46_10.a('node.gradient',''); Node46_10.a('node.gradientcolor',''); Node46_10.a('node.text','1134.76'); Node46_10.a('node.textalign','center'); Node46_10.a('node.textvAlign','middle'); Node46_10.a('node.textrect', [Node46_10textStart, 0, Node46_10textWidth, Node46_10height]); Node46_10.a('node.color','rgba(0,0,0,1)'); Node46_10.a('node.font','bold '+ Node46_10fontSize + 'px "UniDreamLED"'); Node46_10.a('node.textvisible',true); Node46_10.a('node.linefeed',false); if (false) { Node46_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_10.a('node.text') || '1134.76'; var color=Node46_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_10width,Node46_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_10.a('node.underlinepoints',[Node46_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width + 6, (Node46_10height - Node46_10fontSize) * 0.5*_ratio.ratioY + Node46_10fontSize + 2 ]); Node46_10.a('node.underlinevisible',false); Node46_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_10); zoomNodeList.push({ node: Node46_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_11 = new ht.Node(); var Node46_11textStart, Node46_11textWidth, Node46_11lineStart, Node46_11align = 'center', Node46_11fontSize = 13.3333*_ratio.ratioY,Node46_11width = 110*_ratio.ratioX, Node46_11height = 27*_ratio.ratioY; (function () { if (Node46_11align === 'left') { Node46_11textStart = Node46_11fontSize * 0.2 > 2 ? Node46_11fontSize * 0.2 - 4 : Node46_11fontSize * 0.2 - 9; Node46_11textWidth = Node46_11width; Node46_11lineStart = 1; } else if (Node46_11align === 'right') { Node46_11textStart = 0; Node46_11textWidth =Node46_11fontSize <= 8 ? Node46_11width + Node46_11fontSize * 0.2 + 6 : Node46_11width - Node46_11fontSize * 0.2; Node46_11lineStart = (Node46_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_11align === 'center') { Node46_11textStart = -3; Node46_11textWidth = Node46_11width; Node46_11lineStart = Node46_11width - ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_11.setImage(GD.getTextJSON(Node46_11width, Node46_11height, true, false, false, 'bold '+ Node46_11fontSize + 'px "UniDreamLED"')) Node46_11.setPosition(1589*ratio.ratioX, 190*ratio.ratioY); Node46_11.setWidth(Node46_11width); Node46_11.setHeight(Node46_11height); Node46_11._nodeType = 'text'; Node46_11._disallowEvert = true; Node46_11.setRotation(0*Math.PI/180); Node46_11.a('node.width', Node46_11width); Node46_11.a('node.height', Node46_11height); Node46_11.a('node.rect', [0, 0, Node46_11width, Node46_11height]); Node46_11.a('node.bordercolor','rgba(0,0,0,1)'); Node46_11.a('node.borderwidth', 0); Node46_11.a('node.background','' || 'rgba(0,0,0,0)'); Node46_11.a('node.gradient',''); Node46_11.a('node.gradientcolor',''); Node46_11.a('node.text','171.51'); Node46_11.a('node.textalign','center'); Node46_11.a('node.textvAlign','middle'); Node46_11.a('node.textrect', [Node46_11textStart, 0, Node46_11textWidth, Node46_11height]); Node46_11.a('node.color','rgba(0,0,0,1)'); Node46_11.a('node.font','bold '+ Node46_11fontSize + 'px "UniDreamLED"'); Node46_11.a('node.textvisible',true); Node46_11.a('node.linefeed',false); if (false) { Node46_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_11.a('node.text') || '171.51'; var color=Node46_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_11width,Node46_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_11.a('node.underlinepoints',[Node46_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width + 6, (Node46_11height - Node46_11fontSize) * 0.5*_ratio.ratioY + Node46_11fontSize + 2 ]); Node46_11.a('node.underlinevisible',false); Node46_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_11); zoomNodeList.push({ node: Node46_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_12 = new ht.Node(); var Node46_12textStart, Node46_12textWidth, Node46_12lineStart, Node46_12align = 'center', Node46_12fontSize = 13.3333*_ratio.ratioY,Node46_12width = 110*_ratio.ratioX, Node46_12height = 27*_ratio.ratioY; (function () { if (Node46_12align === 'left') { Node46_12textStart = Node46_12fontSize * 0.2 > 2 ? Node46_12fontSize * 0.2 - 4 : Node46_12fontSize * 0.2 - 9; Node46_12textWidth = Node46_12width; Node46_12lineStart = 1; } else if (Node46_12align === 'right') { Node46_12textStart = 0; Node46_12textWidth =Node46_12fontSize <= 8 ? Node46_12width + Node46_12fontSize * 0.2 + 6 : Node46_12width - Node46_12fontSize * 0.2; Node46_12lineStart = (Node46_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_12align === 'center') { Node46_12textStart = -3; Node46_12textWidth = Node46_12width; Node46_12lineStart = Node46_12width - ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_12.setImage(GD.getTextJSON(Node46_12width, Node46_12height, true, false, false, 'bold '+ Node46_12fontSize + 'px "UniDreamLED"')) Node46_12.setPosition(1589*ratio.ratioX, 220*ratio.ratioY); Node46_12.setWidth(Node46_12width); Node46_12.setHeight(Node46_12height); Node46_12._nodeType = 'text'; Node46_12._disallowEvert = true; Node46_12.setRotation(0*Math.PI/180); Node46_12.a('node.width', Node46_12width); Node46_12.a('node.height', Node46_12height); Node46_12.a('node.rect', [0, 0, Node46_12width, Node46_12height]); Node46_12.a('node.bordercolor','rgba(0,0,0,1)'); Node46_12.a('node.borderwidth', 0); Node46_12.a('node.background','' || 'rgba(0,0,0,0)'); Node46_12.a('node.gradient',''); Node46_12.a('node.gradientcolor',''); Node46_12.a('node.text','329.51'); Node46_12.a('node.textalign','center'); Node46_12.a('node.textvAlign','middle'); Node46_12.a('node.textrect', [Node46_12textStart, 0, Node46_12textWidth, Node46_12height]); Node46_12.a('node.color','rgba(0,0,0,1)'); Node46_12.a('node.font','bold '+ Node46_12fontSize + 'px "UniDreamLED"'); Node46_12.a('node.textvisible',true); Node46_12.a('node.linefeed',false); if (false) { Node46_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_12.a('node.text') || '329.51'; var color=Node46_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_12width,Node46_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_12.a('node.underlinepoints',[Node46_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width + 6, (Node46_12height - Node46_12fontSize) * 0.5*_ratio.ratioY + Node46_12fontSize + 2 ]); Node46_12.a('node.underlinevisible',false); Node46_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_12); zoomNodeList.push({ node: Node46_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_13 = new ht.Node(); var Node46_13textStart, Node46_13textWidth, Node46_13lineStart, Node46_13align = 'center', Node46_13fontSize = 13.3333*_ratio.ratioY,Node46_13width = 110*_ratio.ratioX, Node46_13height = 27*_ratio.ratioY; (function () { if (Node46_13align === 'left') { Node46_13textStart = Node46_13fontSize * 0.2 > 2 ? Node46_13fontSize * 0.2 - 4 : Node46_13fontSize * 0.2 - 9; Node46_13textWidth = Node46_13width; Node46_13lineStart = 1; } else if (Node46_13align === 'right') { Node46_13textStart = 0; Node46_13textWidth =Node46_13fontSize <= 8 ? Node46_13width + Node46_13fontSize * 0.2 + 6 : Node46_13width - Node46_13fontSize * 0.2; Node46_13lineStart = (Node46_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_13align === 'center') { Node46_13textStart = -3; Node46_13textWidth = Node46_13width; Node46_13lineStart = Node46_13width - ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_13.setImage(GD.getTextJSON(Node46_13width, Node46_13height, true, false, false, 'bold '+ Node46_13fontSize + 'px "UniDreamLED"')) Node46_13.setPosition(1589*ratio.ratioX, 250*ratio.ratioY); Node46_13.setWidth(Node46_13width); Node46_13.setHeight(Node46_13height); Node46_13._nodeType = 'text'; Node46_13._disallowEvert = true; Node46_13.setRotation(0*Math.PI/180); Node46_13.a('node.width', Node46_13width); Node46_13.a('node.height', Node46_13height); Node46_13.a('node.rect', [0, 0, Node46_13width, Node46_13height]); Node46_13.a('node.bordercolor','rgba(0,0,0,1)'); Node46_13.a('node.borderwidth', 0); Node46_13.a('node.background','' || 'rgba(0,0,0,0)'); Node46_13.a('node.gradient',''); Node46_13.a('node.gradientcolor',''); Node46_13.a('node.text','340.14'); Node46_13.a('node.textalign','center'); Node46_13.a('node.textvAlign','middle'); Node46_13.a('node.textrect', [Node46_13textStart, 0, Node46_13textWidth, Node46_13height]); Node46_13.a('node.color','rgba(0,0,0,1)'); Node46_13.a('node.font','bold '+ Node46_13fontSize + 'px "UniDreamLED"'); Node46_13.a('node.textvisible',true); Node46_13.a('node.linefeed',false); if (false) { Node46_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_13.a('node.text') || '340.14'; var color=Node46_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_13width,Node46_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_13.a('node.underlinepoints',[Node46_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width + 6, (Node46_13height - Node46_13fontSize) * 0.5*_ratio.ratioY + Node46_13fontSize + 2 ]); Node46_13.a('node.underlinevisible',false); Node46_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_13); zoomNodeList.push({ node: Node46_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_14 = new ht.Node(); var Node46_14textStart, Node46_14textWidth, Node46_14lineStart, Node46_14align = 'center', Node46_14fontSize = 13.3333*_ratio.ratioY,Node46_14width = 110*_ratio.ratioX, Node46_14height = 27*_ratio.ratioY; (function () { if (Node46_14align === 'left') { Node46_14textStart = Node46_14fontSize * 0.2 > 2 ? Node46_14fontSize * 0.2 - 4 : Node46_14fontSize * 0.2 - 9; Node46_14textWidth = Node46_14width; Node46_14lineStart = 1; } else if (Node46_14align === 'right') { Node46_14textStart = 0; Node46_14textWidth =Node46_14fontSize <= 8 ? Node46_14width + Node46_14fontSize * 0.2 + 6 : Node46_14width - Node46_14fontSize * 0.2; Node46_14lineStart = (Node46_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_14align === 'center') { Node46_14textStart = -3; Node46_14textWidth = Node46_14width; Node46_14lineStart = Node46_14width - ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_14.setImage(GD.getTextJSON(Node46_14width, Node46_14height, true, false, false, 'bold '+ Node46_14fontSize + 'px "UniDreamLED"')) Node46_14.setPosition(1589*ratio.ratioX, 284*ratio.ratioY); Node46_14.setWidth(Node46_14width); Node46_14.setHeight(Node46_14height); Node46_14._nodeType = 'text'; Node46_14._disallowEvert = true; Node46_14.setRotation(0*Math.PI/180); Node46_14.a('node.width', Node46_14width); Node46_14.a('node.height', Node46_14height); Node46_14.a('node.rect', [0, 0, Node46_14width, Node46_14height]); Node46_14.a('node.bordercolor','rgba(0,0,0,1)'); Node46_14.a('node.borderwidth', 0); Node46_14.a('node.background','' || 'rgba(0,0,0,0)'); Node46_14.a('node.gradient',''); Node46_14.a('node.gradientcolor',''); Node46_14.a('node.text','60.61'); Node46_14.a('node.textalign','center'); Node46_14.a('node.textvAlign','middle'); Node46_14.a('node.textrect', [Node46_14textStart, 0, Node46_14textWidth, Node46_14height]); Node46_14.a('node.color','rgba(0,0,0,1)'); Node46_14.a('node.font','bold '+ Node46_14fontSize + 'px "UniDreamLED"'); Node46_14.a('node.textvisible',true); Node46_14.a('node.linefeed',false); if (false) { Node46_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_14.a('node.text') || '60.61'; var color=Node46_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_14width,Node46_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_14.a('node.underlinepoints',[Node46_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width + 6, (Node46_14height - Node46_14fontSize) * 0.5*_ratio.ratioY + Node46_14fontSize + 2 ]); Node46_14.a('node.underlinevisible',false); Node46_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_14); zoomNodeList.push({ node: Node46_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_15 = new ht.Node(); var Node46_15textStart, Node46_15textWidth, Node46_15lineStart, Node46_15align = 'center', Node46_15fontSize = 13.3333*_ratio.ratioY,Node46_15width = 110*_ratio.ratioX, Node46_15height = 27*_ratio.ratioY; (function () { if (Node46_15align === 'left') { Node46_15textStart = Node46_15fontSize * 0.2 > 2 ? Node46_15fontSize * 0.2 - 4 : Node46_15fontSize * 0.2 - 9; Node46_15textWidth = Node46_15width; Node46_15lineStart = 1; } else if (Node46_15align === 'right') { Node46_15textStart = 0; Node46_15textWidth =Node46_15fontSize <= 8 ? Node46_15width + Node46_15fontSize * 0.2 + 6 : Node46_15width - Node46_15fontSize * 0.2; Node46_15lineStart = (Node46_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_15align === 'center') { Node46_15textStart = -3; Node46_15textWidth = Node46_15width; Node46_15lineStart = Node46_15width - ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_15.setImage(GD.getTextJSON(Node46_15width, Node46_15height, true, false, false, 'bold '+ Node46_15fontSize + 'px "UniDreamLED"')) Node46_15.setPosition(1589*ratio.ratioX, 317*ratio.ratioY); Node46_15.setWidth(Node46_15width); Node46_15.setHeight(Node46_15height); Node46_15._nodeType = 'text'; Node46_15._disallowEvert = true; Node46_15.setRotation(0*Math.PI/180); Node46_15.a('node.width', Node46_15width); Node46_15.a('node.height', Node46_15height); Node46_15.a('node.rect', [0, 0, Node46_15width, Node46_15height]); Node46_15.a('node.bordercolor','rgba(0,0,0,1)'); Node46_15.a('node.borderwidth', 0); Node46_15.a('node.background','' || 'rgba(0,0,0,0)'); Node46_15.a('node.gradient',''); Node46_15.a('node.gradientcolor',''); Node46_15.a('node.text','166.79'); Node46_15.a('node.textalign','center'); Node46_15.a('node.textvAlign','middle'); Node46_15.a('node.textrect', [Node46_15textStart, 0, Node46_15textWidth, Node46_15height]); Node46_15.a('node.color','rgba(0,0,0,1)'); Node46_15.a('node.font','bold '+ Node46_15fontSize + 'px "UniDreamLED"'); Node46_15.a('node.textvisible',true); Node46_15.a('node.linefeed',false); if (false) { Node46_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_15.a('node.text') || '166.79'; var color=Node46_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_15width,Node46_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_15.a('node.underlinepoints',[Node46_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width + 6, (Node46_15height - Node46_15fontSize) * 0.5*_ratio.ratioY + Node46_15fontSize + 2 ]); Node46_15.a('node.underlinevisible',false); Node46_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_15); zoomNodeList.push({ node: Node46_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_16 = new ht.Node(); var Node46_16textStart, Node46_16textWidth, Node46_16lineStart, Node46_16align = 'center', Node46_16fontSize = 13.3333*_ratio.ratioY,Node46_16width = 110*_ratio.ratioX, Node46_16height = 27*_ratio.ratioY; (function () { if (Node46_16align === 'left') { Node46_16textStart = Node46_16fontSize * 0.2 > 2 ? Node46_16fontSize * 0.2 - 4 : Node46_16fontSize * 0.2 - 9; Node46_16textWidth = Node46_16width; Node46_16lineStart = 1; } else if (Node46_16align === 'right') { Node46_16textStart = 0; Node46_16textWidth =Node46_16fontSize <= 8 ? Node46_16width + Node46_16fontSize * 0.2 + 6 : Node46_16width - Node46_16fontSize * 0.2; Node46_16lineStart = (Node46_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_16align === 'center') { Node46_16textStart = -3; Node46_16textWidth = Node46_16width; Node46_16lineStart = Node46_16width - ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_16.setImage(GD.getTextJSON(Node46_16width, Node46_16height, true, false, false, 'bold '+ Node46_16fontSize + 'px "UniDreamLED"')) Node46_16.setPosition(1589*ratio.ratioX, 346*ratio.ratioY); Node46_16.setWidth(Node46_16width); Node46_16.setHeight(Node46_16height); Node46_16._nodeType = 'text'; Node46_16._disallowEvert = true; Node46_16.setRotation(0*Math.PI/180); Node46_16.a('node.width', Node46_16width); Node46_16.a('node.height', Node46_16height); Node46_16.a('node.rect', [0, 0, Node46_16width, Node46_16height]); Node46_16.a('node.bordercolor','rgba(0,0,0,1)'); Node46_16.a('node.borderwidth', 0); Node46_16.a('node.background','' || 'rgba(0,0,0,0)'); Node46_16.a('node.gradient',''); Node46_16.a('node.gradientcolor',''); Node46_16.a('node.text','66.18'); Node46_16.a('node.textalign','center'); Node46_16.a('node.textvAlign','middle'); Node46_16.a('node.textrect', [Node46_16textStart, 0, Node46_16textWidth, Node46_16height]); Node46_16.a('node.color','rgba(0,0,0,1)'); Node46_16.a('node.font','bold '+ Node46_16fontSize + 'px "UniDreamLED"'); Node46_16.a('node.textvisible',true); Node46_16.a('node.linefeed',false); if (false) { Node46_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_16.a('node.text') || '66.18'; var color=Node46_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_16width,Node46_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_16.a('node.underlinepoints',[Node46_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width + 6, (Node46_16height - Node46_16fontSize) * 0.5*_ratio.ratioY + Node46_16fontSize + 2 ]); Node46_16.a('node.underlinevisible',false); Node46_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_16); zoomNodeList.push({ node: Node46_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46_17 = new ht.Node(); var Node46_17textStart, Node46_17textWidth, Node46_17lineStart, Node46_17align = 'center', Node46_17fontSize = 13.3333*_ratio.ratioY,Node46_17width = 110*_ratio.ratioX, Node46_17height = 27*_ratio.ratioY; (function () { if (Node46_17align === 'left') { Node46_17textStart = Node46_17fontSize * 0.2 > 2 ? Node46_17fontSize * 0.2 - 4 : Node46_17fontSize * 0.2 - 9; Node46_17textWidth = Node46_17width; Node46_17lineStart = 1; } else if (Node46_17align === 'right') { Node46_17textStart = 0; Node46_17textWidth =Node46_17fontSize <= 8 ? Node46_17width + Node46_17fontSize * 0.2 + 6 : Node46_17width - Node46_17fontSize * 0.2; Node46_17lineStart = (Node46_17width - (ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node46_17align === 'center') { Node46_17textStart = -3; Node46_17textWidth = Node46_17width; Node46_17lineStart = Node46_17width - ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node46_17.setImage(GD.getTextJSON(Node46_17width, Node46_17height, true, false, false, 'bold '+ Node46_17fontSize + 'px "UniDreamLED"')) Node46_17.setPosition(1589*ratio.ratioX, 377*ratio.ratioY); Node46_17.setWidth(Node46_17width); Node46_17.setHeight(Node46_17height); Node46_17._nodeType = 'text'; Node46_17._disallowEvert = true; Node46_17.setRotation(0*Math.PI/180); Node46_17.a('node.width', Node46_17width); Node46_17.a('node.height', Node46_17height); Node46_17.a('node.rect', [0, 0, Node46_17width, Node46_17height]); Node46_17.a('node.bordercolor','rgba(0,0,0,1)'); Node46_17.a('node.borderwidth', 0); Node46_17.a('node.background','' || 'rgba(0,0,0,0)'); Node46_17.a('node.gradient',''); Node46_17.a('node.gradientcolor',''); Node46_17.a('node.text','-'); Node46_17.a('node.textalign','center'); Node46_17.a('node.textvAlign','middle'); Node46_17.a('node.textrect', [Node46_17textStart, 0, Node46_17textWidth, Node46_17height]); Node46_17.a('node.color','rgba(0,0,0,1)'); Node46_17.a('node.font','bold '+ Node46_17fontSize + 'px "UniDreamLED"'); Node46_17.a('node.textvisible',true); Node46_17.a('node.linefeed',false); if (false) { Node46_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node46_17.a('node.text') || '-'; var color=Node46_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_17width,Node46_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node46_17.a('node.underlinepoints',[Node46_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width + 6, (Node46_17height - Node46_17fontSize) * 0.5*_ratio.ratioY + Node46_17fontSize + 2 ]); Node46_17.a('node.underlinevisible',false); Node46_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node46_17); zoomNodeList.push({ node: Node46_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node47_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node47_0 = new ht.Node(); Node47_0.setPosition(1589*ratio.ratioX, 237*ratio.ratioY); Node47_0.setSize(127*ratioX, 313*ratioY); Node47_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node47_0.setRotation(0*Math.PI/180); Node47_0._zoomBy = 'Default'; Node47_0._nodeType = 'image'; Node47_0._disallowEvert = true; dataModel.add(Node47_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node47_1 = new ht.Node(); var Node47_1textStart, Node47_1textWidth, Node47_1lineStart, Node47_1align = 'center', Node47_1fontSize = 13.3333*_ratio.ratioY,Node47_1width = 105*_ratio.ratioX, Node47_1height = 27*_ratio.ratioY; (function () { if (Node47_1align === 'left') { Node47_1textStart = Node47_1fontSize * 0.2 > 2 ? Node47_1fontSize * 0.2 - 4 : Node47_1fontSize * 0.2 - 9; Node47_1textWidth = Node47_1width; Node47_1lineStart = 1; } else if (Node47_1align === 'right') { Node47_1textStart = 0; Node47_1textWidth =Node47_1fontSize <= 8 ? Node47_1width + Node47_1fontSize * 0.2 + 6 : Node47_1width - Node47_1fontSize * 0.2; Node47_1lineStart = (Node47_1width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node47_1align === 'center') { Node47_1textStart = -3; Node47_1textWidth = Node47_1width; Node47_1lineStart = Node47_1width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width - 11; } })(); Node47_1.setImage(GD.getTextJSON(Node47_1width, Node47_1height, true, false, false, 'bold '+ Node47_1fontSize + 'px "Arial"')) Node47_1.setPosition(1584*ratio.ratioX, 102*ratio.ratioY); Node47_1.setWidth(Node47_1width); Node47_1.setHeight(Node47_1height); Node47_1._nodeType = 'text'; Node47_1._disallowEvert = true; Node47_1.setRotation(0*Math.PI/180); Node47_1.a('node.width', Node47_1width); Node47_1.a('node.height', Node47_1height); Node47_1.a('node.rect', [0, 0, Node47_1width, Node47_1height]); Node47_1.a('node.bordercolor','rgba(255,255,255,1)'); Node47_1.a('node.borderwidth', 0); Node47_1.a('node.background','' || 'rgba(0,0,0,0)'); Node47_1.a('node.gradient',''); Node47_1.a('node.gradientcolor',''); Node47_1.a('node.text','限电损失电量'); Node47_1.a('node.textalign','center'); Node47_1.a('node.textvAlign','middle'); Node47_1.a('node.textrect', [Node47_1textStart, 0, Node47_1textWidth, Node47_1height]); Node47_1.a('node.color','rgba(255,255,255,1)'); Node47_1.a('node.font','bold '+ Node47_1fontSize + 'px "Arial"'); Node47_1.a('node.textvisible',true); Node47_1.a('node.linefeed',false); if (false) { Node47_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node47_1.a('node.text') || '限电损失电量'; var color=Node47_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47_1width,Node47_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node47_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node47_1.a('node.underlinepoints',[Node47_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node47_1fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width + 6, (Node47_1height - Node47_1fontSize) * 0.5*_ratio.ratioY + Node47_1fontSize + 2 ]); Node47_1.a('node.underlinevisible',false); Node47_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node47_1); zoomNodeList.push({ node: Node47_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_0type = 'rect'; var Node48_0 = new ht.Node(), Node48_0BorderWidth = 0*2; if (Node48_0type === 'arc') { Node48_0BorderWidth *= 0; } Node48_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_0.setPosition(1716*ratio.ratioX, 190*ratio.ratioY); Node48_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_0.a('node.width', 127*_ratio.ratioX); Node48_0.a('node.height', 32*_ratio.ratioY); Node48_0.a('node.type', Node48_0type); Node48_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_0.a('node.background', 'rgba(245,245,245,1)'); Node48_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node48_0.a('node.gradient', ''); Node48_0.a('node.borderwidth', Node48_0BorderWidth); Node48_0.a('node.color', 'rgba(192,192,192,0)'); Node48_0.a('node.fillrect', [0,0,0,0]); Node48_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_0.a('node.fillgradient', ''); if (Node48_0type !== 'rect') { Node48_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_0.a('node.arcTo', parseFloat('@arcTo@')); Node48_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_0type === 'arc') { Node48_0.a('node.arcOval', true); } Node48_0.setRotation(0*Math.PI/180); Node48_0.borderWidth = Node48_0BorderWidth; Node48_0.borderFillwidth = Node48_0BorderWidth; dataModel.add(Node48_0); Node48_0._nodename = 'Node48_0' Node48_0._nodeType = 'rect'; zoomNodeList.push({ node: Node48_0, 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); } })(Node48_0, Node48_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_1type = 'rect'; var Node48_1 = new ht.Node(), Node48_1BorderWidth = 0*2; if (Node48_1type === 'arc') { Node48_1BorderWidth *= 0; } Node48_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_1.setPosition(1716*ratio.ratioX, 222*ratio.ratioY); Node48_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_1.a('node.width', 127*_ratio.ratioX); Node48_1.a('node.height', 32*_ratio.ratioY); Node48_1.a('node.type', Node48_1type); Node48_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node48_1.a('node.gradientcolor', ''); Node48_1.a('node.gradient', ''); Node48_1.a('node.borderwidth', Node48_1BorderWidth); Node48_1.a('node.color', 'rgba(192,192,192,0)'); Node48_1.a('node.fillrect', [0,0,0,0]); Node48_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_1.a('node.fillgradient', ''); if (Node48_1type !== 'rect') { Node48_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_1.a('node.arcTo', parseFloat('@arcTo@')); Node48_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_1type === 'arc') { Node48_1.a('node.arcOval', true); } Node48_1.setRotation(0*Math.PI/180); Node48_1.borderWidth = Node48_1BorderWidth; Node48_1.borderFillwidth = Node48_1BorderWidth; dataModel.add(Node48_1); Node48_1._nodename = 'Node48_1' Node48_1._nodeType = 'rect'; zoomNodeList.push({ node: Node48_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); } })(Node48_1, Node48_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_2type = 'rect'; var Node48_2 = new ht.Node(), Node48_2BorderWidth = 0*2; if (Node48_2type === 'arc') { Node48_2BorderWidth *= 0; } Node48_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_2.setPosition(1716*ratio.ratioX, 254*ratio.ratioY); Node48_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_2.a('node.width', 127*_ratio.ratioX); Node48_2.a('node.height', 32*_ratio.ratioY); Node48_2.a('node.type', Node48_2type); Node48_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_2.a('node.background', 'rgba(245,245,245,1)'); Node48_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node48_2.a('node.gradient', ''); Node48_2.a('node.borderwidth', Node48_2BorderWidth); Node48_2.a('node.color', 'rgba(192,192,192,0)'); Node48_2.a('node.fillrect', [0,0,0,0]); Node48_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_2.a('node.fillgradient', ''); if (Node48_2type !== 'rect') { Node48_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_2.a('node.arcTo', parseFloat('@arcTo@')); Node48_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_2type === 'arc') { Node48_2.a('node.arcOval', true); } Node48_2.setRotation(0*Math.PI/180); Node48_2.borderWidth = Node48_2BorderWidth; Node48_2.borderFillwidth = Node48_2BorderWidth; dataModel.add(Node48_2); Node48_2._nodename = 'Node48_2' Node48_2._nodeType = 'rect'; zoomNodeList.push({ node: Node48_2, 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); } })(Node48_2, Node48_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_3type = 'rect'; var Node48_3 = new ht.Node(), Node48_3BorderWidth = 0*2; if (Node48_3type === 'arc') { Node48_3BorderWidth *= 0; } Node48_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_3.setPosition(1716*ratio.ratioX, 285*ratio.ratioY); Node48_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_3.a('node.width', 127*_ratio.ratioX); Node48_3.a('node.height', 32*_ratio.ratioY); Node48_3.a('node.type', Node48_3type); Node48_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node48_3.a('node.gradientcolor', ''); Node48_3.a('node.gradient', ''); Node48_3.a('node.borderwidth', Node48_3BorderWidth); Node48_3.a('node.color', 'rgba(192,192,192,0)'); Node48_3.a('node.fillrect', [0,0,0,0]); Node48_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_3.a('node.fillgradient', ''); if (Node48_3type !== 'rect') { Node48_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_3.a('node.arcTo', parseFloat('@arcTo@')); Node48_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_3type === 'arc') { Node48_3.a('node.arcOval', true); } Node48_3.setRotation(0*Math.PI/180); Node48_3.borderWidth = Node48_3BorderWidth; Node48_3.borderFillwidth = Node48_3BorderWidth; dataModel.add(Node48_3); Node48_3._nodename = 'Node48_3' Node48_3._nodeType = 'rect'; zoomNodeList.push({ node: Node48_3, 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); } })(Node48_3, Node48_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_4type = 'rect'; var Node48_4 = new ht.Node(), Node48_4BorderWidth = 0*2; if (Node48_4type === 'arc') { Node48_4BorderWidth *= 0; } Node48_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_4.setPosition(1716*ratio.ratioX, 316*ratio.ratioY); Node48_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_4.a('node.width', 127*_ratio.ratioX); Node48_4.a('node.height', 32*_ratio.ratioY); Node48_4.a('node.type', Node48_4type); Node48_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_4.a('node.background', 'rgba(245,245,245,1)'); Node48_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node48_4.a('node.gradient', ''); Node48_4.a('node.borderwidth', Node48_4BorderWidth); Node48_4.a('node.color', 'rgba(192,192,192,0)'); Node48_4.a('node.fillrect', [0,0,0,0]); Node48_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_4.a('node.fillgradient', ''); if (Node48_4type !== 'rect') { Node48_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_4.a('node.arcTo', parseFloat('@arcTo@')); Node48_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_4type === 'arc') { Node48_4.a('node.arcOval', true); } Node48_4.setRotation(0*Math.PI/180); Node48_4.borderWidth = Node48_4BorderWidth; Node48_4.borderFillwidth = Node48_4BorderWidth; dataModel.add(Node48_4); Node48_4._nodename = 'Node48_4' Node48_4._nodeType = 'rect'; zoomNodeList.push({ node: Node48_4, 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); } })(Node48_4, Node48_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_5type = 'rect'; var Node48_5 = new ht.Node(), Node48_5BorderWidth = 0*2; if (Node48_5type === 'arc') { Node48_5BorderWidth *= 0; } Node48_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_5.setPosition(1716*ratio.ratioX, 347*ratio.ratioY); Node48_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_5.a('node.width', 127*_ratio.ratioX); Node48_5.a('node.height', 32*_ratio.ratioY); Node48_5.a('node.type', Node48_5type); Node48_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node48_5.a('node.gradientcolor', ''); Node48_5.a('node.gradient', ''); Node48_5.a('node.borderwidth', Node48_5BorderWidth); Node48_5.a('node.color', 'rgba(192,192,192,0)'); Node48_5.a('node.fillrect', [0,0,0,0]); Node48_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_5.a('node.fillgradient', ''); if (Node48_5type !== 'rect') { Node48_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_5.a('node.arcTo', parseFloat('@arcTo@')); Node48_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_5type === 'arc') { Node48_5.a('node.arcOval', true); } Node48_5.setRotation(0*Math.PI/180); Node48_5.borderWidth = Node48_5BorderWidth; Node48_5.borderFillwidth = Node48_5BorderWidth; dataModel.add(Node48_5); Node48_5._nodename = 'Node48_5' Node48_5._nodeType = 'rect'; zoomNodeList.push({ node: Node48_5, 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); } })(Node48_5, Node48_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_6type = 'rect'; var Node48_6 = new ht.Node(), Node48_6BorderWidth = 0*2; if (Node48_6type === 'arc') { Node48_6BorderWidth *= 0; } Node48_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_6.setPosition(1716*ratio.ratioX, 378*ratio.ratioY); Node48_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node48_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_6.a('node.width', 127*_ratio.ratioX); Node48_6.a('node.height', 32*_ratio.ratioY); Node48_6.a('node.type', Node48_6type); Node48_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node48_6.a('node.background', 'rgba(245,245,245,1)'); Node48_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node48_6.a('node.gradient', ''); Node48_6.a('node.borderwidth', Node48_6BorderWidth); Node48_6.a('node.color', 'rgba(192,192,192,0)'); Node48_6.a('node.fillrect', [0,0,0,0]); Node48_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_6.a('node.fillgradient', ''); if (Node48_6type !== 'rect') { Node48_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_6.a('node.arcTo', parseFloat('@arcTo@')); Node48_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_6type === 'arc') { Node48_6.a('node.arcOval', true); } Node48_6.setRotation(0*Math.PI/180); Node48_6.borderWidth = Node48_6BorderWidth; Node48_6.borderFillwidth = Node48_6BorderWidth; dataModel.add(Node48_6); Node48_6._nodename = 'Node48_6' Node48_6._nodeType = 'rect'; zoomNodeList.push({ node: Node48_6, 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); } })(Node48_6, Node48_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_7type = 'rect'; var Node48_7 = new ht.Node(), Node48_7BorderWidth = 1*2; if (Node48_7type === 'arc') { Node48_7BorderWidth *= 1; } Node48_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node48_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48_7.setPosition(1716*ratio.ratioX, 239*ratio.ratioY); Node48_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node48_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48_7.a('node.width', 127*_ratio.ratioX); Node48_7.a('node.height', 309*_ratio.ratioY); Node48_7.a('node.type', Node48_7type); Node48_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node48_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node48_7.a('node.gradientcolor', ''); Node48_7.a('node.gradient', ''); Node48_7.a('node.borderwidth', Node48_7BorderWidth); Node48_7.a('node.color', 'rgba(192,192,192,1)'); Node48_7.a('node.fillrect', [0,0,0,0]); Node48_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48_7.a('node.fillgradient', ''); if (Node48_7type !== 'rect') { Node48_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node48_7.a('node.arcTo', parseFloat('@arcTo@')); Node48_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48_7type === 'arc') { Node48_7.a('node.arcOval', true); } Node48_7.setRotation(0*Math.PI/180); Node48_7.borderWidth = Node48_7BorderWidth; Node48_7.borderFillwidth = Node48_7BorderWidth; dataModel.add(Node48_7); Node48_7._nodename = 'Node48_7' Node48_7._nodeType = 'rect'; zoomNodeList.push({ node: Node48_7, 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); } })(Node48_7, Node48_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_8 = new ht.Node(); var Node48_8textStart, Node48_8textWidth, Node48_8lineStart, Node48_8align = 'center', Node48_8fontSize = 13.3333*_ratio.ratioY,Node48_8width = 105*_ratio.ratioX, Node48_8height = 27*_ratio.ratioY; (function () { if (Node48_8align === 'left') { Node48_8textStart = Node48_8fontSize * 0.2 > 2 ? Node48_8fontSize * 0.2 - 4 : Node48_8fontSize * 0.2 - 9; Node48_8textWidth = Node48_8width; Node48_8lineStart = 1; } else if (Node48_8align === 'right') { Node48_8textStart = 0; Node48_8textWidth =Node48_8fontSize <= 8 ? Node48_8width + Node48_8fontSize * 0.2 + 6 : Node48_8width - Node48_8fontSize * 0.2; Node48_8lineStart = (Node48_8width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node48_8align === 'center') { Node48_8textStart = -3; Node48_8textWidth = Node48_8width; Node48_8lineStart = Node48_8width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width - 11; } })(); Node48_8.setImage(GD.getTextJSON(Node48_8width, Node48_8height, true, false, false, 'bold '+ Node48_8fontSize + 'px "Arial"')) Node48_8.setPosition(1713*ratio.ratioX, 103*ratio.ratioY); Node48_8.setWidth(Node48_8width); Node48_8.setHeight(Node48_8height); Node48_8._nodeType = 'text'; Node48_8._disallowEvert = true; Node48_8.setRotation(0*Math.PI/180); Node48_8.a('node.width', Node48_8width); Node48_8.a('node.height', Node48_8height); Node48_8.a('node.rect', [0, 0, Node48_8width, Node48_8height]); Node48_8.a('node.bordercolor','rgba(255,255,255,1)'); Node48_8.a('node.borderwidth', 0); Node48_8.a('node.background','' || 'rgba(0,0,0,0)'); Node48_8.a('node.gradient',''); Node48_8.a('node.gradientcolor',''); Node48_8.a('node.text','受累损失电量'); Node48_8.a('node.textalign','center'); Node48_8.a('node.textvAlign','middle'); Node48_8.a('node.textrect', [Node48_8textStart, 0, Node48_8textWidth, Node48_8height]); Node48_8.a('node.color','rgba(255,255,255,1)'); Node48_8.a('node.font','bold '+ Node48_8fontSize + 'px "Arial"'); Node48_8.a('node.textvisible',true); Node48_8.a('node.linefeed',false); if (false) { Node48_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_8.a('node.text') || '受累损失电量'; var color=Node48_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_8width,Node48_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node48_8.a('node.underlinepoints',[Node48_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_8fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width + 6, (Node48_8height - Node48_8fontSize) * 0.5*_ratio.ratioY + Node48_8fontSize + 2 ]); Node48_8.a('node.underlinevisible',false); Node48_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_8); zoomNodeList.push({ node: Node48_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_9 = new ht.Node(); var Node48_9textStart, Node48_9textWidth, Node48_9lineStart, Node48_9align = 'center', Node48_9fontSize = 11.99997*_ratio.ratioY,Node48_9width = 105*_ratio.ratioX, Node48_9height = 17*_ratio.ratioY; (function () { if (Node48_9align === 'left') { Node48_9textStart = Node48_9fontSize * 0.2 > 2 ? Node48_9fontSize * 0.2 - 4 : Node48_9fontSize * 0.2 - 9; Node48_9textWidth = Node48_9width; Node48_9lineStart = 1; } else if (Node48_9align === 'right') { Node48_9textStart = 0; Node48_9textWidth =Node48_9fontSize <= 8 ? Node48_9width + Node48_9fontSize * 0.2 + 6 : Node48_9width - Node48_9fontSize * 0.2; Node48_9lineStart = (Node48_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node48_9align === 'center') { Node48_9textStart = -3; Node48_9textWidth = Node48_9width; Node48_9lineStart = Node48_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width - 11; } })(); Node48_9.setImage(GD.getTextJSON(Node48_9width, Node48_9height, true, false, false, 'bold '+ Node48_9fontSize + 'px "Arial"')) Node48_9.setPosition(1713*ratio.ratioX, 131*ratio.ratioY); Node48_9.setWidth(Node48_9width); Node48_9.setHeight(Node48_9height); Node48_9._nodeType = 'text'; Node48_9._disallowEvert = true; Node48_9.setRotation(0*Math.PI/180); Node48_9.a('node.width', Node48_9width); Node48_9.a('node.height', Node48_9height); Node48_9.a('node.rect', [0, 0, Node48_9width, Node48_9height]); Node48_9.a('node.bordercolor','rgba(128,128,128,1)'); Node48_9.a('node.borderwidth', 0); Node48_9.a('node.background','' || 'rgba(0,0,0,0)'); Node48_9.a('node.gradient',''); Node48_9.a('node.gradientcolor',''); Node48_9.a('node.text','万kwh'); Node48_9.a('node.textalign','center'); Node48_9.a('node.textvAlign','middle'); Node48_9.a('node.textrect', [Node48_9textStart, 0, Node48_9textWidth, Node48_9height]); Node48_9.a('node.color','rgba(128,128,128,1)'); Node48_9.a('node.font','bold '+ Node48_9fontSize + 'px "Arial"'); Node48_9.a('node.textvisible',true); Node48_9.a('node.linefeed',false); if (false) { Node48_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_9.a('node.text') || '万kwh'; var color=Node48_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node48_9width,Node48_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node48_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node48_9.a('node.underlinepoints',[Node48_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node48_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width + 6, (Node48_9height - Node48_9fontSize) * 0.5*_ratio.ratioY + Node48_9fontSize + 2 ]); Node48_9.a('node.underlinevisible',false); Node48_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_9); zoomNodeList.push({ node: Node48_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_10 = new ht.Node(); var Node48_10textStart, Node48_10textWidth, Node48_10lineStart, Node48_10align = 'center', Node48_10fontSize = 13.3333*_ratio.ratioY,Node48_10width = 105*_ratio.ratioX, Node48_10height = 27*_ratio.ratioY; (function () { if (Node48_10align === 'left') { Node48_10textStart = Node48_10fontSize * 0.2 > 2 ? Node48_10fontSize * 0.2 - 4 : Node48_10fontSize * 0.2 - 9; Node48_10textWidth = Node48_10width; Node48_10lineStart = 1; } else if (Node48_10align === 'right') { Node48_10textStart = 0; Node48_10textWidth =Node48_10fontSize <= 8 ? Node48_10width + Node48_10fontSize * 0.2 + 6 : Node48_10width - Node48_10fontSize * 0.2; Node48_10lineStart = (Node48_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_10align === 'center') { Node48_10textStart = -3; Node48_10textWidth = Node48_10width; Node48_10lineStart = Node48_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_10.setImage(GD.getTextJSON(Node48_10width, Node48_10height, true, false, false, 'bold '+ Node48_10fontSize + 'px "UniDreamLED"')) Node48_10.setPosition(1713*ratio.ratioX, 158*ratio.ratioY); Node48_10.setWidth(Node48_10width); Node48_10.setHeight(Node48_10height); Node48_10._nodeType = 'text'; Node48_10._disallowEvert = true; Node48_10.setRotation(0*Math.PI/180); Node48_10.a('node.width', Node48_10width); Node48_10.a('node.height', Node48_10height); Node48_10.a('node.rect', [0, 0, Node48_10width, Node48_10height]); Node48_10.a('node.bordercolor','rgba(0,0,0,1)'); Node48_10.a('node.borderwidth', 0); Node48_10.a('node.background','' || 'rgba(0,0,0,0)'); Node48_10.a('node.gradient',''); Node48_10.a('node.gradientcolor',''); Node48_10.a('node.text','1134.76'); Node48_10.a('node.textalign','center'); Node48_10.a('node.textvAlign','middle'); Node48_10.a('node.textrect', [Node48_10textStart, 0, Node48_10textWidth, Node48_10height]); Node48_10.a('node.color','rgba(0,0,0,1)'); Node48_10.a('node.font','bold '+ Node48_10fontSize + 'px "UniDreamLED"'); Node48_10.a('node.textvisible',true); Node48_10.a('node.linefeed',false); if (false) { Node48_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_10.a('node.text') || '1134.76'; var color=Node48_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_10width,Node48_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_10.a('node.underlinepoints',[Node48_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width + 6, (Node48_10height - Node48_10fontSize) * 0.5*_ratio.ratioY + Node48_10fontSize + 2 ]); Node48_10.a('node.underlinevisible',false); Node48_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_10); zoomNodeList.push({ node: Node48_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_11 = new ht.Node(); var Node48_11textStart, Node48_11textWidth, Node48_11lineStart, Node48_11align = 'center', Node48_11fontSize = 13.3333*_ratio.ratioY,Node48_11width = 110*_ratio.ratioX, Node48_11height = 27*_ratio.ratioY; (function () { if (Node48_11align === 'left') { Node48_11textStart = Node48_11fontSize * 0.2 > 2 ? Node48_11fontSize * 0.2 - 4 : Node48_11fontSize * 0.2 - 9; Node48_11textWidth = Node48_11width; Node48_11lineStart = 1; } else if (Node48_11align === 'right') { Node48_11textStart = 0; Node48_11textWidth =Node48_11fontSize <= 8 ? Node48_11width + Node48_11fontSize * 0.2 + 6 : Node48_11width - Node48_11fontSize * 0.2; Node48_11lineStart = (Node48_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_11align === 'center') { Node48_11textStart = -3; Node48_11textWidth = Node48_11width; Node48_11lineStart = Node48_11width - ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_11.setImage(GD.getTextJSON(Node48_11width, Node48_11height, true, false, false, 'bold '+ Node48_11fontSize + 'px "UniDreamLED"')) Node48_11.setPosition(1716*ratio.ratioX, 190*ratio.ratioY); Node48_11.setWidth(Node48_11width); Node48_11.setHeight(Node48_11height); Node48_11._nodeType = 'text'; Node48_11._disallowEvert = true; Node48_11.setRotation(0*Math.PI/180); Node48_11.a('node.width', Node48_11width); Node48_11.a('node.height', Node48_11height); Node48_11.a('node.rect', [0, 0, Node48_11width, Node48_11height]); Node48_11.a('node.bordercolor','rgba(0,0,0,1)'); Node48_11.a('node.borderwidth', 0); Node48_11.a('node.background','' || 'rgba(0,0,0,0)'); Node48_11.a('node.gradient',''); Node48_11.a('node.gradientcolor',''); Node48_11.a('node.text','171.51'); Node48_11.a('node.textalign','center'); Node48_11.a('node.textvAlign','middle'); Node48_11.a('node.textrect', [Node48_11textStart, 0, Node48_11textWidth, Node48_11height]); Node48_11.a('node.color','rgba(0,0,0,1)'); Node48_11.a('node.font','bold '+ Node48_11fontSize + 'px "UniDreamLED"'); Node48_11.a('node.textvisible',true); Node48_11.a('node.linefeed',false); if (false) { Node48_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_11.a('node.text') || '171.51'; var color=Node48_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_11width,Node48_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_11.a('node.underlinepoints',[Node48_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width + 6, (Node48_11height - Node48_11fontSize) * 0.5*_ratio.ratioY + Node48_11fontSize + 2 ]); Node48_11.a('node.underlinevisible',false); Node48_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_11); zoomNodeList.push({ node: Node48_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_12 = new ht.Node(); var Node48_12textStart, Node48_12textWidth, Node48_12lineStart, Node48_12align = 'center', Node48_12fontSize = 13.3333*_ratio.ratioY,Node48_12width = 110*_ratio.ratioX, Node48_12height = 27*_ratio.ratioY; (function () { if (Node48_12align === 'left') { Node48_12textStart = Node48_12fontSize * 0.2 > 2 ? Node48_12fontSize * 0.2 - 4 : Node48_12fontSize * 0.2 - 9; Node48_12textWidth = Node48_12width; Node48_12lineStart = 1; } else if (Node48_12align === 'right') { Node48_12textStart = 0; Node48_12textWidth =Node48_12fontSize <= 8 ? Node48_12width + Node48_12fontSize * 0.2 + 6 : Node48_12width - Node48_12fontSize * 0.2; Node48_12lineStart = (Node48_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_12align === 'center') { Node48_12textStart = -3; Node48_12textWidth = Node48_12width; Node48_12lineStart = Node48_12width - ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_12.setImage(GD.getTextJSON(Node48_12width, Node48_12height, true, false, false, 'bold '+ Node48_12fontSize + 'px "UniDreamLED"')) Node48_12.setPosition(1716*ratio.ratioX, 220*ratio.ratioY); Node48_12.setWidth(Node48_12width); Node48_12.setHeight(Node48_12height); Node48_12._nodeType = 'text'; Node48_12._disallowEvert = true; Node48_12.setRotation(0*Math.PI/180); Node48_12.a('node.width', Node48_12width); Node48_12.a('node.height', Node48_12height); Node48_12.a('node.rect', [0, 0, Node48_12width, Node48_12height]); Node48_12.a('node.bordercolor','rgba(0,0,0,1)'); Node48_12.a('node.borderwidth', 0); Node48_12.a('node.background','' || 'rgba(0,0,0,0)'); Node48_12.a('node.gradient',''); Node48_12.a('node.gradientcolor',''); Node48_12.a('node.text','329.51'); Node48_12.a('node.textalign','center'); Node48_12.a('node.textvAlign','middle'); Node48_12.a('node.textrect', [Node48_12textStart, 0, Node48_12textWidth, Node48_12height]); Node48_12.a('node.color','rgba(0,0,0,1)'); Node48_12.a('node.font','bold '+ Node48_12fontSize + 'px "UniDreamLED"'); Node48_12.a('node.textvisible',true); Node48_12.a('node.linefeed',false); if (false) { Node48_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_12.a('node.text') || '329.51'; var color=Node48_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_12width,Node48_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_12.a('node.underlinepoints',[Node48_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width + 6, (Node48_12height - Node48_12fontSize) * 0.5*_ratio.ratioY + Node48_12fontSize + 2 ]); Node48_12.a('node.underlinevisible',false); Node48_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_12); zoomNodeList.push({ node: Node48_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_13 = new ht.Node(); var Node48_13textStart, Node48_13textWidth, Node48_13lineStart, Node48_13align = 'center', Node48_13fontSize = 13.3333*_ratio.ratioY,Node48_13width = 110*_ratio.ratioX, Node48_13height = 27*_ratio.ratioY; (function () { if (Node48_13align === 'left') { Node48_13textStart = Node48_13fontSize * 0.2 > 2 ? Node48_13fontSize * 0.2 - 4 : Node48_13fontSize * 0.2 - 9; Node48_13textWidth = Node48_13width; Node48_13lineStart = 1; } else if (Node48_13align === 'right') { Node48_13textStart = 0; Node48_13textWidth =Node48_13fontSize <= 8 ? Node48_13width + Node48_13fontSize * 0.2 + 6 : Node48_13width - Node48_13fontSize * 0.2; Node48_13lineStart = (Node48_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_13align === 'center') { Node48_13textStart = -3; Node48_13textWidth = Node48_13width; Node48_13lineStart = Node48_13width - ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_13.setImage(GD.getTextJSON(Node48_13width, Node48_13height, true, false, false, 'bold '+ Node48_13fontSize + 'px "UniDreamLED"')) Node48_13.setPosition(1716*ratio.ratioX, 250*ratio.ratioY); Node48_13.setWidth(Node48_13width); Node48_13.setHeight(Node48_13height); Node48_13._nodeType = 'text'; Node48_13._disallowEvert = true; Node48_13.setRotation(0*Math.PI/180); Node48_13.a('node.width', Node48_13width); Node48_13.a('node.height', Node48_13height); Node48_13.a('node.rect', [0, 0, Node48_13width, Node48_13height]); Node48_13.a('node.bordercolor','rgba(0,0,0,1)'); Node48_13.a('node.borderwidth', 0); Node48_13.a('node.background','' || 'rgba(0,0,0,0)'); Node48_13.a('node.gradient',''); Node48_13.a('node.gradientcolor',''); Node48_13.a('node.text','340.14'); Node48_13.a('node.textalign','center'); Node48_13.a('node.textvAlign','middle'); Node48_13.a('node.textrect', [Node48_13textStart, 0, Node48_13textWidth, Node48_13height]); Node48_13.a('node.color','rgba(0,0,0,1)'); Node48_13.a('node.font','bold '+ Node48_13fontSize + 'px "UniDreamLED"'); Node48_13.a('node.textvisible',true); Node48_13.a('node.linefeed',false); if (false) { Node48_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_13.a('node.text') || '340.14'; var color=Node48_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_13width,Node48_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_13.a('node.underlinepoints',[Node48_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width + 6, (Node48_13height - Node48_13fontSize) * 0.5*_ratio.ratioY + Node48_13fontSize + 2 ]); Node48_13.a('node.underlinevisible',false); Node48_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_13); zoomNodeList.push({ node: Node48_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_14 = new ht.Node(); var Node48_14textStart, Node48_14textWidth, Node48_14lineStart, Node48_14align = 'center', Node48_14fontSize = 13.3333*_ratio.ratioY,Node48_14width = 110*_ratio.ratioX, Node48_14height = 27*_ratio.ratioY; (function () { if (Node48_14align === 'left') { Node48_14textStart = Node48_14fontSize * 0.2 > 2 ? Node48_14fontSize * 0.2 - 4 : Node48_14fontSize * 0.2 - 9; Node48_14textWidth = Node48_14width; Node48_14lineStart = 1; } else if (Node48_14align === 'right') { Node48_14textStart = 0; Node48_14textWidth =Node48_14fontSize <= 8 ? Node48_14width + Node48_14fontSize * 0.2 + 6 : Node48_14width - Node48_14fontSize * 0.2; Node48_14lineStart = (Node48_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_14align === 'center') { Node48_14textStart = -3; Node48_14textWidth = Node48_14width; Node48_14lineStart = Node48_14width - ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_14.setImage(GD.getTextJSON(Node48_14width, Node48_14height, true, false, false, 'bold '+ Node48_14fontSize + 'px "UniDreamLED"')) Node48_14.setPosition(1716*ratio.ratioX, 284*ratio.ratioY); Node48_14.setWidth(Node48_14width); Node48_14.setHeight(Node48_14height); Node48_14._nodeType = 'text'; Node48_14._disallowEvert = true; Node48_14.setRotation(0*Math.PI/180); Node48_14.a('node.width', Node48_14width); Node48_14.a('node.height', Node48_14height); Node48_14.a('node.rect', [0, 0, Node48_14width, Node48_14height]); Node48_14.a('node.bordercolor','rgba(0,0,0,1)'); Node48_14.a('node.borderwidth', 0); Node48_14.a('node.background','' || 'rgba(0,0,0,0)'); Node48_14.a('node.gradient',''); Node48_14.a('node.gradientcolor',''); Node48_14.a('node.text','60.61'); Node48_14.a('node.textalign','center'); Node48_14.a('node.textvAlign','middle'); Node48_14.a('node.textrect', [Node48_14textStart, 0, Node48_14textWidth, Node48_14height]); Node48_14.a('node.color','rgba(0,0,0,1)'); Node48_14.a('node.font','bold '+ Node48_14fontSize + 'px "UniDreamLED"'); Node48_14.a('node.textvisible',true); Node48_14.a('node.linefeed',false); if (false) { Node48_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_14.a('node.text') || '60.61'; var color=Node48_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_14width,Node48_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_14.a('node.underlinepoints',[Node48_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width + 6, (Node48_14height - Node48_14fontSize) * 0.5*_ratio.ratioY + Node48_14fontSize + 2 ]); Node48_14.a('node.underlinevisible',false); Node48_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_14); zoomNodeList.push({ node: Node48_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_15 = new ht.Node(); var Node48_15textStart, Node48_15textWidth, Node48_15lineStart, Node48_15align = 'center', Node48_15fontSize = 13.3333*_ratio.ratioY,Node48_15width = 110*_ratio.ratioX, Node48_15height = 27*_ratio.ratioY; (function () { if (Node48_15align === 'left') { Node48_15textStart = Node48_15fontSize * 0.2 > 2 ? Node48_15fontSize * 0.2 - 4 : Node48_15fontSize * 0.2 - 9; Node48_15textWidth = Node48_15width; Node48_15lineStart = 1; } else if (Node48_15align === 'right') { Node48_15textStart = 0; Node48_15textWidth =Node48_15fontSize <= 8 ? Node48_15width + Node48_15fontSize * 0.2 + 6 : Node48_15width - Node48_15fontSize * 0.2; Node48_15lineStart = (Node48_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_15align === 'center') { Node48_15textStart = -3; Node48_15textWidth = Node48_15width; Node48_15lineStart = Node48_15width - ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_15.setImage(GD.getTextJSON(Node48_15width, Node48_15height, true, false, false, 'bold '+ Node48_15fontSize + 'px "UniDreamLED"')) Node48_15.setPosition(1716*ratio.ratioX, 317*ratio.ratioY); Node48_15.setWidth(Node48_15width); Node48_15.setHeight(Node48_15height); Node48_15._nodeType = 'text'; Node48_15._disallowEvert = true; Node48_15.setRotation(0*Math.PI/180); Node48_15.a('node.width', Node48_15width); Node48_15.a('node.height', Node48_15height); Node48_15.a('node.rect', [0, 0, Node48_15width, Node48_15height]); Node48_15.a('node.bordercolor','rgba(0,0,0,1)'); Node48_15.a('node.borderwidth', 0); Node48_15.a('node.background','' || 'rgba(0,0,0,0)'); Node48_15.a('node.gradient',''); Node48_15.a('node.gradientcolor',''); Node48_15.a('node.text','166.79'); Node48_15.a('node.textalign','center'); Node48_15.a('node.textvAlign','middle'); Node48_15.a('node.textrect', [Node48_15textStart, 0, Node48_15textWidth, Node48_15height]); Node48_15.a('node.color','rgba(0,0,0,1)'); Node48_15.a('node.font','bold '+ Node48_15fontSize + 'px "UniDreamLED"'); Node48_15.a('node.textvisible',true); Node48_15.a('node.linefeed',false); if (false) { Node48_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_15.a('node.text') || '166.79'; var color=Node48_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_15width,Node48_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_15.a('node.underlinepoints',[Node48_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width + 6, (Node48_15height - Node48_15fontSize) * 0.5*_ratio.ratioY + Node48_15fontSize + 2 ]); Node48_15.a('node.underlinevisible',false); Node48_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_15); zoomNodeList.push({ node: Node48_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_16 = new ht.Node(); var Node48_16textStart, Node48_16textWidth, Node48_16lineStart, Node48_16align = 'center', Node48_16fontSize = 13.3333*_ratio.ratioY,Node48_16width = 110*_ratio.ratioX, Node48_16height = 27*_ratio.ratioY; (function () { if (Node48_16align === 'left') { Node48_16textStart = Node48_16fontSize * 0.2 > 2 ? Node48_16fontSize * 0.2 - 4 : Node48_16fontSize * 0.2 - 9; Node48_16textWidth = Node48_16width; Node48_16lineStart = 1; } else if (Node48_16align === 'right') { Node48_16textStart = 0; Node48_16textWidth =Node48_16fontSize <= 8 ? Node48_16width + Node48_16fontSize * 0.2 + 6 : Node48_16width - Node48_16fontSize * 0.2; Node48_16lineStart = (Node48_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_16align === 'center') { Node48_16textStart = -3; Node48_16textWidth = Node48_16width; Node48_16lineStart = Node48_16width - ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_16.setImage(GD.getTextJSON(Node48_16width, Node48_16height, true, false, false, 'bold '+ Node48_16fontSize + 'px "UniDreamLED"')) Node48_16.setPosition(1716*ratio.ratioX, 346*ratio.ratioY); Node48_16.setWidth(Node48_16width); Node48_16.setHeight(Node48_16height); Node48_16._nodeType = 'text'; Node48_16._disallowEvert = true; Node48_16.setRotation(0*Math.PI/180); Node48_16.a('node.width', Node48_16width); Node48_16.a('node.height', Node48_16height); Node48_16.a('node.rect', [0, 0, Node48_16width, Node48_16height]); Node48_16.a('node.bordercolor','rgba(0,0,0,1)'); Node48_16.a('node.borderwidth', 0); Node48_16.a('node.background','' || 'rgba(0,0,0,0)'); Node48_16.a('node.gradient',''); Node48_16.a('node.gradientcolor',''); Node48_16.a('node.text','66.18'); Node48_16.a('node.textalign','center'); Node48_16.a('node.textvAlign','middle'); Node48_16.a('node.textrect', [Node48_16textStart, 0, Node48_16textWidth, Node48_16height]); Node48_16.a('node.color','rgba(0,0,0,1)'); Node48_16.a('node.font','bold '+ Node48_16fontSize + 'px "UniDreamLED"'); Node48_16.a('node.textvisible',true); Node48_16.a('node.linefeed',false); if (false) { Node48_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_16.a('node.text') || '66.18'; var color=Node48_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_16width,Node48_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_16.a('node.underlinepoints',[Node48_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width + 6, (Node48_16height - Node48_16fontSize) * 0.5*_ratio.ratioY + Node48_16fontSize + 2 ]); Node48_16.a('node.underlinevisible',false); Node48_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_16); zoomNodeList.push({ node: Node48_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48_17 = new ht.Node(); var Node48_17textStart, Node48_17textWidth, Node48_17lineStart, Node48_17align = 'center', Node48_17fontSize = 13.3333*_ratio.ratioY,Node48_17width = 110*_ratio.ratioX, Node48_17height = 27*_ratio.ratioY; (function () { if (Node48_17align === 'left') { Node48_17textStart = Node48_17fontSize * 0.2 > 2 ? Node48_17fontSize * 0.2 - 4 : Node48_17fontSize * 0.2 - 9; Node48_17textWidth = Node48_17width; Node48_17lineStart = 1; } else if (Node48_17align === 'right') { Node48_17textStart = 0; Node48_17textWidth =Node48_17fontSize <= 8 ? Node48_17width + Node48_17fontSize * 0.2 + 6 : Node48_17width - Node48_17fontSize * 0.2; Node48_17lineStart = (Node48_17width - (ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node48_17align === 'center') { Node48_17textStart = -3; Node48_17textWidth = Node48_17width; Node48_17lineStart = Node48_17width - ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node48_17.setImage(GD.getTextJSON(Node48_17width, Node48_17height, true, false, false, 'bold '+ Node48_17fontSize + 'px "UniDreamLED"')) Node48_17.setPosition(1716*ratio.ratioX, 377*ratio.ratioY); Node48_17.setWidth(Node48_17width); Node48_17.setHeight(Node48_17height); Node48_17._nodeType = 'text'; Node48_17._disallowEvert = true; Node48_17.setRotation(0*Math.PI/180); Node48_17.a('node.width', Node48_17width); Node48_17.a('node.height', Node48_17height); Node48_17.a('node.rect', [0, 0, Node48_17width, Node48_17height]); Node48_17.a('node.bordercolor','rgba(0,0,0,1)'); Node48_17.a('node.borderwidth', 0); Node48_17.a('node.background','' || 'rgba(0,0,0,0)'); Node48_17.a('node.gradient',''); Node48_17.a('node.gradientcolor',''); Node48_17.a('node.text','-'); Node48_17.a('node.textalign','center'); Node48_17.a('node.textvAlign','middle'); Node48_17.a('node.textrect', [Node48_17textStart, 0, Node48_17textWidth, Node48_17height]); Node48_17.a('node.color','rgba(0,0,0,1)'); Node48_17.a('node.font','bold '+ Node48_17fontSize + 'px "UniDreamLED"'); Node48_17.a('node.textvisible',true); Node48_17.a('node.linefeed',false); if (false) { Node48_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node48_17.a('node.text') || '-'; var color=Node48_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_17width,Node48_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node48_17.a('node.underlinepoints',[Node48_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width + 6, (Node48_17height - Node48_17fontSize) * 0.5*_ratio.ratioY + Node48_17fontSize + 2 ]); Node48_17.a('node.underlinevisible',false); Node48_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node48_17); zoomNodeList.push({ node: Node48_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node49_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node49_0 = new ht.Node(); Node49_0.setPosition(1716*ratio.ratioX, 237*ratio.ratioY); Node49_0.setSize(127*ratioX, 313*ratioY); Node49_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node49_0.setRotation(0*Math.PI/180); Node49_0._zoomBy = 'Default'; Node49_0._nodeType = 'image'; Node49_0._disallowEvert = true; dataModel.add(Node49_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node49_1 = new ht.Node(); var Node49_1textStart, Node49_1textWidth, Node49_1lineStart, Node49_1align = 'center', Node49_1fontSize = 13.3333*_ratio.ratioY,Node49_1width = 105*_ratio.ratioX, Node49_1height = 27*_ratio.ratioY; (function () { if (Node49_1align === 'left') { Node49_1textStart = Node49_1fontSize * 0.2 > 2 ? Node49_1fontSize * 0.2 - 4 : Node49_1fontSize * 0.2 - 9; Node49_1textWidth = Node49_1width; Node49_1lineStart = 1; } else if (Node49_1align === 'right') { Node49_1textStart = 0; Node49_1textWidth =Node49_1fontSize <= 8 ? Node49_1width + Node49_1fontSize * 0.2 + 6 : Node49_1width - Node49_1fontSize * 0.2; Node49_1lineStart = (Node49_1width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node49_1align === 'center') { Node49_1textStart = -3; Node49_1textWidth = Node49_1width; Node49_1lineStart = Node49_1width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width - 11; } })(); Node49_1.setImage(GD.getTextJSON(Node49_1width, Node49_1height, true, false, false, 'bold '+ Node49_1fontSize + 'px "Arial"')) Node49_1.setPosition(1711*ratio.ratioX, 102*ratio.ratioY); Node49_1.setWidth(Node49_1width); Node49_1.setHeight(Node49_1height); Node49_1._nodeType = 'text'; Node49_1._disallowEvert = true; Node49_1.setRotation(0*Math.PI/180); Node49_1.a('node.width', Node49_1width); Node49_1.a('node.height', Node49_1height); Node49_1.a('node.rect', [0, 0, Node49_1width, Node49_1height]); Node49_1.a('node.bordercolor','rgba(255,255,255,1)'); Node49_1.a('node.borderwidth', 0); Node49_1.a('node.background','' || 'rgba(0,0,0,0)'); Node49_1.a('node.gradient',''); Node49_1.a('node.gradientcolor',''); Node49_1.a('node.text','受累损失电量'); Node49_1.a('node.textalign','center'); Node49_1.a('node.textvAlign','middle'); Node49_1.a('node.textrect', [Node49_1textStart, 0, Node49_1textWidth, Node49_1height]); Node49_1.a('node.color','rgba(255,255,255,1)'); Node49_1.a('node.font','bold '+ Node49_1fontSize + 'px "Arial"'); Node49_1.a('node.textvisible',true); Node49_1.a('node.linefeed',false); if (false) { Node49_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node49_1.a('node.text') || '受累损失电量'; var color=Node49_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49_1width,Node49_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node49_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node49_1.a('node.underlinepoints',[Node49_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node49_1fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width + 6, (Node49_1height - Node49_1fontSize) * 0.5*_ratio.ratioY + Node49_1fontSize + 2 ]); Node49_1.a('node.underlinevisible',false); Node49_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node49_1); zoomNodeList.push({ node: Node49_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_0type = 'rect'; var Node50_0 = new ht.Node(), Node50_0BorderWidth = 0*2; if (Node50_0type === 'arc') { Node50_0BorderWidth *= 0; } Node50_0.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_0.setPosition(1838*ratio.ratioX, 189*ratio.ratioY); Node50_0.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_0.a('node.width', 117*_ratio.ratioX); Node50_0.a('node.height', 32*_ratio.ratioY); Node50_0.a('node.type', Node50_0type); Node50_0.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_0.a('node.background', 'rgba(245,245,245,1)'); Node50_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node50_0.a('node.gradient', ''); Node50_0.a('node.borderwidth', Node50_0BorderWidth); Node50_0.a('node.color', 'rgba(192,192,192,0)'); Node50_0.a('node.fillrect', [0,0,0,0]); Node50_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_0.a('node.fillgradient', ''); if (Node50_0type !== 'rect') { Node50_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_0.a('node.arcTo', parseFloat('@arcTo@')); Node50_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_0type === 'arc') { Node50_0.a('node.arcOval', true); } Node50_0.setRotation(0*Math.PI/180); Node50_0.borderWidth = Node50_0BorderWidth; Node50_0.borderFillwidth = Node50_0BorderWidth; dataModel.add(Node50_0); Node50_0._nodename = 'Node50_0' Node50_0._nodeType = 'rect'; zoomNodeList.push({ node: Node50_0, 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); } })(Node50_0, Node50_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_1type = 'rect'; var Node50_1 = new ht.Node(), Node50_1BorderWidth = 0*2; if (Node50_1type === 'arc') { Node50_1BorderWidth *= 0; } Node50_1.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_1.setPosition(1838*ratio.ratioX, 221*ratio.ratioY); Node50_1.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_1.a('node.width', 117*_ratio.ratioX); Node50_1.a('node.height', 32*_ratio.ratioY); Node50_1.a('node.type', Node50_1type); Node50_1.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node50_1.a('node.gradientcolor', ''); Node50_1.a('node.gradient', ''); Node50_1.a('node.borderwidth', Node50_1BorderWidth); Node50_1.a('node.color', 'rgba(192,192,192,0)'); Node50_1.a('node.fillrect', [0,0,0,0]); Node50_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_1.a('node.fillgradient', ''); if (Node50_1type !== 'rect') { Node50_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_1.a('node.arcTo', parseFloat('@arcTo@')); Node50_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_1type === 'arc') { Node50_1.a('node.arcOval', true); } Node50_1.setRotation(0*Math.PI/180); Node50_1.borderWidth = Node50_1BorderWidth; Node50_1.borderFillwidth = Node50_1BorderWidth; dataModel.add(Node50_1); Node50_1._nodename = 'Node50_1' Node50_1._nodeType = 'rect'; zoomNodeList.push({ node: Node50_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); } })(Node50_1, Node50_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_2type = 'rect'; var Node50_2 = new ht.Node(), Node50_2BorderWidth = 0*2; if (Node50_2type === 'arc') { Node50_2BorderWidth *= 0; } Node50_2.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_2.setPosition(1838*ratio.ratioX, 253*ratio.ratioY); Node50_2.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_2.a('node.width', 117*_ratio.ratioX); Node50_2.a('node.height', 32*_ratio.ratioY); Node50_2.a('node.type', Node50_2type); Node50_2.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_2.a('node.background', 'rgba(245,245,245,1)'); Node50_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node50_2.a('node.gradient', ''); Node50_2.a('node.borderwidth', Node50_2BorderWidth); Node50_2.a('node.color', 'rgba(192,192,192,0)'); Node50_2.a('node.fillrect', [0,0,0,0]); Node50_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_2.a('node.fillgradient', ''); if (Node50_2type !== 'rect') { Node50_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_2.a('node.arcTo', parseFloat('@arcTo@')); Node50_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_2type === 'arc') { Node50_2.a('node.arcOval', true); } Node50_2.setRotation(0*Math.PI/180); Node50_2.borderWidth = Node50_2BorderWidth; Node50_2.borderFillwidth = Node50_2BorderWidth; dataModel.add(Node50_2); Node50_2._nodename = 'Node50_2' Node50_2._nodeType = 'rect'; zoomNodeList.push({ node: Node50_2, 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); } })(Node50_2, Node50_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_3type = 'rect'; var Node50_3 = new ht.Node(), Node50_3BorderWidth = 0*2; if (Node50_3type === 'arc') { Node50_3BorderWidth *= 0; } Node50_3.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_3.setPosition(1838*ratio.ratioX, 284*ratio.ratioY); Node50_3.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_3.a('node.width', 117*_ratio.ratioX); Node50_3.a('node.height', 32*_ratio.ratioY); Node50_3.a('node.type', Node50_3type); Node50_3.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node50_3.a('node.gradientcolor', ''); Node50_3.a('node.gradient', ''); Node50_3.a('node.borderwidth', Node50_3BorderWidth); Node50_3.a('node.color', 'rgba(192,192,192,0)'); Node50_3.a('node.fillrect', [0,0,0,0]); Node50_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_3.a('node.fillgradient', ''); if (Node50_3type !== 'rect') { Node50_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_3.a('node.arcTo', parseFloat('@arcTo@')); Node50_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_3type === 'arc') { Node50_3.a('node.arcOval', true); } Node50_3.setRotation(0*Math.PI/180); Node50_3.borderWidth = Node50_3BorderWidth; Node50_3.borderFillwidth = Node50_3BorderWidth; dataModel.add(Node50_3); Node50_3._nodename = 'Node50_3' Node50_3._nodeType = 'rect'; zoomNodeList.push({ node: Node50_3, 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); } })(Node50_3, Node50_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_4type = 'rect'; var Node50_4 = new ht.Node(), Node50_4BorderWidth = 0*2; if (Node50_4type === 'arc') { Node50_4BorderWidth *= 0; } Node50_4.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_4.setPosition(1838*ratio.ratioX, 315*ratio.ratioY); Node50_4.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_4.a('node.width', 117*_ratio.ratioX); Node50_4.a('node.height', 32*_ratio.ratioY); Node50_4.a('node.type', Node50_4type); Node50_4.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_4.a('node.background', 'rgba(245,245,245,1)'); Node50_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node50_4.a('node.gradient', ''); Node50_4.a('node.borderwidth', Node50_4BorderWidth); Node50_4.a('node.color', 'rgba(192,192,192,0)'); Node50_4.a('node.fillrect', [0,0,0,0]); Node50_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_4.a('node.fillgradient', ''); if (Node50_4type !== 'rect') { Node50_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_4.a('node.arcTo', parseFloat('@arcTo@')); Node50_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_4type === 'arc') { Node50_4.a('node.arcOval', true); } Node50_4.setRotation(0*Math.PI/180); Node50_4.borderWidth = Node50_4BorderWidth; Node50_4.borderFillwidth = Node50_4BorderWidth; dataModel.add(Node50_4); Node50_4._nodename = 'Node50_4' Node50_4._nodeType = 'rect'; zoomNodeList.push({ node: Node50_4, 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); } })(Node50_4, Node50_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_5type = 'rect'; var Node50_5 = new ht.Node(), Node50_5BorderWidth = 0*2; if (Node50_5type === 'arc') { Node50_5BorderWidth *= 0; } Node50_5.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_5.setPosition(1838*ratio.ratioX, 346*ratio.ratioY); Node50_5.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_5.a('node.width', 117*_ratio.ratioX); Node50_5.a('node.height', 32*_ratio.ratioY); Node50_5.a('node.type', Node50_5type); Node50_5.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node50_5.a('node.gradientcolor', ''); Node50_5.a('node.gradient', ''); Node50_5.a('node.borderwidth', Node50_5BorderWidth); Node50_5.a('node.color', 'rgba(192,192,192,0)'); Node50_5.a('node.fillrect', [0,0,0,0]); Node50_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_5.a('node.fillgradient', ''); if (Node50_5type !== 'rect') { Node50_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_5.a('node.arcTo', parseFloat('@arcTo@')); Node50_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_5type === 'arc') { Node50_5.a('node.arcOval', true); } Node50_5.setRotation(0*Math.PI/180); Node50_5.borderWidth = Node50_5BorderWidth; Node50_5.borderFillwidth = Node50_5BorderWidth; dataModel.add(Node50_5); Node50_5._nodename = 'Node50_5' Node50_5._nodeType = 'rect'; zoomNodeList.push({ node: Node50_5, 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); } })(Node50_5, Node50_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_6type = 'rect'; var Node50_6 = new ht.Node(), Node50_6BorderWidth = 0*2; if (Node50_6type === 'arc') { Node50_6BorderWidth *= 0; } Node50_6.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_6.setPosition(1838*ratio.ratioX, 377*ratio.ratioY); Node50_6.setSize(117*_ratio.ratioX, 32*_ratio.ratioY); Node50_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_6.a('node.width', 117*_ratio.ratioX); Node50_6.a('node.height', 32*_ratio.ratioY); Node50_6.a('node.type', Node50_6type); Node50_6.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]); Node50_6.a('node.background', 'rgba(245,245,245,1)'); Node50_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node50_6.a('node.gradient', ''); Node50_6.a('node.borderwidth', Node50_6BorderWidth); Node50_6.a('node.color', 'rgba(192,192,192,0)'); Node50_6.a('node.fillrect', [0,0,0,0]); Node50_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_6.a('node.fillgradient', ''); if (Node50_6type !== 'rect') { Node50_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_6.a('node.arcTo', parseFloat('@arcTo@')); Node50_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_6type === 'arc') { Node50_6.a('node.arcOval', true); } Node50_6.setRotation(0*Math.PI/180); Node50_6.borderWidth = Node50_6BorderWidth; Node50_6.borderFillwidth = Node50_6BorderWidth; dataModel.add(Node50_6); Node50_6._nodename = 'Node50_6' Node50_6._nodeType = 'rect'; zoomNodeList.push({ node: Node50_6, 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); } })(Node50_6, Node50_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_7type = 'rect'; var Node50_7 = new ht.Node(), Node50_7BorderWidth = 1*2; if (Node50_7type === 'arc') { Node50_7BorderWidth *= 1; } Node50_7.setImage(GD.getRectJSON(117*_ratio.ratioX, 309*_ratio.ratioY, Node50_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node50_7.setPosition(1838*ratio.ratioX, 238*ratio.ratioY); Node50_7.setSize(117*_ratio.ratioX, 309*_ratio.ratioY); Node50_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node50_7.a('node.width', 117*_ratio.ratioX); Node50_7.a('node.height', 309*_ratio.ratioY); Node50_7.a('node.type', Node50_7type); Node50_7.a('node.rect', [0, 0, 117*_ratio.ratioX, 309*_ratio.ratioY]); Node50_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node50_7.a('node.gradientcolor', ''); Node50_7.a('node.gradient', ''); Node50_7.a('node.borderwidth', Node50_7BorderWidth); Node50_7.a('node.color', 'rgba(192,192,192,1)'); Node50_7.a('node.fillrect', [0,0,0,0]); Node50_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node50_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node50_7.a('node.fillgradient', ''); if (Node50_7type !== 'rect') { Node50_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node50_7.a('node.arcTo', parseFloat('@arcTo@')); Node50_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node50_7type === 'arc') { Node50_7.a('node.arcOval', true); } Node50_7.setRotation(0*Math.PI/180); Node50_7.borderWidth = Node50_7BorderWidth; Node50_7.borderFillwidth = Node50_7BorderWidth; dataModel.add(Node50_7); Node50_7._nodename = 'Node50_7' Node50_7._nodeType = 'rect'; zoomNodeList.push({ node: Node50_7, 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); } })(Node50_7, Node50_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_8 = new ht.Node(); var Node50_8textStart, Node50_8textWidth, Node50_8lineStart, Node50_8align = 'center', Node50_8fontSize = 11.99997*_ratio.ratioY,Node50_8width = 97*_ratio.ratioX, Node50_8height = 27*_ratio.ratioY; (function () { if (Node50_8align === 'left') { Node50_8textStart = Node50_8fontSize * 0.2 > 2 ? Node50_8fontSize * 0.2 - 4 : Node50_8fontSize * 0.2 - 9; Node50_8textWidth = Node50_8width; Node50_8lineStart = 1; } else if (Node50_8align === 'right') { Node50_8textStart = 0; Node50_8textWidth =Node50_8fontSize <= 8 ? Node50_8width + Node50_8fontSize * 0.2 + 6 : Node50_8width - Node50_8fontSize * 0.2; Node50_8lineStart = (Node50_8width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node50_8align === 'center') { Node50_8textStart = -3; Node50_8textWidth = Node50_8width; Node50_8lineStart = Node50_8width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width - 11; } })(); Node50_8.setImage(GD.getTextJSON(Node50_8width, Node50_8height, true, false, false, 'bold '+ Node50_8fontSize + 'px "Arial"')) Node50_8.setPosition(1836*ratio.ratioX, 102*ratio.ratioY); Node50_8.setWidth(Node50_8width); Node50_8.setHeight(Node50_8height); Node50_8._nodeType = 'text'; Node50_8._disallowEvert = true; Node50_8.setRotation(0*Math.PI/180); Node50_8.a('node.width', Node50_8width); Node50_8.a('node.height', Node50_8height); Node50_8.a('node.rect', [0, 0, Node50_8width, Node50_8height]); Node50_8.a('node.bordercolor','rgba(255,255,255,1)'); Node50_8.a('node.borderwidth', 0); Node50_8.a('node.background','' || 'rgba(0,0,0,0)'); Node50_8.a('node.gradient',''); Node50_8.a('node.gradientcolor',''); Node50_8.a('node.text','性能损失电量'); Node50_8.a('node.textalign','center'); Node50_8.a('node.textvAlign','middle'); Node50_8.a('node.textrect', [Node50_8textStart, 0, Node50_8textWidth, Node50_8height]); Node50_8.a('node.color','rgba(255,255,255,1)'); Node50_8.a('node.font','bold '+ Node50_8fontSize + 'px "Arial"'); Node50_8.a('node.textvisible',true); Node50_8.a('node.linefeed',false); if (false) { Node50_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_8.a('node.text') || '性能损失电量'; var color=Node50_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_8width,Node50_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node50_8.a('node.underlinepoints',[Node50_8lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_8fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width + 6, (Node50_8height - Node50_8fontSize) * 0.5*_ratio.ratioY + Node50_8fontSize + 2 ]); Node50_8.a('node.underlinevisible',false); Node50_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_8); zoomNodeList.push({ node: Node50_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_9 = new ht.Node(); var Node50_9textStart, Node50_9textWidth, Node50_9lineStart, Node50_9align = 'center', Node50_9fontSize = 10.66664*_ratio.ratioY,Node50_9width = 97*_ratio.ratioX, Node50_9height = 17*_ratio.ratioY; (function () { if (Node50_9align === 'left') { Node50_9textStart = Node50_9fontSize * 0.2 > 2 ? Node50_9fontSize * 0.2 - 4 : Node50_9fontSize * 0.2 - 9; Node50_9textWidth = Node50_9width; Node50_9lineStart = 1; } else if (Node50_9align === 'right') { Node50_9textStart = 0; Node50_9textWidth =Node50_9fontSize <= 8 ? Node50_9width + Node50_9fontSize * 0.2 + 6 : Node50_9width - Node50_9fontSize * 0.2; Node50_9lineStart = (Node50_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node50_9align === 'center') { Node50_9textStart = -3; Node50_9textWidth = Node50_9width; Node50_9lineStart = Node50_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width - 11; } })(); Node50_9.setImage(GD.getTextJSON(Node50_9width, Node50_9height, true, false, false, 'bold '+ Node50_9fontSize + 'px "Arial"')) Node50_9.setPosition(1836*ratio.ratioX, 130*ratio.ratioY); Node50_9.setWidth(Node50_9width); Node50_9.setHeight(Node50_9height); Node50_9._nodeType = 'text'; Node50_9._disallowEvert = true; Node50_9.setRotation(0*Math.PI/180); Node50_9.a('node.width', Node50_9width); Node50_9.a('node.height', Node50_9height); Node50_9.a('node.rect', [0, 0, Node50_9width, Node50_9height]); Node50_9.a('node.bordercolor','rgba(128,128,128,1)'); Node50_9.a('node.borderwidth', 0); Node50_9.a('node.background','' || 'rgba(0,0,0,0)'); Node50_9.a('node.gradient',''); Node50_9.a('node.gradientcolor',''); Node50_9.a('node.text','万kwh'); Node50_9.a('node.textalign','center'); Node50_9.a('node.textvAlign','middle'); Node50_9.a('node.textrect', [Node50_9textStart, 0, Node50_9textWidth, Node50_9height]); Node50_9.a('node.color','rgba(128,128,128,1)'); Node50_9.a('node.font','bold '+ Node50_9fontSize + 'px "Arial"'); Node50_9.a('node.textvisible',true); Node50_9.a('node.linefeed',false); if (false) { Node50_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_9.a('node.text') || '万kwh'; var color=Node50_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node50_9width,Node50_9height,10.66664*_ratio.ratioY,"center",color,'bold '+ Node50_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node50_9.a('node.underlinepoints',[Node50_9lineStart, (17 - 10.66664) * 0.5 * _ratio.ratioY + Node50_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width + 6, (Node50_9height - Node50_9fontSize) * 0.5*_ratio.ratioY + Node50_9fontSize + 2 ]); Node50_9.a('node.underlinevisible',false); Node50_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_9); zoomNodeList.push({ node: Node50_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_10 = new ht.Node(); var Node50_10textStart, Node50_10textWidth, Node50_10lineStart, Node50_10align = 'center', Node50_10fontSize = 11.99997*_ratio.ratioY,Node50_10width = 97*_ratio.ratioX, Node50_10height = 27*_ratio.ratioY; (function () { if (Node50_10align === 'left') { Node50_10textStart = Node50_10fontSize * 0.2 > 2 ? Node50_10fontSize * 0.2 - 4 : Node50_10fontSize * 0.2 - 9; Node50_10textWidth = Node50_10width; Node50_10lineStart = 1; } else if (Node50_10align === 'right') { Node50_10textStart = 0; Node50_10textWidth =Node50_10fontSize <= 8 ? Node50_10width + Node50_10fontSize * 0.2 + 6 : Node50_10width - Node50_10fontSize * 0.2; Node50_10lineStart = (Node50_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_10align === 'center') { Node50_10textStart = -3; Node50_10textWidth = Node50_10width; Node50_10lineStart = Node50_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_10.setImage(GD.getTextJSON(Node50_10width, Node50_10height, true, false, false, 'bold '+ Node50_10fontSize + 'px "UniDreamLED"')) Node50_10.setPosition(1836*ratio.ratioX, 157*ratio.ratioY); Node50_10.setWidth(Node50_10width); Node50_10.setHeight(Node50_10height); Node50_10._nodeType = 'text'; Node50_10._disallowEvert = true; Node50_10.setRotation(0*Math.PI/180); Node50_10.a('node.width', Node50_10width); Node50_10.a('node.height', Node50_10height); Node50_10.a('node.rect', [0, 0, Node50_10width, Node50_10height]); Node50_10.a('node.bordercolor','rgba(0,0,0,1)'); Node50_10.a('node.borderwidth', 0); Node50_10.a('node.background','' || 'rgba(0,0,0,0)'); Node50_10.a('node.gradient',''); Node50_10.a('node.gradientcolor',''); Node50_10.a('node.text','1134.76'); Node50_10.a('node.textalign','center'); Node50_10.a('node.textvAlign','middle'); Node50_10.a('node.textrect', [Node50_10textStart, 0, Node50_10textWidth, Node50_10height]); Node50_10.a('node.color','rgba(0,0,0,1)'); Node50_10.a('node.font','bold '+ Node50_10fontSize + 'px "UniDreamLED"'); Node50_10.a('node.textvisible',true); Node50_10.a('node.linefeed',false); if (false) { Node50_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_10.a('node.text') || '1134.76'; var color=Node50_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_10width,Node50_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_10.a('node.underlinepoints',[Node50_10lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width + 6, (Node50_10height - Node50_10fontSize) * 0.5*_ratio.ratioY + Node50_10fontSize + 2 ]); Node50_10.a('node.underlinevisible',false); Node50_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_10); zoomNodeList.push({ node: Node50_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_11 = new ht.Node(); var Node50_11textStart, Node50_11textWidth, Node50_11lineStart, Node50_11align = 'center', Node50_11fontSize = 11.99997*_ratio.ratioY,Node50_11width = 101*_ratio.ratioX, Node50_11height = 27*_ratio.ratioY; (function () { if (Node50_11align === 'left') { Node50_11textStart = Node50_11fontSize * 0.2 > 2 ? Node50_11fontSize * 0.2 - 4 : Node50_11fontSize * 0.2 - 9; Node50_11textWidth = Node50_11width; Node50_11lineStart = 1; } else if (Node50_11align === 'right') { Node50_11textStart = 0; Node50_11textWidth =Node50_11fontSize <= 8 ? Node50_11width + Node50_11fontSize * 0.2 + 6 : Node50_11width - Node50_11fontSize * 0.2; Node50_11lineStart = (Node50_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_11align === 'center') { Node50_11textStart = -3; Node50_11textWidth = Node50_11width; Node50_11lineStart = Node50_11width - ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_11.setImage(GD.getTextJSON(Node50_11width, Node50_11height, true, false, false, 'bold '+ Node50_11fontSize + 'px "UniDreamLED"')) Node50_11.setPosition(1838*ratio.ratioX, 189*ratio.ratioY); Node50_11.setWidth(Node50_11width); Node50_11.setHeight(Node50_11height); Node50_11._nodeType = 'text'; Node50_11._disallowEvert = true; Node50_11.setRotation(0*Math.PI/180); Node50_11.a('node.width', Node50_11width); Node50_11.a('node.height', Node50_11height); Node50_11.a('node.rect', [0, 0, Node50_11width, Node50_11height]); Node50_11.a('node.bordercolor','rgba(0,0,0,1)'); Node50_11.a('node.borderwidth', 0); Node50_11.a('node.background','' || 'rgba(0,0,0,0)'); Node50_11.a('node.gradient',''); Node50_11.a('node.gradientcolor',''); Node50_11.a('node.text','171.51'); Node50_11.a('node.textalign','center'); Node50_11.a('node.textvAlign','middle'); Node50_11.a('node.textrect', [Node50_11textStart, 0, Node50_11textWidth, Node50_11height]); Node50_11.a('node.color','rgba(0,0,0,1)'); Node50_11.a('node.font','bold '+ Node50_11fontSize + 'px "UniDreamLED"'); Node50_11.a('node.textvisible',true); Node50_11.a('node.linefeed',false); if (false) { Node50_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_11.a('node.text') || '171.51'; var color=Node50_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_11width,Node50_11height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_11.a('node.underlinepoints',[Node50_11lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width + 6, (Node50_11height - Node50_11fontSize) * 0.5*_ratio.ratioY + Node50_11fontSize + 2 ]); Node50_11.a('node.underlinevisible',false); Node50_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_11); zoomNodeList.push({ node: Node50_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_12 = new ht.Node(); var Node50_12textStart, Node50_12textWidth, Node50_12lineStart, Node50_12align = 'center', Node50_12fontSize = 11.99997*_ratio.ratioY,Node50_12width = 101*_ratio.ratioX, Node50_12height = 27*_ratio.ratioY; (function () { if (Node50_12align === 'left') { Node50_12textStart = Node50_12fontSize * 0.2 > 2 ? Node50_12fontSize * 0.2 - 4 : Node50_12fontSize * 0.2 - 9; Node50_12textWidth = Node50_12width; Node50_12lineStart = 1; } else if (Node50_12align === 'right') { Node50_12textStart = 0; Node50_12textWidth =Node50_12fontSize <= 8 ? Node50_12width + Node50_12fontSize * 0.2 + 6 : Node50_12width - Node50_12fontSize * 0.2; Node50_12lineStart = (Node50_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_12align === 'center') { Node50_12textStart = -3; Node50_12textWidth = Node50_12width; Node50_12lineStart = Node50_12width - ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_12.setImage(GD.getTextJSON(Node50_12width, Node50_12height, true, false, false, 'bold '+ Node50_12fontSize + 'px "UniDreamLED"')) Node50_12.setPosition(1838*ratio.ratioX, 219*ratio.ratioY); Node50_12.setWidth(Node50_12width); Node50_12.setHeight(Node50_12height); Node50_12._nodeType = 'text'; Node50_12._disallowEvert = true; Node50_12.setRotation(0*Math.PI/180); Node50_12.a('node.width', Node50_12width); Node50_12.a('node.height', Node50_12height); Node50_12.a('node.rect', [0, 0, Node50_12width, Node50_12height]); Node50_12.a('node.bordercolor','rgba(0,0,0,1)'); Node50_12.a('node.borderwidth', 0); Node50_12.a('node.background','' || 'rgba(0,0,0,0)'); Node50_12.a('node.gradient',''); Node50_12.a('node.gradientcolor',''); Node50_12.a('node.text','329.51'); Node50_12.a('node.textalign','center'); Node50_12.a('node.textvAlign','middle'); Node50_12.a('node.textrect', [Node50_12textStart, 0, Node50_12textWidth, Node50_12height]); Node50_12.a('node.color','rgba(0,0,0,1)'); Node50_12.a('node.font','bold '+ Node50_12fontSize + 'px "UniDreamLED"'); Node50_12.a('node.textvisible',true); Node50_12.a('node.linefeed',false); if (false) { Node50_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_12.a('node.text') || '329.51'; var color=Node50_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_12width,Node50_12height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_12.a('node.underlinepoints',[Node50_12lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width + 6, (Node50_12height - Node50_12fontSize) * 0.5*_ratio.ratioY + Node50_12fontSize + 2 ]); Node50_12.a('node.underlinevisible',false); Node50_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_12); zoomNodeList.push({ node: Node50_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_13 = new ht.Node(); var Node50_13textStart, Node50_13textWidth, Node50_13lineStart, Node50_13align = 'center', Node50_13fontSize = 11.99997*_ratio.ratioY,Node50_13width = 101*_ratio.ratioX, Node50_13height = 27*_ratio.ratioY; (function () { if (Node50_13align === 'left') { Node50_13textStart = Node50_13fontSize * 0.2 > 2 ? Node50_13fontSize * 0.2 - 4 : Node50_13fontSize * 0.2 - 9; Node50_13textWidth = Node50_13width; Node50_13lineStart = 1; } else if (Node50_13align === 'right') { Node50_13textStart = 0; Node50_13textWidth =Node50_13fontSize <= 8 ? Node50_13width + Node50_13fontSize * 0.2 + 6 : Node50_13width - Node50_13fontSize * 0.2; Node50_13lineStart = (Node50_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_13align === 'center') { Node50_13textStart = -3; Node50_13textWidth = Node50_13width; Node50_13lineStart = Node50_13width - ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_13.setImage(GD.getTextJSON(Node50_13width, Node50_13height, true, false, false, 'bold '+ Node50_13fontSize + 'px "UniDreamLED"')) Node50_13.setPosition(1838*ratio.ratioX, 249*ratio.ratioY); Node50_13.setWidth(Node50_13width); Node50_13.setHeight(Node50_13height); Node50_13._nodeType = 'text'; Node50_13._disallowEvert = true; Node50_13.setRotation(0*Math.PI/180); Node50_13.a('node.width', Node50_13width); Node50_13.a('node.height', Node50_13height); Node50_13.a('node.rect', [0, 0, Node50_13width, Node50_13height]); Node50_13.a('node.bordercolor','rgba(0,0,0,1)'); Node50_13.a('node.borderwidth', 0); Node50_13.a('node.background','' || 'rgba(0,0,0,0)'); Node50_13.a('node.gradient',''); Node50_13.a('node.gradientcolor',''); Node50_13.a('node.text','340.14'); Node50_13.a('node.textalign','center'); Node50_13.a('node.textvAlign','middle'); Node50_13.a('node.textrect', [Node50_13textStart, 0, Node50_13textWidth, Node50_13height]); Node50_13.a('node.color','rgba(0,0,0,1)'); Node50_13.a('node.font','bold '+ Node50_13fontSize + 'px "UniDreamLED"'); Node50_13.a('node.textvisible',true); Node50_13.a('node.linefeed',false); if (false) { Node50_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_13.a('node.text') || '340.14'; var color=Node50_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_13width,Node50_13height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_13.a('node.underlinepoints',[Node50_13lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width + 6, (Node50_13height - Node50_13fontSize) * 0.5*_ratio.ratioY + Node50_13fontSize + 2 ]); Node50_13.a('node.underlinevisible',false); Node50_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_13); zoomNodeList.push({ node: Node50_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_14 = new ht.Node(); var Node50_14textStart, Node50_14textWidth, Node50_14lineStart, Node50_14align = 'center', Node50_14fontSize = 11.99997*_ratio.ratioY,Node50_14width = 101*_ratio.ratioX, Node50_14height = 27*_ratio.ratioY; (function () { if (Node50_14align === 'left') { Node50_14textStart = Node50_14fontSize * 0.2 > 2 ? Node50_14fontSize * 0.2 - 4 : Node50_14fontSize * 0.2 - 9; Node50_14textWidth = Node50_14width; Node50_14lineStart = 1; } else if (Node50_14align === 'right') { Node50_14textStart = 0; Node50_14textWidth =Node50_14fontSize <= 8 ? Node50_14width + Node50_14fontSize * 0.2 + 6 : Node50_14width - Node50_14fontSize * 0.2; Node50_14lineStart = (Node50_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_14align === 'center') { Node50_14textStart = -3; Node50_14textWidth = Node50_14width; Node50_14lineStart = Node50_14width - ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_14.setImage(GD.getTextJSON(Node50_14width, Node50_14height, true, false, false, 'bold '+ Node50_14fontSize + 'px "UniDreamLED"')) Node50_14.setPosition(1838*ratio.ratioX, 283*ratio.ratioY); Node50_14.setWidth(Node50_14width); Node50_14.setHeight(Node50_14height); Node50_14._nodeType = 'text'; Node50_14._disallowEvert = true; Node50_14.setRotation(0*Math.PI/180); Node50_14.a('node.width', Node50_14width); Node50_14.a('node.height', Node50_14height); Node50_14.a('node.rect', [0, 0, Node50_14width, Node50_14height]); Node50_14.a('node.bordercolor','rgba(0,0,0,1)'); Node50_14.a('node.borderwidth', 0); Node50_14.a('node.background','' || 'rgba(0,0,0,0)'); Node50_14.a('node.gradient',''); Node50_14.a('node.gradientcolor',''); Node50_14.a('node.text','60.61'); Node50_14.a('node.textalign','center'); Node50_14.a('node.textvAlign','middle'); Node50_14.a('node.textrect', [Node50_14textStart, 0, Node50_14textWidth, Node50_14height]); Node50_14.a('node.color','rgba(0,0,0,1)'); Node50_14.a('node.font','bold '+ Node50_14fontSize + 'px "UniDreamLED"'); Node50_14.a('node.textvisible',true); Node50_14.a('node.linefeed',false); if (false) { Node50_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_14.a('node.text') || '60.61'; var color=Node50_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_14width,Node50_14height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_14.a('node.underlinepoints',[Node50_14lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width + 6, (Node50_14height - Node50_14fontSize) * 0.5*_ratio.ratioY + Node50_14fontSize + 2 ]); Node50_14.a('node.underlinevisible',false); Node50_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_14); zoomNodeList.push({ node: Node50_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_15 = new ht.Node(); var Node50_15textStart, Node50_15textWidth, Node50_15lineStart, Node50_15align = 'center', Node50_15fontSize = 11.99997*_ratio.ratioY,Node50_15width = 101*_ratio.ratioX, Node50_15height = 27*_ratio.ratioY; (function () { if (Node50_15align === 'left') { Node50_15textStart = Node50_15fontSize * 0.2 > 2 ? Node50_15fontSize * 0.2 - 4 : Node50_15fontSize * 0.2 - 9; Node50_15textWidth = Node50_15width; Node50_15lineStart = 1; } else if (Node50_15align === 'right') { Node50_15textStart = 0; Node50_15textWidth =Node50_15fontSize <= 8 ? Node50_15width + Node50_15fontSize * 0.2 + 6 : Node50_15width - Node50_15fontSize * 0.2; Node50_15lineStart = (Node50_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_15align === 'center') { Node50_15textStart = -3; Node50_15textWidth = Node50_15width; Node50_15lineStart = Node50_15width - ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_15.setImage(GD.getTextJSON(Node50_15width, Node50_15height, true, false, false, 'bold '+ Node50_15fontSize + 'px "UniDreamLED"')) Node50_15.setPosition(1838*ratio.ratioX, 316*ratio.ratioY); Node50_15.setWidth(Node50_15width); Node50_15.setHeight(Node50_15height); Node50_15._nodeType = 'text'; Node50_15._disallowEvert = true; Node50_15.setRotation(0*Math.PI/180); Node50_15.a('node.width', Node50_15width); Node50_15.a('node.height', Node50_15height); Node50_15.a('node.rect', [0, 0, Node50_15width, Node50_15height]); Node50_15.a('node.bordercolor','rgba(0,0,0,1)'); Node50_15.a('node.borderwidth', 0); Node50_15.a('node.background','' || 'rgba(0,0,0,0)'); Node50_15.a('node.gradient',''); Node50_15.a('node.gradientcolor',''); Node50_15.a('node.text','166.79'); Node50_15.a('node.textalign','center'); Node50_15.a('node.textvAlign','middle'); Node50_15.a('node.textrect', [Node50_15textStart, 0, Node50_15textWidth, Node50_15height]); Node50_15.a('node.color','rgba(0,0,0,1)'); Node50_15.a('node.font','bold '+ Node50_15fontSize + 'px "UniDreamLED"'); Node50_15.a('node.textvisible',true); Node50_15.a('node.linefeed',false); if (false) { Node50_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_15.a('node.text') || '166.79'; var color=Node50_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_15width,Node50_15height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_15.a('node.underlinepoints',[Node50_15lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width + 6, (Node50_15height - Node50_15fontSize) * 0.5*_ratio.ratioY + Node50_15fontSize + 2 ]); Node50_15.a('node.underlinevisible',false); Node50_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_15); zoomNodeList.push({ node: Node50_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_16 = new ht.Node(); var Node50_16textStart, Node50_16textWidth, Node50_16lineStart, Node50_16align = 'center', Node50_16fontSize = 11.99997*_ratio.ratioY,Node50_16width = 101*_ratio.ratioX, Node50_16height = 27*_ratio.ratioY; (function () { if (Node50_16align === 'left') { Node50_16textStart = Node50_16fontSize * 0.2 > 2 ? Node50_16fontSize * 0.2 - 4 : Node50_16fontSize * 0.2 - 9; Node50_16textWidth = Node50_16width; Node50_16lineStart = 1; } else if (Node50_16align === 'right') { Node50_16textStart = 0; Node50_16textWidth =Node50_16fontSize <= 8 ? Node50_16width + Node50_16fontSize * 0.2 + 6 : Node50_16width - Node50_16fontSize * 0.2; Node50_16lineStart = (Node50_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_16align === 'center') { Node50_16textStart = -3; Node50_16textWidth = Node50_16width; Node50_16lineStart = Node50_16width - ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_16.setImage(GD.getTextJSON(Node50_16width, Node50_16height, true, false, false, 'bold '+ Node50_16fontSize + 'px "UniDreamLED"')) Node50_16.setPosition(1838*ratio.ratioX, 345*ratio.ratioY); Node50_16.setWidth(Node50_16width); Node50_16.setHeight(Node50_16height); Node50_16._nodeType = 'text'; Node50_16._disallowEvert = true; Node50_16.setRotation(0*Math.PI/180); Node50_16.a('node.width', Node50_16width); Node50_16.a('node.height', Node50_16height); Node50_16.a('node.rect', [0, 0, Node50_16width, Node50_16height]); Node50_16.a('node.bordercolor','rgba(0,0,0,1)'); Node50_16.a('node.borderwidth', 0); Node50_16.a('node.background','' || 'rgba(0,0,0,0)'); Node50_16.a('node.gradient',''); Node50_16.a('node.gradientcolor',''); Node50_16.a('node.text','66.18'); Node50_16.a('node.textalign','center'); Node50_16.a('node.textvAlign','middle'); Node50_16.a('node.textrect', [Node50_16textStart, 0, Node50_16textWidth, Node50_16height]); Node50_16.a('node.color','rgba(0,0,0,1)'); Node50_16.a('node.font','bold '+ Node50_16fontSize + 'px "UniDreamLED"'); Node50_16.a('node.textvisible',true); Node50_16.a('node.linefeed',false); if (false) { Node50_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_16.a('node.text') || '66.18'; var color=Node50_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_16width,Node50_16height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_16.a('node.underlinepoints',[Node50_16lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width + 6, (Node50_16height - Node50_16fontSize) * 0.5*_ratio.ratioY + Node50_16fontSize + 2 ]); Node50_16.a('node.underlinevisible',false); Node50_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_16); zoomNodeList.push({ node: Node50_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50_17 = new ht.Node(); var Node50_17textStart, Node50_17textWidth, Node50_17lineStart, Node50_17align = 'center', Node50_17fontSize = 11.99997*_ratio.ratioY,Node50_17width = 101*_ratio.ratioX, Node50_17height = 27*_ratio.ratioY; (function () { if (Node50_17align === 'left') { Node50_17textStart = Node50_17fontSize * 0.2 > 2 ? Node50_17fontSize * 0.2 - 4 : Node50_17fontSize * 0.2 - 9; Node50_17textWidth = Node50_17width; Node50_17lineStart = 1; } else if (Node50_17align === 'right') { Node50_17textStart = 0; Node50_17textWidth =Node50_17fontSize <= 8 ? Node50_17width + Node50_17fontSize * 0.2 + 6 : Node50_17width - Node50_17fontSize * 0.2; Node50_17lineStart = (Node50_17width - (ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node50_17align === 'center') { Node50_17textStart = -3; Node50_17textWidth = Node50_17width; Node50_17lineStart = Node50_17width - ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node50_17.setImage(GD.getTextJSON(Node50_17width, Node50_17height, true, false, false, 'bold '+ Node50_17fontSize + 'px "UniDreamLED"')) Node50_17.setPosition(1838*ratio.ratioX, 376*ratio.ratioY); Node50_17.setWidth(Node50_17width); Node50_17.setHeight(Node50_17height); Node50_17._nodeType = 'text'; Node50_17._disallowEvert = true; Node50_17.setRotation(0*Math.PI/180); Node50_17.a('node.width', Node50_17width); Node50_17.a('node.height', Node50_17height); Node50_17.a('node.rect', [0, 0, Node50_17width, Node50_17height]); Node50_17.a('node.bordercolor','rgba(0,0,0,1)'); Node50_17.a('node.borderwidth', 0); Node50_17.a('node.background','' || 'rgba(0,0,0,0)'); Node50_17.a('node.gradient',''); Node50_17.a('node.gradientcolor',''); Node50_17.a('node.text','-'); Node50_17.a('node.textalign','center'); Node50_17.a('node.textvAlign','middle'); Node50_17.a('node.textrect', [Node50_17textStart, 0, Node50_17textWidth, Node50_17height]); Node50_17.a('node.color','rgba(0,0,0,1)'); Node50_17.a('node.font','bold '+ Node50_17fontSize + 'px "UniDreamLED"'); Node50_17.a('node.textvisible',true); Node50_17.a('node.linefeed',false); if (false) { Node50_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node50_17.a('node.text') || '-'; var color=Node50_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_17width,Node50_17height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node50_17.a('node.underlinepoints',[Node50_17lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width + 6, (Node50_17height - Node50_17fontSize) * 0.5*_ratio.ratioY + Node50_17fontSize + 2 ]); Node50_17.a('node.underlinevisible',false); Node50_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node50_17); zoomNodeList.push({ node: Node50_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node51_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node51_0 = new ht.Node(); Node51_0.setPosition(1837*ratio.ratioX, 237*ratio.ratioY); Node51_0.setSize(117*ratioX, 313*ratioY); Node51_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node51_0.setRotation(0*Math.PI/180); Node51_0._zoomBy = 'Default'; Node51_0._nodeType = 'image'; Node51_0._disallowEvert = true; dataModel.add(Node51_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node51_1 = new ht.Node(); var Node51_1textStart, Node51_1textWidth, Node51_1lineStart, Node51_1align = 'center', Node51_1fontSize = 11.99997*_ratio.ratioY,Node51_1width = 97*_ratio.ratioX, Node51_1height = 27*_ratio.ratioY; (function () { if (Node51_1align === 'left') { Node51_1textStart = Node51_1fontSize * 0.2 > 2 ? Node51_1fontSize * 0.2 - 4 : Node51_1fontSize * 0.2 - 9; Node51_1textWidth = Node51_1width; Node51_1lineStart = 1; } else if (Node51_1align === 'right') { Node51_1textStart = 0; Node51_1textWidth =Node51_1fontSize <= 8 ? Node51_1width + Node51_1fontSize * 0.2 + 6 : Node51_1width - Node51_1fontSize * 0.2; Node51_1lineStart = (Node51_1width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node51_1align === 'center') { Node51_1textStart = -3; Node51_1textWidth = Node51_1width; Node51_1lineStart = Node51_1width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width - 11; } })(); Node51_1.setImage(GD.getTextJSON(Node51_1width, Node51_1height, true, false, false, 'bold '+ Node51_1fontSize + 'px "Arial"')) Node51_1.setPosition(1833*ratio.ratioX, 102*ratio.ratioY); Node51_1.setWidth(Node51_1width); Node51_1.setHeight(Node51_1height); Node51_1._nodeType = 'text'; Node51_1._disallowEvert = true; Node51_1.setRotation(0*Math.PI/180); Node51_1.a('node.width', Node51_1width); Node51_1.a('node.height', Node51_1height); Node51_1.a('node.rect', [0, 0, Node51_1width, Node51_1height]); Node51_1.a('node.bordercolor','rgba(255,255,255,1)'); Node51_1.a('node.borderwidth', 0); Node51_1.a('node.background','' || 'rgba(0,0,0,0)'); Node51_1.a('node.gradient',''); Node51_1.a('node.gradientcolor',''); Node51_1.a('node.text','性能损失电量'); Node51_1.a('node.textalign','center'); Node51_1.a('node.textvAlign','middle'); Node51_1.a('node.textrect', [Node51_1textStart, 0, Node51_1textWidth, Node51_1height]); Node51_1.a('node.color','rgba(255,255,255,1)'); Node51_1.a('node.font','bold '+ Node51_1fontSize + 'px "Arial"'); Node51_1.a('node.textvisible',true); Node51_1.a('node.linefeed',false); if (false) { Node51_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node51_1.a('node.text') || '性能损失电量'; var color=Node51_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node51_1width,Node51_1height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node51_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node51_1.a('node.underlinepoints',[Node51_1lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node51_1fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width + 6, (Node51_1height - Node51_1fontSize) * 0.5*_ratio.ratioY + Node51_1fontSize + 2 ]); Node51_1.a('node.underlinevisible',false); Node51_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node51_1); zoomNodeList.push({ node: Node51_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node52= new ht.Node(); Node52._borderWidth = 1; Node52.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node52._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node52.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node52.background'}, gradient: {value:'', func: 'attr@Node52.gradient'}, gradientColor:{value:'', func: 'attr@Node52.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node52.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node52.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node52.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node52.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node52.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node52.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node52.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node52.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node52.borderPattern'} } ] }); var Node52borderwidth = 1; var Node52borderFillwidth = 1*2; Node52 .setPosition(190*ratio.ratioX,451*ratio.ratioY); Node52.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node52.setRotation(0*Math.PI/180); Node52.s({'pixelPerfect':true}); Node52.a('Node52.borderwidth',1); Node52.a('Node52.color','@bordercolor@'); Node52.a('Node52.background','rgba(255,255,255,0.003921569)'); Node52.a('Node52.gradient',''); Node52.a('Node52.gradientcolor',''); Node52.a('Node52.borderPattern',getDashStyle("Solid")); Node52.a('Node52.fillrect',[0,0,0,0]); Node52.a('Node52.fillbackcolor','rgba(0, 0, 0, 0)'); Node52.a('Node52.fillgradientcolor','rgba(0, 0, 0, 0)'); Node52.a('Node52.fillgradient',''); Node52borderwidth=1; dataModel.add(Node52); Node52.borderWidth = 1; Node52.borderFillwidth = 1*2; Node52._nodename = 'Node52'; Node52._nodeType = 'roundrect'; zoomNodeList.push({ node: Node52, attr: 'Node52.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node52.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node52.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node52, Node52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node53 = new ht.Node(); var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 11.99997*_ratio.ratioY,Node53width = 150*_ratio.ratioX, Node53height = 25*_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('太旗卧牛山风电场', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node53align === 'center') { Node53textStart = -3; Node53textWidth = Node53width; Node53lineStart = Node53width - ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node53fontSize + 'px "Arial"').width - 11; } })(); Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"')) Node53.setPosition(85*ratio.ratioX, 415*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(64,64,64,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','太旗卧牛山风电场'); Node53.a('node.textalign','left'); Node53.a('node.textvAlign','middle'); Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]); Node53.a('node.color','rgba(64,64,64,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') || '太旗卧牛山风电场'; var color=Node53.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node53width,Node53height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g); }); } if (false) { Node53.a('node.underlinepoints',[Node53lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风电场', '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, ratio); var Node54 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 415*ratio.ratioY, 0, {text:'99',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node55 = new ht.HtmlNode(); Node55.setPosition({'x':70*ratio.ratioX,'y':484*ratio.ratioY}); Node55.setWidth(180*_ratio.ratioX); Node55.setHeight(97*_ratio.ratioY); Node55.setScalable(false); Node55.setRotation(0); Node55.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node55.setHtml(chart); var Node55_chart = chart._chart; dataModel.add(Node55);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node56 = new ht.Node(); var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 11.99997*_ratio.ratioY,Node56width = 40*_ratio.ratioX, Node56height = 21*_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('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node56align === 'center') { Node56textStart = -3; Node56textWidth = Node56width; Node56lineStart = Node56width - ht.Default.getTextSize('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').width - 11; } })(); Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "UniDreamLED"')) Node56.setPosition(140*ratio.ratioX, 459*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','4.48'); 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',' '+ Node56fontSize + 'px "UniDreamLED"'); 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') || '4.48'; var color=Node56.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node56width,Node56height,11.99997*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node56.a('node.underlinepoints',[Node56lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node57width = 40*_ratio.ratioX, Node57height = 21*_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('m/s', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node57align === 'center') { Node57textStart = -3; Node57textWidth = Node57width; Node57lineStart = Node57width - ht.Default.getTextSize('m/s', ' '+ Node57fontSize + 'px "Arial"').width - 11; } })(); Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"')) Node57.setPosition(140*ratio.ratioX, 480*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(0,0,0,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','m/s'); Node57.a('node.textalign','left'); Node57.a('node.textvAlign','middle'); Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]); Node57.a('node.color','rgba(0,0,0,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') || 'm/s'; var color=Node57.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node57width,Node57height,11.99997*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g); }); } if (false) { Node57.a('node.underlinepoints',[Node57lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 11.99997*_ratio.ratioY,Node58width = 40*_ratio.ratioX, Node58height = 21*_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('功率', 'bold '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node58align === 'center') { Node58textStart = -3; Node58textWidth = Node58width; Node58lineStart = Node58width - ht.Default.getTextSize('功率', 'bold '+ Node58fontSize + 'px "Arial"').width - 11; } })(); Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, 'bold '+ Node58fontSize + 'px "Arial"')) Node58.setPosition(200*ratio.ratioX, 447*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(64,64,64,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','功率'); Node58.a('node.textalign','left'); Node58.a('node.textvAlign','middle'); Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]); Node58.a('node.color','rgba(64,64,64,1)'); Node58.a('node.font','bold '+ 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') || '功率'; var color=Node58.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node58width,Node58height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node58fontSize + 'px "Arial"', 0,g); }); } if (false) { Node58.a('node.underlinepoints',[Node58lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 11.99997*_ratio.ratioY,Node59width = 44*_ratio.ratioX, Node59height = 21*_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('发电量', 'bold '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node59align === 'center') { Node59textStart = -3; Node59textWidth = Node59width; Node59lineStart = Node59width - ht.Default.getTextSize('发电量', 'bold '+ Node59fontSize + 'px "Arial"').width - 11; } })(); Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, 'bold '+ Node59fontSize + 'px "Arial"')) Node59.setPosition(202*ratio.ratioX, 481*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(64,64,64,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(64,64,64,1)'); Node59.a('node.font','bold '+ 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(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node59width,Node59height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node59fontSize + 'px "Arial"', 0,g); }); } if (false) { Node59.a('node.underlinepoints',[Node59lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ 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 = 29*_ratio.ratioX, Node60height = 25*_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(350*ratio.ratioX, 416*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(64,64,64,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(64,64,64,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(64,64,64,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, (25 - 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' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node61 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 447*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node62 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 447*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node63 = new ht.Node(); var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 29*_ratio.ratioX, Node63height = 25*_ratio.ratioY; (function () { if (Node63align === 'left') { Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9; Node63textWidth = Node63width; Node63lineStart = 1; } else if (Node63align === 'right') { Node63textStart = 0; Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2; Node63lineStart = (Node63width - (ht.Default.getTextSize('MW', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node63align === 'center') { Node63textStart = -3; Node63textWidth = Node63width; Node63lineStart = Node63width - ht.Default.getTextSize('MW', ' '+ Node63fontSize + 'px "Arial"').width - 11; } })(); Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"')) Node63.setPosition(342*ratio.ratioX, 446*ratio.ratioY); Node63.setWidth(Node63width); Node63.setHeight(Node63height); Node63._nodeType = 'text'; Node63._disallowEvert = true; Node63.setRotation(0*Math.PI/180); Node63.a('node.width', Node63width); Node63.a('node.height', Node63height); Node63.a('node.rect', [0, 0, Node63width, Node63height]); Node63.a('node.bordercolor','rgba(64,64,64,1)'); Node63.a('node.borderwidth', 0); Node63.a('node.background','' || 'rgba(0,0,0,0)'); Node63.a('node.gradient',''); Node63.a('node.gradientcolor',''); Node63.a('node.text','MW'); Node63.a('node.textalign','left'); Node63.a('node.textvAlign','middle'); Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]); Node63.a('node.color','rgba(64,64,64,1)'); Node63.a('node.font',' '+ Node63fontSize + 'px "Arial"'); Node63.a('node.textvisible',true); Node63.a('node.linefeed',false); if (false) { Node63.a('node.textfunc',function(g) { g.beginPath(); var str=Node63.a('node.text') || 'MW'; var color=Node63.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "Arial"', 0,g); }); } if (false) { Node63.a('node.underlinepoints',[Node63lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node63fontSize + 'px "Arial"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]); Node63.a('node.underlinevisible',false); Node63.a('node.underlineBorderWidth', 1); } dataModel.add(Node63); zoomNodeList.push({ node: Node63, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node64 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 481*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node65 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 481*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node66 = new ht.Node(); var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'left', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 43*_ratio.ratioX, Node66height = 25*_ratio.ratioY; (function () { if (Node66align === 'left') { Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9; Node66textWidth = Node66width; Node66lineStart = 1; } else if (Node66align === 'right') { Node66textStart = 0; Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2; Node66lineStart = (Node66width - (ht.Default.getTextSize('万kwh', ' '+ Node66fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node66align === 'center') { Node66textStart = -3; Node66textWidth = Node66width; Node66lineStart = Node66width - ht.Default.getTextSize('万kwh', ' '+ Node66fontSize + 'px "Arial"').width - 11; } })(); Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "Arial"')) Node66.setPosition(350*ratio.ratioX, 481*ratio.ratioY); Node66.setWidth(Node66width); Node66.setHeight(Node66height); Node66._nodeType = 'text'; Node66._disallowEvert = true; Node66.setRotation(0*Math.PI/180); Node66.a('node.width', Node66width); Node66.a('node.height', Node66height); Node66.a('node.rect', [0, 0, Node66width, Node66height]); Node66.a('node.bordercolor','rgba(64,64,64,1)'); Node66.a('node.borderwidth', 0); Node66.a('node.background','' || 'rgba(0,0,0,0)'); Node66.a('node.gradient',''); Node66.a('node.gradientcolor',''); Node66.a('node.text','万kwh'); Node66.a('node.textalign','left'); Node66.a('node.textvAlign','middle'); Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]); Node66.a('node.color','rgba(64,64,64,1)'); Node66.a('node.font',' '+ Node66fontSize + 'px "Arial"'); Node66.a('node.textvisible',true); Node66.a('node.linefeed',false); if (false) { Node66.a('node.textfunc',function(g) { g.beginPath(); var str=Node66.a('node.text') || '万kwh'; var color=Node66.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,' '+ Node66fontSize + 'px "Arial"', 0,g); }); } if (false) { Node66.a('node.underlinepoints',[Node66lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node66fontSize + 'px "Arial"').width + 6, (Node66height - Node66fontSize) * 0.5*_ratio.ratioY + Node66fontSize + 2 ]); Node66.a('node.underlinevisible',false); Node66.a('node.underlineBorderWidth', 1); } dataModel.add(Node66); zoomNodeList.push({ node: Node66, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node67type = 'rect'; var Node67 = new ht.Node(), Node67BorderWidth = 1*2; if (Node67type === 'arc') { Node67BorderWidth *= 1; } Node67.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node67.setPosition(190*ratio.ratioX, 549*ratio.ratioY); Node67.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node67.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node67.a('node.width', 373*_ratio.ratioX); Node67.a('node.height', 93*_ratio.ratioY); Node67.a('node.type', Node67type); Node67.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node67.a('node.background', 'rgba(255,255,255,0.003921569)'); Node67.a('node.gradientcolor', ''); Node67.a('node.gradient', ''); Node67.a('node.borderwidth', Node67BorderWidth); Node67.a('node.color', 'rgba(192,192,192,1)'); Node67.a('node.fillrect', [0,0,0,0]); Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node67.a('node.fillgradient', ''); if (Node67type !== 'rect') { Node67.a('node.arcFrom', parseFloat('@arcFrom@')); Node67.a('node.arcTo', parseFloat('@arcTo@')); Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node67type === 'arc') { Node67.a('node.arcOval', true); } Node67.setRotation(0*Math.PI/180); Node67.borderWidth = Node67BorderWidth; Node67.borderFillwidth = Node67BorderWidth; dataModel.add(Node67); Node67._nodename = 'Node67' Node67._nodeType = 'rect'; zoomNodeList.push({ node: Node67, 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); } })(Node67, Node67.getImage());var Node68points=[4, 534,377, 534], Node68rect=ht.Default.unionPoint([{x:4,y:534},{x:377,y:534}]), Node68compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 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('并网', ' '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node76align === 'center') { Node76textStart = -3; Node76textWidth = Node76width; Node76lineStart = Node76width - ht.Default.getTextSize('并网', ' '+ Node76fontSize + 'px "Arial"').width - 11; } })(); Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "Arial"')) Node76.setPosition(36*ratio.ratioX, 520*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(128,128,255,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(128,128,255,1)'); Node76.a('node.font',' '+ 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(128,128,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,' '+ Node76fontSize + 'px "Arial"', 0,g); }); } if (false) { Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('并网', ' '+ 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 = 39*_ratio.ratioX, Node77height = 16*_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('维护', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node77align === 'center') { Node77textStart = -3; Node77textWidth = Node77width; Node77lineStart = Node77width - ht.Default.getTextSize('维护', ' '+ Node77fontSize + 'px "Arial"').width - 11; } })(); Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"')) Node77.setPosition(37*ratio.ratioX, 550*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(192,64,0,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','维护'); Node77.a('node.textalign','left'); Node77.a('node.textvAlign','middle'); Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]); Node77.a('node.color','rgba(192,64,0,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') || '维护'; var color=Node77.a('node.color') || 'rgba(192,64,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('维护', ' '+ 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 = 39*_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('限电', ' '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node78align === 'center') { Node78textStart = -3; Node78textWidth = Node78width; Node78lineStart = Node78width - ht.Default.getTextSize('限电', ' '+ Node78fontSize + 'px "Arial"').width - 11; } })(); Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, ' '+ Node78fontSize + 'px "Arial"')) Node78.setPosition(37*ratio.ratioX, 580*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(128,0,128,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(128,0,128,1)'); Node78.a('node.font',' '+ 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(128,0,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,' '+ Node78fontSize + 'px "Arial"', 0,g); }); } if (false) { Node78.a('node.underlinepoints',[Node78lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('限电', ' '+ 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 = 39*_ratio.ratioX, Node79height = 16*_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('待机', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node79align === 'center') { Node79textStart = -3; Node79textWidth = Node79width; Node79lineStart = Node79width - ht.Default.getTextSize('待机', ' '+ Node79fontSize + 'px "Arial"').width - 11; } })(); Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"')) Node79.setPosition(226*ratio.ratioX, 520*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(0,128,0,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','待机'); Node79.a('node.textalign','left'); Node79.a('node.textvAlign','middle'); Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]); Node79.a('node.color','rgba(0,128,0,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') || '待机'; var color=Node79.a('node.color') || 'rgba(0,128,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('待机', ' '+ 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 = 39*_ratio.ratioX, Node80height = 16*_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('故障', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node80align === 'center') { Node80textStart = -3; Node80textWidth = Node80width; Node80lineStart = Node80width - ht.Default.getTextSize('故障', ' '+ Node80fontSize + 'px "Arial"').width - 11; } })(); Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"')) Node80.setPosition(227*ratio.ratioX, 550*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(192,0,0,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','故障'); Node80.a('node.textalign','left'); Node80.a('node.textvAlign','middle'); Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]); Node80.a('node.color','rgba(192,0,0,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') || '故障'; var color=Node80.a('node.color') || 'rgba(192,0,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('故障', ' '+ 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 = 39*_ratio.ratioX, Node81height = 16*_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(227*ratio.ratioX, 580*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(128,128,128,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(128,128,128,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(128,128,128,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, (16 - 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 = 29*_ratio.ratioX, Node82height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node82align === 'center') { Node82textStart = -3; Node82textWidth = Node82width; Node82lineStart = Node82width - ht.Default.getTextSize('台', ' '+ Node82fontSize + 'px "UniDreamLED"').width - 11; } })(); Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "UniDreamLED"')) Node82.setPosition(178*ratio.ratioX, 520*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(64,64,64,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(64,64,64,1)'); Node82.a('node.font',' '+ Node82fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node82.a('node.underlinepoints',[Node82lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node82fontSize + 'px "UniDreamLED"').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' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node83 = new ht.Node(); var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 29*_ratio.ratioX, Node83height = 25*_ratio.ratioY; (function () { if (Node83align === 'left') { Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9; Node83textWidth = Node83width; Node83lineStart = 1; } else if (Node83align === 'right') { Node83textStart = 0; Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2; Node83lineStart = (Node83width - (ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node83align === 'center') { Node83textStart = -3; Node83textWidth = Node83width; Node83lineStart = Node83width - ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width - 11; } })(); Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "UniDreamLED"')) Node83.setPosition(178*ratio.ratioX, 551*ratio.ratioY); Node83.setWidth(Node83width); Node83.setHeight(Node83height); Node83._nodeType = 'text'; Node83._disallowEvert = true; Node83.setRotation(0*Math.PI/180); Node83.a('node.width', Node83width); Node83.a('node.height', Node83height); Node83.a('node.rect', [0, 0, Node83width, Node83height]); Node83.a('node.bordercolor','rgba(64,64,64,1)'); Node83.a('node.borderwidth', 0); Node83.a('node.background','' || 'rgba(0,0,0,0)'); Node83.a('node.gradient',''); Node83.a('node.gradientcolor',''); Node83.a('node.text','台'); Node83.a('node.textalign','left'); Node83.a('node.textvAlign','middle'); Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]); Node83.a('node.color','rgba(64,64,64,1)'); Node83.a('node.font',' '+ Node83fontSize + 'px "UniDreamLED"'); Node83.a('node.textvisible',true); Node83.a('node.linefeed',false); if (false) { Node83.a('node.textfunc',function(g) { g.beginPath(); var str=Node83.a('node.text') || '台'; var color=Node83.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"left",color,' '+ Node83fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node83.a('node.underlinepoints',[Node83lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]); Node83.a('node.underlinevisible',false); Node83.a('node.underlineBorderWidth', 1); } dataModel.add(Node83); zoomNodeList.push({ node: Node83, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node84 = new ht.Node(); var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'left', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 29*_ratio.ratioX, Node84height = 25*_ratio.ratioY; (function () { if (Node84align === 'left') { Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9; Node84textWidth = Node84width; Node84lineStart = 1; } else if (Node84align === 'right') { Node84textStart = 0; Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2; Node84lineStart = (Node84width - (ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node84align === 'center') { Node84textStart = -3; Node84textWidth = Node84width; Node84lineStart = Node84width - ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width - 11; } })(); Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "UniDreamLED"')) Node84.setPosition(179*ratio.ratioX, 580*ratio.ratioY); Node84.setWidth(Node84width); Node84.setHeight(Node84height); Node84._nodeType = 'text'; Node84._disallowEvert = true; Node84.setRotation(0*Math.PI/180); Node84.a('node.width', Node84width); Node84.a('node.height', Node84height); Node84.a('node.rect', [0, 0, Node84width, Node84height]); Node84.a('node.bordercolor','rgba(64,64,64,1)'); Node84.a('node.borderwidth', 0); Node84.a('node.background','' || 'rgba(0,0,0,0)'); Node84.a('node.gradient',''); Node84.a('node.gradientcolor',''); Node84.a('node.text','台'); Node84.a('node.textalign','left'); Node84.a('node.textvAlign','middle'); Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]); Node84.a('node.color','rgba(64,64,64,1)'); Node84.a('node.font',' '+ Node84fontSize + 'px "UniDreamLED"'); Node84.a('node.textvisible',true); Node84.a('node.linefeed',false); if (false) { Node84.a('node.textfunc',function(g) { g.beginPath(); var str=Node84.a('node.text') || '台'; var color=Node84.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"left",color,' '+ Node84fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node84.a('node.underlinepoints',[Node84lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]); Node84.a('node.underlinevisible',false); Node84.a('node.underlineBorderWidth', 1); } dataModel.add(Node84); zoomNodeList.push({ node: Node84, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node85 = new ht.Node(); var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 29*_ratio.ratioX, Node85height = 25*_ratio.ratioY; (function () { if (Node85align === 'left') { Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9; Node85textWidth = Node85width; Node85lineStart = 1; } else if (Node85align === 'right') { Node85textStart = 0; Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2; Node85lineStart = (Node85width - (ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node85align === 'center') { Node85textStart = -3; Node85textWidth = Node85width; Node85lineStart = Node85width - ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width - 11; } })(); Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "UniDreamLED"')) Node85.setPosition(123*ratio.ratioX, 520*ratio.ratioY); Node85.setWidth(Node85width); Node85.setHeight(Node85height); Node85._nodeType = 'text'; Node85._disallowEvert = true; Node85.setRotation(0*Math.PI/180); Node85.a('node.width', Node85width); Node85.a('node.height', Node85height); Node85.a('node.rect', [0, 0, Node85width, Node85height]); Node85.a('node.bordercolor','rgba(64,64,64,1)'); Node85.a('node.borderwidth', 0); Node85.a('node.background','' || 'rgba(0,0,0,0)'); Node85.a('node.gradient',''); Node85.a('node.gradientcolor',''); Node85.a('node.text','99'); Node85.a('node.textalign','left'); Node85.a('node.textvAlign','middle'); Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]); Node85.a('node.color','rgba(64,64,64,1)'); Node85.a('node.font',' '+ Node85fontSize + 'px "UniDreamLED"'); Node85.a('node.textvisible',true); Node85.a('node.linefeed',false); if (false) { Node85.a('node.textfunc',function(g) { g.beginPath(); var str=Node85.a('node.text') || '99'; var color=Node85.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,' '+ Node85fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node85.a('node.underlinepoints',[Node85lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]); Node85.a('node.underlinevisible',false); Node85.a('node.underlineBorderWidth', 1); } dataModel.add(Node85); zoomNodeList.push({ node: Node85, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node86 = new ht.Node(); var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 29*_ratio.ratioX, Node86height = 25*_ratio.ratioY; (function () { if (Node86align === 'left') { Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9; Node86textWidth = Node86width; Node86lineStart = 1; } else if (Node86align === 'right') { Node86textStart = 0; Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2; Node86lineStart = (Node86width - (ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node86align === 'center') { Node86textStart = -3; Node86textWidth = Node86width; Node86lineStart = Node86width - ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').width - 11; } })(); Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "UniDreamLED"')) Node86.setPosition(123*ratio.ratioX, 549*ratio.ratioY); Node86.setWidth(Node86width); Node86.setHeight(Node86height); Node86._nodeType = 'text'; Node86._disallowEvert = true; Node86.setRotation(0*Math.PI/180); Node86.a('node.width', Node86width); Node86.a('node.height', Node86height); Node86.a('node.rect', [0, 0, Node86width, Node86height]); Node86.a('node.bordercolor','rgba(64,64,64,1)'); Node86.a('node.borderwidth', 0); Node86.a('node.background','' || 'rgba(0,0,0,0)'); Node86.a('node.gradient',''); Node86.a('node.gradientcolor',''); Node86.a('node.text','0'); Node86.a('node.textalign','left'); Node86.a('node.textvAlign','middle'); Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]); Node86.a('node.color','rgba(64,64,64,1)'); Node86.a('node.font',' '+ Node86fontSize + 'px "UniDreamLED"'); Node86.a('node.textvisible',true); Node86.a('node.linefeed',false); if (false) { Node86.a('node.textfunc',function(g) { g.beginPath(); var str=Node86.a('node.text') || '0'; var color=Node86.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node86.a('node.underlinepoints',[Node86lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]); Node86.a('node.underlinevisible',false); Node86.a('node.underlineBorderWidth', 1); } dataModel.add(Node86); zoomNodeList.push({ node: Node86, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node87 = new ht.Node(); var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 29*_ratio.ratioX, Node87height = 25*_ratio.ratioY; (function () { if (Node87align === 'left') { Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9; Node87textWidth = Node87width; Node87lineStart = 1; } else if (Node87align === 'right') { Node87textStart = 0; Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2; Node87lineStart = (Node87width - (ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node87align === 'center') { Node87textStart = -3; Node87textWidth = Node87width; Node87lineStart = Node87width - ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').width - 11; } })(); Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "UniDreamLED"')) Node87.setPosition(123*ratio.ratioX, 580*ratio.ratioY); Node87.setWidth(Node87width); Node87.setHeight(Node87height); Node87._nodeType = 'text'; Node87._disallowEvert = true; Node87.setRotation(0*Math.PI/180); Node87.a('node.width', Node87width); Node87.a('node.height', Node87height); Node87.a('node.rect', [0, 0, Node87width, Node87height]); Node87.a('node.bordercolor','rgba(64,64,64,1)'); Node87.a('node.borderwidth', 0); Node87.a('node.background','' || 'rgba(0,0,0,0)'); Node87.a('node.gradient',''); Node87.a('node.gradientcolor',''); Node87.a('node.text','0'); Node87.a('node.textalign','left'); Node87.a('node.textvAlign','middle'); Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]); Node87.a('node.color','rgba(64,64,64,1)'); Node87.a('node.font',' '+ Node87fontSize + 'px "UniDreamLED"'); Node87.a('node.textvisible',true); Node87.a('node.linefeed',false); if (false) { Node87.a('node.textfunc',function(g) { g.beginPath(); var str=Node87.a('node.text') || '0'; var color=Node87.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node87.a('node.underlinepoints',[Node87lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]); Node87.a('node.underlinevisible',false); Node87.a('node.underlineBorderWidth', 1); } dataModel.add(Node87); zoomNodeList.push({ node: Node87, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node88 = new ht.Node(); var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 29*_ratio.ratioX, Node88height = 25*_ratio.ratioY; (function () { if (Node88align === 'left') { Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9; Node88textWidth = Node88width; Node88lineStart = 1; } else if (Node88align === 'right') { Node88textStart = 0; Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2; Node88lineStart = (Node88width - (ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node88align === 'center') { Node88textStart = -3; Node88textWidth = Node88width; Node88lineStart = Node88width - ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width - 11; } })(); Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "UniDreamLED"')) Node88.setPosition(300*ratio.ratioX, 520*ratio.ratioY); Node88.setWidth(Node88width); Node88.setHeight(Node88height); Node88._nodeType = 'text'; Node88._disallowEvert = true; Node88.setRotation(0*Math.PI/180); Node88.a('node.width', Node88width); Node88.a('node.height', Node88height); Node88.a('node.rect', [0, 0, Node88width, Node88height]); Node88.a('node.bordercolor','rgba(64,64,64,1)'); Node88.a('node.borderwidth', 0); Node88.a('node.background','' || 'rgba(0,0,0,0)'); Node88.a('node.gradient',''); Node88.a('node.gradientcolor',''); Node88.a('node.text','0'); Node88.a('node.textalign','left'); Node88.a('node.textvAlign','middle'); Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]); Node88.a('node.color','rgba(64,64,64,1)'); Node88.a('node.font',' '+ Node88fontSize + 'px "UniDreamLED"'); Node88.a('node.textvisible',true); Node88.a('node.linefeed',false); if (false) { Node88.a('node.textfunc',function(g) { g.beginPath(); var str=Node88.a('node.text') || '0'; var color=Node88.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node88.a('node.underlinepoints',[Node88lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]); Node88.a('node.underlinevisible',false); Node88.a('node.underlineBorderWidth', 1); } dataModel.add(Node88); zoomNodeList.push({ node: Node88, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node89 = new ht.Node(); var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 29*_ratio.ratioX, Node89height = 25*_ratio.ratioY; (function () { if (Node89align === 'left') { Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9; Node89textWidth = Node89width; Node89lineStart = 1; } else if (Node89align === 'right') { Node89textStart = 0; Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2; Node89lineStart = (Node89width - (ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node89align === 'center') { Node89textStart = -3; Node89textWidth = Node89width; Node89lineStart = Node89width - ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width - 11; } })(); Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "UniDreamLED"')) Node89.setPosition(300*ratio.ratioX, 549*ratio.ratioY); Node89.setWidth(Node89width); Node89.setHeight(Node89height); Node89._nodeType = 'text'; Node89._disallowEvert = true; Node89.setRotation(0*Math.PI/180); Node89.a('node.width', Node89width); Node89.a('node.height', Node89height); Node89.a('node.rect', [0, 0, Node89width, Node89height]); Node89.a('node.bordercolor','rgba(64,64,64,1)'); Node89.a('node.borderwidth', 0); Node89.a('node.background','' || 'rgba(0,0,0,0)'); Node89.a('node.gradient',''); Node89.a('node.gradientcolor',''); Node89.a('node.text','0'); Node89.a('node.textalign','left'); Node89.a('node.textvAlign','middle'); Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]); Node89.a('node.color','rgba(64,64,64,1)'); Node89.a('node.font',' '+ Node89fontSize + 'px "UniDreamLED"'); Node89.a('node.textvisible',true); Node89.a('node.linefeed',false); if (false) { Node89.a('node.textfunc',function(g) { g.beginPath(); var str=Node89.a('node.text') || '0'; var color=Node89.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node89.a('node.underlinepoints',[Node89lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]); Node89.a('node.underlinevisible',false); Node89.a('node.underlineBorderWidth', 1); } dataModel.add(Node89); zoomNodeList.push({ node: Node89, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node90 = new ht.Node(); var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 29*_ratio.ratioX, Node90height = 25*_ratio.ratioY; (function () { if (Node90align === 'left') { Node90textStart = Node90fontSize * 0.2 > 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('0', ' '+ Node90fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node90align === 'center') { Node90textStart = -3; Node90textWidth = Node90width; Node90lineStart = Node90width - ht.Default.getTextSize('0', ' '+ Node90fontSize + 'px "UniDreamLED"').width - 11; } })(); Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "UniDreamLED"')) Node90.setPosition(300*ratio.ratioX, 580*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(64,64,64,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','0'); Node90.a('node.textalign','left'); Node90.a('node.textvAlign','middle'); Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]); Node90.a('node.color','rgba(64,64,64,1)'); Node90.a('node.font',' '+ Node90fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node90.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node90.a('node.underlinepoints',[Node90lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node90fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node91height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node91align === 'center') { Node91textStart = -3; Node91textWidth = Node91width; Node91lineStart = Node91width - ht.Default.getTextSize('台', ' '+ Node91fontSize + 'px "UniDreamLED"').width - 11; } })(); Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "UniDreamLED"')) Node91.setPosition(354*ratio.ratioX, 519*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(64,64,64,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(64,64,64,1)'); Node91.a('node.font',' '+ Node91fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node91.a('node.underlinepoints',[Node91lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node91fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node92height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node92align === 'center') { Node92textStart = -3; Node92textWidth = Node92width; Node92lineStart = Node92width - ht.Default.getTextSize('台', ' '+ Node92fontSize + 'px "UniDreamLED"').width - 11; } })(); Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "UniDreamLED"')) Node92.setPosition(354*ratio.ratioX, 550*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(64,64,64,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(64,64,64,1)'); Node92.a('node.font',' '+ Node92fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node92.a('node.underlinepoints',[Node92lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node92fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node93height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node93align === 'center') { Node93textStart = -3; Node93textWidth = Node93width; Node93lineStart = Node93width - ht.Default.getTextSize('台', ' '+ Node93fontSize + 'px "UniDreamLED"').width - 11; } })(); Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "UniDreamLED"')) Node93.setPosition(355*ratio.ratioX, 579*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(64,64,64,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(64,64,64,1)'); Node93.a('node.font',' '+ Node93fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node93.a('node.underlinepoints',[Node93lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node93fontSize + 'px "UniDreamLED"').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 Node94type = 'rect'; var Node94 = new ht.Node(), Node94BorderWidth = 0*2; if (Node94type === 'arc') { Node94BorderWidth *= 0; } Node94.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node94.setPosition(603*ratio.ratioX, 581*ratio.ratioY); Node94.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node94.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node94.a('node.width', 66*_ratio.ratioX); Node94.a('node.height', 30*_ratio.ratioY); Node94.a('node.type', Node94type); Node94.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node94.a('node.background', 'rgba(245,245,245,1)'); Node94.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node94.a('node.gradient', ''); Node94.a('node.borderwidth', Node94BorderWidth); Node94.a('node.color', 'rgba(224,224,224,0)'); Node94.a('node.fillrect', [0,0,0,0]); Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node94.a('node.fillgradient', ''); if (Node94type !== 'rect') { Node94.a('node.arcFrom', parseFloat('@arcFrom@')); Node94.a('node.arcTo', parseFloat('@arcTo@')); Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node94type === 'arc') { Node94.a('node.arcOval', true); } Node94.setRotation(0*Math.PI/180); Node94.borderWidth = Node94BorderWidth; Node94.borderFillwidth = Node94BorderWidth; dataModel.add(Node94); Node94._nodename = 'Node94' Node94._nodeType = 'rect'; zoomNodeList.push({ node: Node94, 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); } })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node95type = 'rect'; var Node95 = new ht.Node(), Node95BorderWidth = 0*2; if (Node95type === 'arc') { Node95BorderWidth *= 0; } Node95.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node95.setPosition(603*ratio.ratioX, 550*ratio.ratioY); Node95.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node95.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node95.a('node.width', 66*_ratio.ratioX); Node95.a('node.height', 30*_ratio.ratioY); Node95.a('node.type', Node95type); Node95.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node95.a('node.background', 'rgba(245,245,245,1)'); Node95.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node95.a('node.gradient', ''); Node95.a('node.borderwidth', Node95BorderWidth); Node95.a('node.color', 'rgba(224,224,224,0)'); Node95.a('node.fillrect', [0,0,0,0]); Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node95.a('node.fillgradient', ''); if (Node95type !== 'rect') { Node95.a('node.arcFrom', parseFloat('@arcFrom@')); Node95.a('node.arcTo', parseFloat('@arcTo@')); Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node95type === 'arc') { Node95.a('node.arcOval', true); } Node95.setRotation(0*Math.PI/180); Node95.borderWidth = Node95BorderWidth; Node95.borderFillwidth = Node95BorderWidth; dataModel.add(Node95); Node95._nodename = 'Node95' Node95._nodeType = 'rect'; zoomNodeList.push({ node: Node95, 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); } })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node96type = 'rect'; var Node96 = new ht.Node(), Node96BorderWidth = 0*2; if (Node96type === 'arc') { Node96BorderWidth *= 0; } Node96.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node96.setPosition(603*ratio.ratioX, 519*ratio.ratioY); Node96.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node96.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node96.a('node.width', 66*_ratio.ratioX); Node96.a('node.height', 30*_ratio.ratioY); Node96.a('node.type', Node96type); Node96.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node96.a('node.background', 'rgba(245,245,245,1)'); Node96.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node96.a('node.gradient', ''); Node96.a('node.borderwidth', Node96BorderWidth); Node96.a('node.color', 'rgba(224,224,224,0)'); Node96.a('node.fillrect', [0,0,0,0]); Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node96.a('node.fillgradient', ''); if (Node96type !== 'rect') { Node96.a('node.arcFrom', parseFloat('@arcFrom@')); Node96.a('node.arcTo', parseFloat('@arcTo@')); Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node96type === 'arc') { Node96.a('node.arcOval', true); } Node96.setRotation(0*Math.PI/180); Node96.borderWidth = Node96BorderWidth; Node96.borderFillwidth = Node96BorderWidth; dataModel.add(Node96); Node96._nodename = 'Node96' Node96._nodeType = 'rect'; zoomNodeList.push({ node: Node96, 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); } })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node97type = 'rect'; var Node97 = new ht.Node(), Node97BorderWidth = 0*2; if (Node97type === 'arc') { Node97BorderWidth *= 0; } Node97.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node97.setPosition(414*ratio.ratioX, 581*ratio.ratioY); Node97.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node97.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node97.a('node.width', 66*_ratio.ratioX); Node97.a('node.height', 30*_ratio.ratioY); Node97.a('node.type', Node97type); Node97.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node97.a('node.background', 'rgba(245,245,245,1)'); Node97.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node97.a('node.gradient', ''); Node97.a('node.borderwidth', Node97BorderWidth); Node97.a('node.color', 'rgba(224,224,224,0)'); Node97.a('node.fillrect', [0,0,0,0]); Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node97.a('node.fillgradient', ''); if (Node97type !== 'rect') { Node97.a('node.arcFrom', parseFloat('@arcFrom@')); Node97.a('node.arcTo', parseFloat('@arcTo@')); Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node97type === 'arc') { Node97.a('node.arcOval', true); } Node97.setRotation(0*Math.PI/180); Node97.borderWidth = Node97BorderWidth; Node97.borderFillwidth = Node97BorderWidth; dataModel.add(Node97); Node97._nodename = 'Node97' Node97._nodeType = 'rect'; zoomNodeList.push({ node: Node97, 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); } })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node98type = 'rect'; var Node98 = new ht.Node(), Node98BorderWidth = 0*2; if (Node98type === 'arc') { Node98BorderWidth *= 0; } Node98.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node98.setPosition(414*ratio.ratioX, 549*ratio.ratioY); Node98.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node98.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node98.a('node.width', 66*_ratio.ratioX); Node98.a('node.height', 30*_ratio.ratioY); Node98.a('node.type', Node98type); Node98.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node98.a('node.background', 'rgba(245,245,245,1)'); Node98.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node98.a('node.gradient', ''); Node98.a('node.borderwidth', Node98BorderWidth); Node98.a('node.color', 'rgba(224,224,224,0)'); Node98.a('node.fillrect', [0,0,0,0]); Node98.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node98.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node98.a('node.fillgradient', ''); if (Node98type !== 'rect') { Node98.a('node.arcFrom', parseFloat('@arcFrom@')); Node98.a('node.arcTo', parseFloat('@arcTo@')); Node98.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node98type === 'arc') { Node98.a('node.arcOval', true); } Node98.setRotation(0*Math.PI/180); Node98.borderWidth = Node98BorderWidth; Node98.borderFillwidth = Node98BorderWidth; dataModel.add(Node98); Node98._nodename = 'Node98' Node98._nodeType = 'rect'; zoomNodeList.push({ node: Node98, 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); } })(Node98, Node98.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node99type = 'rect'; var Node99 = new ht.Node(), Node99BorderWidth = 0*2; if (Node99type === 'arc') { Node99BorderWidth *= 0; } Node99.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node99.setPosition(415*ratio.ratioX, 518*ratio.ratioY); Node99.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node99.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node99.a('node.width', 66*_ratio.ratioX); Node99.a('node.height', 30*_ratio.ratioY); Node99.a('node.type', Node99type); Node99.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node99.a('node.background', 'rgba(245,245,245,1)'); Node99.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node99.a('node.gradient', ''); Node99.a('node.borderwidth', Node99BorderWidth); Node99.a('node.color', 'rgba(224,224,224,0)'); Node99.a('node.fillrect', [0,0,0,0]); Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node99.a('node.fillgradient', ''); if (Node99type !== 'rect') { Node99.a('node.arcFrom', parseFloat('@arcFrom@')); Node99.a('node.arcTo', parseFloat('@arcTo@')); Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node99type === 'arc') { Node99.a('node.arcOval', true); } Node99.setRotation(0*Math.PI/180); Node99.borderWidth = Node99BorderWidth; Node99.borderFillwidth = Node99BorderWidth; dataModel.add(Node99); Node99._nodename = 'Node99' Node99._nodeType = 'rect'; zoomNodeList.push({ node: Node99, 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); } })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node100= new ht.Node(); Node100._borderWidth = 1; Node100.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node100._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node100.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node100.background'}, gradient: {value:'', func: 'attr@Node100.gradient'}, gradientColor:{value:'', func: 'attr@Node100.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node100.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node100.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node100.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node100.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node100.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node100.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node100.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node100.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node100.borderPattern'} } ] }); var Node100borderwidth = 1; var Node100borderFillwidth = 1*2; Node100 .setPosition(567*ratio.ratioX,451*ratio.ratioY); Node100.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node100.setRotation(0*Math.PI/180); Node100.s({'pixelPerfect':true}); Node100.a('Node100.borderwidth',1); Node100.a('Node100.color','@bordercolor@'); Node100.a('Node100.background','rgba(255,255,255,0.003921569)'); Node100.a('Node100.gradient',''); Node100.a('Node100.gradientcolor',''); Node100.a('Node100.borderPattern',getDashStyle("Solid")); Node100.a('Node100.fillrect',[0,0,0,0]); Node100.a('Node100.fillbackcolor','rgba(0, 0, 0, 0)'); Node100.a('Node100.fillgradientcolor','rgba(0, 0, 0, 0)'); Node100.a('Node100.fillgradient',''); Node100borderwidth=1; dataModel.add(Node100); Node100.borderWidth = 1; Node100.borderFillwidth = 1*2; Node100._nodename = 'Node100'; Node100._nodeType = 'roundrect'; zoomNodeList.push({ node: Node100, attr: 'Node100.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node100.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node100.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node100, Node100.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node101 = new ht.Node(); var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 11.99997*_ratio.ratioY,Node101width = 150*_ratio.ratioX, Node101height = 25*_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('右玉高家堡风电场', 'bold '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node101align === 'center') { Node101textStart = -3; Node101textWidth = Node101width; Node101lineStart = Node101width - ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node101fontSize + 'px "Arial"').width - 11; } })(); Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, 'bold '+ Node101fontSize + 'px "Arial"')) Node101.setPosition(462*ratio.ratioX, 415*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(64,64,64,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','右玉高家堡风电场'); Node101.a('node.textalign','left'); Node101.a('node.textvAlign','middle'); Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]); Node101.a('node.color','rgba(64,64,64,1)'); Node101.a('node.font','bold '+ 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') || '右玉高家堡风电场'; var color=Node101.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node101width,Node101height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node101fontSize + 'px "Arial"', 0,g); }); } if (false) { Node101.a('node.underlinepoints',[Node101lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ 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, ratio); var Node102 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 662*ratio.ratioX, 415*ratio.ratioY, 0, {text:'132',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node103 = new ht.Node(); var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 11.99997*_ratio.ratioY,Node103width = 40*_ratio.ratioX, Node103height = 21*_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('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node103align === 'center') { Node103textStart = -3; Node103textWidth = Node103width; Node103lineStart = Node103width - ht.Default.getTextSize('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').width - 11; } })(); Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "UniDreamLED"')) Node103.setPosition(517*ratio.ratioX, 459*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(0,0,0,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','4.48'); Node103.a('node.textalign','left'); Node103.a('node.textvAlign','middle'); Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]); Node103.a('node.color','rgba(0,0,0,1)'); Node103.a('node.font',' '+ Node103fontSize + 'px "UniDreamLED"'); 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') || '4.48'; var color=Node103.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node103width,Node103height,11.99997*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node103.a('node.underlinepoints',[Node103lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node104width = 40*_ratio.ratioX, Node104height = 21*_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('m/s', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node104align === 'center') { Node104textStart = -3; Node104textWidth = Node104width; Node104lineStart = Node104width - ht.Default.getTextSize('m/s', ' '+ Node104fontSize + 'px "Arial"').width - 11; } })(); Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"')) Node104.setPosition(517*ratio.ratioX, 480*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(0,0,0,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','m/s'); Node104.a('node.textalign','left'); Node104.a('node.textvAlign','middle'); Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]); Node104.a('node.color','rgba(0,0,0,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') || 'm/s'; var color=Node104.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node104width,Node104height,11.99997*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g); }); } if (false) { Node104.a('node.underlinepoints',[Node104lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node105 = new ht.Node(); var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'left', Node105fontSize = 11.99997*_ratio.ratioY,Node105width = 40*_ratio.ratioX, Node105height = 21*_ratio.ratioY; (function () { if (Node105align === 'left') { Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9; Node105textWidth = Node105width; Node105lineStart = 1; } else if (Node105align === 'right') { Node105textStart = 0; Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2; Node105lineStart = (Node105width - (ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node105align === 'center') { Node105textStart = -3; Node105textWidth = Node105width; Node105lineStart = Node105width - ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width - 11; } })(); Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, 'bold '+ Node105fontSize + 'px "Arial"')) Node105.setPosition(577*ratio.ratioX, 447*ratio.ratioY); Node105.setWidth(Node105width); Node105.setHeight(Node105height); Node105._nodeType = 'text'; Node105._disallowEvert = true; Node105.setRotation(0*Math.PI/180); Node105.a('node.width', Node105width); Node105.a('node.height', Node105height); Node105.a('node.rect', [0, 0, Node105width, Node105height]); Node105.a('node.bordercolor','rgba(64,64,64,1)'); Node105.a('node.borderwidth', 0); Node105.a('node.background','' || 'rgba(0,0,0,0)'); Node105.a('node.gradient',''); Node105.a('node.gradientcolor',''); Node105.a('node.text','功率'); Node105.a('node.textalign','left'); Node105.a('node.textvAlign','middle'); Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]); Node105.a('node.color','rgba(64,64,64,1)'); Node105.a('node.font','bold '+ Node105fontSize + 'px "Arial"'); Node105.a('node.textvisible',true); Node105.a('node.linefeed',false); if (false) { Node105.a('node.textfunc',function(g) { g.beginPath(); var str=Node105.a('node.text') || '功率'; var color=Node105.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node105width,Node105height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node105fontSize + 'px "Arial"', 0,g); }); } if (false) { Node105.a('node.underlinepoints',[Node105lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]); Node105.a('node.underlinevisible',false); Node105.a('node.underlineBorderWidth', 1); } dataModel.add(Node105); zoomNodeList.push({ node: Node105, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node106 = new ht.Node(); var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'left', Node106fontSize = 11.99997*_ratio.ratioY,Node106width = 44*_ratio.ratioX, Node106height = 21*_ratio.ratioY; (function () { if (Node106align === 'left') { Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9; Node106textWidth = Node106width; Node106lineStart = 1; } else if (Node106align === 'right') { Node106textStart = 0; Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2; Node106lineStart = (Node106width - (ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node106align === 'center') { Node106textStart = -3; Node106textWidth = Node106width; Node106lineStart = Node106width - ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width - 11; } })(); Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, 'bold '+ Node106fontSize + 'px "Arial"')) Node106.setPosition(579*ratio.ratioX, 481*ratio.ratioY); Node106.setWidth(Node106width); Node106.setHeight(Node106height); Node106._nodeType = 'text'; Node106._disallowEvert = true; Node106.setRotation(0*Math.PI/180); Node106.a('node.width', Node106width); Node106.a('node.height', Node106height); Node106.a('node.rect', [0, 0, Node106width, Node106height]); Node106.a('node.bordercolor','rgba(64,64,64,1)'); Node106.a('node.borderwidth', 0); Node106.a('node.background','' || 'rgba(0,0,0,0)'); Node106.a('node.gradient',''); Node106.a('node.gradientcolor',''); Node106.a('node.text','发电量'); Node106.a('node.textalign','left'); Node106.a('node.textvAlign','middle'); Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]); Node106.a('node.color','rgba(64,64,64,1)'); Node106.a('node.font','bold '+ Node106fontSize + 'px "Arial"'); Node106.a('node.textvisible',true); Node106.a('node.linefeed',false); if (false) { Node106.a('node.textfunc',function(g) { g.beginPath(); var str=Node106.a('node.text') || '发电量'; var color=Node106.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node106width,Node106height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node106fontSize + 'px "Arial"', 0,g); }); } if (false) { Node106.a('node.underlinepoints',[Node106lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]); Node106.a('node.underlinevisible',false); Node106.a('node.underlineBorderWidth', 1); } dataModel.add(Node106); zoomNodeList.push({ node: Node106, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node107 = new ht.Node(); var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'left', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 29*_ratio.ratioX, Node107height = 25*_ratio.ratioY; (function () { if (Node107align === 'left') { Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9; Node107textWidth = Node107width; Node107lineStart = 1; } else if (Node107align === 'right') { Node107textStart = 0; Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2; Node107lineStart = (Node107width - (ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node107align === 'center') { Node107textStart = -3; Node107textWidth = Node107width; Node107lineStart = Node107width - ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width - 11; } })(); Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"')) Node107.setPosition(727*ratio.ratioX, 416*ratio.ratioY); Node107.setWidth(Node107width); Node107.setHeight(Node107height); Node107._nodeType = 'text'; Node107._disallowEvert = true; Node107.setRotation(0*Math.PI/180); Node107.a('node.width', Node107width); Node107.a('node.height', Node107height); Node107.a('node.rect', [0, 0, Node107width, Node107height]); Node107.a('node.bordercolor','rgba(64,64,64,1)'); Node107.a('node.borderwidth', 0); Node107.a('node.background','' || 'rgba(0,0,0,0)'); Node107.a('node.gradient',''); Node107.a('node.gradientcolor',''); Node107.a('node.text','台'); Node107.a('node.textalign','left'); Node107.a('node.textvAlign','middle'); Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]); Node107.a('node.color','rgba(64,64,64,1)'); Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"'); Node107.a('node.textvisible',true); Node107.a('node.linefeed',false); if (false) { Node107.a('node.textfunc',function(g) { g.beginPath(); var str=Node107.a('node.text') || '台'; var color=Node107.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"left",color,' '+ Node107fontSize + 'px "Arial"', 0,g); }); } if (false) { Node107.a('node.underlinepoints',[Node107lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]); Node107.a('node.underlinevisible',false); Node107.a('node.underlineBorderWidth', 1); } dataModel.add(Node107); zoomNodeList.push({ node: Node107, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node108 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 447*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node109 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 447*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node110 = new ht.Node(); var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 29*_ratio.ratioX, Node110height = 25*_ratio.ratioY; (function () { if (Node110align === 'left') { Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9; Node110textWidth = Node110width; Node110lineStart = 1; } else if (Node110align === 'right') { Node110textStart = 0; Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2; Node110lineStart = (Node110width - (ht.Default.getTextSize('MW', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node110align === 'center') { Node110textStart = -3; Node110textWidth = Node110width; Node110lineStart = Node110width - ht.Default.getTextSize('MW', ' '+ Node110fontSize + 'px "Arial"').width - 11; } })(); Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"')) Node110.setPosition(719*ratio.ratioX, 446*ratio.ratioY); Node110.setWidth(Node110width); Node110.setHeight(Node110height); Node110._nodeType = 'text'; Node110._disallowEvert = true; Node110.setRotation(0*Math.PI/180); Node110.a('node.width', Node110width); Node110.a('node.height', Node110height); Node110.a('node.rect', [0, 0, Node110width, Node110height]); Node110.a('node.bordercolor','rgba(64,64,64,1)'); Node110.a('node.borderwidth', 0); Node110.a('node.background','' || 'rgba(0,0,0,0)'); Node110.a('node.gradient',''); Node110.a('node.gradientcolor',''); Node110.a('node.text','MW'); Node110.a('node.textalign','left'); Node110.a('node.textvAlign','middle'); Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]); Node110.a('node.color','rgba(64,64,64,1)'); Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"'); Node110.a('node.textvisible',true); Node110.a('node.linefeed',false); if (false) { Node110.a('node.textfunc',function(g) { g.beginPath(); var str=Node110.a('node.text') || 'MW'; var color=Node110.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "Arial"', 0,g); }); } if (false) { Node110.a('node.underlinepoints',[Node110lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]); Node110.a('node.underlinevisible',false); Node110.a('node.underlineBorderWidth', 1); } dataModel.add(Node110); zoomNodeList.push({ node: Node110, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node111 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 481*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node112 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 481*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//page_ztjs_sx_z_bj.png'});_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 = 43*_ratio.ratioX, Node113height = 25*_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('万kwh', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node113align === 'center') { Node113textStart = -3; Node113textWidth = Node113width; Node113lineStart = Node113width - ht.Default.getTextSize('万kwh', ' '+ Node113fontSize + 'px "Arial"').width - 11; } })(); Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"')) Node113.setPosition(727*ratio.ratioX, 481*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(64,64,64,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','万kwh'); Node113.a('node.textalign','left'); Node113.a('node.textvAlign','middle'); Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]); Node113.a('node.color','rgba(64,64,64,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') || '万kwh'; var color=Node113.a('node.color') || 'rgba(64,64,64,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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ 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 Node114type = 'rect'; var Node114 = new ht.Node(), Node114BorderWidth = 1*2; if (Node114type === 'arc') { Node114BorderWidth *= 1; } Node114.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node114.setPosition(567*ratio.ratioX, 549*ratio.ratioY); Node114.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node114.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node114.a('node.width', 373*_ratio.ratioX); Node114.a('node.height', 93*_ratio.ratioY); Node114.a('node.type', Node114type); Node114.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node114.a('node.background', 'rgba(255,255,255,0.003921569)'); Node114.a('node.gradientcolor', ''); Node114.a('node.gradient', ''); Node114.a('node.borderwidth', Node114BorderWidth); Node114.a('node.color', 'rgba(192,192,192,1)'); Node114.a('node.fillrect', [0,0,0,0]); Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node114.a('node.fillgradient', ''); if (Node114type !== 'rect') { Node114.a('node.arcFrom', parseFloat('@arcFrom@')); Node114.a('node.arcTo', parseFloat('@arcTo@')); Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node114type === 'arc') { Node114.a('node.arcOval', true); } Node114.setRotation(0*Math.PI/180); Node114.borderWidth = Node114BorderWidth; Node114.borderFillwidth = Node114BorderWidth; dataModel.add(Node114); Node114._nodename = 'Node114' Node114._nodeType = 'rect'; zoomNodeList.push({ node: Node114, 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); } })(Node114, Node114.getImage());var Node115points=[381, 534,754, 534], Node115rect=ht.Default.unionPoint([{x:381,y:534},{x:754,y:534}]), Node115compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 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('并网', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node123align === 'center') { Node123textStart = -3; Node123textWidth = Node123width; Node123lineStart = Node123width - ht.Default.getTextSize('并网', ' '+ Node123fontSize + 'px "Arial"').width - 11; } })(); Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"')) Node123.setPosition(413*ratio.ratioX, 520*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(128,128,255,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','并网'); Node123.a('node.textalign','left'); Node123.a('node.textvAlign','middle'); Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]); Node123.a('node.color','rgba(128,128,255,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') || '并网'; var color=Node123.a('node.color') || 'rgba(128,128,255,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('并网', ' '+ 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 = 39*_ratio.ratioX, Node124height = 16*_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('维护', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node124align === 'center') { Node124textStart = -3; Node124textWidth = Node124width; Node124lineStart = Node124width - ht.Default.getTextSize('维护', ' '+ Node124fontSize + 'px "Arial"').width - 11; } })(); Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"')) Node124.setPosition(414*ratio.ratioX, 550*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(192,64,0,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','维护'); Node124.a('node.textalign','left'); Node124.a('node.textvAlign','middle'); Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]); Node124.a('node.color','rgba(192,64,0,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') || '维护'; var color=Node124.a('node.color') || 'rgba(192,64,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('维护', ' '+ 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 = 39*_ratio.ratioX, Node125height = 16*_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('限电', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node125align === 'center') { Node125textStart = -3; Node125textWidth = Node125width; Node125lineStart = Node125width - ht.Default.getTextSize('限电', ' '+ Node125fontSize + 'px "Arial"').width - 11; } })(); Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"')) Node125.setPosition(414*ratio.ratioX, 580*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(128,0,128,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','限电'); Node125.a('node.textalign','left'); Node125.a('node.textvAlign','middle'); Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]); Node125.a('node.color','rgba(128,0,128,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') || '限电'; var color=Node125.a('node.color') || 'rgba(128,0,128,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('限电', ' '+ 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 = 39*_ratio.ratioX, Node126height = 16*_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('待机', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node126align === 'center') { Node126textStart = -3; Node126textWidth = Node126width; Node126lineStart = Node126width - ht.Default.getTextSize('待机', ' '+ Node126fontSize + 'px "Arial"').width - 11; } })(); Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"')) Node126.setPosition(603*ratio.ratioX, 520*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(0,128,0,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','待机'); Node126.a('node.textalign','left'); Node126.a('node.textvAlign','middle'); Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]); Node126.a('node.color','rgba(0,128,0,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') || '待机'; var color=Node126.a('node.color') || 'rgba(0,128,0,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('待机', ' '+ 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' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node127 = new ht.Node(); var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 39*_ratio.ratioX, Node127height = 16*_ratio.ratioY; (function () { if (Node127align === 'left') { Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9; Node127textWidth = Node127width; Node127lineStart = 1; } else if (Node127align === 'right') { Node127textStart = 0; Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2; Node127lineStart = (Node127width - (ht.Default.getTextSize('故障', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node127align === 'center') { Node127textStart = -3; Node127textWidth = Node127width; Node127lineStart = Node127width - ht.Default.getTextSize('故障', ' '+ Node127fontSize + 'px "Arial"').width - 11; } })(); Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"')) Node127.setPosition(604*ratio.ratioX, 550*ratio.ratioY); Node127.setWidth(Node127width); Node127.setHeight(Node127height); Node127._nodeType = 'text'; Node127._disallowEvert = true; Node127.setRotation(0*Math.PI/180); Node127.a('node.width', Node127width); Node127.a('node.height', Node127height); Node127.a('node.rect', [0, 0, Node127width, Node127height]); Node127.a('node.bordercolor','rgba(192,0,0,1)'); Node127.a('node.borderwidth', 0); Node127.a('node.background','' || 'rgba(0,0,0,0)'); Node127.a('node.gradient',''); Node127.a('node.gradientcolor',''); Node127.a('node.text','故障'); Node127.a('node.textalign','left'); Node127.a('node.textvAlign','middle'); Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]); Node127.a('node.color','rgba(192,0,0,1)'); Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"'); Node127.a('node.textvisible',true); Node127.a('node.linefeed',false); if (false) { Node127.a('node.textfunc',function(g) { g.beginPath(); var str=Node127.a('node.text') || '故障'; var color=Node127.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "Arial"', 0,g); }); } if (false) { Node127.a('node.underlinepoints',[Node127lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]); Node127.a('node.underlinevisible',false); Node127.a('node.underlineBorderWidth', 1); } dataModel.add(Node127); zoomNodeList.push({ node: Node127, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node128 = new ht.Node(); var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'left', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 39*_ratio.ratioX, Node128height = 16*_ratio.ratioY; (function () { if (Node128align === 'left') { Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9; Node128textWidth = Node128width; Node128lineStart = 1; } else if (Node128align === 'right') { Node128textStart = 0; Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2; Node128lineStart = (Node128width - (ht.Default.getTextSize('离线', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node128align === 'center') { Node128textStart = -3; Node128textWidth = Node128width; Node128lineStart = Node128width - ht.Default.getTextSize('离线', ' '+ Node128fontSize + 'px "Arial"').width - 11; } })(); Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"')) Node128.setPosition(604*ratio.ratioX, 580*ratio.ratioY); Node128.setWidth(Node128width); Node128.setHeight(Node128height); Node128._nodeType = 'text'; Node128._disallowEvert = true; Node128.setRotation(0*Math.PI/180); Node128.a('node.width', Node128width); Node128.a('node.height', Node128height); Node128.a('node.rect', [0, 0, Node128width, Node128height]); Node128.a('node.bordercolor','rgba(128,128,128,1)'); Node128.a('node.borderwidth', 0); Node128.a('node.background','' || 'rgba(0,0,0,0)'); Node128.a('node.gradient',''); Node128.a('node.gradientcolor',''); Node128.a('node.text','离线'); Node128.a('node.textalign','left'); Node128.a('node.textvAlign','middle'); Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]); Node128.a('node.color','rgba(128,128,128,1)'); Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"'); Node128.a('node.textvisible',true); Node128.a('node.linefeed',false); if (false) { Node128.a('node.textfunc',function(g) { g.beginPath(); var str=Node128.a('node.text') || '离线'; var color=Node128.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"left",color,' '+ Node128fontSize + 'px "Arial"', 0,g); }); } if (false) { Node128.a('node.underlinepoints',[Node128lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]); Node128.a('node.underlinevisible',false); Node128.a('node.underlineBorderWidth', 1); } dataModel.add(Node128); zoomNodeList.push({ node: Node128, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node129 = new ht.Node(); var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'left', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 29*_ratio.ratioX, Node129height = 25*_ratio.ratioY; (function () { if (Node129align === 'left') { Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9; Node129textWidth = Node129width; Node129lineStart = 1; } else if (Node129align === 'right') { Node129textStart = 0; Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2; Node129lineStart = (Node129width - (ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node129align === 'center') { Node129textStart = -3; Node129textWidth = Node129width; Node129lineStart = Node129width - ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width - 11; } })(); Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "UniDreamLED"')) Node129.setPosition(555*ratio.ratioX, 520*ratio.ratioY); Node129.setWidth(Node129width); Node129.setHeight(Node129height); Node129._nodeType = 'text'; Node129._disallowEvert = true; Node129.setRotation(0*Math.PI/180); Node129.a('node.width', Node129width); Node129.a('node.height', Node129height); Node129.a('node.rect', [0, 0, Node129width, Node129height]); Node129.a('node.bordercolor','rgba(64,64,64,1)'); Node129.a('node.borderwidth', 0); Node129.a('node.background','' || 'rgba(0,0,0,0)'); Node129.a('node.gradient',''); Node129.a('node.gradientcolor',''); Node129.a('node.text','台'); Node129.a('node.textalign','left'); Node129.a('node.textvAlign','middle'); Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]); Node129.a('node.color','rgba(64,64,64,1)'); Node129.a('node.font',' '+ Node129fontSize + 'px "UniDreamLED"'); Node129.a('node.textvisible',true); Node129.a('node.linefeed',false); if (false) { Node129.a('node.textfunc',function(g) { g.beginPath(); var str=Node129.a('node.text') || '台'; var color=Node129.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"left",color,' '+ Node129fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node129.a('node.underlinepoints',[Node129lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]); Node129.a('node.underlinevisible',false); Node129.a('node.underlineBorderWidth', 1); } dataModel.add(Node129); zoomNodeList.push({ node: Node129, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node130 = new ht.Node(); var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 29*_ratio.ratioX, Node130height = 25*_ratio.ratioY; (function () { if (Node130align === 'left') { Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9; Node130textWidth = Node130width; Node130lineStart = 1; } else if (Node130align === 'right') { Node130textStart = 0; Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2; Node130lineStart = (Node130width - (ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node130align === 'center') { Node130textStart = -3; Node130textWidth = Node130width; Node130lineStart = Node130width - ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width - 11; } })(); Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "UniDreamLED"')) Node130.setPosition(555*ratio.ratioX, 551*ratio.ratioY); Node130.setWidth(Node130width); Node130.setHeight(Node130height); Node130._nodeType = 'text'; Node130._disallowEvert = true; Node130.setRotation(0*Math.PI/180); Node130.a('node.width', Node130width); Node130.a('node.height', Node130height); Node130.a('node.rect', [0, 0, Node130width, Node130height]); Node130.a('node.bordercolor','rgba(64,64,64,1)'); Node130.a('node.borderwidth', 0); Node130.a('node.background','' || 'rgba(0,0,0,0)'); Node130.a('node.gradient',''); Node130.a('node.gradientcolor',''); Node130.a('node.text','台'); Node130.a('node.textalign','left'); Node130.a('node.textvAlign','middle'); Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]); Node130.a('node.color','rgba(64,64,64,1)'); Node130.a('node.font',' '+ Node130fontSize + 'px "UniDreamLED"'); Node130.a('node.textvisible',true); Node130.a('node.linefeed',false); if (false) { Node130.a('node.textfunc',function(g) { g.beginPath(); var str=Node130.a('node.text') || '台'; var color=Node130.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,' '+ Node130fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node130.a('node.underlinepoints',[Node130lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]); Node130.a('node.underlinevisible',false); Node130.a('node.underlineBorderWidth', 1); } dataModel.add(Node130); zoomNodeList.push({ node: Node130, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node131 = new ht.Node(); var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'left', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 29*_ratio.ratioX, Node131height = 25*_ratio.ratioY; (function () { if (Node131align === 'left') { Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9; Node131textWidth = Node131width; Node131lineStart = 1; } else if (Node131align === 'right') { Node131textStart = 0; Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2; Node131lineStart = (Node131width - (ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node131align === 'center') { Node131textStart = -3; Node131textWidth = Node131width; Node131lineStart = Node131width - ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width - 11; } })(); Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "UniDreamLED"')) Node131.setPosition(556*ratio.ratioX, 580*ratio.ratioY); Node131.setWidth(Node131width); Node131.setHeight(Node131height); Node131._nodeType = 'text'; Node131._disallowEvert = true; Node131.setRotation(0*Math.PI/180); Node131.a('node.width', Node131width); Node131.a('node.height', Node131height); Node131.a('node.rect', [0, 0, Node131width, Node131height]); Node131.a('node.bordercolor','rgba(64,64,64,1)'); Node131.a('node.borderwidth', 0); Node131.a('node.background','' || 'rgba(0,0,0,0)'); Node131.a('node.gradient',''); Node131.a('node.gradientcolor',''); Node131.a('node.text','台'); Node131.a('node.textalign','left'); Node131.a('node.textvAlign','middle'); Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]); Node131.a('node.color','rgba(64,64,64,1)'); Node131.a('node.font',' '+ Node131fontSize + 'px "UniDreamLED"'); Node131.a('node.textvisible',true); Node131.a('node.linefeed',false); if (false) { Node131.a('node.textfunc',function(g) { g.beginPath(); var str=Node131.a('node.text') || '台'; var color=Node131.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"left",color,' '+ Node131fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node131.a('node.underlinepoints',[Node131lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]); Node131.a('node.underlinevisible',false); Node131.a('node.underlineBorderWidth', 1); } dataModel.add(Node131); zoomNodeList.push({ node: Node131, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node132 = new ht.Node(); var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'left', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 29*_ratio.ratioX, Node132height = 25*_ratio.ratioY; (function () { if (Node132align === 'left') { Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9; Node132textWidth = Node132width; Node132lineStart = 1; } else if (Node132align === 'right') { Node132textStart = 0; Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2; Node132lineStart = (Node132width - (ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node132align === 'center') { Node132textStart = -3; Node132textWidth = Node132width; Node132lineStart = Node132width - ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width - 11; } })(); Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "UniDreamLED"')) Node132.setPosition(500*ratio.ratioX, 520*ratio.ratioY); Node132.setWidth(Node132width); Node132.setHeight(Node132height); Node132._nodeType = 'text'; Node132._disallowEvert = true; Node132.setRotation(0*Math.PI/180); Node132.a('node.width', Node132width); Node132.a('node.height', Node132height); Node132.a('node.rect', [0, 0, Node132width, Node132height]); Node132.a('node.bordercolor','rgba(64,64,64,1)'); Node132.a('node.borderwidth', 0); Node132.a('node.background','' || 'rgba(0,0,0,0)'); Node132.a('node.gradient',''); Node132.a('node.gradientcolor',''); Node132.a('node.text','132'); Node132.a('node.textalign','left'); Node132.a('node.textvAlign','middle'); Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]); Node132.a('node.color','rgba(64,64,64,1)'); Node132.a('node.font',' '+ Node132fontSize + 'px "UniDreamLED"'); Node132.a('node.textvisible',true); Node132.a('node.linefeed',false); if (false) { Node132.a('node.textfunc',function(g) { g.beginPath(); var str=Node132.a('node.text') || '132'; var color=Node132.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"left",color,' '+ Node132fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node132.a('node.underlinepoints',[Node132lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]); Node132.a('node.underlinevisible',false); Node132.a('node.underlineBorderWidth', 1); } dataModel.add(Node132); zoomNodeList.push({ node: Node132, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node133 = new ht.Node(); var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 29*_ratio.ratioX, Node133height = 25*_ratio.ratioY; (function () { if (Node133align === 'left') { Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9; Node133textWidth = Node133width; Node133lineStart = 1; } else if (Node133align === 'right') { Node133textStart = 0; Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2; Node133lineStart = (Node133width - (ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node133align === 'center') { Node133textStart = -3; Node133textWidth = Node133width; Node133lineStart = Node133width - ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width - 11; } })(); Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "UniDreamLED"')) Node133.setPosition(500*ratio.ratioX, 549*ratio.ratioY); Node133.setWidth(Node133width); Node133.setHeight(Node133height); Node133._nodeType = 'text'; Node133._disallowEvert = true; Node133.setRotation(0*Math.PI/180); Node133.a('node.width', Node133width); Node133.a('node.height', Node133height); Node133.a('node.rect', [0, 0, Node133width, Node133height]); Node133.a('node.bordercolor','rgba(64,64,64,1)'); Node133.a('node.borderwidth', 0); Node133.a('node.background','' || 'rgba(0,0,0,0)'); Node133.a('node.gradient',''); Node133.a('node.gradientcolor',''); Node133.a('node.text','0'); Node133.a('node.textalign','left'); Node133.a('node.textvAlign','middle'); Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]); Node133.a('node.color','rgba(64,64,64,1)'); Node133.a('node.font',' '+ Node133fontSize + 'px "UniDreamLED"'); Node133.a('node.textvisible',true); Node133.a('node.linefeed',false); if (false) { Node133.a('node.textfunc',function(g) { g.beginPath(); var str=Node133.a('node.text') || '0'; var color=Node133.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"left",color,' '+ Node133fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node133.a('node.underlinepoints',[Node133lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]); Node133.a('node.underlinevisible',false); Node133.a('node.underlineBorderWidth', 1); } dataModel.add(Node133); zoomNodeList.push({ node: Node133, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node134 = new ht.Node(); var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 29*_ratio.ratioX, Node134height = 25*_ratio.ratioY; (function () { if (Node134align === 'left') { Node134textStart = Node134fontSize * 0.2 > 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('0', ' '+ Node134fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node134align === 'center') { Node134textStart = -3; Node134textWidth = Node134width; Node134lineStart = Node134width - ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "UniDreamLED"').width - 11; } })(); Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "UniDreamLED"')) Node134.setPosition(500*ratio.ratioX, 580*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(64,64,64,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','0'); Node134.a('node.textalign','left'); Node134.a('node.textvAlign','middle'); Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]); Node134.a('node.color','rgba(64,64,64,1)'); Node134.a('node.font',' '+ Node134fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node134.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node134.a('node.underlinepoints',[Node134lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node135height = 25*_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('0', ' '+ Node135fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node135align === 'center') { Node135textStart = -3; Node135textWidth = Node135width; Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "UniDreamLED"').width - 11; } })(); Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "UniDreamLED"')) Node135.setPosition(677*ratio.ratioX, 520*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(64,64,64,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','0'); Node135.a('node.textalign','left'); Node135.a('node.textvAlign','middle'); Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]); Node135.a('node.color','rgba(64,64,64,1)'); Node135.a('node.font',' '+ Node135fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node135.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node135.a('node.underlinepoints',[Node135lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node136height = 25*_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('0', ' '+ Node136fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node136align === 'center') { Node136textStart = -3; Node136textWidth = Node136width; Node136lineStart = Node136width - ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "UniDreamLED"').width - 11; } })(); Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "UniDreamLED"')) Node136.setPosition(677*ratio.ratioX, 549*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(64,64,64,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','0'); Node136.a('node.textalign','left'); Node136.a('node.textvAlign','middle'); Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]); Node136.a('node.color','rgba(64,64,64,1)'); Node136.a('node.font',' '+ Node136fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node136.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node136.a('node.underlinepoints',[Node136lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node137height = 25*_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('0', ' '+ Node137fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node137align === 'center') { Node137textStart = -3; Node137textWidth = Node137width; Node137lineStart = Node137width - ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "UniDreamLED"').width - 11; } })(); Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "UniDreamLED"')) Node137.setPosition(677*ratio.ratioX, 580*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(64,64,64,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','0'); Node137.a('node.textalign','left'); Node137.a('node.textvAlign','middle'); Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]); Node137.a('node.color','rgba(64,64,64,1)'); Node137.a('node.font',' '+ Node137fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node137.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node137.a('node.underlinepoints',[Node137lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node138height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node138align === 'center') { Node138textStart = -3; Node138textWidth = Node138width; Node138lineStart = Node138width - ht.Default.getTextSize('台', ' '+ Node138fontSize + 'px "UniDreamLED"').width - 11; } })(); Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "UniDreamLED"')) Node138.setPosition(731*ratio.ratioX, 519*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(64,64,64,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(64,64,64,1)'); Node138.a('node.font',' '+ Node138fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node138.a('node.underlinepoints',[Node138lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node138fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node139height = 25*_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('台', ' '+ Node139fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node139align === 'center') { Node139textStart = -3; Node139textWidth = Node139width; Node139lineStart = Node139width - ht.Default.getTextSize('台', ' '+ Node139fontSize + 'px "UniDreamLED"').width - 11; } })(); Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "UniDreamLED"')) Node139.setPosition(731*ratio.ratioX, 550*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(64,64,64,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','台'); Node139.a('node.textalign','left'); Node139.a('node.textvAlign','middle'); Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]); Node139.a('node.color','rgba(64,64,64,1)'); Node139.a('node.font',' '+ Node139fontSize + 'px "UniDreamLED"'); 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') || '台'; var color=Node139.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"left",color,' '+ Node139fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node139.a('node.underlinepoints',[Node139lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node139fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node140height = 25*_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('台', ' '+ Node140fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node140align === 'center') { Node140textStart = -3; Node140textWidth = Node140width; Node140lineStart = Node140width - ht.Default.getTextSize('台', ' '+ Node140fontSize + 'px "UniDreamLED"').width - 11; } })(); Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "UniDreamLED"')) Node140.setPosition(732*ratio.ratioX, 579*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(64,64,64,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','台'); Node140.a('node.textalign','left'); Node140.a('node.textvAlign','middle'); Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]); Node140.a('node.color','rgba(64,64,64,1)'); Node140.a('node.font',' '+ Node140fontSize + 'px "UniDreamLED"'); 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') || '台'; var color=Node140.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,' '+ Node140fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node140.a('node.underlinepoints',[Node140lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node140fontSize + 'px "UniDreamLED"').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 Node141type = 'rect'; var Node141 = new ht.Node(), Node141BorderWidth = 0*2; if (Node141type === 'arc') { Node141BorderWidth *= 0; } Node141.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node141type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node141.setPosition(981*ratio.ratioX, 582*ratio.ratioY); Node141.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node141.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node141.a('node.width', 66*_ratio.ratioX); Node141.a('node.height', 30*_ratio.ratioY); Node141.a('node.type', Node141type); Node141.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node141.a('node.background', 'rgba(245,245,245,1)'); Node141.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node141.a('node.gradient', ''); Node141.a('node.borderwidth', Node141BorderWidth); Node141.a('node.color', 'rgba(224,224,224,0)'); Node141.a('node.fillrect', [0,0,0,0]); Node141.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node141.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node141.a('node.fillgradient', ''); if (Node141type !== 'rect') { Node141.a('node.arcFrom', parseFloat('@arcFrom@')); Node141.a('node.arcTo', parseFloat('@arcTo@')); Node141.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node141type === 'arc') { Node141.a('node.arcOval', true); } Node141.setRotation(0*Math.PI/180); Node141.borderWidth = Node141BorderWidth; Node141.borderFillwidth = Node141BorderWidth; dataModel.add(Node141); Node141._nodename = 'Node141' Node141._nodeType = 'rect'; zoomNodeList.push({ node: Node141, 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); } })(Node141, Node141.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node142type = 'rect'; var Node142 = new ht.Node(), Node142BorderWidth = 0*2; if (Node142type === 'arc') { Node142BorderWidth *= 0; } Node142.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node142.setPosition(981*ratio.ratioX, 551*ratio.ratioY); Node142.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node142.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node142.a('node.width', 66*_ratio.ratioX); Node142.a('node.height', 30*_ratio.ratioY); Node142.a('node.type', Node142type); Node142.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node142.a('node.background', 'rgba(245,245,245,1)'); Node142.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node142.a('node.gradient', ''); Node142.a('node.borderwidth', Node142BorderWidth); Node142.a('node.color', 'rgba(224,224,224,0)'); Node142.a('node.fillrect', [0,0,0,0]); Node142.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node142.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node142.a('node.fillgradient', ''); if (Node142type !== 'rect') { Node142.a('node.arcFrom', parseFloat('@arcFrom@')); Node142.a('node.arcTo', parseFloat('@arcTo@')); Node142.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node142type === 'arc') { Node142.a('node.arcOval', true); } Node142.setRotation(0*Math.PI/180); Node142.borderWidth = Node142BorderWidth; Node142.borderFillwidth = Node142BorderWidth; dataModel.add(Node142); Node142._nodename = 'Node142' Node142._nodeType = 'rect'; zoomNodeList.push({ node: Node142, 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); } })(Node142, Node142.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node143type = 'rect'; var Node143 = new ht.Node(), Node143BorderWidth = 0*2; if (Node143type === 'arc') { Node143BorderWidth *= 0; } Node143.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node143.setPosition(981*ratio.ratioX, 520*ratio.ratioY); Node143.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node143.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node143.a('node.width', 66*_ratio.ratioX); Node143.a('node.height', 30*_ratio.ratioY); Node143.a('node.type', Node143type); Node143.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node143.a('node.background', 'rgba(245,245,245,1)'); Node143.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node143.a('node.gradient', ''); Node143.a('node.borderwidth', Node143BorderWidth); Node143.a('node.color', 'rgba(224,224,224,0)'); Node143.a('node.fillrect', [0,0,0,0]); Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node143.a('node.fillgradient', ''); if (Node143type !== 'rect') { Node143.a('node.arcFrom', parseFloat('@arcFrom@')); Node143.a('node.arcTo', parseFloat('@arcTo@')); Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node143type === 'arc') { Node143.a('node.arcOval', true); } Node143.setRotation(0*Math.PI/180); Node143.borderWidth = Node143BorderWidth; Node143.borderFillwidth = Node143BorderWidth; dataModel.add(Node143); Node143._nodename = 'Node143' Node143._nodeType = 'rect'; zoomNodeList.push({ node: Node143, 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); } })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node144type = 'rect'; var Node144 = new ht.Node(), Node144BorderWidth = 0*2; if (Node144type === 'arc') { Node144BorderWidth *= 0; } Node144.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node144.setPosition(792*ratio.ratioX, 582*ratio.ratioY); Node144.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node144.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node144.a('node.width', 66*_ratio.ratioX); Node144.a('node.height', 30*_ratio.ratioY); Node144.a('node.type', Node144type); Node144.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node144.a('node.background', 'rgba(245,245,245,1)'); Node144.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node144.a('node.gradient', ''); Node144.a('node.borderwidth', Node144BorderWidth); Node144.a('node.color', 'rgba(224,224,224,0)'); Node144.a('node.fillrect', [0,0,0,0]); Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node144.a('node.fillgradient', ''); if (Node144type !== 'rect') { Node144.a('node.arcFrom', parseFloat('@arcFrom@')); Node144.a('node.arcTo', parseFloat('@arcTo@')); Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node144type === 'arc') { Node144.a('node.arcOval', true); } Node144.setRotation(0*Math.PI/180); Node144.borderWidth = Node144BorderWidth; Node144.borderFillwidth = Node144BorderWidth; dataModel.add(Node144); Node144._nodename = 'Node144' Node144._nodeType = 'rect'; zoomNodeList.push({ node: Node144, 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); } })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node145type = 'rect'; var Node145 = new ht.Node(), Node145BorderWidth = 0*2; if (Node145type === 'arc') { Node145BorderWidth *= 0; } Node145.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node145.setPosition(792*ratio.ratioX, 550*ratio.ratioY); Node145.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node145.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node145.a('node.width', 66*_ratio.ratioX); Node145.a('node.height', 30*_ratio.ratioY); Node145.a('node.type', Node145type); Node145.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node145.a('node.background', 'rgba(245,245,245,1)'); Node145.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node145.a('node.gradient', ''); Node145.a('node.borderwidth', Node145BorderWidth); Node145.a('node.color', 'rgba(224,224,224,0)'); Node145.a('node.fillrect', [0,0,0,0]); Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node145.a('node.fillgradient', ''); if (Node145type !== 'rect') { Node145.a('node.arcFrom', parseFloat('@arcFrom@')); Node145.a('node.arcTo', parseFloat('@arcTo@')); Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node145type === 'arc') { Node145.a('node.arcOval', true); } Node145.setRotation(0*Math.PI/180); Node145.borderWidth = Node145BorderWidth; Node145.borderFillwidth = Node145BorderWidth; dataModel.add(Node145); Node145._nodename = 'Node145' Node145._nodeType = 'rect'; zoomNodeList.push({ node: Node145, 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); } })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node146type = 'rect'; var Node146 = new ht.Node(), Node146BorderWidth = 0*2; if (Node146type === 'arc') { Node146BorderWidth *= 0; } Node146.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node146.setPosition(793*ratio.ratioX, 519*ratio.ratioY); Node146.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node146.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node146.a('node.width', 66*_ratio.ratioX); Node146.a('node.height', 30*_ratio.ratioY); Node146.a('node.type', Node146type); Node146.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node146.a('node.background', 'rgba(245,245,245,1)'); Node146.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node146.a('node.gradient', ''); Node146.a('node.borderwidth', Node146BorderWidth); Node146.a('node.color', 'rgba(224,224,224,0)'); Node146.a('node.fillrect', [0,0,0,0]); Node146.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node146.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node146.a('node.fillgradient', ''); if (Node146type !== 'rect') { Node146.a('node.arcFrom', parseFloat('@arcFrom@')); Node146.a('node.arcTo', parseFloat('@arcTo@')); Node146.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node146type === 'arc') { Node146.a('node.arcOval', true); } Node146.setRotation(0*Math.PI/180); Node146.borderWidth = Node146BorderWidth; Node146.borderFillwidth = Node146BorderWidth; dataModel.add(Node146); Node146._nodename = 'Node146' Node146._nodeType = 'rect'; zoomNodeList.push({ node: Node146, 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); } })(Node146, Node146.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node147= new ht.Node(); Node147._borderWidth = 1; Node147.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node147._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node147.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node147.background'}, gradient: {value:'', func: 'attr@Node147.gradient'}, gradientColor:{value:'', func: 'attr@Node147.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node147.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node147.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node147.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node147.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node147.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node147.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node147.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node147.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node147.borderPattern'} } ] }); var Node147borderwidth = 1; var Node147borderFillwidth = 1*2; Node147 .setPosition(945*ratio.ratioX,452*ratio.ratioY); Node147.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node147.setRotation(0*Math.PI/180); Node147.s({'pixelPerfect':true}); Node147.a('Node147.borderwidth',1); Node147.a('Node147.color','@bordercolor@'); Node147.a('Node147.background','rgba(255,255,255,0.003921569)'); Node147.a('Node147.gradient',''); Node147.a('Node147.gradientcolor',''); Node147.a('Node147.borderPattern',getDashStyle("Solid")); Node147.a('Node147.fillrect',[0,0,0,0]); Node147.a('Node147.fillbackcolor','rgba(0, 0, 0, 0)'); Node147.a('Node147.fillgradientcolor','rgba(0, 0, 0, 0)'); Node147.a('Node147.fillgradient',''); Node147borderwidth=1; dataModel.add(Node147); Node147.borderWidth = 1; Node147.borderFillwidth = 1*2; Node147._nodename = 'Node147'; Node147._nodeType = 'roundrect'; zoomNodeList.push({ node: Node147, attr: 'Node147.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node147.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node147.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node147, Node147.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node148 = new ht.Node(); var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 11.99997*_ratio.ratioY,Node148width = 150*_ratio.ratioX, Node148height = 25*_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('平鲁虎头山风电场', 'bold '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node148align === 'center') { Node148textStart = -3; Node148textWidth = Node148width; Node148lineStart = Node148width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node148fontSize + 'px "Arial"').width - 11; } })(); Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, 'bold '+ Node148fontSize + 'px "Arial"')) Node148.setPosition(840*ratio.ratioX, 416*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(64,64,64,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','平鲁虎头山风电场'); Node148.a('node.textalign','left'); Node148.a('node.textvAlign','middle'); Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]); Node148.a('node.color','rgba(64,64,64,1)'); Node148.a('node.font','bold '+ 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') || '平鲁虎头山风电场'; var color=Node148.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node148width,Node148height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node148fontSize + 'px "Arial"', 0,g); }); } if (false) { Node148.a('node.underlinepoints',[Node148lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ 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' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node149 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1040*ratio.ratioX, 416*ratio.ratioY, 0, {text:'101',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node150 = new ht.Node(); var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'left', Node150fontSize = 11.99997*_ratio.ratioY,Node150width = 40*_ratio.ratioX, Node150height = 21*_ratio.ratioY; (function () { if (Node150align === 'left') { Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9; Node150textWidth = Node150width; Node150lineStart = 1; } else if (Node150align === 'right') { Node150textStart = 0; Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2; Node150lineStart = (Node150width - (ht.Default.getTextSize('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node150align === 'center') { Node150textStart = -3; Node150textWidth = Node150width; Node150lineStart = Node150width - ht.Default.getTextSize('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width - 11; } })(); Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "UniDreamLED"')) Node150.setPosition(895*ratio.ratioX, 460*ratio.ratioY); Node150.setWidth(Node150width); Node150.setHeight(Node150height); Node150._nodeType = 'text'; Node150._disallowEvert = true; Node150.setRotation(0*Math.PI/180); Node150.a('node.width', Node150width); Node150.a('node.height', Node150height); Node150.a('node.rect', [0, 0, Node150width, Node150height]); Node150.a('node.bordercolor','rgba(0,0,0,1)'); Node150.a('node.borderwidth', 0); Node150.a('node.background','' || 'rgba(0,0,0,0)'); Node150.a('node.gradient',''); Node150.a('node.gradientcolor',''); Node150.a('node.text','4.48'); Node150.a('node.textalign','left'); Node150.a('node.textvAlign','middle'); Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]); Node150.a('node.color','rgba(0,0,0,1)'); Node150.a('node.font',' '+ Node150fontSize + 'px "UniDreamLED"'); Node150.a('node.textvisible',true); Node150.a('node.linefeed',false); if (false) { Node150.a('node.textfunc',function(g) { g.beginPath(); var str=Node150.a('node.text') || '4.48'; var color=Node150.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node150width,Node150height,11.99997*_ratio.ratioY,"left",color,' '+ Node150fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node150.a('node.underlinepoints',[Node150lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]); Node150.a('node.underlinevisible',false); Node150.a('node.underlineBorderWidth', 1); } dataModel.add(Node150); zoomNodeList.push({ node: Node150, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node151 = new ht.Node(); var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'left', Node151fontSize = 11.99997*_ratio.ratioY,Node151width = 40*_ratio.ratioX, Node151height = 21*_ratio.ratioY; (function () { if (Node151align === 'left') { Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9; Node151textWidth = Node151width; Node151lineStart = 1; } else if (Node151align === 'right') { Node151textStart = 0; Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2; Node151lineStart = (Node151width - (ht.Default.getTextSize('m/s', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node151align === 'center') { Node151textStart = -3; Node151textWidth = Node151width; Node151lineStart = Node151width - ht.Default.getTextSize('m/s', ' '+ Node151fontSize + 'px "Arial"').width - 11; } })(); Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"')) Node151.setPosition(895*ratio.ratioX, 481*ratio.ratioY); Node151.setWidth(Node151width); Node151.setHeight(Node151height); Node151._nodeType = 'text'; Node151._disallowEvert = true; Node151.setRotation(0*Math.PI/180); Node151.a('node.width', Node151width); Node151.a('node.height', Node151height); Node151.a('node.rect', [0, 0, Node151width, Node151height]); Node151.a('node.bordercolor','rgba(0,0,0,1)'); Node151.a('node.borderwidth', 0); Node151.a('node.background','' || 'rgba(0,0,0,0)'); Node151.a('node.gradient',''); Node151.a('node.gradientcolor',''); Node151.a('node.text','m/s'); Node151.a('node.textalign','left'); Node151.a('node.textvAlign','middle'); Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]); Node151.a('node.color','rgba(0,0,0,1)'); Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"'); Node151.a('node.textvisible',true); Node151.a('node.linefeed',false); if (false) { Node151.a('node.textfunc',function(g) { g.beginPath(); var str=Node151.a('node.text') || 'm/s'; var color=Node151.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node151width,Node151height,11.99997*_ratio.ratioY,"left",color,' '+ Node151fontSize + 'px "Arial"', 0,g); }); } if (false) { Node151.a('node.underlinepoints',[Node151lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]); Node151.a('node.underlinevisible',false); Node151.a('node.underlineBorderWidth', 1); } dataModel.add(Node151); zoomNodeList.push({ node: Node151, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node152 = new ht.Node(); var Node152textStart, Node152textWidth, Node152lineStart, Node152align = 'left', Node152fontSize = 11.99997*_ratio.ratioY,Node152width = 40*_ratio.ratioX, Node152height = 21*_ratio.ratioY; (function () { if (Node152align === 'left') { Node152textStart = Node152fontSize * 0.2 > 2 ? Node152fontSize * 0.2 - 4 : Node152fontSize * 0.2 - 9; Node152textWidth = Node152width; Node152lineStart = 1; } else if (Node152align === 'right') { Node152textStart = 0; Node152textWidth =Node152fontSize <= 8 ? Node152width + Node152fontSize * 0.2 + 6 : Node152width - Node152fontSize * 0.2; Node152lineStart = (Node152width - (ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node152align === 'center') { Node152textStart = -3; Node152textWidth = Node152width; Node152lineStart = Node152width - ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width - 11; } })(); Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, 'bold '+ Node152fontSize + 'px "Arial"')) Node152.setPosition(955*ratio.ratioX, 448*ratio.ratioY); Node152.setWidth(Node152width); Node152.setHeight(Node152height); Node152._nodeType = 'text'; Node152._disallowEvert = true; Node152.setRotation(0*Math.PI/180); Node152.a('node.width', Node152width); Node152.a('node.height', Node152height); Node152.a('node.rect', [0, 0, Node152width, Node152height]); Node152.a('node.bordercolor','rgba(64,64,64,1)'); Node152.a('node.borderwidth', 0); Node152.a('node.background','' || 'rgba(0,0,0,0)'); Node152.a('node.gradient',''); Node152.a('node.gradientcolor',''); Node152.a('node.text','功率'); Node152.a('node.textalign','left'); Node152.a('node.textvAlign','middle'); Node152.a('node.textrect', [Node152textStart, 0, Node152textWidth, Node152height]); Node152.a('node.color','rgba(64,64,64,1)'); Node152.a('node.font','bold '+ Node152fontSize + 'px "Arial"'); Node152.a('node.textvisible',true); Node152.a('node.linefeed',false); if (false) { Node152.a('node.textfunc',function(g) { g.beginPath(); var str=Node152.a('node.text') || '功率'; var color=Node152.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node152width,Node152height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node152fontSize + 'px "Arial"', 0,g); }); } if (false) { Node152.a('node.underlinepoints',[Node152lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width + 6, (Node152height - Node152fontSize) * 0.5*_ratio.ratioY + Node152fontSize + 2 ]); Node152.a('node.underlinevisible',false); Node152.a('node.underlineBorderWidth', 1); } dataModel.add(Node152); zoomNodeList.push({ node: Node152, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node153 = new ht.Node(); var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'left', Node153fontSize = 11.99997*_ratio.ratioY,Node153width = 44*_ratio.ratioX, Node153height = 21*_ratio.ratioY; (function () { if (Node153align === 'left') { Node153textStart = Node153fontSize * 0.2 > 2 ? Node153fontSize * 0.2 - 4 : Node153fontSize * 0.2 - 9; Node153textWidth = Node153width; Node153lineStart = 1; } else if (Node153align === 'right') { Node153textStart = 0; Node153textWidth =Node153fontSize <= 8 ? Node153width + Node153fontSize * 0.2 + 6 : Node153width - Node153fontSize * 0.2; Node153lineStart = (Node153width - (ht.Default.getTextSize('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node153align === 'center') { Node153textStart = -3; Node153textWidth = Node153width; Node153lineStart = Node153width - ht.Default.getTextSize('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width - 11; } })(); Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, 'bold '+ Node153fontSize + 'px "Arial"')) Node153.setPosition(957*ratio.ratioX, 482*ratio.ratioY); Node153.setWidth(Node153width); Node153.setHeight(Node153height); Node153._nodeType = 'text'; Node153._disallowEvert = true; Node153.setRotation(0*Math.PI/180); Node153.a('node.width', Node153width); Node153.a('node.height', Node153height); Node153.a('node.rect', [0, 0, Node153width, Node153height]); Node153.a('node.bordercolor','rgba(64,64,64,1)'); Node153.a('node.borderwidth', 0); Node153.a('node.background','' || 'rgba(0,0,0,0)'); Node153.a('node.gradient',''); Node153.a('node.gradientcolor',''); Node153.a('node.text','发电量'); Node153.a('node.textalign','left'); Node153.a('node.textvAlign','middle'); Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]); Node153.a('node.color','rgba(64,64,64,1)'); Node153.a('node.font','bold '+ Node153fontSize + 'px "Arial"'); Node153.a('node.textvisible',true); Node153.a('node.linefeed',false); if (false) { Node153.a('node.textfunc',function(g) { g.beginPath(); var str=Node153.a('node.text') || '发电量'; var color=Node153.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node153width,Node153height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node153fontSize + 'px "Arial"', 0,g); }); } if (false) { Node153.a('node.underlinepoints',[Node153lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width + 6, (Node153height - Node153fontSize) * 0.5*_ratio.ratioY + Node153fontSize + 2 ]); Node153.a('node.underlinevisible',false); Node153.a('node.underlineBorderWidth', 1); } dataModel.add(Node153); zoomNodeList.push({ node: Node153, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node154 = new ht.Node(); var Node154textStart, Node154textWidth, Node154lineStart, Node154align = 'left', Node154fontSize = 13.3333*_ratio.ratioY,Node154width = 29*_ratio.ratioX, Node154height = 25*_ratio.ratioY; (function () { if (Node154align === 'left') { Node154textStart = Node154fontSize * 0.2 > 2 ? Node154fontSize * 0.2 - 4 : Node154fontSize * 0.2 - 9; Node154textWidth = Node154width; Node154lineStart = 1; } else if (Node154align === 'right') { Node154textStart = 0; Node154textWidth =Node154fontSize <= 8 ? Node154width + Node154fontSize * 0.2 + 6 : Node154width - Node154fontSize * 0.2; Node154lineStart = (Node154width - (ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node154align === 'center') { Node154textStart = -3; Node154textWidth = Node154width; Node154lineStart = Node154width - ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width - 11; } })(); Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, ' '+ Node154fontSize + 'px "Arial"')) Node154.setPosition(1105*ratio.ratioX, 417*ratio.ratioY); Node154.setWidth(Node154width); Node154.setHeight(Node154height); Node154._nodeType = 'text'; Node154._disallowEvert = true; Node154.setRotation(0*Math.PI/180); Node154.a('node.width', Node154width); Node154.a('node.height', Node154height); Node154.a('node.rect', [0, 0, Node154width, Node154height]); Node154.a('node.bordercolor','rgba(64,64,64,1)'); Node154.a('node.borderwidth', 0); Node154.a('node.background','' || 'rgba(0,0,0,0)'); Node154.a('node.gradient',''); Node154.a('node.gradientcolor',''); Node154.a('node.text','台'); Node154.a('node.textalign','left'); Node154.a('node.textvAlign','middle'); Node154.a('node.textrect', [Node154textStart, 0, Node154textWidth, Node154height]); Node154.a('node.color','rgba(64,64,64,1)'); Node154.a('node.font',' '+ Node154fontSize + 'px "Arial"'); Node154.a('node.textvisible',true); Node154.a('node.linefeed',false); if (false) { Node154.a('node.textfunc',function(g) { g.beginPath(); var str=Node154.a('node.text') || '台'; var color=Node154.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154width,Node154height,13.3333*_ratio.ratioY,"left",color,' '+ Node154fontSize + 'px "Arial"', 0,g); }); } if (false) { Node154.a('node.underlinepoints',[Node154lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width + 6, (Node154height - Node154fontSize) * 0.5*_ratio.ratioY + Node154fontSize + 2 ]); Node154.a('node.underlinevisible',false); Node154.a('node.underlineBorderWidth', 1); } dataModel.add(Node154); zoomNodeList.push({ node: Node154, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node155 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 448*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node156 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 448*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node157 = new ht.Node(); var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 29*_ratio.ratioX, Node157height = 25*_ratio.ratioY; (function () { if (Node157align === 'left') { Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9; Node157textWidth = Node157width; Node157lineStart = 1; } else if (Node157align === 'right') { Node157textStart = 0; Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2; Node157lineStart = (Node157width - (ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node157align === 'center') { Node157textStart = -3; Node157textWidth = Node157width; Node157lineStart = Node157width - ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width - 11; } })(); Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"')) Node157.setPosition(1097*ratio.ratioX, 447*ratio.ratioY); Node157.setWidth(Node157width); Node157.setHeight(Node157height); Node157._nodeType = 'text'; Node157._disallowEvert = true; Node157.setRotation(0*Math.PI/180); Node157.a('node.width', Node157width); Node157.a('node.height', Node157height); Node157.a('node.rect', [0, 0, Node157width, Node157height]); Node157.a('node.bordercolor','rgba(64,64,64,1)'); Node157.a('node.borderwidth', 0); Node157.a('node.background','' || 'rgba(0,0,0,0)'); Node157.a('node.gradient',''); Node157.a('node.gradientcolor',''); Node157.a('node.text','MW'); Node157.a('node.textalign','left'); Node157.a('node.textvAlign','middle'); Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]); Node157.a('node.color','rgba(64,64,64,1)'); Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"'); Node157.a('node.textvisible',true); Node157.a('node.linefeed',false); if (false) { Node157.a('node.textfunc',function(g) { g.beginPath(); var str=Node157.a('node.text') || 'MW'; var color=Node157.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"left",color,' '+ Node157fontSize + 'px "Arial"', 0,g); }); } if (false) { Node157.a('node.underlinepoints',[Node157lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]); Node157.a('node.underlinevisible',false); Node157.a('node.underlineBorderWidth', 1); } dataModel.add(Node157); zoomNodeList.push({ node: Node157, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node158 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 482*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node159 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 482*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//page_ztjs_sx_z_bj.png'});_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 = 43*_ratio.ratioX, Node160height = 25*_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('万kwh', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node160align === 'center') { Node160textStart = -3; Node160textWidth = Node160width; Node160lineStart = Node160width - ht.Default.getTextSize('万kwh', ' '+ Node160fontSize + 'px "Arial"').width - 11; } })(); Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"')) Node160.setPosition(1105*ratio.ratioX, 482*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(64,64,64,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','万kwh'); Node160.a('node.textalign','left'); Node160.a('node.textvAlign','middle'); Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]); Node160.a('node.color','rgba(64,64,64,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') || '万kwh'; var color=Node160.a('node.color') || 'rgba(64,64,64,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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ 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(373*_ratio.ratioX, 93*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node161.setPosition(945*ratio.ratioX, 550*ratio.ratioY); Node161.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node161.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node161.a('node.width', 373*_ratio.ratioX); Node161.a('node.height', 93*_ratio.ratioY); Node161.a('node.type', Node161type); Node161.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_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 Node162points=[759, 535,1132, 535], Node162rect=ht.Default.unionPoint([{x:759,y:535},{x:1132,y:535}]), Node162compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 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(791*ratio.ratioX, 521*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(128,128,255,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(128,128,255,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(128,128,255,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, (16 - 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 Node171 = new ht.Node(); var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'left', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 39*_ratio.ratioX, Node171height = 16*_ratio.ratioY; (function () { if (Node171align === 'left') { Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9; Node171textWidth = Node171width; Node171lineStart = 1; } else if (Node171align === 'right') { Node171textStart = 0; Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2; Node171lineStart = (Node171width - (ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node171align === 'center') { Node171textStart = -3; Node171textWidth = Node171width; Node171lineStart = Node171width - ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width - 11; } })(); Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"')) Node171.setPosition(792*ratio.ratioX, 551*ratio.ratioY); Node171.setWidth(Node171width); Node171.setHeight(Node171height); Node171._nodeType = 'text'; Node171._disallowEvert = true; Node171.setRotation(0*Math.PI/180); Node171.a('node.width', Node171width); Node171.a('node.height', Node171height); Node171.a('node.rect', [0, 0, Node171width, Node171height]); Node171.a('node.bordercolor','rgba(192,64,0,1)'); Node171.a('node.borderwidth', 0); Node171.a('node.background','' || 'rgba(0,0,0,0)'); Node171.a('node.gradient',''); Node171.a('node.gradientcolor',''); Node171.a('node.text','维护'); Node171.a('node.textalign','left'); Node171.a('node.textvAlign','middle'); Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]); Node171.a('node.color','rgba(192,64,0,1)'); Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"'); Node171.a('node.textvisible',true); Node171.a('node.linefeed',false); if (false) { Node171.a('node.textfunc',function(g) { g.beginPath(); var str=Node171.a('node.text') || '维护'; var color=Node171.a('node.color') || 'rgba(192,64,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"left",color,' '+ Node171fontSize + 'px "Arial"', 0,g); }); } if (false) { Node171.a('node.underlinepoints',[Node171lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]); Node171.a('node.underlinevisible',false); Node171.a('node.underlineBorderWidth', 1); } dataModel.add(Node171); zoomNodeList.push({ node: Node171, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node172 = new ht.Node(); var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'left', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 39*_ratio.ratioX, Node172height = 16*_ratio.ratioY; (function () { if (Node172align === 'left') { Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9; Node172textWidth = Node172width; Node172lineStart = 1; } else if (Node172align === 'right') { Node172textStart = 0; Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2; Node172lineStart = (Node172width - (ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node172align === 'center') { Node172textStart = -3; Node172textWidth = Node172width; Node172lineStart = Node172width - ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width - 11; } })(); Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"')) Node172.setPosition(792*ratio.ratioX, 581*ratio.ratioY); Node172.setWidth(Node172width); Node172.setHeight(Node172height); Node172._nodeType = 'text'; Node172._disallowEvert = true; Node172.setRotation(0*Math.PI/180); Node172.a('node.width', Node172width); Node172.a('node.height', Node172height); Node172.a('node.rect', [0, 0, Node172width, Node172height]); Node172.a('node.bordercolor','rgba(128,0,128,1)'); Node172.a('node.borderwidth', 0); Node172.a('node.background','' || 'rgba(0,0,0,0)'); Node172.a('node.gradient',''); Node172.a('node.gradientcolor',''); Node172.a('node.text','限电'); Node172.a('node.textalign','left'); Node172.a('node.textvAlign','middle'); Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]); Node172.a('node.color','rgba(128,0,128,1)'); Node172.a('node.font',' '+ Node172fontSize + 'px "Arial"'); Node172.a('node.textvisible',true); Node172.a('node.linefeed',false); if (false) { Node172.a('node.textfunc',function(g) { g.beginPath(); var str=Node172.a('node.text') || '限电'; var color=Node172.a('node.color') || 'rgba(128,0,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"left",color,' '+ Node172fontSize + 'px "Arial"', 0,g); }); } if (false) { Node172.a('node.underlinepoints',[Node172lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]); Node172.a('node.underlinevisible',false); Node172.a('node.underlineBorderWidth', 1); } dataModel.add(Node172); zoomNodeList.push({ node: Node172, borderWidth: 0, attr: 'node.borderwidth' }); _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 = 16*_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(981*ratio.ratioX, 521*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,128,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,128,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,128,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, (16 - 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 = 16*_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('故障', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node174align === 'center') { Node174textStart = -3; Node174textWidth = Node174width; Node174lineStart = Node174width - ht.Default.getTextSize('故障', ' '+ Node174fontSize + 'px "Arial"').width - 11; } })(); Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"')) Node174.setPosition(982*ratio.ratioX, 551*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(192,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','故障'); Node174.a('node.textalign','left'); Node174.a('node.textvAlign','middle'); Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]); Node174.a('node.color','rgba(192,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') || '故障'; var color=Node174.a('node.color') || 'rgba(192,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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('故障', ' '+ 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 = 39*_ratio.ratioX, Node175height = 16*_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(982*ratio.ratioX, 581*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(128,128,128,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(128,128,128,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(128,128,128,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, (16 - 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 Node176 = new ht.Node(); var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'left', Node176fontSize = 13.3333*_ratio.ratioY,Node176width = 29*_ratio.ratioX, Node176height = 25*_ratio.ratioY; (function () { if (Node176align === 'left') { Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9; Node176textWidth = Node176width; Node176lineStart = 1; } else if (Node176align === 'right') { Node176textStart = 0; Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2; Node176lineStart = (Node176width - (ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node176align === 'center') { Node176textStart = -3; Node176textWidth = Node176width; Node176lineStart = Node176width - ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width - 11; } })(); Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "UniDreamLED"')) Node176.setPosition(933*ratio.ratioX, 521*ratio.ratioY); Node176.setWidth(Node176width); Node176.setHeight(Node176height); Node176._nodeType = 'text'; Node176._disallowEvert = true; Node176.setRotation(0*Math.PI/180); Node176.a('node.width', Node176width); Node176.a('node.height', Node176height); Node176.a('node.rect', [0, 0, Node176width, Node176height]); Node176.a('node.bordercolor','rgba(64,64,64,1)'); Node176.a('node.borderwidth', 0); Node176.a('node.background','' || 'rgba(0,0,0,0)'); Node176.a('node.gradient',''); Node176.a('node.gradientcolor',''); Node176.a('node.text','台'); Node176.a('node.textalign','left'); Node176.a('node.textvAlign','middle'); Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]); Node176.a('node.color','rgba(64,64,64,1)'); Node176.a('node.font',' '+ Node176fontSize + 'px "UniDreamLED"'); Node176.a('node.textvisible',true); Node176.a('node.linefeed',false); if (false) { Node176.a('node.textfunc',function(g) { g.beginPath(); var str=Node176.a('node.text') || '台'; var color=Node176.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node176.a('node.underlinepoints',[Node176lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]); Node176.a('node.underlinevisible',false); Node176.a('node.underlineBorderWidth', 1); } dataModel.add(Node176); zoomNodeList.push({ node: Node176, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node177 = new ht.Node(); var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'left', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 29*_ratio.ratioX, Node177height = 25*_ratio.ratioY; (function () { if (Node177align === 'left') { Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9; Node177textWidth = Node177width; Node177lineStart = 1; } else if (Node177align === 'right') { Node177textStart = 0; Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2; Node177lineStart = (Node177width - (ht.Default.getTextSize('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node177align === 'center') { Node177textStart = -3; Node177textWidth = Node177width; Node177lineStart = Node177width - ht.Default.getTextSize('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width - 11; } })(); Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "UniDreamLED"')) Node177.setPosition(933*ratio.ratioX, 552*ratio.ratioY); Node177.setWidth(Node177width); Node177.setHeight(Node177height); Node177._nodeType = 'text'; Node177._disallowEvert = true; Node177.setRotation(0*Math.PI/180); Node177.a('node.width', Node177width); Node177.a('node.height', Node177height); Node177.a('node.rect', [0, 0, Node177width, Node177height]); Node177.a('node.bordercolor','rgba(64,64,64,1)'); Node177.a('node.borderwidth', 0); Node177.a('node.background','' || 'rgba(0,0,0,0)'); Node177.a('node.gradient',''); Node177.a('node.gradientcolor',''); Node177.a('node.text','台'); Node177.a('node.textalign','left'); Node177.a('node.textvAlign','middle'); Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]); Node177.a('node.color','rgba(64,64,64,1)'); Node177.a('node.font',' '+ Node177fontSize + 'px "UniDreamLED"'); Node177.a('node.textvisible',true); Node177.a('node.linefeed',false); if (false) { Node177.a('node.textfunc',function(g) { g.beginPath(); var str=Node177.a('node.text') || '台'; var color=Node177.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"left",color,' '+ Node177fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node177.a('node.underlinepoints',[Node177lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]); Node177.a('node.underlinevisible',false); Node177.a('node.underlineBorderWidth', 1); } dataModel.add(Node177); zoomNodeList.push({ node: Node177, borderWidth: 0, attr: 'node.borderwidth' }); _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 = 29*_ratio.ratioX, Node178height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node178align === 'center') { Node178textStart = -3; Node178textWidth = Node178width; Node178lineStart = Node178width - ht.Default.getTextSize('台', ' '+ Node178fontSize + 'px "UniDreamLED"').width - 11; } })(); Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "UniDreamLED"')) Node178.setPosition(934*ratio.ratioX, 581*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(64,64,64,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(64,64,64,1)'); Node178.a('node.font',' '+ Node178fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node178.a('node.underlinepoints',[Node178lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node178fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node179height = 25*_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('101', ' '+ Node179fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node179align === 'center') { Node179textStart = -3; Node179textWidth = Node179width; Node179lineStart = Node179width - ht.Default.getTextSize('101', ' '+ Node179fontSize + 'px "UniDreamLED"').width - 11; } })(); Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "UniDreamLED"')) Node179.setPosition(878*ratio.ratioX, 521*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(64,64,64,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','101'); Node179.a('node.textalign','left'); Node179.a('node.textvAlign','middle'); Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]); Node179.a('node.color','rgba(64,64,64,1)'); Node179.a('node.font',' '+ Node179fontSize + 'px "UniDreamLED"'); 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') || '101'; var color=Node179.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node179.a('node.underlinepoints',[Node179lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('101', ' '+ Node179fontSize + 'px "UniDreamLED"').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 = 25*_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('0', ' '+ Node180fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node180align === 'center') { Node180textStart = -3; Node180textWidth = Node180width; Node180lineStart = Node180width - ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "UniDreamLED"').width - 11; } })(); Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "UniDreamLED"')) Node180.setPosition(878*ratio.ratioX, 550*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(64,64,64,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','0'); Node180.a('node.textalign','left'); Node180.a('node.textvAlign','middle'); Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]); Node180.a('node.color','rgba(64,64,64,1)'); Node180.a('node.font',' '+ Node180fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node180.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node180.a('node.underlinepoints',[Node180lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "UniDreamLED"').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 Node181 = new ht.Node(); var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'left', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 29*_ratio.ratioX, Node181height = 25*_ratio.ratioY; (function () { if (Node181align === 'left') { Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9; Node181textWidth = Node181width; Node181lineStart = 1; } else if (Node181align === 'right') { Node181textStart = 0; Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2; Node181lineStart = (Node181width - (ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node181align === 'center') { Node181textStart = -3; Node181textWidth = Node181width; Node181lineStart = Node181width - ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width - 11; } })(); Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "UniDreamLED"')) Node181.setPosition(878*ratio.ratioX, 581*ratio.ratioY); Node181.setWidth(Node181width); Node181.setHeight(Node181height); Node181._nodeType = 'text'; Node181._disallowEvert = true; Node181.setRotation(0*Math.PI/180); Node181.a('node.width', Node181width); Node181.a('node.height', Node181height); Node181.a('node.rect', [0, 0, Node181width, Node181height]); Node181.a('node.bordercolor','rgba(64,64,64,1)'); Node181.a('node.borderwidth', 0); Node181.a('node.background','' || 'rgba(0,0,0,0)'); Node181.a('node.gradient',''); Node181.a('node.gradientcolor',''); Node181.a('node.text','0'); Node181.a('node.textalign','left'); Node181.a('node.textvAlign','middle'); Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]); Node181.a('node.color','rgba(64,64,64,1)'); Node181.a('node.font',' '+ Node181fontSize + 'px "UniDreamLED"'); Node181.a('node.textvisible',true); Node181.a('node.linefeed',false); if (false) { Node181.a('node.textfunc',function(g) { g.beginPath(); var str=Node181.a('node.text') || '0'; var color=Node181.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"left",color,' '+ Node181fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node181.a('node.underlinepoints',[Node181lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]); Node181.a('node.underlinevisible',false); Node181.a('node.underlineBorderWidth', 1); } dataModel.add(Node181); zoomNodeList.push({ node: Node181, borderWidth: 0, attr: 'node.borderwidth' }); _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 = 29*_ratio.ratioX, Node182height = 25*_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('0', ' '+ Node182fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node182align === 'center') { Node182textStart = -3; Node182textWidth = Node182width; Node182lineStart = Node182width - ht.Default.getTextSize('0', ' '+ Node182fontSize + 'px "UniDreamLED"').width - 11; } })(); Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "UniDreamLED"')) Node182.setPosition(1055*ratio.ratioX, 521*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(64,64,64,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','0'); Node182.a('node.textalign','left'); Node182.a('node.textvAlign','middle'); Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]); Node182.a('node.color','rgba(64,64,64,1)'); Node182.a('node.font',' '+ Node182fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node182.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node182.a('node.underlinepoints',[Node182lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node182fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node183height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node183align === 'center') { Node183textStart = -3; Node183textWidth = Node183width; Node183lineStart = Node183width - ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "UniDreamLED"').width - 11; } })(); Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "UniDreamLED"')) Node183.setPosition(1055*ratio.ratioX, 550*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(64,64,64,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(64,64,64,1)'); Node183.a('node.font',' '+ Node183fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node183.a('node.underlinepoints',[Node183lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "UniDreamLED"').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 = 25*_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('0', ' '+ Node184fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node184align === 'center') { Node184textStart = -3; Node184textWidth = Node184width; Node184lineStart = Node184width - ht.Default.getTextSize('0', ' '+ Node184fontSize + 'px "UniDreamLED"').width - 11; } })(); Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "UniDreamLED"')) Node184.setPosition(1055*ratio.ratioX, 581*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(64,64,64,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','0'); Node184.a('node.textalign','left'); Node184.a('node.textvAlign','middle'); Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]); Node184.a('node.color','rgba(64,64,64,1)'); Node184.a('node.font',' '+ Node184fontSize + 'px "UniDreamLED"'); 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') || '0'; var color=Node184.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node184.a('node.underlinepoints',[Node184lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node184fontSize + 'px "UniDreamLED"').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 Node185 = new ht.Node(); var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 29*_ratio.ratioX, Node185height = 25*_ratio.ratioY; (function () { if (Node185align === 'left') { Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9; Node185textWidth = Node185width; Node185lineStart = 1; } else if (Node185align === 'right') { Node185textStart = 0; Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2; Node185lineStart = (Node185width - (ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node185align === 'center') { Node185textStart = -3; Node185textWidth = Node185width; Node185lineStart = Node185width - ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width - 11; } })(); Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "UniDreamLED"')) Node185.setPosition(1109*ratio.ratioX, 520*ratio.ratioY); Node185.setWidth(Node185width); Node185.setHeight(Node185height); Node185._nodeType = 'text'; Node185._disallowEvert = true; Node185.setRotation(0*Math.PI/180); Node185.a('node.width', Node185width); Node185.a('node.height', Node185height); Node185.a('node.rect', [0, 0, Node185width, Node185height]); Node185.a('node.bordercolor','rgba(64,64,64,1)'); Node185.a('node.borderwidth', 0); Node185.a('node.background','' || 'rgba(0,0,0,0)'); Node185.a('node.gradient',''); Node185.a('node.gradientcolor',''); Node185.a('node.text','台'); Node185.a('node.textalign','left'); Node185.a('node.textvAlign','middle'); Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]); Node185.a('node.color','rgba(64,64,64,1)'); Node185.a('node.font',' '+ Node185fontSize + 'px "UniDreamLED"'); Node185.a('node.textvisible',true); Node185.a('node.linefeed',false); if (false) { Node185.a('node.textfunc',function(g) { g.beginPath(); var str=Node185.a('node.text') || '台'; var color=Node185.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,' '+ Node185fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node185.a('node.underlinepoints',[Node185lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]); Node185.a('node.underlinevisible',false); Node185.a('node.underlineBorderWidth', 1); } dataModel.add(Node185); zoomNodeList.push({ node: Node185, borderWidth: 0, attr: 'node.borderwidth' }); _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 = 29*_ratio.ratioX, Node186height = 25*_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 "UniDreamLED"').width + 6)) * 0.5; } else if (Node186align === 'center') { Node186textStart = -3; Node186textWidth = Node186width; Node186lineStart = Node186width - ht.Default.getTextSize('台', ' '+ Node186fontSize + 'px "UniDreamLED"').width - 11; } })(); Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "UniDreamLED"')) Node186.setPosition(1109*ratio.ratioX, 551*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(64,64,64,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(64,64,64,1)'); Node186.a('node.font',' '+ Node186fontSize + 'px "UniDreamLED"'); 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(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node186.a('node.underlinepoints',[Node186lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node186fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node187height = 25*_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('台', ' '+ Node187fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node187align === 'center') { Node187textStart = -3; Node187textWidth = Node187width; Node187lineStart = Node187width - ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "UniDreamLED"').width - 11; } })(); Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "UniDreamLED"')) Node187.setPosition(1110*ratio.ratioX, 580*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(64,64,64,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','台'); Node187.a('node.textalign','left'); Node187.a('node.textvAlign','middle'); Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]); Node187.a('node.color','rgba(64,64,64,1)'); Node187.a('node.font',' '+ Node187fontSize + 'px "UniDreamLED"'); 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') || '台'; var color=Node187.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node187.a('node.underlinepoints',[Node187lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "UniDreamLED"').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 Node188type = 'rect'; var Node188 = new ht.Node(), Node188BorderWidth = 0*2; if (Node188type === 'arc') { Node188BorderWidth *= 0; } Node188.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node188type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node188.setPosition(1359*ratio.ratioX, 583*ratio.ratioY); Node188.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node188.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node188.a('node.width', 66*_ratio.ratioX); Node188.a('node.height', 30*_ratio.ratioY); Node188.a('node.type', Node188type); Node188.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node188.a('node.background', 'rgba(245,245,245,1)'); Node188.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node188.a('node.gradient', ''); Node188.a('node.borderwidth', Node188BorderWidth); Node188.a('node.color', 'rgba(224,224,224,0)'); Node188.a('node.fillrect', [0,0,0,0]); Node188.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node188.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node188.a('node.fillgradient', ''); if (Node188type !== 'rect') { Node188.a('node.arcFrom', parseFloat('@arcFrom@')); Node188.a('node.arcTo', parseFloat('@arcTo@')); Node188.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node188type === 'arc') { Node188.a('node.arcOval', true); } Node188.setRotation(0*Math.PI/180); Node188.borderWidth = Node188BorderWidth; Node188.borderFillwidth = Node188BorderWidth; dataModel.add(Node188); Node188._nodename = 'Node188' Node188._nodeType = 'rect'; zoomNodeList.push({ node: Node188, 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); } })(Node188, Node188.getImage());_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(66*_ratio.ratioX, 30*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node189.setPosition(1359*ratio.ratioX, 552*ratio.ratioY); Node189.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node189.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node189.a('node.width', 66*_ratio.ratioX); Node189.a('node.height', 30*_ratio.ratioY); Node189.a('node.type', Node189type); Node189.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node189.a('node.background', 'rgba(245,245,245,1)'); Node189.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node189.a('node.gradient', ''); Node189.a('node.borderwidth', Node189BorderWidth); Node189.a('node.color', 'rgba(224,224,224,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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node190type = 'rect'; var Node190 = new ht.Node(), Node190BorderWidth = 0*2; if (Node190type === 'arc') { Node190BorderWidth *= 0; } Node190.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node190type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node190.setPosition(1359*ratio.ratioX, 521*ratio.ratioY); Node190.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node190.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node190.a('node.width', 66*_ratio.ratioX); Node190.a('node.height', 30*_ratio.ratioY); Node190.a('node.type', Node190type); Node190.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node190.a('node.background', 'rgba(245,245,245,1)'); Node190.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node190.a('node.gradient', ''); Node190.a('node.borderwidth', Node190BorderWidth); Node190.a('node.color', 'rgba(224,224,224,0)'); Node190.a('node.fillrect', [0,0,0,0]); Node190.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node190.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node190.a('node.fillgradient', ''); if (Node190type !== 'rect') { Node190.a('node.arcFrom', parseFloat('@arcFrom@')); Node190.a('node.arcTo', parseFloat('@arcTo@')); Node190.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node190type === 'arc') { Node190.a('node.arcOval', true); } Node190.setRotation(0*Math.PI/180); Node190.borderWidth = Node190BorderWidth; Node190.borderFillwidth = Node190BorderWidth; dataModel.add(Node190); Node190._nodename = 'Node190' Node190._nodeType = 'rect'; zoomNodeList.push({ node: Node190, 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); } })(Node190, Node190.getImage());_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(66*_ratio.ratioX, 30*_ratio.ratioY, Node191type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node191.setPosition(1170*ratio.ratioX, 583*ratio.ratioY); Node191.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node191.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node191.a('node.width', 66*_ratio.ratioX); Node191.a('node.height', 30*_ratio.ratioY); Node191.a('node.type', Node191type); Node191.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node191.a('node.background', 'rgba(245,245,245,1)'); Node191.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node191.a('node.gradient', ''); Node191.a('node.borderwidth', Node191BorderWidth); Node191.a('node.color', 'rgba(224,224,224,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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node192type = 'rect'; var Node192 = new ht.Node(), Node192BorderWidth = 0*2; if (Node192type === 'arc') { Node192BorderWidth *= 0; } Node192.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node192type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node192.setPosition(1170*ratio.ratioX, 551*ratio.ratioY); Node192.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node192.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node192.a('node.width', 66*_ratio.ratioX); Node192.a('node.height', 30*_ratio.ratioY); Node192.a('node.type', Node192type); Node192.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node192.a('node.background', 'rgba(245,245,245,1)'); Node192.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node192.a('node.gradient', ''); Node192.a('node.borderwidth', Node192BorderWidth); Node192.a('node.color', 'rgba(224,224,224,0)'); Node192.a('node.fillrect', [0,0,0,0]); Node192.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node192.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node192.a('node.fillgradient', ''); if (Node192type !== 'rect') { Node192.a('node.arcFrom', parseFloat('@arcFrom@')); Node192.a('node.arcTo', parseFloat('@arcTo@')); Node192.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node192type === 'arc') { Node192.a('node.arcOval', true); } Node192.setRotation(0*Math.PI/180); Node192.borderWidth = Node192BorderWidth; Node192.borderFillwidth = Node192BorderWidth; dataModel.add(Node192); Node192._nodename = 'Node192' Node192._nodeType = 'rect'; zoomNodeList.push({ node: Node192, 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); } })(Node192, Node192.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node193type = 'rect'; var Node193 = new ht.Node(), Node193BorderWidth = 0*2; if (Node193type === 'arc') { Node193BorderWidth *= 0; } Node193.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node193type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node193.setPosition(1171*ratio.ratioX, 520*ratio.ratioY); Node193.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node193.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node193.a('node.width', 66*_ratio.ratioX); Node193.a('node.height', 30*_ratio.ratioY); Node193.a('node.type', Node193type); Node193.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node193.a('node.background', 'rgba(245,245,245,1)'); Node193.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node193.a('node.gradient', ''); Node193.a('node.borderwidth', Node193BorderWidth); Node193.a('node.color', 'rgba(224,224,224,0)'); Node193.a('node.fillrect', [0,0,0,0]); Node193.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node193.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node193.a('node.fillgradient', ''); if (Node193type !== 'rect') { Node193.a('node.arcFrom', parseFloat('@arcFrom@')); Node193.a('node.arcTo', parseFloat('@arcTo@')); Node193.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node193type === 'arc') { Node193.a('node.arcOval', true); } Node193.setRotation(0*Math.PI/180); Node193.borderWidth = Node193BorderWidth; Node193.borderFillwidth = Node193BorderWidth; dataModel.add(Node193); Node193._nodename = 'Node193' Node193._nodeType = 'rect'; zoomNodeList.push({ node: Node193, 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); } })(Node193, Node193.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node194= new ht.Node(); Node194._borderWidth = 1; Node194.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node194._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node194.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node194.background'}, gradient: {value:'', func: 'attr@Node194.gradient'}, gradientColor:{value:'', func: 'attr@Node194.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node194.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node194.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node194.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node194.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node194.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node194.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node194.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node194.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node194.borderPattern'} } ] }); var Node194borderwidth = 1; var Node194borderFillwidth = 1*2; Node194 .setPosition(1323*ratio.ratioX,453*ratio.ratioY); Node194.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node194.setRotation(0*Math.PI/180); Node194.s({'pixelPerfect':true}); Node194.a('Node194.borderwidth',1); Node194.a('Node194.color','@bordercolor@'); Node194.a('Node194.background','rgba(255,255,255,0.003921569)'); Node194.a('Node194.gradient',''); Node194.a('Node194.gradientcolor',''); Node194.a('Node194.borderPattern',getDashStyle("Solid")); Node194.a('Node194.fillrect',[0,0,0,0]); Node194.a('Node194.fillbackcolor','rgba(0, 0, 0, 0)'); Node194.a('Node194.fillgradientcolor','rgba(0, 0, 0, 0)'); Node194.a('Node194.fillgradient',''); Node194borderwidth=1; dataModel.add(Node194); Node194.borderWidth = 1; Node194.borderFillwidth = 1*2; Node194._nodename = 'Node194'; Node194._nodeType = 'roundrect'; zoomNodeList.push({ node: Node194, attr: 'Node194.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node194.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node194.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node194, Node194.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node195 = new ht.Node(); var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'left', Node195fontSize = 11.99997*_ratio.ratioY,Node195width = 150*_ratio.ratioX, Node195height = 25*_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('平鲁虎头山风电场', 'bold '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node195align === 'center') { Node195textStart = -3; Node195textWidth = Node195width; Node195lineStart = Node195width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node195fontSize + 'px "Arial"').width - 11; } })(); Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, 'bold '+ Node195fontSize + 'px "Arial"')) Node195.setPosition(1218*ratio.ratioX, 417*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(64,64,64,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','平鲁虎头山风电场'); Node195.a('node.textalign','left'); Node195.a('node.textvAlign','middle'); Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]); Node195.a('node.color','rgba(64,64,64,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') || '平鲁虎头山风电场'; var color=Node195.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node195width,Node195height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node195fontSize + 'px "Arial"', 0,g); }); } if (false) { Node195.a('node.underlinepoints',[Node195lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', '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' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node196 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1418*ratio.ratioX, 417*ratio.ratioY, 0, {text:'24',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node197 = new ht.Node(); var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'left', Node197fontSize = 11.99997*_ratio.ratioY,Node197width = 40*_ratio.ratioX, Node197height = 21*_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('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node197align === 'center') { Node197textStart = -3; Node197textWidth = Node197width; Node197lineStart = Node197width - ht.Default.getTextSize('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').width - 11; } })(); Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "UniDreamLED"')) Node197.setPosition(1273*ratio.ratioX, 461*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','4.48'); Node197.a('node.textalign','left'); 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',' '+ Node197fontSize + 'px "UniDreamLED"'); 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') || '4.48'; var color=Node197.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node197width,Node197height,11.99997*_ratio.ratioY,"left",color,' '+ Node197fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node197.a('node.underlinepoints',[Node197lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node198width = 40*_ratio.ratioX, Node198height = 21*_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('m/s', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node198align === 'center') { Node198textStart = -3; Node198textWidth = Node198width; Node198lineStart = Node198width - ht.Default.getTextSize('m/s', ' '+ Node198fontSize + 'px "Arial"').width - 11; } })(); Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"')) Node198.setPosition(1273*ratio.ratioX, 482*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','m/s'); 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') || 'm/s'; var color=Node198.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node198width,Node198height,11.99997*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g); }); } if (false) { Node198.a('node.underlinepoints',[Node198lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 'left', Node199fontSize = 11.99997*_ratio.ratioY,Node199width = 40*_ratio.ratioX, Node199height = 21*_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('功率', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node199align === 'center') { Node199textStart = -3; Node199textWidth = Node199width; Node199lineStart = Node199width - ht.Default.getTextSize('功率', 'bold '+ Node199fontSize + 'px "Arial"').width - 11; } })(); Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"')) Node199.setPosition(1333*ratio.ratioX, 449*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(64,64,64,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','功率'); Node199.a('node.textalign','left'); Node199.a('node.textvAlign','middle'); Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]); Node199.a('node.color','rgba(64,64,64,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') || '功率'; var color=Node199.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node199width,Node199height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g); }); } if (false) { Node199.a('node.underlinepoints',[Node199lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('功率', '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' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node200 = new ht.Node(); var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 11.99997*_ratio.ratioY,Node200width = 44*_ratio.ratioX, Node200height = 21*_ratio.ratioY; (function () { if (Node200align === 'left') { Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9; Node200textWidth = Node200width; Node200lineStart = 1; } else if (Node200align === 'right') { Node200textStart = 0; Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2; Node200lineStart = (Node200width - (ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node200align === 'center') { Node200textStart = -3; Node200textWidth = Node200width; Node200lineStart = Node200width - ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width - 11; } })(); Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, 'bold '+ Node200fontSize + 'px "Arial"')) Node200.setPosition(1335*ratio.ratioX, 483*ratio.ratioY); Node200.setWidth(Node200width); Node200.setHeight(Node200height); Node200._nodeType = 'text'; Node200._disallowEvert = true; Node200.setRotation(0*Math.PI/180); Node200.a('node.width', Node200width); Node200.a('node.height', Node200height); Node200.a('node.rect', [0, 0, Node200width, Node200height]); Node200.a('node.bordercolor','rgba(64,64,64,1)'); Node200.a('node.borderwidth', 0); Node200.a('node.background','' || 'rgba(0,0,0,0)'); Node200.a('node.gradient',''); Node200.a('node.gradientcolor',''); Node200.a('node.text','发电量'); Node200.a('node.textalign','left'); Node200.a('node.textvAlign','middle'); Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]); Node200.a('node.color','rgba(64,64,64,1)'); Node200.a('node.font','bold '+ Node200fontSize + 'px "Arial"'); Node200.a('node.textvisible',true); Node200.a('node.linefeed',false); if (false) { Node200.a('node.textfunc',function(g) { g.beginPath(); var str=Node200.a('node.text') || '发电量'; var color=Node200.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node200width,Node200height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node200fontSize + 'px "Arial"', 0,g); }); } if (false) { Node200.a('node.underlinepoints',[Node200lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]); Node200.a('node.underlinevisible',false); Node200.a('node.underlineBorderWidth', 1); } dataModel.add(Node200); zoomNodeList.push({ node: Node200, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node201 = new ht.Node(); var Node201textStart, Node201textWidth, Node201lineStart, Node201align = 'left', Node201fontSize = 13.3333*_ratio.ratioY,Node201width = 29*_ratio.ratioX, Node201height = 25*_ratio.ratioY; (function () { if (Node201align === 'left') { Node201textStart = Node201fontSize * 0.2 > 2 ? Node201fontSize * 0.2 - 4 : Node201fontSize * 0.2 - 9; Node201textWidth = Node201width; Node201lineStart = 1; } else if (Node201align === 'right') { Node201textStart = 0; Node201textWidth =Node201fontSize <= 8 ? Node201width + Node201fontSize * 0.2 + 6 : Node201width - Node201fontSize * 0.2; Node201lineStart = (Node201width - (ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node201align === 'center') { Node201textStart = -3; Node201textWidth = Node201width; Node201lineStart = Node201width - ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width - 11; } })(); Node201.setImage(GD.getTextJSON(Node201width, Node201height, true, false, false, ' '+ Node201fontSize + 'px "Arial"')) Node201.setPosition(1483*ratio.ratioX, 418*ratio.ratioY); Node201.setWidth(Node201width); Node201.setHeight(Node201height); Node201._nodeType = 'text'; Node201._disallowEvert = true; Node201.setRotation(0*Math.PI/180); Node201.a('node.width', Node201width); Node201.a('node.height', Node201height); Node201.a('node.rect', [0, 0, Node201width, Node201height]); Node201.a('node.bordercolor','rgba(64,64,64,1)'); Node201.a('node.borderwidth', 0); Node201.a('node.background','' || 'rgba(0,0,0,0)'); Node201.a('node.gradient',''); Node201.a('node.gradientcolor',''); Node201.a('node.text','台'); Node201.a('node.textalign','left'); Node201.a('node.textvAlign','middle'); Node201.a('node.textrect', [Node201textStart, 0, Node201textWidth, Node201height]); Node201.a('node.color','rgba(64,64,64,1)'); Node201.a('node.font',' '+ Node201fontSize + 'px "Arial"'); Node201.a('node.textvisible',true); Node201.a('node.linefeed',false); if (false) { Node201.a('node.textfunc',function(g) { g.beginPath(); var str=Node201.a('node.text') || '台'; var color=Node201.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node201width,Node201height,13.3333*_ratio.ratioY,"left",color,' '+ Node201fontSize + 'px "Arial"', 0,g); }); } if (false) { Node201.a('node.underlinepoints',[Node201lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node201fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width + 6, (Node201height - Node201fontSize) * 0.5*_ratio.ratioY + Node201fontSize + 2 ]); Node201.a('node.underlinevisible',false); Node201.a('node.underlineBorderWidth', 1); } dataModel.add(Node201); zoomNodeList.push({ node: Node201, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node202 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1404*ratio.ratioX, 449*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node203 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1404*ratio.ratioX, 449*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node204 = new ht.Node(); var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'left', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 29*_ratio.ratioX, Node204height = 25*_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('MW', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node204align === 'center') { Node204textStart = -3; Node204textWidth = Node204width; Node204lineStart = Node204width - ht.Default.getTextSize('MW', ' '+ Node204fontSize + 'px "Arial"').width - 11; } })(); Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "Arial"')) Node204.setPosition(1475*ratio.ratioX, 448*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(64,64,64,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','MW'); Node204.a('node.textalign','left'); Node204.a('node.textvAlign','middle'); Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]); Node204.a('node.color','rgba(64,64,64,1)'); Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"'); Node204.a('node.textvisible',true); Node204.a('node.linefeed',false); if (false) { Node204.a('node.textfunc',function(g) { g.beginPath(); var str=Node204.a('node.text') || 'MW'; var color=Node204.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"left",color,' '+ Node204fontSize + 'px "Arial"', 0,g); }); } if (false) { Node204.a('node.underlinepoints',[Node204lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('MW', ' '+ 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, ratio); var Node205 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1405*ratio.ratioX, 483*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node206 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1405*ratio.ratioX, 483*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node207 = new ht.Node(); var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'left', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 43*_ratio.ratioX, Node207height = 25*_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('万kwh', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node207align === 'center') { Node207textStart = -3; Node207textWidth = Node207width; Node207lineStart = Node207width - ht.Default.getTextSize('万kwh', ' '+ Node207fontSize + 'px "Arial"').width - 11; } })(); Node207.setImage(GD.getTextJSON(Node207width, Node207height, true, false, false, ' '+ Node207fontSize + 'px "Arial"')) Node207.setPosition(1483*ratio.ratioX, 483*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(64,64,64,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','万kwh'); Node207.a('node.textalign','left'); Node207.a('node.textvAlign','middle'); Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]); Node207.a('node.color','rgba(64,64,64,1)'); Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"'); Node207.a('node.textvisible',true); Node207.a('node.linefeed',false); if (false) { Node207.a('node.textfunc',function(g) { g.beginPath(); var str=Node207.a('node.text') || '万kwh'; var color=Node207.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"left",color,' '+ Node207fontSize + 'px "Arial"', 0,g); }); } if (false) { Node207.a('node.underlinepoints',[Node207lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ 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 Node208type = 'rect'; var Node208 = new ht.Node(), Node208BorderWidth = 1*2; if (Node208type === 'arc') { Node208BorderWidth *= 1; } Node208.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node208type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node208.setPosition(1323*ratio.ratioX, 551*ratio.ratioY); Node208.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node208.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node208.a('node.width', 373*_ratio.ratioX); Node208.a('node.height', 93*_ratio.ratioY); Node208.a('node.type', Node208type); Node208.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node208.a('node.background', 'rgba(255,255,255,0.003921569)'); Node208.a('node.gradientcolor', ''); Node208.a('node.gradient', ''); Node208.a('node.borderwidth', Node208BorderWidth); Node208.a('node.color', 'rgba(192,192,192,1)'); Node208.a('node.fillrect', [0,0,0,0]); Node208.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node208.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node208.a('node.fillgradient', ''); if (Node208type !== 'rect') { Node208.a('node.arcFrom', parseFloat('@arcFrom@')); Node208.a('node.arcTo', parseFloat('@arcTo@')); Node208.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node208type === 'arc') { Node208.a('node.arcOval', true); } Node208.setRotation(0*Math.PI/180); Node208.borderWidth = Node208BorderWidth; Node208.borderFillwidth = Node208BorderWidth; dataModel.add(Node208); Node208._nodename = 'Node208' Node208._nodeType = 'rect'; zoomNodeList.push({ node: Node208, 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); } })(Node208, Node208.getImage());var Node209points=[1137, 536,1510, 536], Node209rect=ht.Default.unionPoint([{x:1137,y:536},{x:1510,y:536}]), Node209compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node217fontSize * 0.2 - 4 : Node217fontSize * 0.2 - 9; Node217textWidth = Node217width; Node217lineStart = 1; } else if (Node217align === 'right') { Node217textStart = 0; Node217textWidth =Node217fontSize <= 8 ? Node217width + Node217fontSize * 0.2 + 6 : Node217width - Node217fontSize * 0.2; Node217lineStart = (Node217width - (ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node217align === 'center') { Node217textStart = -3; Node217textWidth = Node217width; Node217lineStart = Node217width - ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width - 11; } })(); Node217.setImage(GD.getTextJSON(Node217width, Node217height, true, false, false, ' '+ Node217fontSize + 'px "Arial"')) Node217.setPosition(1169*ratio.ratioX, 522*ratio.ratioY); Node217.setWidth(Node217width); Node217.setHeight(Node217height); Node217._nodeType = 'text'; Node217._disallowEvert = true; Node217.setRotation(0*Math.PI/180); Node217.a('node.width', Node217width); Node217.a('node.height', Node217height); Node217.a('node.rect', [0, 0, Node217width, Node217height]); Node217.a('node.bordercolor','rgba(128,128,255,1)'); Node217.a('node.borderwidth', 0); Node217.a('node.background','' || 'rgba(0,0,0,0)'); Node217.a('node.gradient',''); Node217.a('node.gradientcolor',''); Node217.a('node.text','并网'); Node217.a('node.textalign','left'); Node217.a('node.textvAlign','middle'); Node217.a('node.textrect', [Node217textStart, 0, Node217textWidth, Node217height]); Node217.a('node.color','rgba(128,128,255,1)'); Node217.a('node.font',' '+ Node217fontSize + 'px "Arial"'); Node217.a('node.textvisible',true); Node217.a('node.linefeed',false); if (false) { Node217.a('node.textfunc',function(g) { g.beginPath(); var str=Node217.a('node.text') || '并网'; var color=Node217.a('node.color') || 'rgba(128,128,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node217width,Node217height,13.3333*_ratio.ratioY,"left",color,' '+ Node217fontSize + 'px "Arial"', 0,g); }); } if (false) { Node217.a('node.underlinepoints',[Node217lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node217fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width + 6, (Node217height - Node217fontSize) * 0.5*_ratio.ratioY + Node217fontSize + 2 ]); Node217.a('node.underlinevisible',false); Node217.a('node.underlineBorderWidth', 1); } dataModel.add(Node217); zoomNodeList.push({ node: Node217, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node218 = new ht.Node(); var Node218textStart, Node218textWidth, Node218lineStart, Node218align = 'left', Node218fontSize = 13.3333*_ratio.ratioY,Node218width = 39*_ratio.ratioX, Node218height = 16*_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('维护', ' '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node218align === 'center') { Node218textStart = -3; Node218textWidth = Node218width; Node218lineStart = Node218width - ht.Default.getTextSize('维护', ' '+ Node218fontSize + 'px "Arial"').width - 11; } })(); Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, ' '+ Node218fontSize + 'px "Arial"')) Node218.setPosition(1170*ratio.ratioX, 552*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(192,64,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','维护'); Node218.a('node.textalign','left'); Node218.a('node.textvAlign','middle'); Node218.a('node.textrect', [Node218textStart, 0, Node218textWidth, Node218height]); Node218.a('node.color','rgba(192,64,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') || '维护'; var color=Node218.a('node.color') || 'rgba(192,64,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node218width,Node218height,13.3333*_ratio.ratioY,"left",color,' '+ Node218fontSize + 'px "Arial"', 0,g); }); } if (false) { Node218.a('node.underlinepoints',[Node218lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('维护', ' '+ 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 = 39*_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('限电', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node219align === 'center') { Node219textStart = -3; Node219textWidth = Node219width; Node219lineStart = Node219width - ht.Default.getTextSize('限电', ' '+ Node219fontSize + 'px "Arial"').width - 11; } })(); Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"')) Node219.setPosition(1170*ratio.ratioX, 582*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(128,0,128,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','限电'); Node219.a('node.textalign','left'); Node219.a('node.textvAlign','middle'); Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]); Node219.a('node.color','rgba(128,0,128,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') || '限电'; var color=Node219.a('node.color') || 'rgba(128,0,128,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('限电', ' '+ 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 = 39*_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('待机', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node220align === 'center') { Node220textStart = -3; Node220textWidth = Node220width; Node220lineStart = Node220width - ht.Default.getTextSize('待机', ' '+ Node220fontSize + 'px "Arial"').width - 11; } })(); Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"')) Node220.setPosition(1359*ratio.ratioX, 522*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,128,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','待机'); Node220.a('node.textalign','left'); Node220.a('node.textvAlign','middle'); Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]); Node220.a('node.color','rgba(0,128,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') || '待机'; var color=Node220.a('node.color') || 'rgba(0,128,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('待机', ' '+ 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*Math.PI/180, ratio); var Node221 = new ht.Node(); var Node221textStart, Node221textWidth, Node221lineStart, Node221align = 'left', Node221fontSize = 13.3333*_ratio.ratioY,Node221width = 39*_ratio.ratioX, Node221height = 16*_ratio.ratioY; (function () { if (Node221align === 'left') { Node221textStart = Node221fontSize * 0.2 > 2 ? Node221fontSize * 0.2 - 4 : Node221fontSize * 0.2 - 9; Node221textWidth = Node221width; Node221lineStart = 1; } else if (Node221align === 'right') { Node221textStart = 0; Node221textWidth =Node221fontSize <= 8 ? Node221width + Node221fontSize * 0.2 + 6 : Node221width - Node221fontSize * 0.2; Node221lineStart = (Node221width - (ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node221align === 'center') { Node221textStart = -3; Node221textWidth = Node221width; Node221lineStart = Node221width - ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width - 11; } })(); Node221.setImage(GD.getTextJSON(Node221width, Node221height, true, false, false, ' '+ Node221fontSize + 'px "Arial"')) Node221.setPosition(1360*ratio.ratioX, 552*ratio.ratioY); Node221.setWidth(Node221width); Node221.setHeight(Node221height); Node221._nodeType = 'text'; Node221._disallowEvert = true; Node221.setRotation(0*Math.PI/180); Node221.a('node.width', Node221width); Node221.a('node.height', Node221height); Node221.a('node.rect', [0, 0, Node221width, Node221height]); Node221.a('node.bordercolor','rgba(192,0,0,1)'); Node221.a('node.borderwidth', 0); Node221.a('node.background','' || 'rgba(0,0,0,0)'); Node221.a('node.gradient',''); Node221.a('node.gradientcolor',''); Node221.a('node.text','故障'); Node221.a('node.textalign','left'); Node221.a('node.textvAlign','middle'); Node221.a('node.textrect', [Node221textStart, 0, Node221textWidth, Node221height]); Node221.a('node.color','rgba(192,0,0,1)'); Node221.a('node.font',' '+ Node221fontSize + 'px "Arial"'); Node221.a('node.textvisible',true); Node221.a('node.linefeed',false); if (false) { Node221.a('node.textfunc',function(g) { g.beginPath(); var str=Node221.a('node.text') || '故障'; var color=Node221.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node221width,Node221height,13.3333*_ratio.ratioY,"left",color,' '+ Node221fontSize + 'px "Arial"', 0,g); }); } if (false) { Node221.a('node.underlinepoints',[Node221lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node221fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width + 6, (Node221height - Node221fontSize) * 0.5*_ratio.ratioY + Node221fontSize + 2 ]); Node221.a('node.underlinevisible',false); Node221.a('node.underlineBorderWidth', 1); } dataModel.add(Node221); zoomNodeList.push({ node: Node221, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node222 = new ht.Node(); var Node222textStart, Node222textWidth, Node222lineStart, Node222align = 'left', Node222fontSize = 13.3333*_ratio.ratioY,Node222width = 39*_ratio.ratioX, Node222height = 16*_ratio.ratioY; (function () { if (Node222align === 'left') { Node222textStart = Node222fontSize * 0.2 > 2 ? Node222fontSize * 0.2 - 4 : Node222fontSize * 0.2 - 9; Node222textWidth = Node222width; Node222lineStart = 1; } else if (Node222align === 'right') { Node222textStart = 0; Node222textWidth =Node222fontSize <= 8 ? Node222width + Node222fontSize * 0.2 + 6 : Node222width - Node222fontSize * 0.2; Node222lineStart = (Node222width - (ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node222align === 'center') { Node222textStart = -3; Node222textWidth = Node222width; Node222lineStart = Node222width - ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width - 11; } })(); Node222.setImage(GD.getTextJSON(Node222width, Node222height, true, false, false, ' '+ Node222fontSize + 'px "Arial"')) Node222.setPosition(1360*ratio.ratioX, 582*ratio.ratioY); Node222.setWidth(Node222width); Node222.setHeight(Node222height); Node222._nodeType = 'text'; Node222._disallowEvert = true; Node222.setRotation(0*Math.PI/180); Node222.a('node.width', Node222width); Node222.a('node.height', Node222height); Node222.a('node.rect', [0, 0, Node222width, Node222height]); Node222.a('node.bordercolor','rgba(128,128,128,1)'); Node222.a('node.borderwidth', 0); Node222.a('node.background','' || 'rgba(0,0,0,0)'); Node222.a('node.gradient',''); Node222.a('node.gradientcolor',''); Node222.a('node.text','离线'); Node222.a('node.textalign','left'); Node222.a('node.textvAlign','middle'); Node222.a('node.textrect', [Node222textStart, 0, Node222textWidth, Node222height]); Node222.a('node.color','rgba(128,128,128,1)'); Node222.a('node.font',' '+ Node222fontSize + 'px "Arial"'); Node222.a('node.textvisible',true); Node222.a('node.linefeed',false); if (false) { Node222.a('node.textfunc',function(g) { g.beginPath(); var str=Node222.a('node.text') || '离线'; var color=Node222.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node222width,Node222height,13.3333*_ratio.ratioY,"left",color,' '+ Node222fontSize + 'px "Arial"', 0,g); }); } if (false) { Node222.a('node.underlinepoints',[Node222lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node222fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width + 6, (Node222height - Node222fontSize) * 0.5*_ratio.ratioY + Node222fontSize + 2 ]); Node222.a('node.underlinevisible',false); Node222.a('node.underlineBorderWidth', 1); } dataModel.add(Node222); zoomNodeList.push({ node: Node222, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node223 = new ht.Node(); var Node223textStart, Node223textWidth, Node223lineStart, Node223align = 'left', Node223fontSize = 13.3333*_ratio.ratioY,Node223width = 29*_ratio.ratioX, Node223height = 25*_ratio.ratioY; (function () { if (Node223align === 'left') { Node223textStart = Node223fontSize * 0.2 > 2 ? Node223fontSize * 0.2 - 4 : Node223fontSize * 0.2 - 9; Node223textWidth = Node223width; Node223lineStart = 1; } else if (Node223align === 'right') { Node223textStart = 0; Node223textWidth =Node223fontSize <= 8 ? Node223width + Node223fontSize * 0.2 + 6 : Node223width - Node223fontSize * 0.2; Node223lineStart = (Node223width - (ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node223align === 'center') { Node223textStart = -3; Node223textWidth = Node223width; Node223lineStart = Node223width - ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width - 11; } })(); Node223.setImage(GD.getTextJSON(Node223width, Node223height, true, false, false, ' '+ Node223fontSize + 'px "UniDreamLED"')) Node223.setPosition(1311*ratio.ratioX, 522*ratio.ratioY); Node223.setWidth(Node223width); Node223.setHeight(Node223height); Node223._nodeType = 'text'; Node223._disallowEvert = true; Node223.setRotation(0*Math.PI/180); Node223.a('node.width', Node223width); Node223.a('node.height', Node223height); Node223.a('node.rect', [0, 0, Node223width, Node223height]); Node223.a('node.bordercolor','rgba(64,64,64,1)'); Node223.a('node.borderwidth', 0); Node223.a('node.background','' || 'rgba(0,0,0,0)'); Node223.a('node.gradient',''); Node223.a('node.gradientcolor',''); Node223.a('node.text','台'); Node223.a('node.textalign','left'); Node223.a('node.textvAlign','middle'); Node223.a('node.textrect', [Node223textStart, 0, Node223textWidth, Node223height]); Node223.a('node.color','rgba(64,64,64,1)'); Node223.a('node.font',' '+ Node223fontSize + 'px "UniDreamLED"'); Node223.a('node.textvisible',true); Node223.a('node.linefeed',false); if (false) { Node223.a('node.textfunc',function(g) { g.beginPath(); var str=Node223.a('node.text') || '台'; var color=Node223.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node223width,Node223height,13.3333*_ratio.ratioY,"left",color,' '+ Node223fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node223.a('node.underlinepoints',[Node223lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node223fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width + 6, (Node223height - Node223fontSize) * 0.5*_ratio.ratioY + Node223fontSize + 2 ]); Node223.a('node.underlinevisible',false); Node223.a('node.underlineBorderWidth', 1); } dataModel.add(Node223); zoomNodeList.push({ node: Node223, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node224 = new ht.Node(); var Node224textStart, Node224textWidth, Node224lineStart, Node224align = 'left', Node224fontSize = 13.3333*_ratio.ratioY,Node224width = 29*_ratio.ratioX, Node224height = 25*_ratio.ratioY; (function () { if (Node224align === 'left') { Node224textStart = Node224fontSize * 0.2 > 2 ? Node224fontSize * 0.2 - 4 : Node224fontSize * 0.2 - 9; Node224textWidth = Node224width; Node224lineStart = 1; } else if (Node224align === 'right') { Node224textStart = 0; Node224textWidth =Node224fontSize <= 8 ? Node224width + Node224fontSize * 0.2 + 6 : Node224width - Node224fontSize * 0.2; Node224lineStart = (Node224width - (ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node224align === 'center') { Node224textStart = -3; Node224textWidth = Node224width; Node224lineStart = Node224width - ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width - 11; } })(); Node224.setImage(GD.getTextJSON(Node224width, Node224height, true, false, false, ' '+ Node224fontSize + 'px "UniDreamLED"')) Node224.setPosition(1311*ratio.ratioX, 553*ratio.ratioY); Node224.setWidth(Node224width); Node224.setHeight(Node224height); Node224._nodeType = 'text'; Node224._disallowEvert = true; Node224.setRotation(0*Math.PI/180); Node224.a('node.width', Node224width); Node224.a('node.height', Node224height); Node224.a('node.rect', [0, 0, Node224width, Node224height]); Node224.a('node.bordercolor','rgba(64,64,64,1)'); Node224.a('node.borderwidth', 0); Node224.a('node.background','' || 'rgba(0,0,0,0)'); Node224.a('node.gradient',''); Node224.a('node.gradientcolor',''); Node224.a('node.text','台'); Node224.a('node.textalign','left'); Node224.a('node.textvAlign','middle'); Node224.a('node.textrect', [Node224textStart, 0, Node224textWidth, Node224height]); Node224.a('node.color','rgba(64,64,64,1)'); Node224.a('node.font',' '+ Node224fontSize + 'px "UniDreamLED"'); Node224.a('node.textvisible',true); Node224.a('node.linefeed',false); if (false) { Node224.a('node.textfunc',function(g) { g.beginPath(); var str=Node224.a('node.text') || '台'; var color=Node224.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node224width,Node224height,13.3333*_ratio.ratioY,"left",color,' '+ Node224fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node224.a('node.underlinepoints',[Node224lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node224fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width + 6, (Node224height - Node224fontSize) * 0.5*_ratio.ratioY + Node224fontSize + 2 ]); Node224.a('node.underlinevisible',false); Node224.a('node.underlineBorderWidth', 1); } dataModel.add(Node224); zoomNodeList.push({ node: Node224, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node225 = new ht.Node(); var Node225textStart, Node225textWidth, Node225lineStart, Node225align = 'left', Node225fontSize = 13.3333*_ratio.ratioY,Node225width = 29*_ratio.ratioX, Node225height = 25*_ratio.ratioY; (function () { if (Node225align === 'left') { Node225textStart = Node225fontSize * 0.2 > 2 ? Node225fontSize * 0.2 - 4 : Node225fontSize * 0.2 - 9; Node225textWidth = Node225width; Node225lineStart = 1; } else if (Node225align === 'right') { Node225textStart = 0; Node225textWidth =Node225fontSize <= 8 ? Node225width + Node225fontSize * 0.2 + 6 : Node225width - Node225fontSize * 0.2; Node225lineStart = (Node225width - (ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node225align === 'center') { Node225textStart = -3; Node225textWidth = Node225width; Node225lineStart = Node225width - ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width - 11; } })(); Node225.setImage(GD.getTextJSON(Node225width, Node225height, true, false, false, ' '+ Node225fontSize + 'px "UniDreamLED"')) Node225.setPosition(1312*ratio.ratioX, 582*ratio.ratioY); Node225.setWidth(Node225width); Node225.setHeight(Node225height); Node225._nodeType = 'text'; Node225._disallowEvert = true; Node225.setRotation(0*Math.PI/180); Node225.a('node.width', Node225width); Node225.a('node.height', Node225height); Node225.a('node.rect', [0, 0, Node225width, Node225height]); Node225.a('node.bordercolor','rgba(64,64,64,1)'); Node225.a('node.borderwidth', 0); Node225.a('node.background','' || 'rgba(0,0,0,0)'); Node225.a('node.gradient',''); Node225.a('node.gradientcolor',''); Node225.a('node.text','台'); Node225.a('node.textalign','left'); Node225.a('node.textvAlign','middle'); Node225.a('node.textrect', [Node225textStart, 0, Node225textWidth, Node225height]); Node225.a('node.color','rgba(64,64,64,1)'); Node225.a('node.font',' '+ Node225fontSize + 'px "UniDreamLED"'); Node225.a('node.textvisible',true); Node225.a('node.linefeed',false); if (false) { Node225.a('node.textfunc',function(g) { g.beginPath(); var str=Node225.a('node.text') || '台'; var color=Node225.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node225width,Node225height,13.3333*_ratio.ratioY,"left",color,' '+ Node225fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node225.a('node.underlinepoints',[Node225lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node225fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width + 6, (Node225height - Node225fontSize) * 0.5*_ratio.ratioY + Node225fontSize + 2 ]); Node225.a('node.underlinevisible',false); Node225.a('node.underlineBorderWidth', 1); } dataModel.add(Node225); zoomNodeList.push({ node: Node225, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node226 = new ht.Node(); var Node226textStart, Node226textWidth, Node226lineStart, Node226align = 'left', Node226fontSize = 13.3333*_ratio.ratioY,Node226width = 29*_ratio.ratioX, Node226height = 25*_ratio.ratioY; (function () { if (Node226align === 'left') { Node226textStart = Node226fontSize * 0.2 > 2 ? Node226fontSize * 0.2 - 4 : Node226fontSize * 0.2 - 9; Node226textWidth = Node226width; Node226lineStart = 1; } else if (Node226align === 'right') { Node226textStart = 0; Node226textWidth =Node226fontSize <= 8 ? Node226width + Node226fontSize * 0.2 + 6 : Node226width - Node226fontSize * 0.2; Node226lineStart = (Node226width - (ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node226align === 'center') { Node226textStart = -3; Node226textWidth = Node226width; Node226lineStart = Node226width - ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width - 11; } })(); Node226.setImage(GD.getTextJSON(Node226width, Node226height, true, false, false, ' '+ Node226fontSize + 'px "UniDreamLED"')) Node226.setPosition(1256*ratio.ratioX, 522*ratio.ratioY); Node226.setWidth(Node226width); Node226.setHeight(Node226height); Node226._nodeType = 'text'; Node226._disallowEvert = true; Node226.setRotation(0*Math.PI/180); Node226.a('node.width', Node226width); Node226.a('node.height', Node226height); Node226.a('node.rect', [0, 0, Node226width, Node226height]); Node226.a('node.bordercolor','rgba(64,64,64,1)'); Node226.a('node.borderwidth', 0); Node226.a('node.background','' || 'rgba(0,0,0,0)'); Node226.a('node.gradient',''); Node226.a('node.gradientcolor',''); Node226.a('node.text','24'); Node226.a('node.textalign','left'); Node226.a('node.textvAlign','middle'); Node226.a('node.textrect', [Node226textStart, 0, Node226textWidth, Node226height]); Node226.a('node.color','rgba(64,64,64,1)'); Node226.a('node.font',' '+ Node226fontSize + 'px "UniDreamLED"'); Node226.a('node.textvisible',true); Node226.a('node.linefeed',false); if (false) { Node226.a('node.textfunc',function(g) { g.beginPath(); var str=Node226.a('node.text') || '24'; var color=Node226.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node226width,Node226height,13.3333*_ratio.ratioY,"left",color,' '+ Node226fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node226.a('node.underlinepoints',[Node226lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node226fontSize + 2 , ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width + 6, (Node226height - Node226fontSize) * 0.5*_ratio.ratioY + Node226fontSize + 2 ]); Node226.a('node.underlinevisible',false); Node226.a('node.underlineBorderWidth', 1); } dataModel.add(Node226); zoomNodeList.push({ node: Node226, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node227 = new ht.Node(); var Node227textStart, Node227textWidth, Node227lineStart, Node227align = 'left', Node227fontSize = 13.3333*_ratio.ratioY,Node227width = 29*_ratio.ratioX, Node227height = 25*_ratio.ratioY; (function () { if (Node227align === 'left') { Node227textStart = Node227fontSize * 0.2 > 2 ? Node227fontSize * 0.2 - 4 : Node227fontSize * 0.2 - 9; Node227textWidth = Node227width; Node227lineStart = 1; } else if (Node227align === 'right') { Node227textStart = 0; Node227textWidth =Node227fontSize <= 8 ? Node227width + Node227fontSize * 0.2 + 6 : Node227width - Node227fontSize * 0.2; Node227lineStart = (Node227width - (ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node227align === 'center') { Node227textStart = -3; Node227textWidth = Node227width; Node227lineStart = Node227width - ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width - 11; } })(); Node227.setImage(GD.getTextJSON(Node227width, Node227height, true, false, false, ' '+ Node227fontSize + 'px "UniDreamLED"')) Node227.setPosition(1256*ratio.ratioX, 551*ratio.ratioY); Node227.setWidth(Node227width); Node227.setHeight(Node227height); Node227._nodeType = 'text'; Node227._disallowEvert = true; Node227.setRotation(0*Math.PI/180); Node227.a('node.width', Node227width); Node227.a('node.height', Node227height); Node227.a('node.rect', [0, 0, Node227width, Node227height]); Node227.a('node.bordercolor','rgba(64,64,64,1)'); Node227.a('node.borderwidth', 0); Node227.a('node.background','' || 'rgba(0,0,0,0)'); Node227.a('node.gradient',''); Node227.a('node.gradientcolor',''); Node227.a('node.text','0'); Node227.a('node.textalign','left'); Node227.a('node.textvAlign','middle'); Node227.a('node.textrect', [Node227textStart, 0, Node227textWidth, Node227height]); Node227.a('node.color','rgba(64,64,64,1)'); Node227.a('node.font',' '+ Node227fontSize + 'px "UniDreamLED"'); Node227.a('node.textvisible',true); Node227.a('node.linefeed',false); if (false) { Node227.a('node.textfunc',function(g) { g.beginPath(); var str=Node227.a('node.text') || '0'; var color=Node227.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node227width,Node227height,13.3333*_ratio.ratioY,"left",color,' '+ Node227fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node227.a('node.underlinepoints',[Node227lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node227fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width + 6, (Node227height - Node227fontSize) * 0.5*_ratio.ratioY + Node227fontSize + 2 ]); Node227.a('node.underlinevisible',false); Node227.a('node.underlineBorderWidth', 1); } dataModel.add(Node227); zoomNodeList.push({ node: Node227, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node228 = new ht.Node(); var Node228textStart, Node228textWidth, Node228lineStart, Node228align = 'left', Node228fontSize = 13.3333*_ratio.ratioY,Node228width = 29*_ratio.ratioX, Node228height = 25*_ratio.ratioY; (function () { if (Node228align === 'left') { Node228textStart = Node228fontSize * 0.2 > 2 ? Node228fontSize * 0.2 - 4 : Node228fontSize * 0.2 - 9; Node228textWidth = Node228width; Node228lineStart = 1; } else if (Node228align === 'right') { Node228textStart = 0; Node228textWidth =Node228fontSize <= 8 ? Node228width + Node228fontSize * 0.2 + 6 : Node228width - Node228fontSize * 0.2; Node228lineStart = (Node228width - (ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node228align === 'center') { Node228textStart = -3; Node228textWidth = Node228width; Node228lineStart = Node228width - ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width - 11; } })(); Node228.setImage(GD.getTextJSON(Node228width, Node228height, true, false, false, ' '+ Node228fontSize + 'px "UniDreamLED"')) Node228.setPosition(1256*ratio.ratioX, 582*ratio.ratioY); Node228.setWidth(Node228width); Node228.setHeight(Node228height); Node228._nodeType = 'text'; Node228._disallowEvert = true; Node228.setRotation(0*Math.PI/180); Node228.a('node.width', Node228width); Node228.a('node.height', Node228height); Node228.a('node.rect', [0, 0, Node228width, Node228height]); Node228.a('node.bordercolor','rgba(64,64,64,1)'); Node228.a('node.borderwidth', 0); Node228.a('node.background','' || 'rgba(0,0,0,0)'); Node228.a('node.gradient',''); Node228.a('node.gradientcolor',''); Node228.a('node.text','0'); Node228.a('node.textalign','left'); Node228.a('node.textvAlign','middle'); Node228.a('node.textrect', [Node228textStart, 0, Node228textWidth, Node228height]); Node228.a('node.color','rgba(64,64,64,1)'); Node228.a('node.font',' '+ Node228fontSize + 'px "UniDreamLED"'); Node228.a('node.textvisible',true); Node228.a('node.linefeed',false); if (false) { Node228.a('node.textfunc',function(g) { g.beginPath(); var str=Node228.a('node.text') || '0'; var color=Node228.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node228width,Node228height,13.3333*_ratio.ratioY,"left",color,' '+ Node228fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node228.a('node.underlinepoints',[Node228lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node228fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width + 6, (Node228height - Node228fontSize) * 0.5*_ratio.ratioY + Node228fontSize + 2 ]); Node228.a('node.underlinevisible',false); Node228.a('node.underlineBorderWidth', 1); } dataModel.add(Node228); zoomNodeList.push({ node: Node228, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node229 = new ht.Node(); var Node229textStart, Node229textWidth, Node229lineStart, Node229align = 'left', Node229fontSize = 13.3333*_ratio.ratioY,Node229width = 29*_ratio.ratioX, Node229height = 25*_ratio.ratioY; (function () { if (Node229align === 'left') { Node229textStart = Node229fontSize * 0.2 > 2 ? Node229fontSize * 0.2 - 4 : Node229fontSize * 0.2 - 9; Node229textWidth = Node229width; Node229lineStart = 1; } else if (Node229align === 'right') { Node229textStart = 0; Node229textWidth =Node229fontSize <= 8 ? Node229width + Node229fontSize * 0.2 + 6 : Node229width - Node229fontSize * 0.2; Node229lineStart = (Node229width - (ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node229align === 'center') { Node229textStart = -3; Node229textWidth = Node229width; Node229lineStart = Node229width - ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width - 11; } })(); Node229.setImage(GD.getTextJSON(Node229width, Node229height, true, false, false, ' '+ Node229fontSize + 'px "UniDreamLED"')) Node229.setPosition(1433*ratio.ratioX, 522*ratio.ratioY); Node229.setWidth(Node229width); Node229.setHeight(Node229height); Node229._nodeType = 'text'; Node229._disallowEvert = true; Node229.setRotation(0*Math.PI/180); Node229.a('node.width', Node229width); Node229.a('node.height', Node229height); Node229.a('node.rect', [0, 0, Node229width, Node229height]); Node229.a('node.bordercolor','rgba(64,64,64,1)'); Node229.a('node.borderwidth', 0); Node229.a('node.background','' || 'rgba(0,0,0,0)'); Node229.a('node.gradient',''); Node229.a('node.gradientcolor',''); Node229.a('node.text','0'); Node229.a('node.textalign','left'); Node229.a('node.textvAlign','middle'); Node229.a('node.textrect', [Node229textStart, 0, Node229textWidth, Node229height]); Node229.a('node.color','rgba(64,64,64,1)'); Node229.a('node.font',' '+ Node229fontSize + 'px "UniDreamLED"'); Node229.a('node.textvisible',true); Node229.a('node.linefeed',false); if (false) { Node229.a('node.textfunc',function(g) { g.beginPath(); var str=Node229.a('node.text') || '0'; var color=Node229.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node229width,Node229height,13.3333*_ratio.ratioY,"left",color,' '+ Node229fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node229.a('node.underlinepoints',[Node229lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node229fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width + 6, (Node229height - Node229fontSize) * 0.5*_ratio.ratioY + Node229fontSize + 2 ]); Node229.a('node.underlinevisible',false); Node229.a('node.underlineBorderWidth', 1); } dataModel.add(Node229); zoomNodeList.push({ node: Node229, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node230 = new ht.Node(); var Node230textStart, Node230textWidth, Node230lineStart, Node230align = 'left', Node230fontSize = 13.3333*_ratio.ratioY,Node230width = 29*_ratio.ratioX, Node230height = 25*_ratio.ratioY; (function () { if (Node230align === 'left') { Node230textStart = Node230fontSize * 0.2 > 2 ? Node230fontSize * 0.2 - 4 : Node230fontSize * 0.2 - 9; Node230textWidth = Node230width; Node230lineStart = 1; } else if (Node230align === 'right') { Node230textStart = 0; Node230textWidth =Node230fontSize <= 8 ? Node230width + Node230fontSize * 0.2 + 6 : Node230width - Node230fontSize * 0.2; Node230lineStart = (Node230width - (ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node230align === 'center') { Node230textStart = -3; Node230textWidth = Node230width; Node230lineStart = Node230width - ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width - 11; } })(); Node230.setImage(GD.getTextJSON(Node230width, Node230height, true, false, false, ' '+ Node230fontSize + 'px "UniDreamLED"')) Node230.setPosition(1433*ratio.ratioX, 551*ratio.ratioY); Node230.setWidth(Node230width); Node230.setHeight(Node230height); Node230._nodeType = 'text'; Node230._disallowEvert = true; Node230.setRotation(0*Math.PI/180); Node230.a('node.width', Node230width); Node230.a('node.height', Node230height); Node230.a('node.rect', [0, 0, Node230width, Node230height]); Node230.a('node.bordercolor','rgba(64,64,64,1)'); Node230.a('node.borderwidth', 0); Node230.a('node.background','' || 'rgba(0,0,0,0)'); Node230.a('node.gradient',''); Node230.a('node.gradientcolor',''); Node230.a('node.text','0'); Node230.a('node.textalign','left'); Node230.a('node.textvAlign','middle'); Node230.a('node.textrect', [Node230textStart, 0, Node230textWidth, Node230height]); Node230.a('node.color','rgba(64,64,64,1)'); Node230.a('node.font',' '+ Node230fontSize + 'px "UniDreamLED"'); Node230.a('node.textvisible',true); Node230.a('node.linefeed',false); if (false) { Node230.a('node.textfunc',function(g) { g.beginPath(); var str=Node230.a('node.text') || '0'; var color=Node230.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node230width,Node230height,13.3333*_ratio.ratioY,"left",color,' '+ Node230fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node230.a('node.underlinepoints',[Node230lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node230fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width + 6, (Node230height - Node230fontSize) * 0.5*_ratio.ratioY + Node230fontSize + 2 ]); Node230.a('node.underlinevisible',false); Node230.a('node.underlineBorderWidth', 1); } dataModel.add(Node230); zoomNodeList.push({ node: Node230, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node231 = new ht.Node(); var Node231textStart, Node231textWidth, Node231lineStart, Node231align = 'left', Node231fontSize = 13.3333*_ratio.ratioY,Node231width = 29*_ratio.ratioX, Node231height = 25*_ratio.ratioY; (function () { if (Node231align === 'left') { Node231textStart = Node231fontSize * 0.2 > 2 ? Node231fontSize * 0.2 - 4 : Node231fontSize * 0.2 - 9; Node231textWidth = Node231width; Node231lineStart = 1; } else if (Node231align === 'right') { Node231textStart = 0; Node231textWidth =Node231fontSize <= 8 ? Node231width + Node231fontSize * 0.2 + 6 : Node231width - Node231fontSize * 0.2; Node231lineStart = (Node231width - (ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node231align === 'center') { Node231textStart = -3; Node231textWidth = Node231width; Node231lineStart = Node231width - ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width - 11; } })(); Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "UniDreamLED"')) Node231.setPosition(1433*ratio.ratioX, 582*ratio.ratioY); Node231.setWidth(Node231width); Node231.setHeight(Node231height); Node231._nodeType = 'text'; Node231._disallowEvert = true; Node231.setRotation(0*Math.PI/180); Node231.a('node.width', Node231width); Node231.a('node.height', Node231height); Node231.a('node.rect', [0, 0, Node231width, Node231height]); Node231.a('node.bordercolor','rgba(64,64,64,1)'); Node231.a('node.borderwidth', 0); Node231.a('node.background','' || 'rgba(0,0,0,0)'); Node231.a('node.gradient',''); Node231.a('node.gradientcolor',''); Node231.a('node.text','0'); Node231.a('node.textalign','left'); Node231.a('node.textvAlign','middle'); Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]); Node231.a('node.color','rgba(64,64,64,1)'); Node231.a('node.font',' '+ Node231fontSize + 'px "UniDreamLED"'); Node231.a('node.textvisible',true); Node231.a('node.linefeed',false); if (false) { Node231.a('node.textfunc',function(g) { g.beginPath(); var str=Node231.a('node.text') || '0'; var color=Node231.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node231width,Node231height,13.3333*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node231.a('node.underlinepoints',[Node231lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width + 6, (Node231height - Node231fontSize) * 0.5*_ratio.ratioY + Node231fontSize + 2 ]); Node231.a('node.underlinevisible',false); Node231.a('node.underlineBorderWidth', 1); } dataModel.add(Node231); zoomNodeList.push({ node: Node231, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node232 = new ht.Node(); var Node232textStart, Node232textWidth, Node232lineStart, Node232align = 'left', Node232fontSize = 13.3333*_ratio.ratioY,Node232width = 29*_ratio.ratioX, Node232height = 25*_ratio.ratioY; (function () { if (Node232align === 'left') { Node232textStart = Node232fontSize * 0.2 > 2 ? Node232fontSize * 0.2 - 4 : Node232fontSize * 0.2 - 9; Node232textWidth = Node232width; Node232lineStart = 1; } else if (Node232align === 'right') { Node232textStart = 0; Node232textWidth =Node232fontSize <= 8 ? Node232width + Node232fontSize * 0.2 + 6 : Node232width - Node232fontSize * 0.2; Node232lineStart = (Node232width - (ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node232align === 'center') { Node232textStart = -3; Node232textWidth = Node232width; Node232lineStart = Node232width - ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width - 11; } })(); Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "UniDreamLED"')) Node232.setPosition(1487*ratio.ratioX, 521*ratio.ratioY); Node232.setWidth(Node232width); Node232.setHeight(Node232height); Node232._nodeType = 'text'; Node232._disallowEvert = true; Node232.setRotation(0*Math.PI/180); Node232.a('node.width', Node232width); Node232.a('node.height', Node232height); Node232.a('node.rect', [0, 0, Node232width, Node232height]); Node232.a('node.bordercolor','rgba(64,64,64,1)'); Node232.a('node.borderwidth', 0); Node232.a('node.background','' || 'rgba(0,0,0,0)'); Node232.a('node.gradient',''); Node232.a('node.gradientcolor',''); Node232.a('node.text','台'); Node232.a('node.textalign','left'); Node232.a('node.textvAlign','middle'); Node232.a('node.textrect', [Node232textStart, 0, Node232textWidth, Node232height]); Node232.a('node.color','rgba(64,64,64,1)'); Node232.a('node.font',' '+ Node232fontSize + 'px "UniDreamLED"'); Node232.a('node.textvisible',true); Node232.a('node.linefeed',false); if (false) { Node232.a('node.textfunc',function(g) { g.beginPath(); var str=Node232.a('node.text') || '台'; var color=Node232.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node232width,Node232height,13.3333*_ratio.ratioY,"left",color,' '+ Node232fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node232.a('node.underlinepoints',[Node232lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width + 6, (Node232height - Node232fontSize) * 0.5*_ratio.ratioY + Node232fontSize + 2 ]); Node232.a('node.underlinevisible',false); Node232.a('node.underlineBorderWidth', 1); } dataModel.add(Node232); zoomNodeList.push({ node: Node232, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node233 = new ht.Node(); var Node233textStart, Node233textWidth, Node233lineStart, Node233align = 'left', Node233fontSize = 13.3333*_ratio.ratioY,Node233width = 29*_ratio.ratioX, Node233height = 25*_ratio.ratioY; (function () { if (Node233align === 'left') { Node233textStart = Node233fontSize * 0.2 > 2 ? Node233fontSize * 0.2 - 4 : Node233fontSize * 0.2 - 9; Node233textWidth = Node233width; Node233lineStart = 1; } else if (Node233align === 'right') { Node233textStart = 0; Node233textWidth =Node233fontSize <= 8 ? Node233width + Node233fontSize * 0.2 + 6 : Node233width - Node233fontSize * 0.2; Node233lineStart = (Node233width - (ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node233align === 'center') { Node233textStart = -3; Node233textWidth = Node233width; Node233lineStart = Node233width - ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width - 11; } })(); Node233.setImage(GD.getTextJSON(Node233width, Node233height, true, false, false, ' '+ Node233fontSize + 'px "UniDreamLED"')) Node233.setPosition(1487*ratio.ratioX, 552*ratio.ratioY); Node233.setWidth(Node233width); Node233.setHeight(Node233height); Node233._nodeType = 'text'; Node233._disallowEvert = true; Node233.setRotation(0*Math.PI/180); Node233.a('node.width', Node233width); Node233.a('node.height', Node233height); Node233.a('node.rect', [0, 0, Node233width, Node233height]); Node233.a('node.bordercolor','rgba(64,64,64,1)'); Node233.a('node.borderwidth', 0); Node233.a('node.background','' || 'rgba(0,0,0,0)'); Node233.a('node.gradient',''); Node233.a('node.gradientcolor',''); Node233.a('node.text','台'); Node233.a('node.textalign','left'); Node233.a('node.textvAlign','middle'); Node233.a('node.textrect', [Node233textStart, 0, Node233textWidth, Node233height]); Node233.a('node.color','rgba(64,64,64,1)'); Node233.a('node.font',' '+ Node233fontSize + 'px "UniDreamLED"'); Node233.a('node.textvisible',true); Node233.a('node.linefeed',false); if (false) { Node233.a('node.textfunc',function(g) { g.beginPath(); var str=Node233.a('node.text') || '台'; var color=Node233.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node233width,Node233height,13.3333*_ratio.ratioY,"left",color,' '+ Node233fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node233.a('node.underlinepoints',[Node233lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node233fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width + 6, (Node233height - Node233fontSize) * 0.5*_ratio.ratioY + Node233fontSize + 2 ]); Node233.a('node.underlinevisible',false); Node233.a('node.underlineBorderWidth', 1); } dataModel.add(Node233); zoomNodeList.push({ node: Node233, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node234 = new ht.Node(); var Node234textStart, Node234textWidth, Node234lineStart, Node234align = 'left', Node234fontSize = 13.3333*_ratio.ratioY,Node234width = 29*_ratio.ratioX, Node234height = 25*_ratio.ratioY; (function () { if (Node234align === 'left') { Node234textStart = Node234fontSize * 0.2 > 2 ? Node234fontSize * 0.2 - 4 : Node234fontSize * 0.2 - 9; Node234textWidth = Node234width; Node234lineStart = 1; } else if (Node234align === 'right') { Node234textStart = 0; Node234textWidth =Node234fontSize <= 8 ? Node234width + Node234fontSize * 0.2 + 6 : Node234width - Node234fontSize * 0.2; Node234lineStart = (Node234width - (ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node234align === 'center') { Node234textStart = -3; Node234textWidth = Node234width; Node234lineStart = Node234width - ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width - 11; } })(); Node234.setImage(GD.getTextJSON(Node234width, Node234height, true, false, false, ' '+ Node234fontSize + 'px "UniDreamLED"')) Node234.setPosition(1488*ratio.ratioX, 581*ratio.ratioY); Node234.setWidth(Node234width); Node234.setHeight(Node234height); Node234._nodeType = 'text'; Node234._disallowEvert = true; Node234.setRotation(0*Math.PI/180); Node234.a('node.width', Node234width); Node234.a('node.height', Node234height); Node234.a('node.rect', [0, 0, Node234width, Node234height]); Node234.a('node.bordercolor','rgba(64,64,64,1)'); Node234.a('node.borderwidth', 0); Node234.a('node.background','' || 'rgba(0,0,0,0)'); Node234.a('node.gradient',''); Node234.a('node.gradientcolor',''); Node234.a('node.text','台'); Node234.a('node.textalign','left'); Node234.a('node.textvAlign','middle'); Node234.a('node.textrect', [Node234textStart, 0, Node234textWidth, Node234height]); Node234.a('node.color','rgba(64,64,64,1)'); Node234.a('node.font',' '+ Node234fontSize + 'px "UniDreamLED"'); Node234.a('node.textvisible',true); Node234.a('node.linefeed',false); if (false) { Node234.a('node.textfunc',function(g) { g.beginPath(); var str=Node234.a('node.text') || '台'; var color=Node234.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node234width,Node234height,13.3333*_ratio.ratioY,"left",color,' '+ Node234fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node234.a('node.underlinepoints',[Node234lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node234fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width + 6, (Node234height - Node234fontSize) * 0.5*_ratio.ratioY + Node234fontSize + 2 ]); Node234.a('node.underlinevisible',false); Node234.a('node.underlineBorderWidth', 1); } dataModel.add(Node234); zoomNodeList.push({ node: Node234, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node235type = 'rect'; var Node235 = new ht.Node(), Node235BorderWidth = 0*2; if (Node235type === 'arc') { Node235BorderWidth *= 0; } Node235.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node235type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node235.setPosition(1738*ratio.ratioX, 584*ratio.ratioY); Node235.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node235.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node235.a('node.width', 66*_ratio.ratioX); Node235.a('node.height', 30*_ratio.ratioY); Node235.a('node.type', Node235type); Node235.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node235.a('node.background', 'rgba(245,245,245,1)'); Node235.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node235.a('node.gradient', ''); Node235.a('node.borderwidth', Node235BorderWidth); Node235.a('node.color', 'rgba(224,224,224,0)'); Node235.a('node.fillrect', [0,0,0,0]); Node235.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node235.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node235.a('node.fillgradient', ''); if (Node235type !== 'rect') { Node235.a('node.arcFrom', parseFloat('@arcFrom@')); Node235.a('node.arcTo', parseFloat('@arcTo@')); Node235.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node235type === 'arc') { Node235.a('node.arcOval', true); } Node235.setRotation(0*Math.PI/180); Node235.borderWidth = Node235BorderWidth; Node235.borderFillwidth = Node235BorderWidth; dataModel.add(Node235); Node235._nodename = 'Node235' Node235._nodeType = 'rect'; zoomNodeList.push({ node: Node235, 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); } })(Node235, Node235.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node236type = 'rect'; var Node236 = new ht.Node(), Node236BorderWidth = 0*2; if (Node236type === 'arc') { Node236BorderWidth *= 0; } Node236.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node236type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node236.setPosition(1738*ratio.ratioX, 553*ratio.ratioY); Node236.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node236.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node236.a('node.width', 66*_ratio.ratioX); Node236.a('node.height', 30*_ratio.ratioY); Node236.a('node.type', Node236type); Node236.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node236.a('node.background', 'rgba(245,245,245,1)'); Node236.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node236.a('node.gradient', ''); Node236.a('node.borderwidth', Node236BorderWidth); Node236.a('node.color', 'rgba(224,224,224,0)'); Node236.a('node.fillrect', [0,0,0,0]); Node236.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node236.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node236.a('node.fillgradient', ''); if (Node236type !== 'rect') { Node236.a('node.arcFrom', parseFloat('@arcFrom@')); Node236.a('node.arcTo', parseFloat('@arcTo@')); Node236.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node236type === 'arc') { Node236.a('node.arcOval', true); } Node236.setRotation(0*Math.PI/180); Node236.borderWidth = Node236BorderWidth; Node236.borderFillwidth = Node236BorderWidth; dataModel.add(Node236); Node236._nodename = 'Node236' Node236._nodeType = 'rect'; zoomNodeList.push({ node: Node236, 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); } })(Node236, Node236.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node237type = 'rect'; var Node237 = new ht.Node(), Node237BorderWidth = 0*2; if (Node237type === 'arc') { Node237BorderWidth *= 0; } Node237.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node237type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node237.setPosition(1738*ratio.ratioX, 522*ratio.ratioY); Node237.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node237.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node237.a('node.width', 66*_ratio.ratioX); Node237.a('node.height', 30*_ratio.ratioY); Node237.a('node.type', Node237type); Node237.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node237.a('node.background', 'rgba(245,245,245,1)'); Node237.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node237.a('node.gradient', ''); Node237.a('node.borderwidth', Node237BorderWidth); Node237.a('node.color', 'rgba(224,224,224,0)'); Node237.a('node.fillrect', [0,0,0,0]); Node237.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node237.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node237.a('node.fillgradient', ''); if (Node237type !== 'rect') { Node237.a('node.arcFrom', parseFloat('@arcFrom@')); Node237.a('node.arcTo', parseFloat('@arcTo@')); Node237.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node237type === 'arc') { Node237.a('node.arcOval', true); } Node237.setRotation(0*Math.PI/180); Node237.borderWidth = Node237BorderWidth; Node237.borderFillwidth = Node237BorderWidth; dataModel.add(Node237); Node237._nodename = 'Node237' Node237._nodeType = 'rect'; zoomNodeList.push({ node: Node237, 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); } })(Node237, Node237.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node238type = 'rect'; var Node238 = new ht.Node(), Node238BorderWidth = 0*2; if (Node238type === 'arc') { Node238BorderWidth *= 0; } Node238.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node238type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node238.setPosition(1549*ratio.ratioX, 584*ratio.ratioY); Node238.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node238.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node238.a('node.width', 66*_ratio.ratioX); Node238.a('node.height', 30*_ratio.ratioY); Node238.a('node.type', Node238type); Node238.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node238.a('node.background', 'rgba(245,245,245,1)'); Node238.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node238.a('node.gradient', ''); Node238.a('node.borderwidth', Node238BorderWidth); Node238.a('node.color', 'rgba(224,224,224,0)'); Node238.a('node.fillrect', [0,0,0,0]); Node238.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node238.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node238.a('node.fillgradient', ''); if (Node238type !== 'rect') { Node238.a('node.arcFrom', parseFloat('@arcFrom@')); Node238.a('node.arcTo', parseFloat('@arcTo@')); Node238.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node238type === 'arc') { Node238.a('node.arcOval', true); } Node238.setRotation(0*Math.PI/180); Node238.borderWidth = Node238BorderWidth; Node238.borderFillwidth = Node238BorderWidth; dataModel.add(Node238); Node238._nodename = 'Node238' Node238._nodeType = 'rect'; zoomNodeList.push({ node: Node238, 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); } })(Node238, Node238.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node239type = 'rect'; var Node239 = new ht.Node(), Node239BorderWidth = 0*2; if (Node239type === 'arc') { Node239BorderWidth *= 0; } Node239.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node239type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node239.setPosition(1549*ratio.ratioX, 552*ratio.ratioY); Node239.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node239.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node239.a('node.width', 66*_ratio.ratioX); Node239.a('node.height', 30*_ratio.ratioY); Node239.a('node.type', Node239type); Node239.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node239.a('node.background', 'rgba(245,245,245,1)'); Node239.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node239.a('node.gradient', ''); Node239.a('node.borderwidth', Node239BorderWidth); Node239.a('node.color', 'rgba(224,224,224,0)'); Node239.a('node.fillrect', [0,0,0,0]); Node239.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node239.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node239.a('node.fillgradient', ''); if (Node239type !== 'rect') { Node239.a('node.arcFrom', parseFloat('@arcFrom@')); Node239.a('node.arcTo', parseFloat('@arcTo@')); Node239.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node239type === 'arc') { Node239.a('node.arcOval', true); } Node239.setRotation(0*Math.PI/180); Node239.borderWidth = Node239BorderWidth; Node239.borderFillwidth = Node239BorderWidth; dataModel.add(Node239); Node239._nodename = 'Node239' Node239._nodeType = 'rect'; zoomNodeList.push({ node: Node239, 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); } })(Node239, Node239.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node240type = 'rect'; var Node240 = new ht.Node(), Node240BorderWidth = 0*2; if (Node240type === 'arc') { Node240BorderWidth *= 0; } Node240.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node240type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node240.setPosition(1550*ratio.ratioX, 521*ratio.ratioY); Node240.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node240.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node240.a('node.width', 66*_ratio.ratioX); Node240.a('node.height', 30*_ratio.ratioY); Node240.a('node.type', Node240type); Node240.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node240.a('node.background', 'rgba(245,245,245,1)'); Node240.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node240.a('node.gradient', ''); Node240.a('node.borderwidth', Node240BorderWidth); Node240.a('node.color', 'rgba(224,224,224,0)'); Node240.a('node.fillrect', [0,0,0,0]); Node240.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node240.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node240.a('node.fillgradient', ''); if (Node240type !== 'rect') { Node240.a('node.arcFrom', parseFloat('@arcFrom@')); Node240.a('node.arcTo', parseFloat('@arcTo@')); Node240.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node240type === 'arc') { Node240.a('node.arcOval', true); } Node240.setRotation(0*Math.PI/180); Node240.borderWidth = Node240BorderWidth; Node240.borderFillwidth = Node240BorderWidth; dataModel.add(Node240); Node240._nodename = 'Node240' Node240._nodeType = 'rect'; zoomNodeList.push({ node: Node240, 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); } })(Node240, Node240.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node241= new ht.Node(); Node241._borderWidth = 1; Node241.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node241._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node241.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node241.background'}, gradient: {value:'', func: 'attr@Node241.gradient'}, gradientColor:{value:'', func: 'attr@Node241.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node241.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node241.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node241.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node241.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node241.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node241.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node241.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node241.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node241.borderPattern'} } ] }); var Node241borderwidth = 1; var Node241borderFillwidth = 1*2; Node241 .setPosition(1702*ratio.ratioX,454*ratio.ratioY); Node241.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node241.setRotation(0*Math.PI/180); Node241.s({'pixelPerfect':true}); Node241.a('Node241.borderwidth',1); Node241.a('Node241.color','@bordercolor@'); Node241.a('Node241.background','rgba(255,255,255,0.003921569)'); Node241.a('Node241.gradient',''); Node241.a('Node241.gradientcolor',''); Node241.a('Node241.borderPattern',getDashStyle("Solid")); Node241.a('Node241.fillrect',[0,0,0,0]); Node241.a('Node241.fillbackcolor','rgba(0, 0, 0, 0)'); Node241.a('Node241.fillgradientcolor','rgba(0, 0, 0, 0)'); Node241.a('Node241.fillgradient',''); Node241borderwidth=1; dataModel.add(Node241); Node241.borderWidth = 1; Node241.borderFillwidth = 1*2; Node241._nodename = 'Node241'; Node241._nodeType = 'roundrect'; zoomNodeList.push({ node: Node241, attr: 'Node241.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node241.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node241.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node241, Node241.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node242 = new ht.Node(); var Node242textStart, Node242textWidth, Node242lineStart, Node242align = 'left', Node242fontSize = 11.99997*_ratio.ratioY,Node242width = 150*_ratio.ratioX, Node242height = 25*_ratio.ratioY; (function () { if (Node242align === 'left') { Node242textStart = Node242fontSize * 0.2 > 2 ? Node242fontSize * 0.2 - 4 : Node242fontSize * 0.2 - 9; Node242textWidth = Node242width; Node242lineStart = 1; } else if (Node242align === 'right') { Node242textStart = 0; Node242textWidth =Node242fontSize <= 8 ? Node242width + Node242fontSize * 0.2 + 6 : Node242width - Node242fontSize * 0.2; Node242lineStart = (Node242width - (ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node242align === 'center') { Node242textStart = -3; Node242textWidth = Node242width; Node242lineStart = Node242width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width - 11; } })(); Node242.setImage(GD.getTextJSON(Node242width, Node242height, true, false, false, 'bold '+ Node242fontSize + 'px "Arial"')) Node242.setPosition(1597*ratio.ratioX, 418*ratio.ratioY); Node242.setWidth(Node242width); Node242.setHeight(Node242height); Node242._nodeType = 'text'; Node242._disallowEvert = true; Node242.setRotation(0*Math.PI/180); Node242.a('node.width', Node242width); Node242.a('node.height', Node242height); Node242.a('node.rect', [0, 0, Node242width, Node242height]); Node242.a('node.bordercolor','rgba(64,64,64,1)'); Node242.a('node.borderwidth', 0); Node242.a('node.background','' || 'rgba(0,0,0,0)'); Node242.a('node.gradient',''); Node242.a('node.gradientcolor',''); Node242.a('node.text','平鲁虎头山风电场'); Node242.a('node.textalign','left'); Node242.a('node.textvAlign','middle'); Node242.a('node.textrect', [Node242textStart, 0, Node242textWidth, Node242height]); Node242.a('node.color','rgba(64,64,64,1)'); Node242.a('node.font','bold '+ Node242fontSize + 'px "Arial"'); Node242.a('node.textvisible',true); Node242.a('node.linefeed',false); if (false) { Node242.a('node.textfunc',function(g) { g.beginPath(); var str=Node242.a('node.text') || '平鲁虎头山风电场'; var color=Node242.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node242width,Node242height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node242fontSize + 'px "Arial"', 0,g); }); } if (false) { Node242.a('node.underlinepoints',[Node242lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node242fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width + 6, (Node242height - Node242fontSize) * 0.5*_ratio.ratioY + Node242fontSize + 2 ]); Node242.a('node.underlinevisible',false); Node242.a('node.underlineBorderWidth', 1); } dataModel.add(Node242); zoomNodeList.push({ node: Node242, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node243 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1797*ratio.ratioX, 418*ratio.ratioY, 0, {text:'83',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node244 = new ht.Node(); var Node244textStart, Node244textWidth, Node244lineStart, Node244align = 'left', Node244fontSize = 11.99997*_ratio.ratioY,Node244width = 40*_ratio.ratioX, Node244height = 21*_ratio.ratioY; (function () { if (Node244align === 'left') { Node244textStart = Node244fontSize * 0.2 > 2 ? Node244fontSize * 0.2 - 4 : Node244fontSize * 0.2 - 9; Node244textWidth = Node244width; Node244lineStart = 1; } else if (Node244align === 'right') { Node244textStart = 0; Node244textWidth =Node244fontSize <= 8 ? Node244width + Node244fontSize * 0.2 + 6 : Node244width - Node244fontSize * 0.2; Node244lineStart = (Node244width - (ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node244align === 'center') { Node244textStart = -3; Node244textWidth = Node244width; Node244lineStart = Node244width - ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width - 11; } })(); Node244.setImage(GD.getTextJSON(Node244width, Node244height, true, false, false, ' '+ Node244fontSize + 'px "UniDreamLED"')) Node244.setPosition(1652*ratio.ratioX, 462*ratio.ratioY); Node244.setWidth(Node244width); Node244.setHeight(Node244height); Node244._nodeType = 'text'; Node244._disallowEvert = true; Node244.setRotation(0*Math.PI/180); Node244.a('node.width', Node244width); Node244.a('node.height', Node244height); Node244.a('node.rect', [0, 0, Node244width, Node244height]); Node244.a('node.bordercolor','rgba(0,0,0,1)'); Node244.a('node.borderwidth', 0); Node244.a('node.background','' || 'rgba(0,0,0,0)'); Node244.a('node.gradient',''); Node244.a('node.gradientcolor',''); Node244.a('node.text','4.48'); Node244.a('node.textalign','left'); Node244.a('node.textvAlign','middle'); Node244.a('node.textrect', [Node244textStart, 0, Node244textWidth, Node244height]); Node244.a('node.color','rgba(0,0,0,1)'); Node244.a('node.font',' '+ Node244fontSize + 'px "UniDreamLED"'); Node244.a('node.textvisible',true); Node244.a('node.linefeed',false); if (false) { Node244.a('node.textfunc',function(g) { g.beginPath(); var str=Node244.a('node.text') || '4.48'; var color=Node244.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node244width,Node244height,11.99997*_ratio.ratioY,"left",color,' '+ Node244fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node244.a('node.underlinepoints',[Node244lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node244fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width + 6, (Node244height - Node244fontSize) * 0.5*_ratio.ratioY + Node244fontSize + 2 ]); Node244.a('node.underlinevisible',false); Node244.a('node.underlineBorderWidth', 1); } dataModel.add(Node244); zoomNodeList.push({ node: Node244, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node245 = new ht.Node(); var Node245textStart, Node245textWidth, Node245lineStart, Node245align = 'left', Node245fontSize = 11.99997*_ratio.ratioY,Node245width = 40*_ratio.ratioX, Node245height = 21*_ratio.ratioY; (function () { if (Node245align === 'left') { Node245textStart = Node245fontSize * 0.2 > 2 ? Node245fontSize * 0.2 - 4 : Node245fontSize * 0.2 - 9; Node245textWidth = Node245width; Node245lineStart = 1; } else if (Node245align === 'right') { Node245textStart = 0; Node245textWidth =Node245fontSize <= 8 ? Node245width + Node245fontSize * 0.2 + 6 : Node245width - Node245fontSize * 0.2; Node245lineStart = (Node245width - (ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node245align === 'center') { Node245textStart = -3; Node245textWidth = Node245width; Node245lineStart = Node245width - ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width - 11; } })(); Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "Arial"')) Node245.setPosition(1652*ratio.ratioX, 483*ratio.ratioY); Node245.setWidth(Node245width); Node245.setHeight(Node245height); Node245._nodeType = 'text'; Node245._disallowEvert = true; Node245.setRotation(0*Math.PI/180); Node245.a('node.width', Node245width); Node245.a('node.height', Node245height); Node245.a('node.rect', [0, 0, Node245width, Node245height]); Node245.a('node.bordercolor','rgba(0,0,0,1)'); Node245.a('node.borderwidth', 0); Node245.a('node.background','' || 'rgba(0,0,0,0)'); Node245.a('node.gradient',''); Node245.a('node.gradientcolor',''); Node245.a('node.text','m/s'); Node245.a('node.textalign','left'); Node245.a('node.textvAlign','middle'); Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]); Node245.a('node.color','rgba(0,0,0,1)'); Node245.a('node.font',' '+ Node245fontSize + 'px "Arial"'); Node245.a('node.textvisible',true); Node245.a('node.linefeed',false); if (false) { Node245.a('node.textfunc',function(g) { g.beginPath(); var str=Node245.a('node.text') || 'm/s'; var color=Node245.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node245width,Node245height,11.99997*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "Arial"', 0,g); }); } if (false) { Node245.a('node.underlinepoints',[Node245lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width + 6, (Node245height - Node245fontSize) * 0.5*_ratio.ratioY + Node245fontSize + 2 ]); Node245.a('node.underlinevisible',false); Node245.a('node.underlineBorderWidth', 1); } dataModel.add(Node245); zoomNodeList.push({ node: Node245, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node246 = new ht.Node(); var Node246textStart, Node246textWidth, Node246lineStart, Node246align = 'left', Node246fontSize = 11.99997*_ratio.ratioY,Node246width = 40*_ratio.ratioX, Node246height = 21*_ratio.ratioY; (function () { if (Node246align === 'left') { Node246textStart = Node246fontSize * 0.2 > 2 ? Node246fontSize * 0.2 - 4 : Node246fontSize * 0.2 - 9; Node246textWidth = Node246width; Node246lineStart = 1; } else if (Node246align === 'right') { Node246textStart = 0; Node246textWidth =Node246fontSize <= 8 ? Node246width + Node246fontSize * 0.2 + 6 : Node246width - Node246fontSize * 0.2; Node246lineStart = (Node246width - (ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node246align === 'center') { Node246textStart = -3; Node246textWidth = Node246width; Node246lineStart = Node246width - ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width - 11; } })(); Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, 'bold '+ Node246fontSize + 'px "Arial"')) Node246.setPosition(1712*ratio.ratioX, 450*ratio.ratioY); Node246.setWidth(Node246width); Node246.setHeight(Node246height); Node246._nodeType = 'text'; Node246._disallowEvert = true; Node246.setRotation(0*Math.PI/180); Node246.a('node.width', Node246width); Node246.a('node.height', Node246height); Node246.a('node.rect', [0, 0, Node246width, Node246height]); Node246.a('node.bordercolor','rgba(64,64,64,1)'); Node246.a('node.borderwidth', 0); Node246.a('node.background','' || 'rgba(0,0,0,0)'); Node246.a('node.gradient',''); Node246.a('node.gradientcolor',''); Node246.a('node.text','功率'); Node246.a('node.textalign','left'); Node246.a('node.textvAlign','middle'); Node246.a('node.textrect', [Node246textStart, 0, Node246textWidth, Node246height]); Node246.a('node.color','rgba(64,64,64,1)'); Node246.a('node.font','bold '+ Node246fontSize + 'px "Arial"'); Node246.a('node.textvisible',true); Node246.a('node.linefeed',false); if (false) { Node246.a('node.textfunc',function(g) { g.beginPath(); var str=Node246.a('node.text') || '功率'; var color=Node246.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node246width,Node246height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node246fontSize + 'px "Arial"', 0,g); }); } if (false) { Node246.a('node.underlinepoints',[Node246lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width + 6, (Node246height - Node246fontSize) * 0.5*_ratio.ratioY + Node246fontSize + 2 ]); Node246.a('node.underlinevisible',false); Node246.a('node.underlineBorderWidth', 1); } dataModel.add(Node246); zoomNodeList.push({ node: Node246, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node247 = new ht.Node(); var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 11.99997*_ratio.ratioY,Node247width = 44*_ratio.ratioX, Node247height = 21*_ratio.ratioY; (function () { if (Node247align === 'left') { Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9; Node247textWidth = Node247width; Node247lineStart = 1; } else if (Node247align === 'right') { Node247textStart = 0; Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2; Node247lineStart = (Node247width - (ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node247align === 'center') { Node247textStart = -3; Node247textWidth = Node247width; Node247lineStart = Node247width - ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width - 11; } })(); Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, 'bold '+ Node247fontSize + 'px "Arial"')) Node247.setPosition(1714*ratio.ratioX, 484*ratio.ratioY); Node247.setWidth(Node247width); Node247.setHeight(Node247height); Node247._nodeType = 'text'; Node247._disallowEvert = true; Node247.setRotation(0*Math.PI/180); Node247.a('node.width', Node247width); Node247.a('node.height', Node247height); Node247.a('node.rect', [0, 0, Node247width, Node247height]); Node247.a('node.bordercolor','rgba(64,64,64,1)'); Node247.a('node.borderwidth', 0); Node247.a('node.background','' || 'rgba(0,0,0,0)'); Node247.a('node.gradient',''); Node247.a('node.gradientcolor',''); Node247.a('node.text','发电量'); Node247.a('node.textalign','left'); Node247.a('node.textvAlign','middle'); Node247.a('node.textrect', [Node247textStart, 0, Node247textWidth, Node247height]); Node247.a('node.color','rgba(64,64,64,1)'); Node247.a('node.font','bold '+ Node247fontSize + 'px "Arial"'); Node247.a('node.textvisible',true); Node247.a('node.linefeed',false); if (false) { Node247.a('node.textfunc',function(g) { g.beginPath(); var str=Node247.a('node.text') || '发电量'; var color=Node247.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node247width,Node247height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node247fontSize + 'px "Arial"', 0,g); }); } if (false) { Node247.a('node.underlinepoints',[Node247lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]); Node247.a('node.underlinevisible',false); Node247.a('node.underlineBorderWidth', 1); } dataModel.add(Node247); zoomNodeList.push({ node: Node247, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node248 = new ht.Node(); var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 29*_ratio.ratioX, Node248height = 25*_ratio.ratioY; (function () { if (Node248align === 'left') { Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9; Node248textWidth = Node248width; Node248lineStart = 1; } else if (Node248align === 'right') { Node248textStart = 0; Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2; Node248lineStart = (Node248width - (ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node248align === 'center') { Node248textStart = -3; Node248textWidth = Node248width; Node248lineStart = Node248width - ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width - 11; } })(); Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "Arial"')) Node248.setPosition(1862*ratio.ratioX, 419*ratio.ratioY); Node248.setWidth(Node248width); Node248.setHeight(Node248height); Node248._nodeType = 'text'; Node248._disallowEvert = true; Node248.setRotation(0*Math.PI/180); Node248.a('node.width', Node248width); Node248.a('node.height', Node248height); Node248.a('node.rect', [0, 0, Node248width, Node248height]); Node248.a('node.bordercolor','rgba(64,64,64,1)'); Node248.a('node.borderwidth', 0); Node248.a('node.background','' || 'rgba(0,0,0,0)'); Node248.a('node.gradient',''); Node248.a('node.gradientcolor',''); Node248.a('node.text','台'); Node248.a('node.textalign','left'); Node248.a('node.textvAlign','middle'); Node248.a('node.textrect', [Node248textStart, 0, Node248textWidth, Node248height]); Node248.a('node.color','rgba(64,64,64,1)'); Node248.a('node.font',' '+ Node248fontSize + 'px "Arial"'); Node248.a('node.textvisible',true); Node248.a('node.linefeed',false); if (false) { Node248.a('node.textfunc',function(g) { g.beginPath(); var str=Node248.a('node.text') || '台'; var color=Node248.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node248width,Node248height,13.3333*_ratio.ratioY,"left",color,' '+ Node248fontSize + 'px "Arial"', 0,g); }); } if (false) { Node248.a('node.underlinepoints',[Node248lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]); Node248.a('node.underlinevisible',false); Node248.a('node.underlineBorderWidth', 1); } dataModel.add(Node248); zoomNodeList.push({ node: Node248, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node249 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1783*ratio.ratioX, 450*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node250 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1783*ratio.ratioX, 450*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node251 = new ht.Node(); var Node251textStart, Node251textWidth, Node251lineStart, Node251align = 'left', Node251fontSize = 13.3333*_ratio.ratioY,Node251width = 29*_ratio.ratioX, Node251height = 25*_ratio.ratioY; (function () { if (Node251align === 'left') { Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9; Node251textWidth = Node251width; Node251lineStart = 1; } else if (Node251align === 'right') { Node251textStart = 0; Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2; Node251lineStart = (Node251width - (ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node251align === 'center') { Node251textStart = -3; Node251textWidth = Node251width; Node251lineStart = Node251width - ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width - 11; } })(); Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"')) Node251.setPosition(1854*ratio.ratioX, 449*ratio.ratioY); Node251.setWidth(Node251width); Node251.setHeight(Node251height); Node251._nodeType = 'text'; Node251._disallowEvert = true; Node251.setRotation(0*Math.PI/180); Node251.a('node.width', Node251width); Node251.a('node.height', Node251height); Node251.a('node.rect', [0, 0, Node251width, Node251height]); Node251.a('node.bordercolor','rgba(64,64,64,1)'); Node251.a('node.borderwidth', 0); Node251.a('node.background','' || 'rgba(0,0,0,0)'); Node251.a('node.gradient',''); Node251.a('node.gradientcolor',''); Node251.a('node.text','MW'); Node251.a('node.textalign','left'); Node251.a('node.textvAlign','middle'); Node251.a('node.textrect', [Node251textStart, 0, Node251textWidth, Node251height]); Node251.a('node.color','rgba(64,64,64,1)'); Node251.a('node.font',' '+ Node251fontSize + 'px "Arial"'); Node251.a('node.textvisible',true); Node251.a('node.linefeed',false); if (false) { Node251.a('node.textfunc',function(g) { g.beginPath(); var str=Node251.a('node.text') || 'MW'; var color=Node251.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g); }); } if (false) { Node251.a('node.underlinepoints',[Node251lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width + 6, (Node251height - Node251fontSize) * 0.5*_ratio.ratioY + Node251fontSize + 2 ]); Node251.a('node.underlinevisible',false); Node251.a('node.underlineBorderWidth', 1); } dataModel.add(Node251); zoomNodeList.push({ node: Node251, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node252 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1784*ratio.ratioX, 484*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node253 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1784*ratio.ratioX, 484*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node254 = new ht.Node(); var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'left', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 43*_ratio.ratioX, Node254height = 25*_ratio.ratioY; (function () { if (Node254align === 'left') { Node254textStart = Node254fontSize * 0.2 > 2 ? Node254fontSize * 0.2 - 4 : Node254fontSize * 0.2 - 9; Node254textWidth = Node254width; Node254lineStart = 1; } else if (Node254align === 'right') { Node254textStart = 0; Node254textWidth =Node254fontSize <= 8 ? Node254width + Node254fontSize * 0.2 + 6 : Node254width - Node254fontSize * 0.2; Node254lineStart = (Node254width - (ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node254align === 'center') { Node254textStart = -3; Node254textWidth = Node254width; Node254lineStart = Node254width - ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width - 11; } })(); Node254.setImage(GD.getTextJSON(Node254width, Node254height, true, false, false, ' '+ Node254fontSize + 'px "Arial"')) Node254.setPosition(1862*ratio.ratioX, 484*ratio.ratioY); Node254.setWidth(Node254width); Node254.setHeight(Node254height); Node254._nodeType = 'text'; Node254._disallowEvert = true; Node254.setRotation(0*Math.PI/180); Node254.a('node.width', Node254width); Node254.a('node.height', Node254height); Node254.a('node.rect', [0, 0, Node254width, Node254height]); Node254.a('node.bordercolor','rgba(64,64,64,1)'); Node254.a('node.borderwidth', 0); Node254.a('node.background','' || 'rgba(0,0,0,0)'); Node254.a('node.gradient',''); Node254.a('node.gradientcolor',''); Node254.a('node.text','万kwh'); Node254.a('node.textalign','left'); Node254.a('node.textvAlign','middle'); Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]); Node254.a('node.color','rgba(64,64,64,1)'); Node254.a('node.font',' '+ Node254fontSize + 'px "Arial"'); Node254.a('node.textvisible',true); Node254.a('node.linefeed',false); if (false) { Node254.a('node.textfunc',function(g) { g.beginPath(); var str=Node254.a('node.text') || '万kwh'; var color=Node254.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"left",color,' '+ Node254fontSize + 'px "Arial"', 0,g); }); } if (false) { Node254.a('node.underlinepoints',[Node254lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node254fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width + 6, (Node254height - Node254fontSize) * 0.5*_ratio.ratioY + Node254fontSize + 2 ]); Node254.a('node.underlinevisible',false); Node254.a('node.underlineBorderWidth', 1); } dataModel.add(Node254); zoomNodeList.push({ node: Node254, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node255type = 'rect'; var Node255 = new ht.Node(), Node255BorderWidth = 1*2; if (Node255type === 'arc') { Node255BorderWidth *= 1; } Node255.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node255type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node255.setPosition(1702*ratio.ratioX, 552*ratio.ratioY); Node255.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node255.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node255.a('node.width', 373*_ratio.ratioX); Node255.a('node.height', 93*_ratio.ratioY); Node255.a('node.type', Node255type); Node255.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node255.a('node.background', 'rgba(255,255,255,0.003921569)'); Node255.a('node.gradientcolor', ''); Node255.a('node.gradient', ''); Node255.a('node.borderwidth', Node255BorderWidth); Node255.a('node.color', 'rgba(192,192,192,1)'); Node255.a('node.fillrect', [0,0,0,0]); Node255.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node255.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node255.a('node.fillgradient', ''); if (Node255type !== 'rect') { Node255.a('node.arcFrom', parseFloat('@arcFrom@')); Node255.a('node.arcTo', parseFloat('@arcTo@')); Node255.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node255type === 'arc') { Node255.a('node.arcOval', true); } Node255.setRotation(0*Math.PI/180); Node255.borderWidth = Node255BorderWidth; Node255.borderFillwidth = Node255BorderWidth; dataModel.add(Node255); Node255._nodename = 'Node255' Node255._nodeType = 'rect'; zoomNodeList.push({ node: Node255, 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); } })(Node255, Node255.getImage());var Node256points=[1516, 537,1889, 537], Node256rect=ht.Default.unionPoint([{x:1516,y:537},{x:1889,y:537}]), Node256compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node264fontSize * 0.2 - 4 : Node264fontSize * 0.2 - 9; Node264textWidth = Node264width; Node264lineStart = 1; } else if (Node264align === 'right') { Node264textStart = 0; Node264textWidth =Node264fontSize <= 8 ? Node264width + Node264fontSize * 0.2 + 6 : Node264width - Node264fontSize * 0.2; Node264lineStart = (Node264width - (ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node264align === 'center') { Node264textStart = -3; Node264textWidth = Node264width; Node264lineStart = Node264width - ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width - 11; } })(); Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "Arial"')) Node264.setPosition(1548*ratio.ratioX, 523*ratio.ratioY); Node264.setWidth(Node264width); Node264.setHeight(Node264height); Node264._nodeType = 'text'; Node264._disallowEvert = true; Node264.setRotation(0*Math.PI/180); Node264.a('node.width', Node264width); Node264.a('node.height', Node264height); Node264.a('node.rect', [0, 0, Node264width, Node264height]); Node264.a('node.bordercolor','rgba(128,128,255,1)'); Node264.a('node.borderwidth', 0); Node264.a('node.background','' || 'rgba(0,0,0,0)'); Node264.a('node.gradient',''); Node264.a('node.gradientcolor',''); Node264.a('node.text','并网'); Node264.a('node.textalign','left'); Node264.a('node.textvAlign','middle'); Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]); Node264.a('node.color','rgba(128,128,255,1)'); Node264.a('node.font',' '+ Node264fontSize + 'px "Arial"'); Node264.a('node.textvisible',true); Node264.a('node.linefeed',false); if (false) { Node264.a('node.textfunc',function(g) { g.beginPath(); var str=Node264.a('node.text') || '并网'; var color=Node264.a('node.color') || 'rgba(128,128,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264width,Node264height,13.3333*_ratio.ratioY,"left",color,' '+ Node264fontSize + 'px "Arial"', 0,g); }); } if (false) { Node264.a('node.underlinepoints',[Node264lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width + 6, (Node264height - Node264fontSize) * 0.5*_ratio.ratioY + Node264fontSize + 2 ]); Node264.a('node.underlinevisible',false); Node264.a('node.underlineBorderWidth', 1); } dataModel.add(Node264); zoomNodeList.push({ node: Node264, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node265 = new ht.Node(); var Node265textStart, Node265textWidth, Node265lineStart, Node265align = 'left', Node265fontSize = 13.3333*_ratio.ratioY,Node265width = 39*_ratio.ratioX, Node265height = 16*_ratio.ratioY; (function () { if (Node265align === 'left') { Node265textStart = Node265fontSize * 0.2 > 2 ? Node265fontSize * 0.2 - 4 : Node265fontSize * 0.2 - 9; Node265textWidth = Node265width; Node265lineStart = 1; } else if (Node265align === 'right') { Node265textStart = 0; Node265textWidth =Node265fontSize <= 8 ? Node265width + Node265fontSize * 0.2 + 6 : Node265width - Node265fontSize * 0.2; Node265lineStart = (Node265width - (ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node265align === 'center') { Node265textStart = -3; Node265textWidth = Node265width; Node265lineStart = Node265width - ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width - 11; } })(); Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "Arial"')) Node265.setPosition(1549*ratio.ratioX, 553*ratio.ratioY); Node265.setWidth(Node265width); Node265.setHeight(Node265height); Node265._nodeType = 'text'; Node265._disallowEvert = true; Node265.setRotation(0*Math.PI/180); Node265.a('node.width', Node265width); Node265.a('node.height', Node265height); Node265.a('node.rect', [0, 0, Node265width, Node265height]); Node265.a('node.bordercolor','rgba(192,64,0,1)'); Node265.a('node.borderwidth', 0); Node265.a('node.background','' || 'rgba(0,0,0,0)'); Node265.a('node.gradient',''); Node265.a('node.gradientcolor',''); Node265.a('node.text','维护'); Node265.a('node.textalign','left'); Node265.a('node.textvAlign','middle'); Node265.a('node.textrect', [Node265textStart, 0, Node265textWidth, Node265height]); Node265.a('node.color','rgba(192,64,0,1)'); Node265.a('node.font',' '+ Node265fontSize + 'px "Arial"'); Node265.a('node.textvisible',true); Node265.a('node.linefeed',false); if (false) { Node265.a('node.textfunc',function(g) { g.beginPath(); var str=Node265.a('node.text') || '维护'; var color=Node265.a('node.color') || 'rgba(192,64,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265width,Node265height,13.3333*_ratio.ratioY,"left",color,' '+ Node265fontSize + 'px "Arial"', 0,g); }); } if (false) { Node265.a('node.underlinepoints',[Node265lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width + 6, (Node265height - Node265fontSize) * 0.5*_ratio.ratioY + Node265fontSize + 2 ]); Node265.a('node.underlinevisible',false); Node265.a('node.underlineBorderWidth', 1); } dataModel.add(Node265); zoomNodeList.push({ node: Node265, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node266 = new ht.Node(); var Node266textStart, Node266textWidth, Node266lineStart, Node266align = 'left', Node266fontSize = 13.3333*_ratio.ratioY,Node266width = 39*_ratio.ratioX, Node266height = 16*_ratio.ratioY; (function () { if (Node266align === 'left') { Node266textStart = Node266fontSize * 0.2 > 2 ? Node266fontSize * 0.2 - 4 : Node266fontSize * 0.2 - 9; Node266textWidth = Node266width; Node266lineStart = 1; } else if (Node266align === 'right') { Node266textStart = 0; Node266textWidth =Node266fontSize <= 8 ? Node266width + Node266fontSize * 0.2 + 6 : Node266width - Node266fontSize * 0.2; Node266lineStart = (Node266width - (ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node266align === 'center') { Node266textStart = -3; Node266textWidth = Node266width; Node266lineStart = Node266width - ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width - 11; } })(); Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, ' '+ Node266fontSize + 'px "Arial"')) Node266.setPosition(1549*ratio.ratioX, 583*ratio.ratioY); Node266.setWidth(Node266width); Node266.setHeight(Node266height); Node266._nodeType = 'text'; Node266._disallowEvert = true; Node266.setRotation(0*Math.PI/180); Node266.a('node.width', Node266width); Node266.a('node.height', Node266height); Node266.a('node.rect', [0, 0, Node266width, Node266height]); Node266.a('node.bordercolor','rgba(128,0,128,1)'); Node266.a('node.borderwidth', 0); Node266.a('node.background','' || 'rgba(0,0,0,0)'); Node266.a('node.gradient',''); Node266.a('node.gradientcolor',''); Node266.a('node.text','限电'); Node266.a('node.textalign','left'); Node266.a('node.textvAlign','middle'); Node266.a('node.textrect', [Node266textStart, 0, Node266textWidth, Node266height]); Node266.a('node.color','rgba(128,0,128,1)'); Node266.a('node.font',' '+ Node266fontSize + 'px "Arial"'); Node266.a('node.textvisible',true); Node266.a('node.linefeed',false); if (false) { Node266.a('node.textfunc',function(g) { g.beginPath(); var str=Node266.a('node.text') || '限电'; var color=Node266.a('node.color') || 'rgba(128,0,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266width,Node266height,13.3333*_ratio.ratioY,"left",color,' '+ Node266fontSize + 'px "Arial"', 0,g); }); } if (false) { Node266.a('node.underlinepoints',[Node266lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width + 6, (Node266height - Node266fontSize) * 0.5*_ratio.ratioY + Node266fontSize + 2 ]); Node266.a('node.underlinevisible',false); Node266.a('node.underlineBorderWidth', 1); } dataModel.add(Node266); zoomNodeList.push({ node: Node266, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node267 = new ht.Node(); var Node267textStart, Node267textWidth, Node267lineStart, Node267align = 'left', Node267fontSize = 13.3333*_ratio.ratioY,Node267width = 39*_ratio.ratioX, Node267height = 16*_ratio.ratioY; (function () { if (Node267align === 'left') { Node267textStart = Node267fontSize * 0.2 > 2 ? Node267fontSize * 0.2 - 4 : Node267fontSize * 0.2 - 9; Node267textWidth = Node267width; Node267lineStart = 1; } else if (Node267align === 'right') { Node267textStart = 0; Node267textWidth =Node267fontSize <= 8 ? Node267width + Node267fontSize * 0.2 + 6 : Node267width - Node267fontSize * 0.2; Node267lineStart = (Node267width - (ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node267align === 'center') { Node267textStart = -3; Node267textWidth = Node267width; Node267lineStart = Node267width - ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width - 11; } })(); Node267.setImage(GD.getTextJSON(Node267width, Node267height, true, false, false, ' '+ Node267fontSize + 'px "Arial"')) Node267.setPosition(1738*ratio.ratioX, 523*ratio.ratioY); Node267.setWidth(Node267width); Node267.setHeight(Node267height); Node267._nodeType = 'text'; Node267._disallowEvert = true; Node267.setRotation(0*Math.PI/180); Node267.a('node.width', Node267width); Node267.a('node.height', Node267height); Node267.a('node.rect', [0, 0, Node267width, Node267height]); Node267.a('node.bordercolor','rgba(0,128,0,1)'); Node267.a('node.borderwidth', 0); Node267.a('node.background','' || 'rgba(0,0,0,0)'); Node267.a('node.gradient',''); Node267.a('node.gradientcolor',''); Node267.a('node.text','待机'); Node267.a('node.textalign','left'); Node267.a('node.textvAlign','middle'); Node267.a('node.textrect', [Node267textStart, 0, Node267textWidth, Node267height]); Node267.a('node.color','rgba(0,128,0,1)'); Node267.a('node.font',' '+ Node267fontSize + 'px "Arial"'); Node267.a('node.textvisible',true); Node267.a('node.linefeed',false); if (false) { Node267.a('node.textfunc',function(g) { g.beginPath(); var str=Node267.a('node.text') || '待机'; var color=Node267.a('node.color') || 'rgba(0,128,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267width,Node267height,13.3333*_ratio.ratioY,"left",color,' '+ Node267fontSize + 'px "Arial"', 0,g); }); } if (false) { Node267.a('node.underlinepoints',[Node267lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node267fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width + 6, (Node267height - Node267fontSize) * 0.5*_ratio.ratioY + Node267fontSize + 2 ]); Node267.a('node.underlinevisible',false); Node267.a('node.underlineBorderWidth', 1); } dataModel.add(Node267); zoomNodeList.push({ node: Node267, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node268 = new ht.Node(); var Node268textStart, Node268textWidth, Node268lineStart, Node268align = 'left', Node268fontSize = 13.3333*_ratio.ratioY,Node268width = 39*_ratio.ratioX, Node268height = 16*_ratio.ratioY; (function () { if (Node268align === 'left') { Node268textStart = Node268fontSize * 0.2 > 2 ? Node268fontSize * 0.2 - 4 : Node268fontSize * 0.2 - 9; Node268textWidth = Node268width; Node268lineStart = 1; } else if (Node268align === 'right') { Node268textStart = 0; Node268textWidth =Node268fontSize <= 8 ? Node268width + Node268fontSize * 0.2 + 6 : Node268width - Node268fontSize * 0.2; Node268lineStart = (Node268width - (ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node268align === 'center') { Node268textStart = -3; Node268textWidth = Node268width; Node268lineStart = Node268width - ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width - 11; } })(); Node268.setImage(GD.getTextJSON(Node268width, Node268height, true, false, false, ' '+ Node268fontSize + 'px "Arial"')) Node268.setPosition(1739*ratio.ratioX, 553*ratio.ratioY); Node268.setWidth(Node268width); Node268.setHeight(Node268height); Node268._nodeType = 'text'; Node268._disallowEvert = true; Node268.setRotation(0*Math.PI/180); Node268.a('node.width', Node268width); Node268.a('node.height', Node268height); Node268.a('node.rect', [0, 0, Node268width, Node268height]); Node268.a('node.bordercolor','rgba(192,0,0,1)'); Node268.a('node.borderwidth', 0); Node268.a('node.background','' || 'rgba(0,0,0,0)'); Node268.a('node.gradient',''); Node268.a('node.gradientcolor',''); Node268.a('node.text','故障'); Node268.a('node.textalign','left'); Node268.a('node.textvAlign','middle'); Node268.a('node.textrect', [Node268textStart, 0, Node268textWidth, Node268height]); Node268.a('node.color','rgba(192,0,0,1)'); Node268.a('node.font',' '+ Node268fontSize + 'px "Arial"'); Node268.a('node.textvisible',true); Node268.a('node.linefeed',false); if (false) { Node268.a('node.textfunc',function(g) { g.beginPath(); var str=Node268.a('node.text') || '故障'; var color=Node268.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268width,Node268height,13.3333*_ratio.ratioY,"left",color,' '+ Node268fontSize + 'px "Arial"', 0,g); }); } if (false) { Node268.a('node.underlinepoints',[Node268lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node268fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width + 6, (Node268height - Node268fontSize) * 0.5*_ratio.ratioY + Node268fontSize + 2 ]); Node268.a('node.underlinevisible',false); Node268.a('node.underlineBorderWidth', 1); } dataModel.add(Node268); zoomNodeList.push({ node: Node268, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node269 = new ht.Node(); var Node269textStart, Node269textWidth, Node269lineStart, Node269align = 'left', Node269fontSize = 13.3333*_ratio.ratioY,Node269width = 39*_ratio.ratioX, Node269height = 16*_ratio.ratioY; (function () { if (Node269align === 'left') { Node269textStart = Node269fontSize * 0.2 > 2 ? Node269fontSize * 0.2 - 4 : Node269fontSize * 0.2 - 9; Node269textWidth = Node269width; Node269lineStart = 1; } else if (Node269align === 'right') { Node269textStart = 0; Node269textWidth =Node269fontSize <= 8 ? Node269width + Node269fontSize * 0.2 + 6 : Node269width - Node269fontSize * 0.2; Node269lineStart = (Node269width - (ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node269align === 'center') { Node269textStart = -3; Node269textWidth = Node269width; Node269lineStart = Node269width - ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width - 11; } })(); Node269.setImage(GD.getTextJSON(Node269width, Node269height, true, false, false, ' '+ Node269fontSize + 'px "Arial"')) Node269.setPosition(1739*ratio.ratioX, 583*ratio.ratioY); Node269.setWidth(Node269width); Node269.setHeight(Node269height); Node269._nodeType = 'text'; Node269._disallowEvert = true; Node269.setRotation(0*Math.PI/180); Node269.a('node.width', Node269width); Node269.a('node.height', Node269height); Node269.a('node.rect', [0, 0, Node269width, Node269height]); Node269.a('node.bordercolor','rgba(128,128,128,1)'); Node269.a('node.borderwidth', 0); Node269.a('node.background','' || 'rgba(0,0,0,0)'); Node269.a('node.gradient',''); Node269.a('node.gradientcolor',''); Node269.a('node.text','离线'); Node269.a('node.textalign','left'); Node269.a('node.textvAlign','middle'); Node269.a('node.textrect', [Node269textStart, 0, Node269textWidth, Node269height]); Node269.a('node.color','rgba(128,128,128,1)'); Node269.a('node.font',' '+ Node269fontSize + 'px "Arial"'); Node269.a('node.textvisible',true); Node269.a('node.linefeed',false); if (false) { Node269.a('node.textfunc',function(g) { g.beginPath(); var str=Node269.a('node.text') || '离线'; var color=Node269.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269width,Node269height,13.3333*_ratio.ratioY,"left",color,' '+ Node269fontSize + 'px "Arial"', 0,g); }); } if (false) { Node269.a('node.underlinepoints',[Node269lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node269fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width + 6, (Node269height - Node269fontSize) * 0.5*_ratio.ratioY + Node269fontSize + 2 ]); Node269.a('node.underlinevisible',false); Node269.a('node.underlineBorderWidth', 1); } dataModel.add(Node269); zoomNodeList.push({ node: Node269, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node270 = new ht.Node(); var Node270textStart, Node270textWidth, Node270lineStart, Node270align = 'left', Node270fontSize = 13.3333*_ratio.ratioY,Node270width = 29*_ratio.ratioX, Node270height = 25*_ratio.ratioY; (function () { if (Node270align === 'left') { Node270textStart = Node270fontSize * 0.2 > 2 ? Node270fontSize * 0.2 - 4 : Node270fontSize * 0.2 - 9; Node270textWidth = Node270width; Node270lineStart = 1; } else if (Node270align === 'right') { Node270textStart = 0; Node270textWidth =Node270fontSize <= 8 ? Node270width + Node270fontSize * 0.2 + 6 : Node270width - Node270fontSize * 0.2; Node270lineStart = (Node270width - (ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node270align === 'center') { Node270textStart = -3; Node270textWidth = Node270width; Node270lineStart = Node270width - ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width - 11; } })(); Node270.setImage(GD.getTextJSON(Node270width, Node270height, true, false, false, ' '+ Node270fontSize + 'px "UniDreamLED"')) Node270.setPosition(1690*ratio.ratioX, 523*ratio.ratioY); Node270.setWidth(Node270width); Node270.setHeight(Node270height); Node270._nodeType = 'text'; Node270._disallowEvert = true; Node270.setRotation(0*Math.PI/180); Node270.a('node.width', Node270width); Node270.a('node.height', Node270height); Node270.a('node.rect', [0, 0, Node270width, Node270height]); Node270.a('node.bordercolor','rgba(64,64,64,1)'); Node270.a('node.borderwidth', 0); Node270.a('node.background','' || 'rgba(0,0,0,0)'); Node270.a('node.gradient',''); Node270.a('node.gradientcolor',''); Node270.a('node.text','台'); Node270.a('node.textalign','left'); Node270.a('node.textvAlign','middle'); Node270.a('node.textrect', [Node270textStart, 0, Node270textWidth, Node270height]); Node270.a('node.color','rgba(64,64,64,1)'); Node270.a('node.font',' '+ Node270fontSize + 'px "UniDreamLED"'); Node270.a('node.textvisible',true); Node270.a('node.linefeed',false); if (false) { Node270.a('node.textfunc',function(g) { g.beginPath(); var str=Node270.a('node.text') || '台'; var color=Node270.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270width,Node270height,13.3333*_ratio.ratioY,"left",color,' '+ Node270fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node270.a('node.underlinepoints',[Node270lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node270fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width + 6, (Node270height - Node270fontSize) * 0.5*_ratio.ratioY + Node270fontSize + 2 ]); Node270.a('node.underlinevisible',false); Node270.a('node.underlineBorderWidth', 1); } dataModel.add(Node270); zoomNodeList.push({ node: Node270, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node271 = new ht.Node(); var Node271textStart, Node271textWidth, Node271lineStart, Node271align = 'left', Node271fontSize = 13.3333*_ratio.ratioY,Node271width = 29*_ratio.ratioX, Node271height = 25*_ratio.ratioY; (function () { if (Node271align === 'left') { Node271textStart = Node271fontSize * 0.2 > 2 ? Node271fontSize * 0.2 - 4 : Node271fontSize * 0.2 - 9; Node271textWidth = Node271width; Node271lineStart = 1; } else if (Node271align === 'right') { Node271textStart = 0; Node271textWidth =Node271fontSize <= 8 ? Node271width + Node271fontSize * 0.2 + 6 : Node271width - Node271fontSize * 0.2; Node271lineStart = (Node271width - (ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node271align === 'center') { Node271textStart = -3; Node271textWidth = Node271width; Node271lineStart = Node271width - ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width - 11; } })(); Node271.setImage(GD.getTextJSON(Node271width, Node271height, true, false, false, ' '+ Node271fontSize + 'px "UniDreamLED"')) Node271.setPosition(1690*ratio.ratioX, 554*ratio.ratioY); Node271.setWidth(Node271width); Node271.setHeight(Node271height); Node271._nodeType = 'text'; Node271._disallowEvert = true; Node271.setRotation(0*Math.PI/180); Node271.a('node.width', Node271width); Node271.a('node.height', Node271height); Node271.a('node.rect', [0, 0, Node271width, Node271height]); Node271.a('node.bordercolor','rgba(64,64,64,1)'); Node271.a('node.borderwidth', 0); Node271.a('node.background','' || 'rgba(0,0,0,0)'); Node271.a('node.gradient',''); Node271.a('node.gradientcolor',''); Node271.a('node.text','台'); Node271.a('node.textalign','left'); Node271.a('node.textvAlign','middle'); Node271.a('node.textrect', [Node271textStart, 0, Node271textWidth, Node271height]); Node271.a('node.color','rgba(64,64,64,1)'); Node271.a('node.font',' '+ Node271fontSize + 'px "UniDreamLED"'); Node271.a('node.textvisible',true); Node271.a('node.linefeed',false); if (false) { Node271.a('node.textfunc',function(g) { g.beginPath(); var str=Node271.a('node.text') || '台'; var color=Node271.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271width,Node271height,13.3333*_ratio.ratioY,"left",color,' '+ Node271fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node271.a('node.underlinepoints',[Node271lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node271fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width + 6, (Node271height - Node271fontSize) * 0.5*_ratio.ratioY + Node271fontSize + 2 ]); Node271.a('node.underlinevisible',false); Node271.a('node.underlineBorderWidth', 1); } dataModel.add(Node271); zoomNodeList.push({ node: Node271, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node272 = new ht.Node(); var Node272textStart, Node272textWidth, Node272lineStart, Node272align = 'left', Node272fontSize = 13.3333*_ratio.ratioY,Node272width = 29*_ratio.ratioX, Node272height = 25*_ratio.ratioY; (function () { if (Node272align === 'left') { Node272textStart = Node272fontSize * 0.2 > 2 ? Node272fontSize * 0.2 - 4 : Node272fontSize * 0.2 - 9; Node272textWidth = Node272width; Node272lineStart = 1; } else if (Node272align === 'right') { Node272textStart = 0; Node272textWidth =Node272fontSize <= 8 ? Node272width + Node272fontSize * 0.2 + 6 : Node272width - Node272fontSize * 0.2; Node272lineStart = (Node272width - (ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node272align === 'center') { Node272textStart = -3; Node272textWidth = Node272width; Node272lineStart = Node272width - ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width - 11; } })(); Node272.setImage(GD.getTextJSON(Node272width, Node272height, true, false, false, ' '+ Node272fontSize + 'px "UniDreamLED"')) Node272.setPosition(1691*ratio.ratioX, 583*ratio.ratioY); Node272.setWidth(Node272width); Node272.setHeight(Node272height); Node272._nodeType = 'text'; Node272._disallowEvert = true; Node272.setRotation(0*Math.PI/180); Node272.a('node.width', Node272width); Node272.a('node.height', Node272height); Node272.a('node.rect', [0, 0, Node272width, Node272height]); Node272.a('node.bordercolor','rgba(64,64,64,1)'); Node272.a('node.borderwidth', 0); Node272.a('node.background','' || 'rgba(0,0,0,0)'); Node272.a('node.gradient',''); Node272.a('node.gradientcolor',''); Node272.a('node.text','台'); Node272.a('node.textalign','left'); Node272.a('node.textvAlign','middle'); Node272.a('node.textrect', [Node272textStart, 0, Node272textWidth, Node272height]); Node272.a('node.color','rgba(64,64,64,1)'); Node272.a('node.font',' '+ Node272fontSize + 'px "UniDreamLED"'); Node272.a('node.textvisible',true); Node272.a('node.linefeed',false); if (false) { Node272.a('node.textfunc',function(g) { g.beginPath(); var str=Node272.a('node.text') || '台'; var color=Node272.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272width,Node272height,13.3333*_ratio.ratioY,"left",color,' '+ Node272fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node272.a('node.underlinepoints',[Node272lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node272fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width + 6, (Node272height - Node272fontSize) * 0.5*_ratio.ratioY + Node272fontSize + 2 ]); Node272.a('node.underlinevisible',false); Node272.a('node.underlineBorderWidth', 1); } dataModel.add(Node272); zoomNodeList.push({ node: Node272, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node273 = new ht.Node(); var Node273textStart, Node273textWidth, Node273lineStart, Node273align = 'left', Node273fontSize = 13.3333*_ratio.ratioY,Node273width = 29*_ratio.ratioX, Node273height = 25*_ratio.ratioY; (function () { if (Node273align === 'left') { Node273textStart = Node273fontSize * 0.2 > 2 ? Node273fontSize * 0.2 - 4 : Node273fontSize * 0.2 - 9; Node273textWidth = Node273width; Node273lineStart = 1; } else if (Node273align === 'right') { Node273textStart = 0; Node273textWidth =Node273fontSize <= 8 ? Node273width + Node273fontSize * 0.2 + 6 : Node273width - Node273fontSize * 0.2; Node273lineStart = (Node273width - (ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node273align === 'center') { Node273textStart = -3; Node273textWidth = Node273width; Node273lineStart = Node273width - ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width - 11; } })(); Node273.setImage(GD.getTextJSON(Node273width, Node273height, true, false, false, ' '+ Node273fontSize + 'px "UniDreamLED"')) Node273.setPosition(1635*ratio.ratioX, 523*ratio.ratioY); Node273.setWidth(Node273width); Node273.setHeight(Node273height); Node273._nodeType = 'text'; Node273._disallowEvert = true; Node273.setRotation(0*Math.PI/180); Node273.a('node.width', Node273width); Node273.a('node.height', Node273height); Node273.a('node.rect', [0, 0, Node273width, Node273height]); Node273.a('node.bordercolor','rgba(64,64,64,1)'); Node273.a('node.borderwidth', 0); Node273.a('node.background','' || 'rgba(0,0,0,0)'); Node273.a('node.gradient',''); Node273.a('node.gradientcolor',''); Node273.a('node.text','83'); Node273.a('node.textalign','left'); Node273.a('node.textvAlign','middle'); Node273.a('node.textrect', [Node273textStart, 0, Node273textWidth, Node273height]); Node273.a('node.color','rgba(64,64,64,1)'); Node273.a('node.font',' '+ Node273fontSize + 'px "UniDreamLED"'); Node273.a('node.textvisible',true); Node273.a('node.linefeed',false); if (false) { Node273.a('node.textfunc',function(g) { g.beginPath(); var str=Node273.a('node.text') || '83'; var color=Node273.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node273width,Node273height,13.3333*_ratio.ratioY,"left",color,' '+ Node273fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node273.a('node.underlinepoints',[Node273lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node273fontSize + 2 , ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width + 6, (Node273height - Node273fontSize) * 0.5*_ratio.ratioY + Node273fontSize + 2 ]); Node273.a('node.underlinevisible',false); Node273.a('node.underlineBorderWidth', 1); } dataModel.add(Node273); zoomNodeList.push({ node: Node273, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node274 = new ht.Node(); var Node274textStart, Node274textWidth, Node274lineStart, Node274align = 'left', Node274fontSize = 13.3333*_ratio.ratioY,Node274width = 29*_ratio.ratioX, Node274height = 25*_ratio.ratioY; (function () { if (Node274align === 'left') { Node274textStart = Node274fontSize * 0.2 > 2 ? Node274fontSize * 0.2 - 4 : Node274fontSize * 0.2 - 9; Node274textWidth = Node274width; Node274lineStart = 1; } else if (Node274align === 'right') { Node274textStart = 0; Node274textWidth =Node274fontSize <= 8 ? Node274width + Node274fontSize * 0.2 + 6 : Node274width - Node274fontSize * 0.2; Node274lineStart = (Node274width - (ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node274align === 'center') { Node274textStart = -3; Node274textWidth = Node274width; Node274lineStart = Node274width - ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width - 11; } })(); Node274.setImage(GD.getTextJSON(Node274width, Node274height, true, false, false, ' '+ Node274fontSize + 'px "UniDreamLED"')) Node274.setPosition(1635*ratio.ratioX, 552*ratio.ratioY); Node274.setWidth(Node274width); Node274.setHeight(Node274height); Node274._nodeType = 'text'; Node274._disallowEvert = true; Node274.setRotation(0*Math.PI/180); Node274.a('node.width', Node274width); Node274.a('node.height', Node274height); Node274.a('node.rect', [0, 0, Node274width, Node274height]); Node274.a('node.bordercolor','rgba(64,64,64,1)'); Node274.a('node.borderwidth', 0); Node274.a('node.background','' || 'rgba(0,0,0,0)'); Node274.a('node.gradient',''); Node274.a('node.gradientcolor',''); Node274.a('node.text','0'); Node274.a('node.textalign','left'); Node274.a('node.textvAlign','middle'); Node274.a('node.textrect', [Node274textStart, 0, Node274textWidth, Node274height]); Node274.a('node.color','rgba(64,64,64,1)'); Node274.a('node.font',' '+ Node274fontSize + 'px "UniDreamLED"'); Node274.a('node.textvisible',true); Node274.a('node.linefeed',false); if (false) { Node274.a('node.textfunc',function(g) { g.beginPath(); var str=Node274.a('node.text') || '0'; var color=Node274.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node274width,Node274height,13.3333*_ratio.ratioY,"left",color,' '+ Node274fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node274.a('node.underlinepoints',[Node274lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node274fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width + 6, (Node274height - Node274fontSize) * 0.5*_ratio.ratioY + Node274fontSize + 2 ]); Node274.a('node.underlinevisible',false); Node274.a('node.underlineBorderWidth', 1); } dataModel.add(Node274); zoomNodeList.push({ node: Node274, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node275 = new ht.Node(); var Node275textStart, Node275textWidth, Node275lineStart, Node275align = 'left', Node275fontSize = 13.3333*_ratio.ratioY,Node275width = 29*_ratio.ratioX, Node275height = 25*_ratio.ratioY; (function () { if (Node275align === 'left') { Node275textStart = Node275fontSize * 0.2 > 2 ? Node275fontSize * 0.2 - 4 : Node275fontSize * 0.2 - 9; Node275textWidth = Node275width; Node275lineStart = 1; } else if (Node275align === 'right') { Node275textStart = 0; Node275textWidth =Node275fontSize <= 8 ? Node275width + Node275fontSize * 0.2 + 6 : Node275width - Node275fontSize * 0.2; Node275lineStart = (Node275width - (ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node275align === 'center') { Node275textStart = -3; Node275textWidth = Node275width; Node275lineStart = Node275width - ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width - 11; } })(); Node275.setImage(GD.getTextJSON(Node275width, Node275height, true, false, false, ' '+ Node275fontSize + 'px "UniDreamLED"')) Node275.setPosition(1635*ratio.ratioX, 583*ratio.ratioY); Node275.setWidth(Node275width); Node275.setHeight(Node275height); Node275._nodeType = 'text'; Node275._disallowEvert = true; Node275.setRotation(0*Math.PI/180); Node275.a('node.width', Node275width); Node275.a('node.height', Node275height); Node275.a('node.rect', [0, 0, Node275width, Node275height]); Node275.a('node.bordercolor','rgba(64,64,64,1)'); Node275.a('node.borderwidth', 0); Node275.a('node.background','' || 'rgba(0,0,0,0)'); Node275.a('node.gradient',''); Node275.a('node.gradientcolor',''); Node275.a('node.text','0'); Node275.a('node.textalign','left'); Node275.a('node.textvAlign','middle'); Node275.a('node.textrect', [Node275textStart, 0, Node275textWidth, Node275height]); Node275.a('node.color','rgba(64,64,64,1)'); Node275.a('node.font',' '+ Node275fontSize + 'px "UniDreamLED"'); Node275.a('node.textvisible',true); Node275.a('node.linefeed',false); if (false) { Node275.a('node.textfunc',function(g) { g.beginPath(); var str=Node275.a('node.text') || '0'; var color=Node275.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node275width,Node275height,13.3333*_ratio.ratioY,"left",color,' '+ Node275fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node275.a('node.underlinepoints',[Node275lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node275fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width + 6, (Node275height - Node275fontSize) * 0.5*_ratio.ratioY + Node275fontSize + 2 ]); Node275.a('node.underlinevisible',false); Node275.a('node.underlineBorderWidth', 1); } dataModel.add(Node275); zoomNodeList.push({ node: Node275, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node276 = new ht.Node(); var Node276textStart, Node276textWidth, Node276lineStart, Node276align = 'left', Node276fontSize = 13.3333*_ratio.ratioY,Node276width = 29*_ratio.ratioX, Node276height = 25*_ratio.ratioY; (function () { if (Node276align === 'left') { Node276textStart = Node276fontSize * 0.2 > 2 ? Node276fontSize * 0.2 - 4 : Node276fontSize * 0.2 - 9; Node276textWidth = Node276width; Node276lineStart = 1; } else if (Node276align === 'right') { Node276textStart = 0; Node276textWidth =Node276fontSize <= 8 ? Node276width + Node276fontSize * 0.2 + 6 : Node276width - Node276fontSize * 0.2; Node276lineStart = (Node276width - (ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node276align === 'center') { Node276textStart = -3; Node276textWidth = Node276width; Node276lineStart = Node276width - ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width - 11; } })(); Node276.setImage(GD.getTextJSON(Node276width, Node276height, true, false, false, ' '+ Node276fontSize + 'px "UniDreamLED"')) Node276.setPosition(1812*ratio.ratioX, 523*ratio.ratioY); Node276.setWidth(Node276width); Node276.setHeight(Node276height); Node276._nodeType = 'text'; Node276._disallowEvert = true; Node276.setRotation(0*Math.PI/180); Node276.a('node.width', Node276width); Node276.a('node.height', Node276height); Node276.a('node.rect', [0, 0, Node276width, Node276height]); Node276.a('node.bordercolor','rgba(64,64,64,1)'); Node276.a('node.borderwidth', 0); Node276.a('node.background','' || 'rgba(0,0,0,0)'); Node276.a('node.gradient',''); Node276.a('node.gradientcolor',''); Node276.a('node.text','0'); Node276.a('node.textalign','left'); Node276.a('node.textvAlign','middle'); Node276.a('node.textrect', [Node276textStart, 0, Node276textWidth, Node276height]); Node276.a('node.color','rgba(64,64,64,1)'); Node276.a('node.font',' '+ Node276fontSize + 'px "UniDreamLED"'); Node276.a('node.textvisible',true); Node276.a('node.linefeed',false); if (false) { Node276.a('node.textfunc',function(g) { g.beginPath(); var str=Node276.a('node.text') || '0'; var color=Node276.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node276width,Node276height,13.3333*_ratio.ratioY,"left",color,' '+ Node276fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node276.a('node.underlinepoints',[Node276lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node276fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width + 6, (Node276height - Node276fontSize) * 0.5*_ratio.ratioY + Node276fontSize + 2 ]); Node276.a('node.underlinevisible',false); Node276.a('node.underlineBorderWidth', 1); } dataModel.add(Node276); zoomNodeList.push({ node: Node276, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node277 = new ht.Node(); var Node277textStart, Node277textWidth, Node277lineStart, Node277align = 'left', Node277fontSize = 13.3333*_ratio.ratioY,Node277width = 29*_ratio.ratioX, Node277height = 25*_ratio.ratioY; (function () { if (Node277align === 'left') { Node277textStart = Node277fontSize * 0.2 > 2 ? Node277fontSize * 0.2 - 4 : Node277fontSize * 0.2 - 9; Node277textWidth = Node277width; Node277lineStart = 1; } else if (Node277align === 'right') { Node277textStart = 0; Node277textWidth =Node277fontSize <= 8 ? Node277width + Node277fontSize * 0.2 + 6 : Node277width - Node277fontSize * 0.2; Node277lineStart = (Node277width - (ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node277align === 'center') { Node277textStart = -3; Node277textWidth = Node277width; Node277lineStart = Node277width - ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width - 11; } })(); Node277.setImage(GD.getTextJSON(Node277width, Node277height, true, false, false, ' '+ Node277fontSize + 'px "UniDreamLED"')) Node277.setPosition(1812*ratio.ratioX, 552*ratio.ratioY); Node277.setWidth(Node277width); Node277.setHeight(Node277height); Node277._nodeType = 'text'; Node277._disallowEvert = true; Node277.setRotation(0*Math.PI/180); Node277.a('node.width', Node277width); Node277.a('node.height', Node277height); Node277.a('node.rect', [0, 0, Node277width, Node277height]); Node277.a('node.bordercolor','rgba(64,64,64,1)'); Node277.a('node.borderwidth', 0); Node277.a('node.background','' || 'rgba(0,0,0,0)'); Node277.a('node.gradient',''); Node277.a('node.gradientcolor',''); Node277.a('node.text','0'); Node277.a('node.textalign','left'); Node277.a('node.textvAlign','middle'); Node277.a('node.textrect', [Node277textStart, 0, Node277textWidth, Node277height]); Node277.a('node.color','rgba(64,64,64,1)'); Node277.a('node.font',' '+ Node277fontSize + 'px "UniDreamLED"'); Node277.a('node.textvisible',true); Node277.a('node.linefeed',false); if (false) { Node277.a('node.textfunc',function(g) { g.beginPath(); var str=Node277.a('node.text') || '0'; var color=Node277.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node277width,Node277height,13.3333*_ratio.ratioY,"left",color,' '+ Node277fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node277.a('node.underlinepoints',[Node277lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node277fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width + 6, (Node277height - Node277fontSize) * 0.5*_ratio.ratioY + Node277fontSize + 2 ]); Node277.a('node.underlinevisible',false); Node277.a('node.underlineBorderWidth', 1); } dataModel.add(Node277); zoomNodeList.push({ node: Node277, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node278 = new ht.Node(); var Node278textStart, Node278textWidth, Node278lineStart, Node278align = 'left', Node278fontSize = 13.3333*_ratio.ratioY,Node278width = 29*_ratio.ratioX, Node278height = 25*_ratio.ratioY; (function () { if (Node278align === 'left') { Node278textStart = Node278fontSize * 0.2 > 2 ? Node278fontSize * 0.2 - 4 : Node278fontSize * 0.2 - 9; Node278textWidth = Node278width; Node278lineStart = 1; } else if (Node278align === 'right') { Node278textStart = 0; Node278textWidth =Node278fontSize <= 8 ? Node278width + Node278fontSize * 0.2 + 6 : Node278width - Node278fontSize * 0.2; Node278lineStart = (Node278width - (ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node278align === 'center') { Node278textStart = -3; Node278textWidth = Node278width; Node278lineStart = Node278width - ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width - 11; } })(); Node278.setImage(GD.getTextJSON(Node278width, Node278height, true, false, false, ' '+ Node278fontSize + 'px "UniDreamLED"')) Node278.setPosition(1812*ratio.ratioX, 583*ratio.ratioY); Node278.setWidth(Node278width); Node278.setHeight(Node278height); Node278._nodeType = 'text'; Node278._disallowEvert = true; Node278.setRotation(0*Math.PI/180); Node278.a('node.width', Node278width); Node278.a('node.height', Node278height); Node278.a('node.rect', [0, 0, Node278width, Node278height]); Node278.a('node.bordercolor','rgba(64,64,64,1)'); Node278.a('node.borderwidth', 0); Node278.a('node.background','' || 'rgba(0,0,0,0)'); Node278.a('node.gradient',''); Node278.a('node.gradientcolor',''); Node278.a('node.text','0'); Node278.a('node.textalign','left'); Node278.a('node.textvAlign','middle'); Node278.a('node.textrect', [Node278textStart, 0, Node278textWidth, Node278height]); Node278.a('node.color','rgba(64,64,64,1)'); Node278.a('node.font',' '+ Node278fontSize + 'px "UniDreamLED"'); Node278.a('node.textvisible',true); Node278.a('node.linefeed',false); if (false) { Node278.a('node.textfunc',function(g) { g.beginPath(); var str=Node278.a('node.text') || '0'; var color=Node278.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node278width,Node278height,13.3333*_ratio.ratioY,"left",color,' '+ Node278fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node278.a('node.underlinepoints',[Node278lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node278fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width + 6, (Node278height - Node278fontSize) * 0.5*_ratio.ratioY + Node278fontSize + 2 ]); Node278.a('node.underlinevisible',false); Node278.a('node.underlineBorderWidth', 1); } dataModel.add(Node278); zoomNodeList.push({ node: Node278, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node279 = new ht.Node(); var Node279textStart, Node279textWidth, Node279lineStart, Node279align = 'left', Node279fontSize = 13.3333*_ratio.ratioY,Node279width = 29*_ratio.ratioX, Node279height = 25*_ratio.ratioY; (function () { if (Node279align === 'left') { Node279textStart = Node279fontSize * 0.2 > 2 ? Node279fontSize * 0.2 - 4 : Node279fontSize * 0.2 - 9; Node279textWidth = Node279width; Node279lineStart = 1; } else if (Node279align === 'right') { Node279textStart = 0; Node279textWidth =Node279fontSize <= 8 ? Node279width + Node279fontSize * 0.2 + 6 : Node279width - Node279fontSize * 0.2; Node279lineStart = (Node279width - (ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node279align === 'center') { Node279textStart = -3; Node279textWidth = Node279width; Node279lineStart = Node279width - ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width - 11; } })(); Node279.setImage(GD.getTextJSON(Node279width, Node279height, true, false, false, ' '+ Node279fontSize + 'px "UniDreamLED"')) Node279.setPosition(1866*ratio.ratioX, 522*ratio.ratioY); Node279.setWidth(Node279width); Node279.setHeight(Node279height); Node279._nodeType = 'text'; Node279._disallowEvert = true; Node279.setRotation(0*Math.PI/180); Node279.a('node.width', Node279width); Node279.a('node.height', Node279height); Node279.a('node.rect', [0, 0, Node279width, Node279height]); Node279.a('node.bordercolor','rgba(64,64,64,1)'); Node279.a('node.borderwidth', 0); Node279.a('node.background','' || 'rgba(0,0,0,0)'); Node279.a('node.gradient',''); Node279.a('node.gradientcolor',''); Node279.a('node.text','台'); Node279.a('node.textalign','left'); Node279.a('node.textvAlign','middle'); Node279.a('node.textrect', [Node279textStart, 0, Node279textWidth, Node279height]); Node279.a('node.color','rgba(64,64,64,1)'); Node279.a('node.font',' '+ Node279fontSize + 'px "UniDreamLED"'); Node279.a('node.textvisible',true); Node279.a('node.linefeed',false); if (false) { Node279.a('node.textfunc',function(g) { g.beginPath(); var str=Node279.a('node.text') || '台'; var color=Node279.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node279width,Node279height,13.3333*_ratio.ratioY,"left",color,' '+ Node279fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node279.a('node.underlinepoints',[Node279lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node279fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width + 6, (Node279height - Node279fontSize) * 0.5*_ratio.ratioY + Node279fontSize + 2 ]); Node279.a('node.underlinevisible',false); Node279.a('node.underlineBorderWidth', 1); } dataModel.add(Node279); zoomNodeList.push({ node: Node279, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node280 = new ht.Node(); var Node280textStart, Node280textWidth, Node280lineStart, Node280align = 'left', Node280fontSize = 13.3333*_ratio.ratioY,Node280width = 29*_ratio.ratioX, Node280height = 25*_ratio.ratioY; (function () { if (Node280align === 'left') { Node280textStart = Node280fontSize * 0.2 > 2 ? Node280fontSize * 0.2 - 4 : Node280fontSize * 0.2 - 9; Node280textWidth = Node280width; Node280lineStart = 1; } else if (Node280align === 'right') { Node280textStart = 0; Node280textWidth =Node280fontSize <= 8 ? Node280width + Node280fontSize * 0.2 + 6 : Node280width - Node280fontSize * 0.2; Node280lineStart = (Node280width - (ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node280align === 'center') { Node280textStart = -3; Node280textWidth = Node280width; Node280lineStart = Node280width - ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width - 11; } })(); Node280.setImage(GD.getTextJSON(Node280width, Node280height, true, false, false, ' '+ Node280fontSize + 'px "UniDreamLED"')) Node280.setPosition(1866*ratio.ratioX, 553*ratio.ratioY); Node280.setWidth(Node280width); Node280.setHeight(Node280height); Node280._nodeType = 'text'; Node280._disallowEvert = true; Node280.setRotation(0*Math.PI/180); Node280.a('node.width', Node280width); Node280.a('node.height', Node280height); Node280.a('node.rect', [0, 0, Node280width, Node280height]); Node280.a('node.bordercolor','rgba(64,64,64,1)'); Node280.a('node.borderwidth', 0); Node280.a('node.background','' || 'rgba(0,0,0,0)'); Node280.a('node.gradient',''); Node280.a('node.gradientcolor',''); Node280.a('node.text','台'); Node280.a('node.textalign','left'); Node280.a('node.textvAlign','middle'); Node280.a('node.textrect', [Node280textStart, 0, Node280textWidth, Node280height]); Node280.a('node.color','rgba(64,64,64,1)'); Node280.a('node.font',' '+ Node280fontSize + 'px "UniDreamLED"'); Node280.a('node.textvisible',true); Node280.a('node.linefeed',false); if (false) { Node280.a('node.textfunc',function(g) { g.beginPath(); var str=Node280.a('node.text') || '台'; var color=Node280.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node280width,Node280height,13.3333*_ratio.ratioY,"left",color,' '+ Node280fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node280.a('node.underlinepoints',[Node280lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node280fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width + 6, (Node280height - Node280fontSize) * 0.5*_ratio.ratioY + Node280fontSize + 2 ]); Node280.a('node.underlinevisible',false); Node280.a('node.underlineBorderWidth', 1); } dataModel.add(Node280); zoomNodeList.push({ node: Node280, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node281 = new ht.Node(); var Node281textStart, Node281textWidth, Node281lineStart, Node281align = 'left', Node281fontSize = 13.3333*_ratio.ratioY,Node281width = 29*_ratio.ratioX, Node281height = 25*_ratio.ratioY; (function () { if (Node281align === 'left') { Node281textStart = Node281fontSize * 0.2 > 2 ? Node281fontSize * 0.2 - 4 : Node281fontSize * 0.2 - 9; Node281textWidth = Node281width; Node281lineStart = 1; } else if (Node281align === 'right') { Node281textStart = 0; Node281textWidth =Node281fontSize <= 8 ? Node281width + Node281fontSize * 0.2 + 6 : Node281width - Node281fontSize * 0.2; Node281lineStart = (Node281width - (ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node281align === 'center') { Node281textStart = -3; Node281textWidth = Node281width; Node281lineStart = Node281width - ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width - 11; } })(); Node281.setImage(GD.getTextJSON(Node281width, Node281height, true, false, false, ' '+ Node281fontSize + 'px "UniDreamLED"')) Node281.setPosition(1867*ratio.ratioX, 582*ratio.ratioY); Node281.setWidth(Node281width); Node281.setHeight(Node281height); Node281._nodeType = 'text'; Node281._disallowEvert = true; Node281.setRotation(0*Math.PI/180); Node281.a('node.width', Node281width); Node281.a('node.height', Node281height); Node281.a('node.rect', [0, 0, Node281width, Node281height]); Node281.a('node.bordercolor','rgba(64,64,64,1)'); Node281.a('node.borderwidth', 0); Node281.a('node.background','' || 'rgba(0,0,0,0)'); Node281.a('node.gradient',''); Node281.a('node.gradientcolor',''); Node281.a('node.text','台'); Node281.a('node.textalign','left'); Node281.a('node.textvAlign','middle'); Node281.a('node.textrect', [Node281textStart, 0, Node281textWidth, Node281height]); Node281.a('node.color','rgba(64,64,64,1)'); Node281.a('node.font',' '+ Node281fontSize + 'px "UniDreamLED"'); Node281.a('node.textvisible',true); Node281.a('node.linefeed',false); if (false) { Node281.a('node.textfunc',function(g) { g.beginPath(); var str=Node281.a('node.text') || '台'; var color=Node281.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node281width,Node281height,13.3333*_ratio.ratioY,"left",color,' '+ Node281fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node281.a('node.underlinepoints',[Node281lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node281fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width + 6, (Node281height - Node281fontSize) * 0.5*_ratio.ratioY + Node281fontSize + 2 ]); Node281.a('node.underlinevisible',false); Node281.a('node.underlineBorderWidth', 1); } dataModel.add(Node281); zoomNodeList.push({ node: Node281, borderWidth: 0, attr: 'node.borderwidth' }); option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node282 = new ht.HtmlNode(); Node282.setPosition({'x':448*ratio.ratioX,'y':484*ratio.ratioY}); Node282.setWidth(180*_ratio.ratioX); Node282.setHeight(97*_ratio.ratioY); Node282.setScalable(false); Node282.setRotation(0); Node282.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node282.setHtml(chart); var Node282_chart = chart._chart; dataModel.add(Node282);option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node283 = new ht.HtmlNode(); Node283.setPosition({'x':826*ratio.ratioX,'y':485*ratio.ratioY}); Node283.setWidth(180*_ratio.ratioX); Node283.setHeight(97*_ratio.ratioY); Node283.setScalable(false); Node283.setRotation(0); Node283.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node283.setHtml(chart); var Node283_chart = chart._chart; dataModel.add(Node283);option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node284 = new ht.HtmlNode(); Node284.setPosition({'x':1205*ratio.ratioX,'y':485*ratio.ratioY}); Node284.setWidth(180*_ratio.ratioX); Node284.setHeight(97*_ratio.ratioY); Node284.setScalable(false); Node284.setRotation(0); Node284.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node284.setHtml(chart); var Node284_chart = chart._chart; dataModel.add(Node284);option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node285 = new ht.HtmlNode(); Node285.setPosition({'x':1582*ratio.ratioX,'y':486*ratio.ratioY}); Node285.setWidth(180*_ratio.ratioX); Node285.setHeight(97*_ratio.ratioY); Node285.setScalable(false); Node285.setRotation(0); Node285.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node285.setHtml(chart); var Node285_chart = chart._chart; dataModel.add(Node285);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node286type = 'rect'; var Node286 = new ht.Node(), Node286BorderWidth = 0*2; if (Node286type === 'arc') { Node286BorderWidth *= 0; } Node286.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node286type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node286.setPosition(226*ratio.ratioX, 784*ratio.ratioY); Node286.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node286.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node286.a('node.width', 66*_ratio.ratioX); Node286.a('node.height', 30*_ratio.ratioY); Node286.a('node.type', Node286type); Node286.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node286.a('node.background', 'rgba(245,245,245,1)'); Node286.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node286.a('node.gradient', ''); Node286.a('node.borderwidth', Node286BorderWidth); Node286.a('node.color', 'rgba(224,224,224,0)'); Node286.a('node.fillrect', [0,0,0,0]); Node286.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node286.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node286.a('node.fillgradient', ''); if (Node286type !== 'rect') { Node286.a('node.arcFrom', parseFloat('@arcFrom@')); Node286.a('node.arcTo', parseFloat('@arcTo@')); Node286.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node286type === 'arc') { Node286.a('node.arcOval', true); } Node286.setRotation(0*Math.PI/180); Node286.borderWidth = Node286BorderWidth; Node286.borderFillwidth = Node286BorderWidth; dataModel.add(Node286); Node286._nodename = 'Node286' Node286._nodeType = 'rect'; zoomNodeList.push({ node: Node286, 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); } })(Node286, Node286.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node287type = 'rect'; var Node287 = new ht.Node(), Node287BorderWidth = 0*2; if (Node287type === 'arc') { Node287BorderWidth *= 0; } Node287.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node287type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node287.setPosition(226*ratio.ratioX, 753*ratio.ratioY); Node287.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node287.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node287.a('node.width', 66*_ratio.ratioX); Node287.a('node.height', 30*_ratio.ratioY); Node287.a('node.type', Node287type); Node287.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node287.a('node.background', 'rgba(245,245,245,1)'); Node287.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node287.a('node.gradient', ''); Node287.a('node.borderwidth', Node287BorderWidth); Node287.a('node.color', 'rgba(224,224,224,0)'); Node287.a('node.fillrect', [0,0,0,0]); Node287.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node287.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node287.a('node.fillgradient', ''); if (Node287type !== 'rect') { Node287.a('node.arcFrom', parseFloat('@arcFrom@')); Node287.a('node.arcTo', parseFloat('@arcTo@')); Node287.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node287type === 'arc') { Node287.a('node.arcOval', true); } Node287.setRotation(0*Math.PI/180); Node287.borderWidth = Node287BorderWidth; Node287.borderFillwidth = Node287BorderWidth; dataModel.add(Node287); Node287._nodename = 'Node287' Node287._nodeType = 'rect'; zoomNodeList.push({ node: Node287, 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); } })(Node287, Node287.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node288type = 'rect'; var Node288 = new ht.Node(), Node288BorderWidth = 0*2; if (Node288type === 'arc') { Node288BorderWidth *= 0; } Node288.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node288type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node288.setPosition(226*ratio.ratioX, 722*ratio.ratioY); Node288.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node288.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node288.a('node.width', 66*_ratio.ratioX); Node288.a('node.height', 30*_ratio.ratioY); Node288.a('node.type', Node288type); Node288.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node288.a('node.background', 'rgba(245,245,245,1)'); Node288.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node288.a('node.gradient', ''); Node288.a('node.borderwidth', Node288BorderWidth); Node288.a('node.color', 'rgba(224,224,224,0)'); Node288.a('node.fillrect', [0,0,0,0]); Node288.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node288.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node288.a('node.fillgradient', ''); if (Node288type !== 'rect') { Node288.a('node.arcFrom', parseFloat('@arcFrom@')); Node288.a('node.arcTo', parseFloat('@arcTo@')); Node288.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node288type === 'arc') { Node288.a('node.arcOval', true); } Node288.setRotation(0*Math.PI/180); Node288.borderWidth = Node288BorderWidth; Node288.borderFillwidth = Node288BorderWidth; dataModel.add(Node288); Node288._nodename = 'Node288' Node288._nodeType = 'rect'; zoomNodeList.push({ node: Node288, 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); } })(Node288, Node288.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node289type = 'rect'; var Node289 = new ht.Node(), Node289BorderWidth = 0*2; if (Node289type === 'arc') { Node289BorderWidth *= 0; } Node289.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node289type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node289.setPosition(37*ratio.ratioX, 784*ratio.ratioY); Node289.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node289.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node289.a('node.width', 66*_ratio.ratioX); Node289.a('node.height', 30*_ratio.ratioY); Node289.a('node.type', Node289type); Node289.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node289.a('node.background', 'rgba(245,245,245,1)'); Node289.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node289.a('node.gradient', ''); Node289.a('node.borderwidth', Node289BorderWidth); Node289.a('node.color', 'rgba(224,224,224,0)'); Node289.a('node.fillrect', [0,0,0,0]); Node289.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node289.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node289.a('node.fillgradient', ''); if (Node289type !== 'rect') { Node289.a('node.arcFrom', parseFloat('@arcFrom@')); Node289.a('node.arcTo', parseFloat('@arcTo@')); Node289.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node289type === 'arc') { Node289.a('node.arcOval', true); } Node289.setRotation(0*Math.PI/180); Node289.borderWidth = Node289BorderWidth; Node289.borderFillwidth = Node289BorderWidth; dataModel.add(Node289); Node289._nodename = 'Node289' Node289._nodeType = 'rect'; zoomNodeList.push({ node: Node289, 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); } })(Node289, Node289.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node290type = 'rect'; var Node290 = new ht.Node(), Node290BorderWidth = 0*2; if (Node290type === 'arc') { Node290BorderWidth *= 0; } Node290.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node290type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node290.setPosition(37*ratio.ratioX, 752*ratio.ratioY); Node290.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node290.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node290.a('node.width', 66*_ratio.ratioX); Node290.a('node.height', 30*_ratio.ratioY); Node290.a('node.type', Node290type); Node290.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node290.a('node.background', 'rgba(245,245,245,1)'); Node290.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node290.a('node.gradient', ''); Node290.a('node.borderwidth', Node290BorderWidth); Node290.a('node.color', 'rgba(224,224,224,0)'); Node290.a('node.fillrect', [0,0,0,0]); Node290.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node290.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node290.a('node.fillgradient', ''); if (Node290type !== 'rect') { Node290.a('node.arcFrom', parseFloat('@arcFrom@')); Node290.a('node.arcTo', parseFloat('@arcTo@')); Node290.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node290type === 'arc') { Node290.a('node.arcOval', true); } Node290.setRotation(0*Math.PI/180); Node290.borderWidth = Node290BorderWidth; Node290.borderFillwidth = Node290BorderWidth; dataModel.add(Node290); Node290._nodename = 'Node290' Node290._nodeType = 'rect'; zoomNodeList.push({ node: Node290, 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); } })(Node290, Node290.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node291type = 'rect'; var Node291 = new ht.Node(), Node291BorderWidth = 0*2; if (Node291type === 'arc') { Node291BorderWidth *= 0; } Node291.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node291type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node291.setPosition(38*ratio.ratioX, 721*ratio.ratioY); Node291.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node291.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node291.a('node.width', 66*_ratio.ratioX); Node291.a('node.height', 30*_ratio.ratioY); Node291.a('node.type', Node291type); Node291.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node291.a('node.background', 'rgba(245,245,245,1)'); Node291.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node291.a('node.gradient', ''); Node291.a('node.borderwidth', Node291BorderWidth); Node291.a('node.color', 'rgba(224,224,224,0)'); Node291.a('node.fillrect', [0,0,0,0]); Node291.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node291.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node291.a('node.fillgradient', ''); if (Node291type !== 'rect') { Node291.a('node.arcFrom', parseFloat('@arcFrom@')); Node291.a('node.arcTo', parseFloat('@arcTo@')); Node291.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node291type === 'arc') { Node291.a('node.arcOval', true); } Node291.setRotation(0*Math.PI/180); Node291.borderWidth = Node291BorderWidth; Node291.borderFillwidth = Node291BorderWidth; dataModel.add(Node291); Node291._nodename = 'Node291' Node291._nodeType = 'rect'; zoomNodeList.push({ node: Node291, 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); } })(Node291, Node291.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node292= new ht.Node(); Node292._borderWidth = 1; Node292.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node292._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node292.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node292.background'}, gradient: {value:'', func: 'attr@Node292.gradient'}, gradientColor:{value:'', func: 'attr@Node292.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node292.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node292.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node292.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node292.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node292.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node292.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node292.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node292.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node292.borderPattern'} } ] }); var Node292borderwidth = 1; var Node292borderFillwidth = 1*2; Node292 .setPosition(190*ratio.ratioX,654*ratio.ratioY); Node292.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node292.setRotation(0*Math.PI/180); Node292.s({'pixelPerfect':true}); Node292.a('Node292.borderwidth',1); Node292.a('Node292.color','@bordercolor@'); Node292.a('Node292.background','rgba(255,255,255,0.003921569)'); Node292.a('Node292.gradient',''); Node292.a('Node292.gradientcolor',''); Node292.a('Node292.borderPattern',getDashStyle("Solid")); Node292.a('Node292.fillrect',[0,0,0,0]); Node292.a('Node292.fillbackcolor','rgba(0, 0, 0, 0)'); Node292.a('Node292.fillgradientcolor','rgba(0, 0, 0, 0)'); Node292.a('Node292.fillgradient',''); Node292borderwidth=1; dataModel.add(Node292); Node292.borderWidth = 1; Node292.borderFillwidth = 1*2; Node292._nodename = 'Node292'; Node292._nodeType = 'roundrect'; zoomNodeList.push({ node: Node292, attr: 'Node292.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node292.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node292.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node292, Node292.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node293 = new ht.Node(); var Node293textStart, Node293textWidth, Node293lineStart, Node293align = 'left', Node293fontSize = 11.99997*_ratio.ratioY,Node293width = 150*_ratio.ratioX, Node293height = 25*_ratio.ratioY; (function () { if (Node293align === 'left') { Node293textStart = Node293fontSize * 0.2 > 2 ? Node293fontSize * 0.2 - 4 : Node293fontSize * 0.2 - 9; Node293textWidth = Node293width; Node293lineStart = 1; } else if (Node293align === 'right') { Node293textStart = 0; Node293textWidth =Node293fontSize <= 8 ? Node293width + Node293fontSize * 0.2 + 6 : Node293width - Node293fontSize * 0.2; Node293lineStart = (Node293width - (ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node293align === 'center') { Node293textStart = -3; Node293textWidth = Node293width; Node293lineStart = Node293width - ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width - 11; } })(); Node293.setImage(GD.getTextJSON(Node293width, Node293height, true, false, false, 'bold '+ Node293fontSize + 'px "Arial"')) Node293.setPosition(85*ratio.ratioX, 618*ratio.ratioY); Node293.setWidth(Node293width); Node293.setHeight(Node293height); Node293._nodeType = 'text'; Node293._disallowEvert = true; Node293.setRotation(0*Math.PI/180); Node293.a('node.width', Node293width); Node293.a('node.height', Node293height); Node293.a('node.rect', [0, 0, Node293width, Node293height]); Node293.a('node.bordercolor','rgba(64,64,64,1)'); Node293.a('node.borderwidth', 0); Node293.a('node.background','' || 'rgba(0,0,0,0)'); Node293.a('node.gradient',''); Node293.a('node.gradientcolor',''); Node293.a('node.text','太旗卧牛山风电场'); Node293.a('node.textalign','left'); Node293.a('node.textvAlign','middle'); Node293.a('node.textrect', [Node293textStart, 0, Node293textWidth, Node293height]); Node293.a('node.color','rgba(64,64,64,1)'); Node293.a('node.font','bold '+ Node293fontSize + 'px "Arial"'); Node293.a('node.textvisible',true); Node293.a('node.linefeed',false); if (false) { Node293.a('node.textfunc',function(g) { g.beginPath(); var str=Node293.a('node.text') || '太旗卧牛山风电场'; var color=Node293.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node293width,Node293height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node293fontSize + 'px "Arial"', 0,g); }); } if (false) { Node293.a('node.underlinepoints',[Node293lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node293fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width + 6, (Node293height - Node293fontSize) * 0.5*_ratio.ratioY + Node293fontSize + 2 ]); Node293.a('node.underlinevisible',false); Node293.a('node.underlineBorderWidth', 1); } dataModel.add(Node293); zoomNodeList.push({ node: Node293, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node294 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 618*ratio.ratioY, 0, {text:'99',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node295 = new ht.HtmlNode(); Node295.setPosition({'x':70*ratio.ratioX,'y':687*ratio.ratioY}); Node295.setWidth(180*_ratio.ratioX); Node295.setHeight(97*_ratio.ratioY); Node295.setScalable(false); Node295.setRotation(0); Node295.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node295.setHtml(chart); var Node295_chart = chart._chart; dataModel.add(Node295);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node296 = new ht.Node(); var Node296textStart, Node296textWidth, Node296lineStart, Node296align = 'left', Node296fontSize = 11.99997*_ratio.ratioY,Node296width = 40*_ratio.ratioX, Node296height = 21*_ratio.ratioY; (function () { if (Node296align === 'left') { Node296textStart = Node296fontSize * 0.2 > 2 ? Node296fontSize * 0.2 - 4 : Node296fontSize * 0.2 - 9; Node296textWidth = Node296width; Node296lineStart = 1; } else if (Node296align === 'right') { Node296textStart = 0; Node296textWidth =Node296fontSize <= 8 ? Node296width + Node296fontSize * 0.2 + 6 : Node296width - Node296fontSize * 0.2; Node296lineStart = (Node296width - (ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node296align === 'center') { Node296textStart = -3; Node296textWidth = Node296width; Node296lineStart = Node296width - ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width - 11; } })(); Node296.setImage(GD.getTextJSON(Node296width, Node296height, true, false, false, ' '+ Node296fontSize + 'px "UniDreamLED"')) Node296.setPosition(140*ratio.ratioX, 662*ratio.ratioY); Node296.setWidth(Node296width); Node296.setHeight(Node296height); Node296._nodeType = 'text'; Node296._disallowEvert = true; Node296.setRotation(0*Math.PI/180); Node296.a('node.width', Node296width); Node296.a('node.height', Node296height); Node296.a('node.rect', [0, 0, Node296width, Node296height]); Node296.a('node.bordercolor','rgba(0,0,0,1)'); Node296.a('node.borderwidth', 0); Node296.a('node.background','' || 'rgba(0,0,0,0)'); Node296.a('node.gradient',''); Node296.a('node.gradientcolor',''); Node296.a('node.text','4.48'); Node296.a('node.textalign','left'); Node296.a('node.textvAlign','middle'); Node296.a('node.textrect', [Node296textStart, 0, Node296textWidth, Node296height]); Node296.a('node.color','rgba(0,0,0,1)'); Node296.a('node.font',' '+ Node296fontSize + 'px "UniDreamLED"'); Node296.a('node.textvisible',true); Node296.a('node.linefeed',false); if (false) { Node296.a('node.textfunc',function(g) { g.beginPath(); var str=Node296.a('node.text') || '4.48'; var color=Node296.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node296width,Node296height,11.99997*_ratio.ratioY,"left",color,' '+ Node296fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node296.a('node.underlinepoints',[Node296lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node296fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width + 6, (Node296height - Node296fontSize) * 0.5*_ratio.ratioY + Node296fontSize + 2 ]); Node296.a('node.underlinevisible',false); Node296.a('node.underlineBorderWidth', 1); } dataModel.add(Node296); zoomNodeList.push({ node: Node296, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node297 = new ht.Node(); var Node297textStart, Node297textWidth, Node297lineStart, Node297align = 'left', Node297fontSize = 11.99997*_ratio.ratioY,Node297width = 40*_ratio.ratioX, Node297height = 21*_ratio.ratioY; (function () { if (Node297align === 'left') { Node297textStart = Node297fontSize * 0.2 > 2 ? Node297fontSize * 0.2 - 4 : Node297fontSize * 0.2 - 9; Node297textWidth = Node297width; Node297lineStart = 1; } else if (Node297align === 'right') { Node297textStart = 0; Node297textWidth =Node297fontSize <= 8 ? Node297width + Node297fontSize * 0.2 + 6 : Node297width - Node297fontSize * 0.2; Node297lineStart = (Node297width - (ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node297align === 'center') { Node297textStart = -3; Node297textWidth = Node297width; Node297lineStart = Node297width - ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width - 11; } })(); Node297.setImage(GD.getTextJSON(Node297width, Node297height, true, false, false, ' '+ Node297fontSize + 'px "Arial"')) Node297.setPosition(140*ratio.ratioX, 683*ratio.ratioY); Node297.setWidth(Node297width); Node297.setHeight(Node297height); Node297._nodeType = 'text'; Node297._disallowEvert = true; Node297.setRotation(0*Math.PI/180); Node297.a('node.width', Node297width); Node297.a('node.height', Node297height); Node297.a('node.rect', [0, 0, Node297width, Node297height]); Node297.a('node.bordercolor','rgba(0,0,0,1)'); Node297.a('node.borderwidth', 0); Node297.a('node.background','' || 'rgba(0,0,0,0)'); Node297.a('node.gradient',''); Node297.a('node.gradientcolor',''); Node297.a('node.text','m/s'); Node297.a('node.textalign','left'); Node297.a('node.textvAlign','middle'); Node297.a('node.textrect', [Node297textStart, 0, Node297textWidth, Node297height]); Node297.a('node.color','rgba(0,0,0,1)'); Node297.a('node.font',' '+ Node297fontSize + 'px "Arial"'); Node297.a('node.textvisible',true); Node297.a('node.linefeed',false); if (false) { Node297.a('node.textfunc',function(g) { g.beginPath(); var str=Node297.a('node.text') || 'm/s'; var color=Node297.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node297width,Node297height,11.99997*_ratio.ratioY,"left",color,' '+ Node297fontSize + 'px "Arial"', 0,g); }); } if (false) { Node297.a('node.underlinepoints',[Node297lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node297fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width + 6, (Node297height - Node297fontSize) * 0.5*_ratio.ratioY + Node297fontSize + 2 ]); Node297.a('node.underlinevisible',false); Node297.a('node.underlineBorderWidth', 1); } dataModel.add(Node297); zoomNodeList.push({ node: Node297, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node298 = new ht.Node(); var Node298textStart, Node298textWidth, Node298lineStart, Node298align = 'left', Node298fontSize = 11.99997*_ratio.ratioY,Node298width = 40*_ratio.ratioX, Node298height = 21*_ratio.ratioY; (function () { if (Node298align === 'left') { Node298textStart = Node298fontSize * 0.2 > 2 ? Node298fontSize * 0.2 - 4 : Node298fontSize * 0.2 - 9; Node298textWidth = Node298width; Node298lineStart = 1; } else if (Node298align === 'right') { Node298textStart = 0; Node298textWidth =Node298fontSize <= 8 ? Node298width + Node298fontSize * 0.2 + 6 : Node298width - Node298fontSize * 0.2; Node298lineStart = (Node298width - (ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node298align === 'center') { Node298textStart = -3; Node298textWidth = Node298width; Node298lineStart = Node298width - ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width - 11; } })(); Node298.setImage(GD.getTextJSON(Node298width, Node298height, true, false, false, 'bold '+ Node298fontSize + 'px "Arial"')) Node298.setPosition(200*ratio.ratioX, 650*ratio.ratioY); Node298.setWidth(Node298width); Node298.setHeight(Node298height); Node298._nodeType = 'text'; Node298._disallowEvert = true; Node298.setRotation(0*Math.PI/180); Node298.a('node.width', Node298width); Node298.a('node.height', Node298height); Node298.a('node.rect', [0, 0, Node298width, Node298height]); Node298.a('node.bordercolor','rgba(64,64,64,1)'); Node298.a('node.borderwidth', 0); Node298.a('node.background','' || 'rgba(0,0,0,0)'); Node298.a('node.gradient',''); Node298.a('node.gradientcolor',''); Node298.a('node.text','功率'); Node298.a('node.textalign','left'); Node298.a('node.textvAlign','middle'); Node298.a('node.textrect', [Node298textStart, 0, Node298textWidth, Node298height]); Node298.a('node.color','rgba(64,64,64,1)'); Node298.a('node.font','bold '+ Node298fontSize + 'px "Arial"'); Node298.a('node.textvisible',true); Node298.a('node.linefeed',false); if (false) { Node298.a('node.textfunc',function(g) { g.beginPath(); var str=Node298.a('node.text') || '功率'; var color=Node298.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node298width,Node298height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node298fontSize + 'px "Arial"', 0,g); }); } if (false) { Node298.a('node.underlinepoints',[Node298lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node298fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width + 6, (Node298height - Node298fontSize) * 0.5*_ratio.ratioY + Node298fontSize + 2 ]); Node298.a('node.underlinevisible',false); Node298.a('node.underlineBorderWidth', 1); } dataModel.add(Node298); zoomNodeList.push({ node: Node298, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node299 = new ht.Node(); var Node299textStart, Node299textWidth, Node299lineStart, Node299align = 'left', Node299fontSize = 11.99997*_ratio.ratioY,Node299width = 44*_ratio.ratioX, Node299height = 21*_ratio.ratioY; (function () { if (Node299align === 'left') { Node299textStart = Node299fontSize * 0.2 > 2 ? Node299fontSize * 0.2 - 4 : Node299fontSize * 0.2 - 9; Node299textWidth = Node299width; Node299lineStart = 1; } else if (Node299align === 'right') { Node299textStart = 0; Node299textWidth =Node299fontSize <= 8 ? Node299width + Node299fontSize * 0.2 + 6 : Node299width - Node299fontSize * 0.2; Node299lineStart = (Node299width - (ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node299align === 'center') { Node299textStart = -3; Node299textWidth = Node299width; Node299lineStart = Node299width - ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width - 11; } })(); Node299.setImage(GD.getTextJSON(Node299width, Node299height, true, false, false, 'bold '+ Node299fontSize + 'px "Arial"')) Node299.setPosition(202*ratio.ratioX, 684*ratio.ratioY); Node299.setWidth(Node299width); Node299.setHeight(Node299height); Node299._nodeType = 'text'; Node299._disallowEvert = true; Node299.setRotation(0*Math.PI/180); Node299.a('node.width', Node299width); Node299.a('node.height', Node299height); Node299.a('node.rect', [0, 0, Node299width, Node299height]); Node299.a('node.bordercolor','rgba(64,64,64,1)'); Node299.a('node.borderwidth', 0); Node299.a('node.background','' || 'rgba(0,0,0,0)'); Node299.a('node.gradient',''); Node299.a('node.gradientcolor',''); Node299.a('node.text','发电量'); Node299.a('node.textalign','left'); Node299.a('node.textvAlign','middle'); Node299.a('node.textrect', [Node299textStart, 0, Node299textWidth, Node299height]); Node299.a('node.color','rgba(64,64,64,1)'); Node299.a('node.font','bold '+ Node299fontSize + 'px "Arial"'); Node299.a('node.textvisible',true); Node299.a('node.linefeed',false); if (false) { Node299.a('node.textfunc',function(g) { g.beginPath(); var str=Node299.a('node.text') || '发电量'; var color=Node299.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node299width,Node299height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node299fontSize + 'px "Arial"', 0,g); }); } if (false) { Node299.a('node.underlinepoints',[Node299lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node299fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width + 6, (Node299height - Node299fontSize) * 0.5*_ratio.ratioY + Node299fontSize + 2 ]); Node299.a('node.underlinevisible',false); Node299.a('node.underlineBorderWidth', 1); } dataModel.add(Node299); zoomNodeList.push({ node: Node299, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node300 = new ht.Node(); var Node300textStart, Node300textWidth, Node300lineStart, Node300align = 'left', Node300fontSize = 13.3333*_ratio.ratioY,Node300width = 29*_ratio.ratioX, Node300height = 25*_ratio.ratioY; (function () { if (Node300align === 'left') { Node300textStart = Node300fontSize * 0.2 > 2 ? Node300fontSize * 0.2 - 4 : Node300fontSize * 0.2 - 9; Node300textWidth = Node300width; Node300lineStart = 1; } else if (Node300align === 'right') { Node300textStart = 0; Node300textWidth =Node300fontSize <= 8 ? Node300width + Node300fontSize * 0.2 + 6 : Node300width - Node300fontSize * 0.2; Node300lineStart = (Node300width - (ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node300align === 'center') { Node300textStart = -3; Node300textWidth = Node300width; Node300lineStart = Node300width - ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width - 11; } })(); Node300.setImage(GD.getTextJSON(Node300width, Node300height, true, false, false, ' '+ Node300fontSize + 'px "Arial"')) Node300.setPosition(350*ratio.ratioX, 619*ratio.ratioY); Node300.setWidth(Node300width); Node300.setHeight(Node300height); Node300._nodeType = 'text'; Node300._disallowEvert = true; Node300.setRotation(0*Math.PI/180); Node300.a('node.width', Node300width); Node300.a('node.height', Node300height); Node300.a('node.rect', [0, 0, Node300width, Node300height]); Node300.a('node.bordercolor','rgba(64,64,64,1)'); Node300.a('node.borderwidth', 0); Node300.a('node.background','' || 'rgba(0,0,0,0)'); Node300.a('node.gradient',''); Node300.a('node.gradientcolor',''); Node300.a('node.text','台'); Node300.a('node.textalign','left'); Node300.a('node.textvAlign','middle'); Node300.a('node.textrect', [Node300textStart, 0, Node300textWidth, Node300height]); Node300.a('node.color','rgba(64,64,64,1)'); Node300.a('node.font',' '+ Node300fontSize + 'px "Arial"'); Node300.a('node.textvisible',true); Node300.a('node.linefeed',false); if (false) { Node300.a('node.textfunc',function(g) { g.beginPath(); var str=Node300.a('node.text') || '台'; var color=Node300.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node300width,Node300height,13.3333*_ratio.ratioY,"left",color,' '+ Node300fontSize + 'px "Arial"', 0,g); }); } if (false) { Node300.a('node.underlinepoints',[Node300lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node300fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width + 6, (Node300height - Node300fontSize) * 0.5*_ratio.ratioY + Node300fontSize + 2 ]); Node300.a('node.underlinevisible',false); Node300.a('node.underlineBorderWidth', 1); } dataModel.add(Node300); zoomNodeList.push({ node: Node300, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node301 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 650*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node302 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 650*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node303 = new ht.Node(); var Node303textStart, Node303textWidth, Node303lineStart, Node303align = 'left', Node303fontSize = 13.3333*_ratio.ratioY,Node303width = 29*_ratio.ratioX, Node303height = 25*_ratio.ratioY; (function () { if (Node303align === 'left') { Node303textStart = Node303fontSize * 0.2 > 2 ? Node303fontSize * 0.2 - 4 : Node303fontSize * 0.2 - 9; Node303textWidth = Node303width; Node303lineStart = 1; } else if (Node303align === 'right') { Node303textStart = 0; Node303textWidth =Node303fontSize <= 8 ? Node303width + Node303fontSize * 0.2 + 6 : Node303width - Node303fontSize * 0.2; Node303lineStart = (Node303width - (ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node303align === 'center') { Node303textStart = -3; Node303textWidth = Node303width; Node303lineStart = Node303width - ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width - 11; } })(); Node303.setImage(GD.getTextJSON(Node303width, Node303height, true, false, false, ' '+ Node303fontSize + 'px "Arial"')) Node303.setPosition(342*ratio.ratioX, 649*ratio.ratioY); Node303.setWidth(Node303width); Node303.setHeight(Node303height); Node303._nodeType = 'text'; Node303._disallowEvert = true; Node303.setRotation(0*Math.PI/180); Node303.a('node.width', Node303width); Node303.a('node.height', Node303height); Node303.a('node.rect', [0, 0, Node303width, Node303height]); Node303.a('node.bordercolor','rgba(64,64,64,1)'); Node303.a('node.borderwidth', 0); Node303.a('node.background','' || 'rgba(0,0,0,0)'); Node303.a('node.gradient',''); Node303.a('node.gradientcolor',''); Node303.a('node.text','MW'); Node303.a('node.textalign','left'); Node303.a('node.textvAlign','middle'); Node303.a('node.textrect', [Node303textStart, 0, Node303textWidth, Node303height]); Node303.a('node.color','rgba(64,64,64,1)'); Node303.a('node.font',' '+ Node303fontSize + 'px "Arial"'); Node303.a('node.textvisible',true); Node303.a('node.linefeed',false); if (false) { Node303.a('node.textfunc',function(g) { g.beginPath(); var str=Node303.a('node.text') || 'MW'; var color=Node303.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node303width,Node303height,13.3333*_ratio.ratioY,"left",color,' '+ Node303fontSize + 'px "Arial"', 0,g); }); } if (false) { Node303.a('node.underlinepoints',[Node303lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node303fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width + 6, (Node303height - Node303fontSize) * 0.5*_ratio.ratioY + Node303fontSize + 2 ]); Node303.a('node.underlinevisible',false); Node303.a('node.underlineBorderWidth', 1); } dataModel.add(Node303); zoomNodeList.push({ node: Node303, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node304 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 684*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node305 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 684*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node306 = new ht.Node(); var Node306textStart, Node306textWidth, Node306lineStart, Node306align = 'left', Node306fontSize = 13.3333*_ratio.ratioY,Node306width = 43*_ratio.ratioX, Node306height = 25*_ratio.ratioY; (function () { if (Node306align === 'left') { Node306textStart = Node306fontSize * 0.2 > 2 ? Node306fontSize * 0.2 - 4 : Node306fontSize * 0.2 - 9; Node306textWidth = Node306width; Node306lineStart = 1; } else if (Node306align === 'right') { Node306textStart = 0; Node306textWidth =Node306fontSize <= 8 ? Node306width + Node306fontSize * 0.2 + 6 : Node306width - Node306fontSize * 0.2; Node306lineStart = (Node306width - (ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node306align === 'center') { Node306textStart = -3; Node306textWidth = Node306width; Node306lineStart = Node306width - ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width - 11; } })(); Node306.setImage(GD.getTextJSON(Node306width, Node306height, true, false, false, ' '+ Node306fontSize + 'px "Arial"')) Node306.setPosition(350*ratio.ratioX, 684*ratio.ratioY); Node306.setWidth(Node306width); Node306.setHeight(Node306height); Node306._nodeType = 'text'; Node306._disallowEvert = true; Node306.setRotation(0*Math.PI/180); Node306.a('node.width', Node306width); Node306.a('node.height', Node306height); Node306.a('node.rect', [0, 0, Node306width, Node306height]); Node306.a('node.bordercolor','rgba(64,64,64,1)'); Node306.a('node.borderwidth', 0); Node306.a('node.background','' || 'rgba(0,0,0,0)'); Node306.a('node.gradient',''); Node306.a('node.gradientcolor',''); Node306.a('node.text','万kwh'); Node306.a('node.textalign','left'); Node306.a('node.textvAlign','middle'); Node306.a('node.textrect', [Node306textStart, 0, Node306textWidth, Node306height]); Node306.a('node.color','rgba(64,64,64,1)'); Node306.a('node.font',' '+ Node306fontSize + 'px "Arial"'); Node306.a('node.textvisible',true); Node306.a('node.linefeed',false); if (false) { Node306.a('node.textfunc',function(g) { g.beginPath(); var str=Node306.a('node.text') || '万kwh'; var color=Node306.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node306width,Node306height,13.3333*_ratio.ratioY,"left",color,' '+ Node306fontSize + 'px "Arial"', 0,g); }); } if (false) { Node306.a('node.underlinepoints',[Node306lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node306fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width + 6, (Node306height - Node306fontSize) * 0.5*_ratio.ratioY + Node306fontSize + 2 ]); Node306.a('node.underlinevisible',false); Node306.a('node.underlineBorderWidth', 1); } dataModel.add(Node306); zoomNodeList.push({ node: Node306, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node307type = 'rect'; var Node307 = new ht.Node(), Node307BorderWidth = 1*2; if (Node307type === 'arc') { Node307BorderWidth *= 1; } Node307.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node307type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node307.setPosition(190*ratio.ratioX, 752*ratio.ratioY); Node307.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node307.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node307.a('node.width', 373*_ratio.ratioX); Node307.a('node.height', 93*_ratio.ratioY); Node307.a('node.type', Node307type); Node307.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node307.a('node.background', 'rgba(255,255,255,0.003921569)'); Node307.a('node.gradientcolor', ''); Node307.a('node.gradient', ''); Node307.a('node.borderwidth', Node307BorderWidth); Node307.a('node.color', 'rgba(192,192,192,1)'); Node307.a('node.fillrect', [0,0,0,0]); Node307.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node307.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node307.a('node.fillgradient', ''); if (Node307type !== 'rect') { Node307.a('node.arcFrom', parseFloat('@arcFrom@')); Node307.a('node.arcTo', parseFloat('@arcTo@')); Node307.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node307type === 'arc') { Node307.a('node.arcOval', true); } Node307.setRotation(0*Math.PI/180); Node307.borderWidth = Node307BorderWidth; Node307.borderFillwidth = Node307BorderWidth; dataModel.add(Node307); Node307._nodename = 'Node307' Node307._nodeType = 'rect'; zoomNodeList.push({ node: Node307, 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); } })(Node307, Node307.getImage());var Node308points=[4, 737,377, 737], Node308rect=ht.Default.unionPoint([{x:4,y:737},{x:377,y:737}]), Node308compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node316fontSize * 0.2 - 4 : Node316fontSize * 0.2 - 9; Node316textWidth = Node316width; Node316lineStart = 1; } else if (Node316align === 'right') { Node316textStart = 0; Node316textWidth =Node316fontSize <= 8 ? Node316width + Node316fontSize * 0.2 + 6 : Node316width - Node316fontSize * 0.2; Node316lineStart = (Node316width - (ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node316align === 'center') { Node316textStart = -3; Node316textWidth = Node316width; Node316lineStart = Node316width - ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width - 11; } })(); Node316.setImage(GD.getTextJSON(Node316width, Node316height, true, false, false, ' '+ Node316fontSize + 'px "Arial"')) Node316.setPosition(36*ratio.ratioX, 723*ratio.ratioY); Node316.setWidth(Node316width); Node316.setHeight(Node316height); Node316._nodeType = 'text'; Node316._disallowEvert = true; Node316.setRotation(0*Math.PI/180); Node316.a('node.width', Node316width); Node316.a('node.height', Node316height); Node316.a('node.rect', [0, 0, Node316width, Node316height]); Node316.a('node.bordercolor','rgba(128,128,255,1)'); Node316.a('node.borderwidth', 0); Node316.a('node.background','' || 'rgba(0,0,0,0)'); Node316.a('node.gradient',''); Node316.a('node.gradientcolor',''); Node316.a('node.text','并网'); Node316.a('node.textalign','left'); Node316.a('node.textvAlign','middle'); Node316.a('node.textrect', [Node316textStart, 0, Node316textWidth, Node316height]); Node316.a('node.color','rgba(128,128,255,1)'); Node316.a('node.font',' '+ Node316fontSize + 'px "Arial"'); Node316.a('node.textvisible',true); Node316.a('node.linefeed',false); if (false) { Node316.a('node.textfunc',function(g) { g.beginPath(); var str=Node316.a('node.text') || '并网'; var color=Node316.a('node.color') || 'rgba(128,128,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node316width,Node316height,13.3333*_ratio.ratioY,"left",color,' '+ Node316fontSize + 'px "Arial"', 0,g); }); } if (false) { Node316.a('node.underlinepoints',[Node316lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node316fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width + 6, (Node316height - Node316fontSize) * 0.5*_ratio.ratioY + Node316fontSize + 2 ]); Node316.a('node.underlinevisible',false); Node316.a('node.underlineBorderWidth', 1); } dataModel.add(Node316); zoomNodeList.push({ node: Node316, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node317 = new ht.Node(); var Node317textStart, Node317textWidth, Node317lineStart, Node317align = 'left', Node317fontSize = 13.3333*_ratio.ratioY,Node317width = 39*_ratio.ratioX, Node317height = 16*_ratio.ratioY; (function () { if (Node317align === 'left') { Node317textStart = Node317fontSize * 0.2 > 2 ? Node317fontSize * 0.2 - 4 : Node317fontSize * 0.2 - 9; Node317textWidth = Node317width; Node317lineStart = 1; } else if (Node317align === 'right') { Node317textStart = 0; Node317textWidth =Node317fontSize <= 8 ? Node317width + Node317fontSize * 0.2 + 6 : Node317width - Node317fontSize * 0.2; Node317lineStart = (Node317width - (ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node317align === 'center') { Node317textStart = -3; Node317textWidth = Node317width; Node317lineStart = Node317width - ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width - 11; } })(); Node317.setImage(GD.getTextJSON(Node317width, Node317height, true, false, false, ' '+ Node317fontSize + 'px "Arial"')) Node317.setPosition(37*ratio.ratioX, 753*ratio.ratioY); Node317.setWidth(Node317width); Node317.setHeight(Node317height); Node317._nodeType = 'text'; Node317._disallowEvert = true; Node317.setRotation(0*Math.PI/180); Node317.a('node.width', Node317width); Node317.a('node.height', Node317height); Node317.a('node.rect', [0, 0, Node317width, Node317height]); Node317.a('node.bordercolor','rgba(192,64,0,1)'); Node317.a('node.borderwidth', 0); Node317.a('node.background','' || 'rgba(0,0,0,0)'); Node317.a('node.gradient',''); Node317.a('node.gradientcolor',''); Node317.a('node.text','维护'); Node317.a('node.textalign','left'); Node317.a('node.textvAlign','middle'); Node317.a('node.textrect', [Node317textStart, 0, Node317textWidth, Node317height]); Node317.a('node.color','rgba(192,64,0,1)'); Node317.a('node.font',' '+ Node317fontSize + 'px "Arial"'); Node317.a('node.textvisible',true); Node317.a('node.linefeed',false); if (false) { Node317.a('node.textfunc',function(g) { g.beginPath(); var str=Node317.a('node.text') || '维护'; var color=Node317.a('node.color') || 'rgba(192,64,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node317width,Node317height,13.3333*_ratio.ratioY,"left",color,' '+ Node317fontSize + 'px "Arial"', 0,g); }); } if (false) { Node317.a('node.underlinepoints',[Node317lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node317fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width + 6, (Node317height - Node317fontSize) * 0.5*_ratio.ratioY + Node317fontSize + 2 ]); Node317.a('node.underlinevisible',false); Node317.a('node.underlineBorderWidth', 1); } dataModel.add(Node317); zoomNodeList.push({ node: Node317, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node318 = new ht.Node(); var Node318textStart, Node318textWidth, Node318lineStart, Node318align = 'left', Node318fontSize = 13.3333*_ratio.ratioY,Node318width = 39*_ratio.ratioX, Node318height = 16*_ratio.ratioY; (function () { if (Node318align === 'left') { Node318textStart = Node318fontSize * 0.2 > 2 ? Node318fontSize * 0.2 - 4 : Node318fontSize * 0.2 - 9; Node318textWidth = Node318width; Node318lineStart = 1; } else if (Node318align === 'right') { Node318textStart = 0; Node318textWidth =Node318fontSize <= 8 ? Node318width + Node318fontSize * 0.2 + 6 : Node318width - Node318fontSize * 0.2; Node318lineStart = (Node318width - (ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node318align === 'center') { Node318textStart = -3; Node318textWidth = Node318width; Node318lineStart = Node318width - ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width - 11; } })(); Node318.setImage(GD.getTextJSON(Node318width, Node318height, true, false, false, ' '+ Node318fontSize + 'px "Arial"')) Node318.setPosition(37*ratio.ratioX, 783*ratio.ratioY); Node318.setWidth(Node318width); Node318.setHeight(Node318height); Node318._nodeType = 'text'; Node318._disallowEvert = true; Node318.setRotation(0*Math.PI/180); Node318.a('node.width', Node318width); Node318.a('node.height', Node318height); Node318.a('node.rect', [0, 0, Node318width, Node318height]); Node318.a('node.bordercolor','rgba(128,0,128,1)'); Node318.a('node.borderwidth', 0); Node318.a('node.background','' || 'rgba(0,0,0,0)'); Node318.a('node.gradient',''); Node318.a('node.gradientcolor',''); Node318.a('node.text','限电'); Node318.a('node.textalign','left'); Node318.a('node.textvAlign','middle'); Node318.a('node.textrect', [Node318textStart, 0, Node318textWidth, Node318height]); Node318.a('node.color','rgba(128,0,128,1)'); Node318.a('node.font',' '+ Node318fontSize + 'px "Arial"'); Node318.a('node.textvisible',true); Node318.a('node.linefeed',false); if (false) { Node318.a('node.textfunc',function(g) { g.beginPath(); var str=Node318.a('node.text') || '限电'; var color=Node318.a('node.color') || 'rgba(128,0,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node318width,Node318height,13.3333*_ratio.ratioY,"left",color,' '+ Node318fontSize + 'px "Arial"', 0,g); }); } if (false) { Node318.a('node.underlinepoints',[Node318lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node318fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width + 6, (Node318height - Node318fontSize) * 0.5*_ratio.ratioY + Node318fontSize + 2 ]); Node318.a('node.underlinevisible',false); Node318.a('node.underlineBorderWidth', 1); } dataModel.add(Node318); zoomNodeList.push({ node: Node318, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node319 = new ht.Node(); var Node319textStart, Node319textWidth, Node319lineStart, Node319align = 'left', Node319fontSize = 13.3333*_ratio.ratioY,Node319width = 39*_ratio.ratioX, Node319height = 16*_ratio.ratioY; (function () { if (Node319align === 'left') { Node319textStart = Node319fontSize * 0.2 > 2 ? Node319fontSize * 0.2 - 4 : Node319fontSize * 0.2 - 9; Node319textWidth = Node319width; Node319lineStart = 1; } else if (Node319align === 'right') { Node319textStart = 0; Node319textWidth =Node319fontSize <= 8 ? Node319width + Node319fontSize * 0.2 + 6 : Node319width - Node319fontSize * 0.2; Node319lineStart = (Node319width - (ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node319align === 'center') { Node319textStart = -3; Node319textWidth = Node319width; Node319lineStart = Node319width - ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width - 11; } })(); Node319.setImage(GD.getTextJSON(Node319width, Node319height, true, false, false, ' '+ Node319fontSize + 'px "Arial"')) Node319.setPosition(226*ratio.ratioX, 723*ratio.ratioY); Node319.setWidth(Node319width); Node319.setHeight(Node319height); Node319._nodeType = 'text'; Node319._disallowEvert = true; Node319.setRotation(0*Math.PI/180); Node319.a('node.width', Node319width); Node319.a('node.height', Node319height); Node319.a('node.rect', [0, 0, Node319width, Node319height]); Node319.a('node.bordercolor','rgba(0,128,0,1)'); Node319.a('node.borderwidth', 0); Node319.a('node.background','' || 'rgba(0,0,0,0)'); Node319.a('node.gradient',''); Node319.a('node.gradientcolor',''); Node319.a('node.text','待机'); Node319.a('node.textalign','left'); Node319.a('node.textvAlign','middle'); Node319.a('node.textrect', [Node319textStart, 0, Node319textWidth, Node319height]); Node319.a('node.color','rgba(0,128,0,1)'); Node319.a('node.font',' '+ Node319fontSize + 'px "Arial"'); Node319.a('node.textvisible',true); Node319.a('node.linefeed',false); if (false) { Node319.a('node.textfunc',function(g) { g.beginPath(); var str=Node319.a('node.text') || '待机'; var color=Node319.a('node.color') || 'rgba(0,128,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node319width,Node319height,13.3333*_ratio.ratioY,"left",color,' '+ Node319fontSize + 'px "Arial"', 0,g); }); } if (false) { Node319.a('node.underlinepoints',[Node319lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node319fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width + 6, (Node319height - Node319fontSize) * 0.5*_ratio.ratioY + Node319fontSize + 2 ]); Node319.a('node.underlinevisible',false); Node319.a('node.underlineBorderWidth', 1); } dataModel.add(Node319); zoomNodeList.push({ node: Node319, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node320 = new ht.Node(); var Node320textStart, Node320textWidth, Node320lineStart, Node320align = 'left', Node320fontSize = 13.3333*_ratio.ratioY,Node320width = 39*_ratio.ratioX, Node320height = 16*_ratio.ratioY; (function () { if (Node320align === 'left') { Node320textStart = Node320fontSize * 0.2 > 2 ? Node320fontSize * 0.2 - 4 : Node320fontSize * 0.2 - 9; Node320textWidth = Node320width; Node320lineStart = 1; } else if (Node320align === 'right') { Node320textStart = 0; Node320textWidth =Node320fontSize <= 8 ? Node320width + Node320fontSize * 0.2 + 6 : Node320width - Node320fontSize * 0.2; Node320lineStart = (Node320width - (ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node320align === 'center') { Node320textStart = -3; Node320textWidth = Node320width; Node320lineStart = Node320width - ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width - 11; } })(); Node320.setImage(GD.getTextJSON(Node320width, Node320height, true, false, false, ' '+ Node320fontSize + 'px "Arial"')) Node320.setPosition(227*ratio.ratioX, 753*ratio.ratioY); Node320.setWidth(Node320width); Node320.setHeight(Node320height); Node320._nodeType = 'text'; Node320._disallowEvert = true; Node320.setRotation(0*Math.PI/180); Node320.a('node.width', Node320width); Node320.a('node.height', Node320height); Node320.a('node.rect', [0, 0, Node320width, Node320height]); Node320.a('node.bordercolor','rgba(192,0,0,1)'); Node320.a('node.borderwidth', 0); Node320.a('node.background','' || 'rgba(0,0,0,0)'); Node320.a('node.gradient',''); Node320.a('node.gradientcolor',''); Node320.a('node.text','故障'); Node320.a('node.textalign','left'); Node320.a('node.textvAlign','middle'); Node320.a('node.textrect', [Node320textStart, 0, Node320textWidth, Node320height]); Node320.a('node.color','rgba(192,0,0,1)'); Node320.a('node.font',' '+ Node320fontSize + 'px "Arial"'); Node320.a('node.textvisible',true); Node320.a('node.linefeed',false); if (false) { Node320.a('node.textfunc',function(g) { g.beginPath(); var str=Node320.a('node.text') || '故障'; var color=Node320.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node320width,Node320height,13.3333*_ratio.ratioY,"left",color,' '+ Node320fontSize + 'px "Arial"', 0,g); }); } if (false) { Node320.a('node.underlinepoints',[Node320lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node320fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width + 6, (Node320height - Node320fontSize) * 0.5*_ratio.ratioY + Node320fontSize + 2 ]); Node320.a('node.underlinevisible',false); Node320.a('node.underlineBorderWidth', 1); } dataModel.add(Node320); zoomNodeList.push({ node: Node320, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node321 = new ht.Node(); var Node321textStart, Node321textWidth, Node321lineStart, Node321align = 'left', Node321fontSize = 13.3333*_ratio.ratioY,Node321width = 39*_ratio.ratioX, Node321height = 16*_ratio.ratioY; (function () { if (Node321align === 'left') { Node321textStart = Node321fontSize * 0.2 > 2 ? Node321fontSize * 0.2 - 4 : Node321fontSize * 0.2 - 9; Node321textWidth = Node321width; Node321lineStart = 1; } else if (Node321align === 'right') { Node321textStart = 0; Node321textWidth =Node321fontSize <= 8 ? Node321width + Node321fontSize * 0.2 + 6 : Node321width - Node321fontSize * 0.2; Node321lineStart = (Node321width - (ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node321align === 'center') { Node321textStart = -3; Node321textWidth = Node321width; Node321lineStart = Node321width - ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width - 11; } })(); Node321.setImage(GD.getTextJSON(Node321width, Node321height, true, false, false, ' '+ Node321fontSize + 'px "Arial"')) Node321.setPosition(227*ratio.ratioX, 783*ratio.ratioY); Node321.setWidth(Node321width); Node321.setHeight(Node321height); Node321._nodeType = 'text'; Node321._disallowEvert = true; Node321.setRotation(0*Math.PI/180); Node321.a('node.width', Node321width); Node321.a('node.height', Node321height); Node321.a('node.rect', [0, 0, Node321width, Node321height]); Node321.a('node.bordercolor','rgba(128,128,128,1)'); Node321.a('node.borderwidth', 0); Node321.a('node.background','' || 'rgba(0,0,0,0)'); Node321.a('node.gradient',''); Node321.a('node.gradientcolor',''); Node321.a('node.text','离线'); Node321.a('node.textalign','left'); Node321.a('node.textvAlign','middle'); Node321.a('node.textrect', [Node321textStart, 0, Node321textWidth, Node321height]); Node321.a('node.color','rgba(128,128,128,1)'); Node321.a('node.font',' '+ Node321fontSize + 'px "Arial"'); Node321.a('node.textvisible',true); Node321.a('node.linefeed',false); if (false) { Node321.a('node.textfunc',function(g) { g.beginPath(); var str=Node321.a('node.text') || '离线'; var color=Node321.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node321width,Node321height,13.3333*_ratio.ratioY,"left",color,' '+ Node321fontSize + 'px "Arial"', 0,g); }); } if (false) { Node321.a('node.underlinepoints',[Node321lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node321fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width + 6, (Node321height - Node321fontSize) * 0.5*_ratio.ratioY + Node321fontSize + 2 ]); Node321.a('node.underlinevisible',false); Node321.a('node.underlineBorderWidth', 1); } dataModel.add(Node321); zoomNodeList.push({ node: Node321, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node322 = new ht.Node(); var Node322textStart, Node322textWidth, Node322lineStart, Node322align = 'left', Node322fontSize = 13.3333*_ratio.ratioY,Node322width = 29*_ratio.ratioX, Node322height = 25*_ratio.ratioY; (function () { if (Node322align === 'left') { Node322textStart = Node322fontSize * 0.2 > 2 ? Node322fontSize * 0.2 - 4 : Node322fontSize * 0.2 - 9; Node322textWidth = Node322width; Node322lineStart = 1; } else if (Node322align === 'right') { Node322textStart = 0; Node322textWidth =Node322fontSize <= 8 ? Node322width + Node322fontSize * 0.2 + 6 : Node322width - Node322fontSize * 0.2; Node322lineStart = (Node322width - (ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node322align === 'center') { Node322textStart = -3; Node322textWidth = Node322width; Node322lineStart = Node322width - ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width - 11; } })(); Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "UniDreamLED"')) Node322.setPosition(178*ratio.ratioX, 723*ratio.ratioY); Node322.setWidth(Node322width); Node322.setHeight(Node322height); Node322._nodeType = 'text'; Node322._disallowEvert = true; Node322.setRotation(0*Math.PI/180); Node322.a('node.width', Node322width); Node322.a('node.height', Node322height); Node322.a('node.rect', [0, 0, Node322width, Node322height]); Node322.a('node.bordercolor','rgba(64,64,64,1)'); Node322.a('node.borderwidth', 0); Node322.a('node.background','' || 'rgba(0,0,0,0)'); Node322.a('node.gradient',''); Node322.a('node.gradientcolor',''); Node322.a('node.text','台'); Node322.a('node.textalign','left'); Node322.a('node.textvAlign','middle'); Node322.a('node.textrect', [Node322textStart, 0, Node322textWidth, Node322height]); Node322.a('node.color','rgba(64,64,64,1)'); Node322.a('node.font',' '+ Node322fontSize + 'px "UniDreamLED"'); Node322.a('node.textvisible',true); Node322.a('node.linefeed',false); if (false) { Node322.a('node.textfunc',function(g) { g.beginPath(); var str=Node322.a('node.text') || '台'; var color=Node322.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node322width,Node322height,13.3333*_ratio.ratioY,"left",color,' '+ Node322fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node322.a('node.underlinepoints',[Node322lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]); Node322.a('node.underlinevisible',false); Node322.a('node.underlineBorderWidth', 1); } dataModel.add(Node322); zoomNodeList.push({ node: Node322, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node323 = new ht.Node(); var Node323textStart, Node323textWidth, Node323lineStart, Node323align = 'left', Node323fontSize = 13.3333*_ratio.ratioY,Node323width = 29*_ratio.ratioX, Node323height = 25*_ratio.ratioY; (function () { if (Node323align === 'left') { Node323textStart = Node323fontSize * 0.2 > 2 ? Node323fontSize * 0.2 - 4 : Node323fontSize * 0.2 - 9; Node323textWidth = Node323width; Node323lineStart = 1; } else if (Node323align === 'right') { Node323textStart = 0; Node323textWidth =Node323fontSize <= 8 ? Node323width + Node323fontSize * 0.2 + 6 : Node323width - Node323fontSize * 0.2; Node323lineStart = (Node323width - (ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node323align === 'center') { Node323textStart = -3; Node323textWidth = Node323width; Node323lineStart = Node323width - ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width - 11; } })(); Node323.setImage(GD.getTextJSON(Node323width, Node323height, true, false, false, ' '+ Node323fontSize + 'px "UniDreamLED"')) Node323.setPosition(178*ratio.ratioX, 754*ratio.ratioY); Node323.setWidth(Node323width); Node323.setHeight(Node323height); Node323._nodeType = 'text'; Node323._disallowEvert = true; Node323.setRotation(0*Math.PI/180); Node323.a('node.width', Node323width); Node323.a('node.height', Node323height); Node323.a('node.rect', [0, 0, Node323width, Node323height]); Node323.a('node.bordercolor','rgba(64,64,64,1)'); Node323.a('node.borderwidth', 0); Node323.a('node.background','' || 'rgba(0,0,0,0)'); Node323.a('node.gradient',''); Node323.a('node.gradientcolor',''); Node323.a('node.text','台'); Node323.a('node.textalign','left'); Node323.a('node.textvAlign','middle'); Node323.a('node.textrect', [Node323textStart, 0, Node323textWidth, Node323height]); Node323.a('node.color','rgba(64,64,64,1)'); Node323.a('node.font',' '+ Node323fontSize + 'px "UniDreamLED"'); Node323.a('node.textvisible',true); Node323.a('node.linefeed',false); if (false) { Node323.a('node.textfunc',function(g) { g.beginPath(); var str=Node323.a('node.text') || '台'; var color=Node323.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node323width,Node323height,13.3333*_ratio.ratioY,"left",color,' '+ Node323fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node323.a('node.underlinepoints',[Node323lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node323fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width + 6, (Node323height - Node323fontSize) * 0.5*_ratio.ratioY + Node323fontSize + 2 ]); Node323.a('node.underlinevisible',false); Node323.a('node.underlineBorderWidth', 1); } dataModel.add(Node323); zoomNodeList.push({ node: Node323, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node324 = new ht.Node(); var Node324textStart, Node324textWidth, Node324lineStart, Node324align = 'left', Node324fontSize = 13.3333*_ratio.ratioY,Node324width = 29*_ratio.ratioX, Node324height = 25*_ratio.ratioY; (function () { if (Node324align === 'left') { Node324textStart = Node324fontSize * 0.2 > 2 ? Node324fontSize * 0.2 - 4 : Node324fontSize * 0.2 - 9; Node324textWidth = Node324width; Node324lineStart = 1; } else if (Node324align === 'right') { Node324textStart = 0; Node324textWidth =Node324fontSize <= 8 ? Node324width + Node324fontSize * 0.2 + 6 : Node324width - Node324fontSize * 0.2; Node324lineStart = (Node324width - (ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node324align === 'center') { Node324textStart = -3; Node324textWidth = Node324width; Node324lineStart = Node324width - ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width - 11; } })(); Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "UniDreamLED"')) Node324.setPosition(179*ratio.ratioX, 783*ratio.ratioY); Node324.setWidth(Node324width); Node324.setHeight(Node324height); Node324._nodeType = 'text'; Node324._disallowEvert = true; Node324.setRotation(0*Math.PI/180); Node324.a('node.width', Node324width); Node324.a('node.height', Node324height); Node324.a('node.rect', [0, 0, Node324width, Node324height]); Node324.a('node.bordercolor','rgba(64,64,64,1)'); Node324.a('node.borderwidth', 0); Node324.a('node.background','' || 'rgba(0,0,0,0)'); Node324.a('node.gradient',''); Node324.a('node.gradientcolor',''); Node324.a('node.text','台'); Node324.a('node.textalign','left'); Node324.a('node.textvAlign','middle'); Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]); Node324.a('node.color','rgba(64,64,64,1)'); Node324.a('node.font',' '+ Node324fontSize + 'px "UniDreamLED"'); Node324.a('node.textvisible',true); Node324.a('node.linefeed',false); if (false) { Node324.a('node.textfunc',function(g) { g.beginPath(); var str=Node324.a('node.text') || '台'; var color=Node324.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node324width,Node324height,13.3333*_ratio.ratioY,"left",color,' '+ Node324fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node324.a('node.underlinepoints',[Node324lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]); Node324.a('node.underlinevisible',false); Node324.a('node.underlineBorderWidth', 1); } dataModel.add(Node324); zoomNodeList.push({ node: Node324, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node325 = new ht.Node(); var Node325textStart, Node325textWidth, Node325lineStart, Node325align = 'left', Node325fontSize = 13.3333*_ratio.ratioY,Node325width = 29*_ratio.ratioX, Node325height = 25*_ratio.ratioY; (function () { if (Node325align === 'left') { Node325textStart = Node325fontSize * 0.2 > 2 ? Node325fontSize * 0.2 - 4 : Node325fontSize * 0.2 - 9; Node325textWidth = Node325width; Node325lineStart = 1; } else if (Node325align === 'right') { Node325textStart = 0; Node325textWidth =Node325fontSize <= 8 ? Node325width + Node325fontSize * 0.2 + 6 : Node325width - Node325fontSize * 0.2; Node325lineStart = (Node325width - (ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node325align === 'center') { Node325textStart = -3; Node325textWidth = Node325width; Node325lineStart = Node325width - ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width - 11; } })(); Node325.setImage(GD.getTextJSON(Node325width, Node325height, true, false, false, ' '+ Node325fontSize + 'px "UniDreamLED"')) Node325.setPosition(123*ratio.ratioX, 723*ratio.ratioY); Node325.setWidth(Node325width); Node325.setHeight(Node325height); Node325._nodeType = 'text'; Node325._disallowEvert = true; Node325.setRotation(0*Math.PI/180); Node325.a('node.width', Node325width); Node325.a('node.height', Node325height); Node325.a('node.rect', [0, 0, Node325width, Node325height]); Node325.a('node.bordercolor','rgba(64,64,64,1)'); Node325.a('node.borderwidth', 0); Node325.a('node.background','' || 'rgba(0,0,0,0)'); Node325.a('node.gradient',''); Node325.a('node.gradientcolor',''); Node325.a('node.text','99'); Node325.a('node.textalign','left'); Node325.a('node.textvAlign','middle'); Node325.a('node.textrect', [Node325textStart, 0, Node325textWidth, Node325height]); Node325.a('node.color','rgba(64,64,64,1)'); Node325.a('node.font',' '+ Node325fontSize + 'px "UniDreamLED"'); Node325.a('node.textvisible',true); Node325.a('node.linefeed',false); if (false) { Node325.a('node.textfunc',function(g) { g.beginPath(); var str=Node325.a('node.text') || '99'; var color=Node325.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node325width,Node325height,13.3333*_ratio.ratioY,"left",color,' '+ Node325fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node325.a('node.underlinepoints',[Node325lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node325fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width + 6, (Node325height - Node325fontSize) * 0.5*_ratio.ratioY + Node325fontSize + 2 ]); Node325.a('node.underlinevisible',false); Node325.a('node.underlineBorderWidth', 1); } dataModel.add(Node325); zoomNodeList.push({ node: Node325, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node326 = new ht.Node(); var Node326textStart, Node326textWidth, Node326lineStart, Node326align = 'left', Node326fontSize = 13.3333*_ratio.ratioY,Node326width = 29*_ratio.ratioX, Node326height = 25*_ratio.ratioY; (function () { if (Node326align === 'left') { Node326textStart = Node326fontSize * 0.2 > 2 ? Node326fontSize * 0.2 - 4 : Node326fontSize * 0.2 - 9; Node326textWidth = Node326width; Node326lineStart = 1; } else if (Node326align === 'right') { Node326textStart = 0; Node326textWidth =Node326fontSize <= 8 ? Node326width + Node326fontSize * 0.2 + 6 : Node326width - Node326fontSize * 0.2; Node326lineStart = (Node326width - (ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node326align === 'center') { Node326textStart = -3; Node326textWidth = Node326width; Node326lineStart = Node326width - ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width - 11; } })(); Node326.setImage(GD.getTextJSON(Node326width, Node326height, true, false, false, ' '+ Node326fontSize + 'px "UniDreamLED"')) Node326.setPosition(123*ratio.ratioX, 752*ratio.ratioY); Node326.setWidth(Node326width); Node326.setHeight(Node326height); Node326._nodeType = 'text'; Node326._disallowEvert = true; Node326.setRotation(0*Math.PI/180); Node326.a('node.width', Node326width); Node326.a('node.height', Node326height); Node326.a('node.rect', [0, 0, Node326width, Node326height]); Node326.a('node.bordercolor','rgba(64,64,64,1)'); Node326.a('node.borderwidth', 0); Node326.a('node.background','' || 'rgba(0,0,0,0)'); Node326.a('node.gradient',''); Node326.a('node.gradientcolor',''); Node326.a('node.text','0'); Node326.a('node.textalign','left'); Node326.a('node.textvAlign','middle'); Node326.a('node.textrect', [Node326textStart, 0, Node326textWidth, Node326height]); Node326.a('node.color','rgba(64,64,64,1)'); Node326.a('node.font',' '+ Node326fontSize + 'px "UniDreamLED"'); Node326.a('node.textvisible',true); Node326.a('node.linefeed',false); if (false) { Node326.a('node.textfunc',function(g) { g.beginPath(); var str=Node326.a('node.text') || '0'; var color=Node326.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326width,Node326height,13.3333*_ratio.ratioY,"left",color,' '+ Node326fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node326.a('node.underlinepoints',[Node326lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node326fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width + 6, (Node326height - Node326fontSize) * 0.5*_ratio.ratioY + Node326fontSize + 2 ]); Node326.a('node.underlinevisible',false); Node326.a('node.underlineBorderWidth', 1); } dataModel.add(Node326); zoomNodeList.push({ node: Node326, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node327 = new ht.Node(); var Node327textStart, Node327textWidth, Node327lineStart, Node327align = 'left', Node327fontSize = 13.3333*_ratio.ratioY,Node327width = 29*_ratio.ratioX, Node327height = 25*_ratio.ratioY; (function () { if (Node327align === 'left') { Node327textStart = Node327fontSize * 0.2 > 2 ? Node327fontSize * 0.2 - 4 : Node327fontSize * 0.2 - 9; Node327textWidth = Node327width; Node327lineStart = 1; } else if (Node327align === 'right') { Node327textStart = 0; Node327textWidth =Node327fontSize <= 8 ? Node327width + Node327fontSize * 0.2 + 6 : Node327width - Node327fontSize * 0.2; Node327lineStart = (Node327width - (ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node327align === 'center') { Node327textStart = -3; Node327textWidth = Node327width; Node327lineStart = Node327width - ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width - 11; } })(); Node327.setImage(GD.getTextJSON(Node327width, Node327height, true, false, false, ' '+ Node327fontSize + 'px "UniDreamLED"')) Node327.setPosition(123*ratio.ratioX, 783*ratio.ratioY); Node327.setWidth(Node327width); Node327.setHeight(Node327height); Node327._nodeType = 'text'; Node327._disallowEvert = true; Node327.setRotation(0*Math.PI/180); Node327.a('node.width', Node327width); Node327.a('node.height', Node327height); Node327.a('node.rect', [0, 0, Node327width, Node327height]); Node327.a('node.bordercolor','rgba(64,64,64,1)'); Node327.a('node.borderwidth', 0); Node327.a('node.background','' || 'rgba(0,0,0,0)'); Node327.a('node.gradient',''); Node327.a('node.gradientcolor',''); Node327.a('node.text','0'); Node327.a('node.textalign','left'); Node327.a('node.textvAlign','middle'); Node327.a('node.textrect', [Node327textStart, 0, Node327textWidth, Node327height]); Node327.a('node.color','rgba(64,64,64,1)'); Node327.a('node.font',' '+ Node327fontSize + 'px "UniDreamLED"'); Node327.a('node.textvisible',true); Node327.a('node.linefeed',false); if (false) { Node327.a('node.textfunc',function(g) { g.beginPath(); var str=Node327.a('node.text') || '0'; var color=Node327.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327width,Node327height,13.3333*_ratio.ratioY,"left",color,' '+ Node327fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node327.a('node.underlinepoints',[Node327lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node327fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width + 6, (Node327height - Node327fontSize) * 0.5*_ratio.ratioY + Node327fontSize + 2 ]); Node327.a('node.underlinevisible',false); Node327.a('node.underlineBorderWidth', 1); } dataModel.add(Node327); zoomNodeList.push({ node: Node327, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node328 = new ht.Node(); var Node328textStart, Node328textWidth, Node328lineStart, Node328align = 'left', Node328fontSize = 13.3333*_ratio.ratioY,Node328width = 29*_ratio.ratioX, Node328height = 25*_ratio.ratioY; (function () { if (Node328align === 'left') { Node328textStart = Node328fontSize * 0.2 > 2 ? Node328fontSize * 0.2 - 4 : Node328fontSize * 0.2 - 9; Node328textWidth = Node328width; Node328lineStart = 1; } else if (Node328align === 'right') { Node328textStart = 0; Node328textWidth =Node328fontSize <= 8 ? Node328width + Node328fontSize * 0.2 + 6 : Node328width - Node328fontSize * 0.2; Node328lineStart = (Node328width - (ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node328align === 'center') { Node328textStart = -3; Node328textWidth = Node328width; Node328lineStart = Node328width - ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width - 11; } })(); Node328.setImage(GD.getTextJSON(Node328width, Node328height, true, false, false, ' '+ Node328fontSize + 'px "UniDreamLED"')) Node328.setPosition(300*ratio.ratioX, 723*ratio.ratioY); Node328.setWidth(Node328width); Node328.setHeight(Node328height); Node328._nodeType = 'text'; Node328._disallowEvert = true; Node328.setRotation(0*Math.PI/180); Node328.a('node.width', Node328width); Node328.a('node.height', Node328height); Node328.a('node.rect', [0, 0, Node328width, Node328height]); Node328.a('node.bordercolor','rgba(64,64,64,1)'); Node328.a('node.borderwidth', 0); Node328.a('node.background','' || 'rgba(0,0,0,0)'); Node328.a('node.gradient',''); Node328.a('node.gradientcolor',''); Node328.a('node.text','0'); Node328.a('node.textalign','left'); Node328.a('node.textvAlign','middle'); Node328.a('node.textrect', [Node328textStart, 0, Node328textWidth, Node328height]); Node328.a('node.color','rgba(64,64,64,1)'); Node328.a('node.font',' '+ Node328fontSize + 'px "UniDreamLED"'); Node328.a('node.textvisible',true); Node328.a('node.linefeed',false); if (false) { Node328.a('node.textfunc',function(g) { g.beginPath(); var str=Node328.a('node.text') || '0'; var color=Node328.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node328width,Node328height,13.3333*_ratio.ratioY,"left",color,' '+ Node328fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node328.a('node.underlinepoints',[Node328lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node328fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width + 6, (Node328height - Node328fontSize) * 0.5*_ratio.ratioY + Node328fontSize + 2 ]); Node328.a('node.underlinevisible',false); Node328.a('node.underlineBorderWidth', 1); } dataModel.add(Node328); zoomNodeList.push({ node: Node328, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node329 = new ht.Node(); var Node329textStart, Node329textWidth, Node329lineStart, Node329align = 'left', Node329fontSize = 13.3333*_ratio.ratioY,Node329width = 29*_ratio.ratioX, Node329height = 25*_ratio.ratioY; (function () { if (Node329align === 'left') { Node329textStart = Node329fontSize * 0.2 > 2 ? Node329fontSize * 0.2 - 4 : Node329fontSize * 0.2 - 9; Node329textWidth = Node329width; Node329lineStart = 1; } else if (Node329align === 'right') { Node329textStart = 0; Node329textWidth =Node329fontSize <= 8 ? Node329width + Node329fontSize * 0.2 + 6 : Node329width - Node329fontSize * 0.2; Node329lineStart = (Node329width - (ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node329align === 'center') { Node329textStart = -3; Node329textWidth = Node329width; Node329lineStart = Node329width - ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width - 11; } })(); Node329.setImage(GD.getTextJSON(Node329width, Node329height, true, false, false, ' '+ Node329fontSize + 'px "UniDreamLED"')) Node329.setPosition(300*ratio.ratioX, 752*ratio.ratioY); Node329.setWidth(Node329width); Node329.setHeight(Node329height); Node329._nodeType = 'text'; Node329._disallowEvert = true; Node329.setRotation(0*Math.PI/180); Node329.a('node.width', Node329width); Node329.a('node.height', Node329height); Node329.a('node.rect', [0, 0, Node329width, Node329height]); Node329.a('node.bordercolor','rgba(64,64,64,1)'); Node329.a('node.borderwidth', 0); Node329.a('node.background','' || 'rgba(0,0,0,0)'); Node329.a('node.gradient',''); Node329.a('node.gradientcolor',''); Node329.a('node.text','0'); Node329.a('node.textalign','left'); Node329.a('node.textvAlign','middle'); Node329.a('node.textrect', [Node329textStart, 0, Node329textWidth, Node329height]); Node329.a('node.color','rgba(64,64,64,1)'); Node329.a('node.font',' '+ Node329fontSize + 'px "UniDreamLED"'); Node329.a('node.textvisible',true); Node329.a('node.linefeed',false); if (false) { Node329.a('node.textfunc',function(g) { g.beginPath(); var str=Node329.a('node.text') || '0'; var color=Node329.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node329width,Node329height,13.3333*_ratio.ratioY,"left",color,' '+ Node329fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node329.a('node.underlinepoints',[Node329lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node329fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width + 6, (Node329height - Node329fontSize) * 0.5*_ratio.ratioY + Node329fontSize + 2 ]); Node329.a('node.underlinevisible',false); Node329.a('node.underlineBorderWidth', 1); } dataModel.add(Node329); zoomNodeList.push({ node: Node329, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node330 = new ht.Node(); var Node330textStart, Node330textWidth, Node330lineStart, Node330align = 'left', Node330fontSize = 13.3333*_ratio.ratioY,Node330width = 29*_ratio.ratioX, Node330height = 25*_ratio.ratioY; (function () { if (Node330align === 'left') { Node330textStart = Node330fontSize * 0.2 > 2 ? Node330fontSize * 0.2 - 4 : Node330fontSize * 0.2 - 9; Node330textWidth = Node330width; Node330lineStart = 1; } else if (Node330align === 'right') { Node330textStart = 0; Node330textWidth =Node330fontSize <= 8 ? Node330width + Node330fontSize * 0.2 + 6 : Node330width - Node330fontSize * 0.2; Node330lineStart = (Node330width - (ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node330align === 'center') { Node330textStart = -3; Node330textWidth = Node330width; Node330lineStart = Node330width - ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width - 11; } })(); Node330.setImage(GD.getTextJSON(Node330width, Node330height, true, false, false, ' '+ Node330fontSize + 'px "UniDreamLED"')) Node330.setPosition(300*ratio.ratioX, 783*ratio.ratioY); Node330.setWidth(Node330width); Node330.setHeight(Node330height); Node330._nodeType = 'text'; Node330._disallowEvert = true; Node330.setRotation(0*Math.PI/180); Node330.a('node.width', Node330width); Node330.a('node.height', Node330height); Node330.a('node.rect', [0, 0, Node330width, Node330height]); Node330.a('node.bordercolor','rgba(64,64,64,1)'); Node330.a('node.borderwidth', 0); Node330.a('node.background','' || 'rgba(0,0,0,0)'); Node330.a('node.gradient',''); Node330.a('node.gradientcolor',''); Node330.a('node.text','0'); Node330.a('node.textalign','left'); Node330.a('node.textvAlign','middle'); Node330.a('node.textrect', [Node330textStart, 0, Node330textWidth, Node330height]); Node330.a('node.color','rgba(64,64,64,1)'); Node330.a('node.font',' '+ Node330fontSize + 'px "UniDreamLED"'); Node330.a('node.textvisible',true); Node330.a('node.linefeed',false); if (false) { Node330.a('node.textfunc',function(g) { g.beginPath(); var str=Node330.a('node.text') || '0'; var color=Node330.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node330width,Node330height,13.3333*_ratio.ratioY,"left",color,' '+ Node330fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node330.a('node.underlinepoints',[Node330lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node330fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width + 6, (Node330height - Node330fontSize) * 0.5*_ratio.ratioY + Node330fontSize + 2 ]); Node330.a('node.underlinevisible',false); Node330.a('node.underlineBorderWidth', 1); } dataModel.add(Node330); zoomNodeList.push({ node: Node330, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node331 = new ht.Node(); var Node331textStart, Node331textWidth, Node331lineStart, Node331align = 'left', Node331fontSize = 13.3333*_ratio.ratioY,Node331width = 29*_ratio.ratioX, Node331height = 25*_ratio.ratioY; (function () { if (Node331align === 'left') { Node331textStart = Node331fontSize * 0.2 > 2 ? Node331fontSize * 0.2 - 4 : Node331fontSize * 0.2 - 9; Node331textWidth = Node331width; Node331lineStart = 1; } else if (Node331align === 'right') { Node331textStart = 0; Node331textWidth =Node331fontSize <= 8 ? Node331width + Node331fontSize * 0.2 + 6 : Node331width - Node331fontSize * 0.2; Node331lineStart = (Node331width - (ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node331align === 'center') { Node331textStart = -3; Node331textWidth = Node331width; Node331lineStart = Node331width - ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width - 11; } })(); Node331.setImage(GD.getTextJSON(Node331width, Node331height, true, false, false, ' '+ Node331fontSize + 'px "UniDreamLED"')) Node331.setPosition(354*ratio.ratioX, 722*ratio.ratioY); Node331.setWidth(Node331width); Node331.setHeight(Node331height); Node331._nodeType = 'text'; Node331._disallowEvert = true; Node331.setRotation(0*Math.PI/180); Node331.a('node.width', Node331width); Node331.a('node.height', Node331height); Node331.a('node.rect', [0, 0, Node331width, Node331height]); Node331.a('node.bordercolor','rgba(64,64,64,1)'); Node331.a('node.borderwidth', 0); Node331.a('node.background','' || 'rgba(0,0,0,0)'); Node331.a('node.gradient',''); Node331.a('node.gradientcolor',''); Node331.a('node.text','台'); Node331.a('node.textalign','left'); Node331.a('node.textvAlign','middle'); Node331.a('node.textrect', [Node331textStart, 0, Node331textWidth, Node331height]); Node331.a('node.color','rgba(64,64,64,1)'); Node331.a('node.font',' '+ Node331fontSize + 'px "UniDreamLED"'); Node331.a('node.textvisible',true); Node331.a('node.linefeed',false); if (false) { Node331.a('node.textfunc',function(g) { g.beginPath(); var str=Node331.a('node.text') || '台'; var color=Node331.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node331width,Node331height,13.3333*_ratio.ratioY,"left",color,' '+ Node331fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node331.a('node.underlinepoints',[Node331lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node331fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width + 6, (Node331height - Node331fontSize) * 0.5*_ratio.ratioY + Node331fontSize + 2 ]); Node331.a('node.underlinevisible',false); Node331.a('node.underlineBorderWidth', 1); } dataModel.add(Node331); zoomNodeList.push({ node: Node331, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node332 = new ht.Node(); var Node332textStart, Node332textWidth, Node332lineStart, Node332align = 'left', Node332fontSize = 13.3333*_ratio.ratioY,Node332width = 29*_ratio.ratioX, Node332height = 25*_ratio.ratioY; (function () { if (Node332align === 'left') { Node332textStart = Node332fontSize * 0.2 > 2 ? Node332fontSize * 0.2 - 4 : Node332fontSize * 0.2 - 9; Node332textWidth = Node332width; Node332lineStart = 1; } else if (Node332align === 'right') { Node332textStart = 0; Node332textWidth =Node332fontSize <= 8 ? Node332width + Node332fontSize * 0.2 + 6 : Node332width - Node332fontSize * 0.2; Node332lineStart = (Node332width - (ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node332align === 'center') { Node332textStart = -3; Node332textWidth = Node332width; Node332lineStart = Node332width - ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width - 11; } })(); Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "UniDreamLED"')) Node332.setPosition(354*ratio.ratioX, 753*ratio.ratioY); Node332.setWidth(Node332width); Node332.setHeight(Node332height); Node332._nodeType = 'text'; Node332._disallowEvert = true; Node332.setRotation(0*Math.PI/180); Node332.a('node.width', Node332width); Node332.a('node.height', Node332height); Node332.a('node.rect', [0, 0, Node332width, Node332height]); Node332.a('node.bordercolor','rgba(64,64,64,1)'); Node332.a('node.borderwidth', 0); Node332.a('node.background','' || 'rgba(0,0,0,0)'); Node332.a('node.gradient',''); Node332.a('node.gradientcolor',''); Node332.a('node.text','台'); Node332.a('node.textalign','left'); Node332.a('node.textvAlign','middle'); Node332.a('node.textrect', [Node332textStart, 0, Node332textWidth, Node332height]); Node332.a('node.color','rgba(64,64,64,1)'); Node332.a('node.font',' '+ Node332fontSize + 'px "UniDreamLED"'); Node332.a('node.textvisible',true); Node332.a('node.linefeed',false); if (false) { Node332.a('node.textfunc',function(g) { g.beginPath(); var str=Node332.a('node.text') || '台'; var color=Node332.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node332width,Node332height,13.3333*_ratio.ratioY,"left",color,' '+ Node332fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node332.a('node.underlinepoints',[Node332lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width + 6, (Node332height - Node332fontSize) * 0.5*_ratio.ratioY + Node332fontSize + 2 ]); Node332.a('node.underlinevisible',false); Node332.a('node.underlineBorderWidth', 1); } dataModel.add(Node332); zoomNodeList.push({ node: Node332, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node333 = new ht.Node(); var Node333textStart, Node333textWidth, Node333lineStart, Node333align = 'left', Node333fontSize = 13.3333*_ratio.ratioY,Node333width = 29*_ratio.ratioX, Node333height = 25*_ratio.ratioY; (function () { if (Node333align === 'left') { Node333textStart = Node333fontSize * 0.2 > 2 ? Node333fontSize * 0.2 - 4 : Node333fontSize * 0.2 - 9; Node333textWidth = Node333width; Node333lineStart = 1; } else if (Node333align === 'right') { Node333textStart = 0; Node333textWidth =Node333fontSize <= 8 ? Node333width + Node333fontSize * 0.2 + 6 : Node333width - Node333fontSize * 0.2; Node333lineStart = (Node333width - (ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node333align === 'center') { Node333textStart = -3; Node333textWidth = Node333width; Node333lineStart = Node333width - ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width - 11; } })(); Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "UniDreamLED"')) Node333.setPosition(355*ratio.ratioX, 782*ratio.ratioY); Node333.setWidth(Node333width); Node333.setHeight(Node333height); Node333._nodeType = 'text'; Node333._disallowEvert = true; Node333.setRotation(0*Math.PI/180); Node333.a('node.width', Node333width); Node333.a('node.height', Node333height); Node333.a('node.rect', [0, 0, Node333width, Node333height]); Node333.a('node.bordercolor','rgba(64,64,64,1)'); Node333.a('node.borderwidth', 0); Node333.a('node.background','' || 'rgba(0,0,0,0)'); Node333.a('node.gradient',''); Node333.a('node.gradientcolor',''); Node333.a('node.text','台'); Node333.a('node.textalign','left'); Node333.a('node.textvAlign','middle'); Node333.a('node.textrect', [Node333textStart, 0, Node333textWidth, Node333height]); Node333.a('node.color','rgba(64,64,64,1)'); Node333.a('node.font',' '+ Node333fontSize + 'px "UniDreamLED"'); Node333.a('node.textvisible',true); Node333.a('node.linefeed',false); if (false) { Node333.a('node.textfunc',function(g) { g.beginPath(); var str=Node333.a('node.text') || '台'; var color=Node333.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node333width,Node333height,13.3333*_ratio.ratioY,"left",color,' '+ Node333fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node333.a('node.underlinepoints',[Node333lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width + 6, (Node333height - Node333fontSize) * 0.5*_ratio.ratioY + Node333fontSize + 2 ]); Node333.a('node.underlinevisible',false); Node333.a('node.underlineBorderWidth', 1); } dataModel.add(Node333); zoomNodeList.push({ node: Node333, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node334type = 'rect'; var Node334 = new ht.Node(), Node334BorderWidth = 0*2; if (Node334type === 'arc') { Node334BorderWidth *= 0; } Node334.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node334type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node334.setPosition(603*ratio.ratioX, 784*ratio.ratioY); Node334.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node334.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node334.a('node.width', 66*_ratio.ratioX); Node334.a('node.height', 30*_ratio.ratioY); Node334.a('node.type', Node334type); Node334.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node334.a('node.background', 'rgba(245,245,245,1)'); Node334.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node334.a('node.gradient', ''); Node334.a('node.borderwidth', Node334BorderWidth); Node334.a('node.color', 'rgba(224,224,224,0)'); Node334.a('node.fillrect', [0,0,0,0]); Node334.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node334.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node334.a('node.fillgradient', ''); if (Node334type !== 'rect') { Node334.a('node.arcFrom', parseFloat('@arcFrom@')); Node334.a('node.arcTo', parseFloat('@arcTo@')); Node334.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node334type === 'arc') { Node334.a('node.arcOval', true); } Node334.setRotation(0*Math.PI/180); Node334.borderWidth = Node334BorderWidth; Node334.borderFillwidth = Node334BorderWidth; dataModel.add(Node334); Node334._nodename = 'Node334' Node334._nodeType = 'rect'; zoomNodeList.push({ node: Node334, 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); } })(Node334, Node334.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node335type = 'rect'; var Node335 = new ht.Node(), Node335BorderWidth = 0*2; if (Node335type === 'arc') { Node335BorderWidth *= 0; } Node335.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node335type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node335.setPosition(603*ratio.ratioX, 753*ratio.ratioY); Node335.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node335.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node335.a('node.width', 66*_ratio.ratioX); Node335.a('node.height', 30*_ratio.ratioY); Node335.a('node.type', Node335type); Node335.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node335.a('node.background', 'rgba(245,245,245,1)'); Node335.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node335.a('node.gradient', ''); Node335.a('node.borderwidth', Node335BorderWidth); Node335.a('node.color', 'rgba(224,224,224,0)'); Node335.a('node.fillrect', [0,0,0,0]); Node335.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node335.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node335.a('node.fillgradient', ''); if (Node335type !== 'rect') { Node335.a('node.arcFrom', parseFloat('@arcFrom@')); Node335.a('node.arcTo', parseFloat('@arcTo@')); Node335.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node335type === 'arc') { Node335.a('node.arcOval', true); } Node335.setRotation(0*Math.PI/180); Node335.borderWidth = Node335BorderWidth; Node335.borderFillwidth = Node335BorderWidth; dataModel.add(Node335); Node335._nodename = 'Node335' Node335._nodeType = 'rect'; zoomNodeList.push({ node: Node335, 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); } })(Node335, Node335.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node336type = 'rect'; var Node336 = new ht.Node(), Node336BorderWidth = 0*2; if (Node336type === 'arc') { Node336BorderWidth *= 0; } Node336.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node336type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node336.setPosition(603*ratio.ratioX, 722*ratio.ratioY); Node336.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node336.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node336.a('node.width', 66*_ratio.ratioX); Node336.a('node.height', 30*_ratio.ratioY); Node336.a('node.type', Node336type); Node336.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node336.a('node.background', 'rgba(245,245,245,1)'); Node336.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node336.a('node.gradient', ''); Node336.a('node.borderwidth', Node336BorderWidth); Node336.a('node.color', 'rgba(224,224,224,0)'); Node336.a('node.fillrect', [0,0,0,0]); Node336.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node336.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node336.a('node.fillgradient', ''); if (Node336type !== 'rect') { Node336.a('node.arcFrom', parseFloat('@arcFrom@')); Node336.a('node.arcTo', parseFloat('@arcTo@')); Node336.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node336type === 'arc') { Node336.a('node.arcOval', true); } Node336.setRotation(0*Math.PI/180); Node336.borderWidth = Node336BorderWidth; Node336.borderFillwidth = Node336BorderWidth; dataModel.add(Node336); Node336._nodename = 'Node336' Node336._nodeType = 'rect'; zoomNodeList.push({ node: Node336, 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); } })(Node336, Node336.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node337type = 'rect'; var Node337 = new ht.Node(), Node337BorderWidth = 0*2; if (Node337type === 'arc') { Node337BorderWidth *= 0; } Node337.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node337type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node337.setPosition(414*ratio.ratioX, 784*ratio.ratioY); Node337.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node337.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node337.a('node.width', 66*_ratio.ratioX); Node337.a('node.height', 30*_ratio.ratioY); Node337.a('node.type', Node337type); Node337.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node337.a('node.background', 'rgba(245,245,245,1)'); Node337.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node337.a('node.gradient', ''); Node337.a('node.borderwidth', Node337BorderWidth); Node337.a('node.color', 'rgba(224,224,224,0)'); Node337.a('node.fillrect', [0,0,0,0]); Node337.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node337.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node337.a('node.fillgradient', ''); if (Node337type !== 'rect') { Node337.a('node.arcFrom', parseFloat('@arcFrom@')); Node337.a('node.arcTo', parseFloat('@arcTo@')); Node337.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node337type === 'arc') { Node337.a('node.arcOval', true); } Node337.setRotation(0*Math.PI/180); Node337.borderWidth = Node337BorderWidth; Node337.borderFillwidth = Node337BorderWidth; dataModel.add(Node337); Node337._nodename = 'Node337' Node337._nodeType = 'rect'; zoomNodeList.push({ node: Node337, 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); } })(Node337, Node337.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node338type = 'rect'; var Node338 = new ht.Node(), Node338BorderWidth = 0*2; if (Node338type === 'arc') { Node338BorderWidth *= 0; } Node338.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node338type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node338.setPosition(414*ratio.ratioX, 752*ratio.ratioY); Node338.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node338.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node338.a('node.width', 66*_ratio.ratioX); Node338.a('node.height', 30*_ratio.ratioY); Node338.a('node.type', Node338type); Node338.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node338.a('node.background', 'rgba(245,245,245,1)'); Node338.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node338.a('node.gradient', ''); Node338.a('node.borderwidth', Node338BorderWidth); Node338.a('node.color', 'rgba(224,224,224,0)'); Node338.a('node.fillrect', [0,0,0,0]); Node338.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node338.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node338.a('node.fillgradient', ''); if (Node338type !== 'rect') { Node338.a('node.arcFrom', parseFloat('@arcFrom@')); Node338.a('node.arcTo', parseFloat('@arcTo@')); Node338.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node338type === 'arc') { Node338.a('node.arcOval', true); } Node338.setRotation(0*Math.PI/180); Node338.borderWidth = Node338BorderWidth; Node338.borderFillwidth = Node338BorderWidth; dataModel.add(Node338); Node338._nodename = 'Node338' Node338._nodeType = 'rect'; zoomNodeList.push({ node: Node338, 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); } })(Node338, Node338.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node339type = 'rect'; var Node339 = new ht.Node(), Node339BorderWidth = 0*2; if (Node339type === 'arc') { Node339BorderWidth *= 0; } Node339.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node339type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node339.setPosition(415*ratio.ratioX, 721*ratio.ratioY); Node339.setSize(66*_ratio.ratioX, 30*_ratio.ratioY); Node339.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node339.a('node.width', 66*_ratio.ratioX); Node339.a('node.height', 30*_ratio.ratioY); Node339.a('node.type', Node339type); Node339.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]); Node339.a('node.background', 'rgba(245,245,245,1)'); Node339.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node339.a('node.gradient', ''); Node339.a('node.borderwidth', Node339BorderWidth); Node339.a('node.color', 'rgba(224,224,224,0)'); Node339.a('node.fillrect', [0,0,0,0]); Node339.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node339.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node339.a('node.fillgradient', ''); if (Node339type !== 'rect') { Node339.a('node.arcFrom', parseFloat('@arcFrom@')); Node339.a('node.arcTo', parseFloat('@arcTo@')); Node339.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node339type === 'arc') { Node339.a('node.arcOval', true); } Node339.setRotation(0*Math.PI/180); Node339.borderWidth = Node339BorderWidth; Node339.borderFillwidth = Node339BorderWidth; dataModel.add(Node339); Node339._nodename = 'Node339' Node339._nodeType = 'rect'; zoomNodeList.push({ node: Node339, 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); } })(Node339, Node339.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node340= new ht.Node(); Node340._borderWidth = 1; Node340.setImage({ width: 373*_ratio.ratioX, height:103*_ratio.ratioY, clip:function(g, width, height, data){ drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node340._borderWidth); g.clip(); }, comps: [ { type: 'rect', rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node340.rect'}, background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node340.background'}, gradient: {value:'', func: 'attr@Node340.gradient'}, gradientColor:{value:'', func: 'attr@Node340.gradientcolor'}, borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node340.borderPattern'} }, { type: 'rect', rect: {value: [0, 0, 0, 0], func: 'attr@Node340.fillrect'}, background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node340.fillbackcolor'}, gradientColor: {value: '', func: 'attr@Node340.fillgradientcolor'}, gradient: {value: '', func: 'attr@Node340.fillgradient'} }, { type: 'rect', rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node340.rect'}, dash: false, borderwidth: {value: 1, func: 'attr@Node340.borderwidth'}, borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node340.color'}, borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node340.borderPattern'} } ] }); var Node340borderwidth = 1; var Node340borderFillwidth = 1*2; Node340 .setPosition(567*ratio.ratioX,654*ratio.ratioY); Node340.setSize(373*_ratio.ratioX, 103*_ratio.ratioY); Node340.setRotation(0*Math.PI/180); Node340.s({'pixelPerfect':true}); Node340.a('Node340.borderwidth',1); Node340.a('Node340.color','@bordercolor@'); Node340.a('Node340.background','rgba(255,255,255,0.003921569)'); Node340.a('Node340.gradient',''); Node340.a('Node340.gradientcolor',''); Node340.a('Node340.borderPattern',getDashStyle("Solid")); Node340.a('Node340.fillrect',[0,0,0,0]); Node340.a('Node340.fillbackcolor','rgba(0, 0, 0, 0)'); Node340.a('Node340.fillgradientcolor','rgba(0, 0, 0, 0)'); Node340.a('Node340.fillgradient',''); Node340borderwidth=1; dataModel.add(Node340); Node340.borderWidth = 1; Node340.borderFillwidth = 1*2; Node340._nodename = 'Node340'; Node340._nodeType = 'roundrect'; zoomNodeList.push({ node: Node340, attr: 'Node340.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); _img.width = width; this.a('Node340.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); _img.height = height; this.a('Node340.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node340, Node340.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node341 = new ht.Node(); var Node341textStart, Node341textWidth, Node341lineStart, Node341align = 'left', Node341fontSize = 11.99997*_ratio.ratioY,Node341width = 150*_ratio.ratioX, Node341height = 25*_ratio.ratioY; (function () { if (Node341align === 'left') { Node341textStart = Node341fontSize * 0.2 > 2 ? Node341fontSize * 0.2 - 4 : Node341fontSize * 0.2 - 9; Node341textWidth = Node341width; Node341lineStart = 1; } else if (Node341align === 'right') { Node341textStart = 0; Node341textWidth =Node341fontSize <= 8 ? Node341width + Node341fontSize * 0.2 + 6 : Node341width - Node341fontSize * 0.2; Node341lineStart = (Node341width - (ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node341align === 'center') { Node341textStart = -3; Node341textWidth = Node341width; Node341lineStart = Node341width - ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width - 11; } })(); Node341.setImage(GD.getTextJSON(Node341width, Node341height, true, false, false, 'bold '+ Node341fontSize + 'px "Arial"')) Node341.setPosition(462*ratio.ratioX, 618*ratio.ratioY); Node341.setWidth(Node341width); Node341.setHeight(Node341height); Node341._nodeType = 'text'; Node341._disallowEvert = true; Node341.setRotation(0*Math.PI/180); Node341.a('node.width', Node341width); Node341.a('node.height', Node341height); Node341.a('node.rect', [0, 0, Node341width, Node341height]); Node341.a('node.bordercolor','rgba(64,64,64,1)'); Node341.a('node.borderwidth', 0); Node341.a('node.background','' || 'rgba(0,0,0,0)'); Node341.a('node.gradient',''); Node341.a('node.gradientcolor',''); Node341.a('node.text','右玉高家堡风电场'); Node341.a('node.textalign','left'); Node341.a('node.textvAlign','middle'); Node341.a('node.textrect', [Node341textStart, 0, Node341textWidth, Node341height]); Node341.a('node.color','rgba(64,64,64,1)'); Node341.a('node.font','bold '+ Node341fontSize + 'px "Arial"'); Node341.a('node.textvisible',true); Node341.a('node.linefeed',false); if (false) { Node341.a('node.textfunc',function(g) { g.beginPath(); var str=Node341.a('node.text') || '右玉高家堡风电场'; var color=Node341.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node341width,Node341height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node341fontSize + 'px "Arial"', 0,g); }); } if (false) { Node341.a('node.underlinepoints',[Node341lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node341fontSize + 2 , ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width + 6, (Node341height - Node341fontSize) * 0.5*_ratio.ratioY + Node341fontSize + 2 ]); Node341.a('node.underlinevisible',false); Node341.a('node.underlineBorderWidth', 1); } dataModel.add(Node341); zoomNodeList.push({ node: Node341, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node342 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 662*ratio.ratioX, 618*ratio.ratioY, 0, {text:'132',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node343 = new ht.Node(); var Node343textStart, Node343textWidth, Node343lineStart, Node343align = 'left', Node343fontSize = 11.99997*_ratio.ratioY,Node343width = 40*_ratio.ratioX, Node343height = 21*_ratio.ratioY; (function () { if (Node343align === 'left') { Node343textStart = Node343fontSize * 0.2 > 2 ? Node343fontSize * 0.2 - 4 : Node343fontSize * 0.2 - 9; Node343textWidth = Node343width; Node343lineStart = 1; } else if (Node343align === 'right') { Node343textStart = 0; Node343textWidth =Node343fontSize <= 8 ? Node343width + Node343fontSize * 0.2 + 6 : Node343width - Node343fontSize * 0.2; Node343lineStart = (Node343width - (ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node343align === 'center') { Node343textStart = -3; Node343textWidth = Node343width; Node343lineStart = Node343width - ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width - 11; } })(); Node343.setImage(GD.getTextJSON(Node343width, Node343height, true, false, false, ' '+ Node343fontSize + 'px "UniDreamLED"')) Node343.setPosition(517*ratio.ratioX, 662*ratio.ratioY); Node343.setWidth(Node343width); Node343.setHeight(Node343height); Node343._nodeType = 'text'; Node343._disallowEvert = true; Node343.setRotation(0*Math.PI/180); Node343.a('node.width', Node343width); Node343.a('node.height', Node343height); Node343.a('node.rect', [0, 0, Node343width, Node343height]); Node343.a('node.bordercolor','rgba(0,0,0,1)'); Node343.a('node.borderwidth', 0); Node343.a('node.background','' || 'rgba(0,0,0,0)'); Node343.a('node.gradient',''); Node343.a('node.gradientcolor',''); Node343.a('node.text','4.48'); Node343.a('node.textalign','left'); Node343.a('node.textvAlign','middle'); Node343.a('node.textrect', [Node343textStart, 0, Node343textWidth, Node343height]); Node343.a('node.color','rgba(0,0,0,1)'); Node343.a('node.font',' '+ Node343fontSize + 'px "UniDreamLED"'); Node343.a('node.textvisible',true); Node343.a('node.linefeed',false); if (false) { Node343.a('node.textfunc',function(g) { g.beginPath(); var str=Node343.a('node.text') || '4.48'; var color=Node343.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node343width,Node343height,11.99997*_ratio.ratioY,"left",color,' '+ Node343fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node343.a('node.underlinepoints',[Node343lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node343fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width + 6, (Node343height - Node343fontSize) * 0.5*_ratio.ratioY + Node343fontSize + 2 ]); Node343.a('node.underlinevisible',false); Node343.a('node.underlineBorderWidth', 1); } dataModel.add(Node343); zoomNodeList.push({ node: Node343, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node344 = new ht.Node(); var Node344textStart, Node344textWidth, Node344lineStart, Node344align = 'left', Node344fontSize = 11.99997*_ratio.ratioY,Node344width = 40*_ratio.ratioX, Node344height = 21*_ratio.ratioY; (function () { if (Node344align === 'left') { Node344textStart = Node344fontSize * 0.2 > 2 ? Node344fontSize * 0.2 - 4 : Node344fontSize * 0.2 - 9; Node344textWidth = Node344width; Node344lineStart = 1; } else if (Node344align === 'right') { Node344textStart = 0; Node344textWidth =Node344fontSize <= 8 ? Node344width + Node344fontSize * 0.2 + 6 : Node344width - Node344fontSize * 0.2; Node344lineStart = (Node344width - (ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node344align === 'center') { Node344textStart = -3; Node344textWidth = Node344width; Node344lineStart = Node344width - ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width - 11; } })(); Node344.setImage(GD.getTextJSON(Node344width, Node344height, true, false, false, ' '+ Node344fontSize + 'px "Arial"')) Node344.setPosition(517*ratio.ratioX, 683*ratio.ratioY); Node344.setWidth(Node344width); Node344.setHeight(Node344height); Node344._nodeType = 'text'; Node344._disallowEvert = true; Node344.setRotation(0*Math.PI/180); Node344.a('node.width', Node344width); Node344.a('node.height', Node344height); Node344.a('node.rect', [0, 0, Node344width, Node344height]); Node344.a('node.bordercolor','rgba(0,0,0,1)'); Node344.a('node.borderwidth', 0); Node344.a('node.background','' || 'rgba(0,0,0,0)'); Node344.a('node.gradient',''); Node344.a('node.gradientcolor',''); Node344.a('node.text','m/s'); Node344.a('node.textalign','left'); Node344.a('node.textvAlign','middle'); Node344.a('node.textrect', [Node344textStart, 0, Node344textWidth, Node344height]); Node344.a('node.color','rgba(0,0,0,1)'); Node344.a('node.font',' '+ Node344fontSize + 'px "Arial"'); Node344.a('node.textvisible',true); Node344.a('node.linefeed',false); if (false) { Node344.a('node.textfunc',function(g) { g.beginPath(); var str=Node344.a('node.text') || 'm/s'; var color=Node344.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node344width,Node344height,11.99997*_ratio.ratioY,"left",color,' '+ Node344fontSize + 'px "Arial"', 0,g); }); } if (false) { Node344.a('node.underlinepoints',[Node344lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node344fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width + 6, (Node344height - Node344fontSize) * 0.5*_ratio.ratioY + Node344fontSize + 2 ]); Node344.a('node.underlinevisible',false); Node344.a('node.underlineBorderWidth', 1); } dataModel.add(Node344); zoomNodeList.push({ node: Node344, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node345 = new ht.Node(); var Node345textStart, Node345textWidth, Node345lineStart, Node345align = 'left', Node345fontSize = 11.99997*_ratio.ratioY,Node345width = 40*_ratio.ratioX, Node345height = 21*_ratio.ratioY; (function () { if (Node345align === 'left') { Node345textStart = Node345fontSize * 0.2 > 2 ? Node345fontSize * 0.2 - 4 : Node345fontSize * 0.2 - 9; Node345textWidth = Node345width; Node345lineStart = 1; } else if (Node345align === 'right') { Node345textStart = 0; Node345textWidth =Node345fontSize <= 8 ? Node345width + Node345fontSize * 0.2 + 6 : Node345width - Node345fontSize * 0.2; Node345lineStart = (Node345width - (ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node345align === 'center') { Node345textStart = -3; Node345textWidth = Node345width; Node345lineStart = Node345width - ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width - 11; } })(); Node345.setImage(GD.getTextJSON(Node345width, Node345height, true, false, false, 'bold '+ Node345fontSize + 'px "Arial"')) Node345.setPosition(577*ratio.ratioX, 650*ratio.ratioY); Node345.setWidth(Node345width); Node345.setHeight(Node345height); Node345._nodeType = 'text'; Node345._disallowEvert = true; Node345.setRotation(0*Math.PI/180); Node345.a('node.width', Node345width); Node345.a('node.height', Node345height); Node345.a('node.rect', [0, 0, Node345width, Node345height]); Node345.a('node.bordercolor','rgba(64,64,64,1)'); Node345.a('node.borderwidth', 0); Node345.a('node.background','' || 'rgba(0,0,0,0)'); Node345.a('node.gradient',''); Node345.a('node.gradientcolor',''); Node345.a('node.text','功率'); Node345.a('node.textalign','left'); Node345.a('node.textvAlign','middle'); Node345.a('node.textrect', [Node345textStart, 0, Node345textWidth, Node345height]); Node345.a('node.color','rgba(64,64,64,1)'); Node345.a('node.font','bold '+ Node345fontSize + 'px "Arial"'); Node345.a('node.textvisible',true); Node345.a('node.linefeed',false); if (false) { Node345.a('node.textfunc',function(g) { g.beginPath(); var str=Node345.a('node.text') || '功率'; var color=Node345.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node345width,Node345height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node345fontSize + 'px "Arial"', 0,g); }); } if (false) { Node345.a('node.underlinepoints',[Node345lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node345fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width + 6, (Node345height - Node345fontSize) * 0.5*_ratio.ratioY + Node345fontSize + 2 ]); Node345.a('node.underlinevisible',false); Node345.a('node.underlineBorderWidth', 1); } dataModel.add(Node345); zoomNodeList.push({ node: Node345, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node346 = new ht.Node(); var Node346textStart, Node346textWidth, Node346lineStart, Node346align = 'left', Node346fontSize = 11.99997*_ratio.ratioY,Node346width = 44*_ratio.ratioX, Node346height = 21*_ratio.ratioY; (function () { if (Node346align === 'left') { Node346textStart = Node346fontSize * 0.2 > 2 ? Node346fontSize * 0.2 - 4 : Node346fontSize * 0.2 - 9; Node346textWidth = Node346width; Node346lineStart = 1; } else if (Node346align === 'right') { Node346textStart = 0; Node346textWidth =Node346fontSize <= 8 ? Node346width + Node346fontSize * 0.2 + 6 : Node346width - Node346fontSize * 0.2; Node346lineStart = (Node346width - (ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node346align === 'center') { Node346textStart = -3; Node346textWidth = Node346width; Node346lineStart = Node346width - ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width - 11; } })(); Node346.setImage(GD.getTextJSON(Node346width, Node346height, true, false, false, 'bold '+ Node346fontSize + 'px "Arial"')) Node346.setPosition(579*ratio.ratioX, 684*ratio.ratioY); Node346.setWidth(Node346width); Node346.setHeight(Node346height); Node346._nodeType = 'text'; Node346._disallowEvert = true; Node346.setRotation(0*Math.PI/180); Node346.a('node.width', Node346width); Node346.a('node.height', Node346height); Node346.a('node.rect', [0, 0, Node346width, Node346height]); Node346.a('node.bordercolor','rgba(64,64,64,1)'); Node346.a('node.borderwidth', 0); Node346.a('node.background','' || 'rgba(0,0,0,0)'); Node346.a('node.gradient',''); Node346.a('node.gradientcolor',''); Node346.a('node.text','发电量'); Node346.a('node.textalign','left'); Node346.a('node.textvAlign','middle'); Node346.a('node.textrect', [Node346textStart, 0, Node346textWidth, Node346height]); Node346.a('node.color','rgba(64,64,64,1)'); Node346.a('node.font','bold '+ Node346fontSize + 'px "Arial"'); Node346.a('node.textvisible',true); Node346.a('node.linefeed',false); if (false) { Node346.a('node.textfunc',function(g) { g.beginPath(); var str=Node346.a('node.text') || '发电量'; var color=Node346.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node346width,Node346height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node346fontSize + 'px "Arial"', 0,g); }); } if (false) { Node346.a('node.underlinepoints',[Node346lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node346fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width + 6, (Node346height - Node346fontSize) * 0.5*_ratio.ratioY + Node346fontSize + 2 ]); Node346.a('node.underlinevisible',false); Node346.a('node.underlineBorderWidth', 1); } dataModel.add(Node346); zoomNodeList.push({ node: Node346, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node347 = new ht.Node(); var Node347textStart, Node347textWidth, Node347lineStart, Node347align = 'left', Node347fontSize = 13.3333*_ratio.ratioY,Node347width = 29*_ratio.ratioX, Node347height = 25*_ratio.ratioY; (function () { if (Node347align === 'left') { Node347textStart = Node347fontSize * 0.2 > 2 ? Node347fontSize * 0.2 - 4 : Node347fontSize * 0.2 - 9; Node347textWidth = Node347width; Node347lineStart = 1; } else if (Node347align === 'right') { Node347textStart = 0; Node347textWidth =Node347fontSize <= 8 ? Node347width + Node347fontSize * 0.2 + 6 : Node347width - Node347fontSize * 0.2; Node347lineStart = (Node347width - (ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node347align === 'center') { Node347textStart = -3; Node347textWidth = Node347width; Node347lineStart = Node347width - ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width - 11; } })(); Node347.setImage(GD.getTextJSON(Node347width, Node347height, true, false, false, ' '+ Node347fontSize + 'px "Arial"')) Node347.setPosition(727*ratio.ratioX, 619*ratio.ratioY); Node347.setWidth(Node347width); Node347.setHeight(Node347height); Node347._nodeType = 'text'; Node347._disallowEvert = true; Node347.setRotation(0*Math.PI/180); Node347.a('node.width', Node347width); Node347.a('node.height', Node347height); Node347.a('node.rect', [0, 0, Node347width, Node347height]); Node347.a('node.bordercolor','rgba(64,64,64,1)'); Node347.a('node.borderwidth', 0); Node347.a('node.background','' || 'rgba(0,0,0,0)'); Node347.a('node.gradient',''); Node347.a('node.gradientcolor',''); Node347.a('node.text','台'); Node347.a('node.textalign','left'); Node347.a('node.textvAlign','middle'); Node347.a('node.textrect', [Node347textStart, 0, Node347textWidth, Node347height]); Node347.a('node.color','rgba(64,64,64,1)'); Node347.a('node.font',' '+ Node347fontSize + 'px "Arial"'); Node347.a('node.textvisible',true); Node347.a('node.linefeed',false); if (false) { Node347.a('node.textfunc',function(g) { g.beginPath(); var str=Node347.a('node.text') || '台'; var color=Node347.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node347width,Node347height,13.3333*_ratio.ratioY,"left",color,' '+ Node347fontSize + 'px "Arial"', 0,g); }); } if (false) { Node347.a('node.underlinepoints',[Node347lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node347fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width + 6, (Node347height - Node347fontSize) * 0.5*_ratio.ratioY + Node347fontSize + 2 ]); Node347.a('node.underlinevisible',false); Node347.a('node.underlineBorderWidth', 1); } dataModel.add(Node347); zoomNodeList.push({ node: Node347, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node348 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 650*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node349 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 650*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node350 = new ht.Node(); var Node350textStart, Node350textWidth, Node350lineStart, Node350align = 'left', Node350fontSize = 13.3333*_ratio.ratioY,Node350width = 29*_ratio.ratioX, Node350height = 25*_ratio.ratioY; (function () { if (Node350align === 'left') { Node350textStart = Node350fontSize * 0.2 > 2 ? Node350fontSize * 0.2 - 4 : Node350fontSize * 0.2 - 9; Node350textWidth = Node350width; Node350lineStart = 1; } else if (Node350align === 'right') { Node350textStart = 0; Node350textWidth =Node350fontSize <= 8 ? Node350width + Node350fontSize * 0.2 + 6 : Node350width - Node350fontSize * 0.2; Node350lineStart = (Node350width - (ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node350align === 'center') { Node350textStart = -3; Node350textWidth = Node350width; Node350lineStart = Node350width - ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width - 11; } })(); Node350.setImage(GD.getTextJSON(Node350width, Node350height, true, false, false, ' '+ Node350fontSize + 'px "Arial"')) Node350.setPosition(719*ratio.ratioX, 649*ratio.ratioY); Node350.setWidth(Node350width); Node350.setHeight(Node350height); Node350._nodeType = 'text'; Node350._disallowEvert = true; Node350.setRotation(0*Math.PI/180); Node350.a('node.width', Node350width); Node350.a('node.height', Node350height); Node350.a('node.rect', [0, 0, Node350width, Node350height]); Node350.a('node.bordercolor','rgba(64,64,64,1)'); Node350.a('node.borderwidth', 0); Node350.a('node.background','' || 'rgba(0,0,0,0)'); Node350.a('node.gradient',''); Node350.a('node.gradientcolor',''); Node350.a('node.text','MW'); Node350.a('node.textalign','left'); Node350.a('node.textvAlign','middle'); Node350.a('node.textrect', [Node350textStart, 0, Node350textWidth, Node350height]); Node350.a('node.color','rgba(64,64,64,1)'); Node350.a('node.font',' '+ Node350fontSize + 'px "Arial"'); Node350.a('node.textvisible',true); Node350.a('node.linefeed',false); if (false) { Node350.a('node.textfunc',function(g) { g.beginPath(); var str=Node350.a('node.text') || 'MW'; var color=Node350.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node350width,Node350height,13.3333*_ratio.ratioY,"left",color,' '+ Node350fontSize + 'px "Arial"', 0,g); }); } if (false) { Node350.a('node.underlinepoints',[Node350lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node350fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width + 6, (Node350height - Node350fontSize) * 0.5*_ratio.ratioY + Node350fontSize + 2 ]); Node350.a('node.underlinevisible',false); Node350.a('node.underlineBorderWidth', 1); } dataModel.add(Node350); zoomNodeList.push({ node: Node350, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node351 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 684*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node352 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 684*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node353 = new ht.Node(); var Node353textStart, Node353textWidth, Node353lineStart, Node353align = 'left', Node353fontSize = 13.3333*_ratio.ratioY,Node353width = 43*_ratio.ratioX, Node353height = 25*_ratio.ratioY; (function () { if (Node353align === 'left') { Node353textStart = Node353fontSize * 0.2 > 2 ? Node353fontSize * 0.2 - 4 : Node353fontSize * 0.2 - 9; Node353textWidth = Node353width; Node353lineStart = 1; } else if (Node353align === 'right') { Node353textStart = 0; Node353textWidth =Node353fontSize <= 8 ? Node353width + Node353fontSize * 0.2 + 6 : Node353width - Node353fontSize * 0.2; Node353lineStart = (Node353width - (ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node353align === 'center') { Node353textStart = -3; Node353textWidth = Node353width; Node353lineStart = Node353width - ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width - 11; } })(); Node353.setImage(GD.getTextJSON(Node353width, Node353height, true, false, false, ' '+ Node353fontSize + 'px "Arial"')) Node353.setPosition(727*ratio.ratioX, 684*ratio.ratioY); Node353.setWidth(Node353width); Node353.setHeight(Node353height); Node353._nodeType = 'text'; Node353._disallowEvert = true; Node353.setRotation(0*Math.PI/180); Node353.a('node.width', Node353width); Node353.a('node.height', Node353height); Node353.a('node.rect', [0, 0, Node353width, Node353height]); Node353.a('node.bordercolor','rgba(64,64,64,1)'); Node353.a('node.borderwidth', 0); Node353.a('node.background','' || 'rgba(0,0,0,0)'); Node353.a('node.gradient',''); Node353.a('node.gradientcolor',''); Node353.a('node.text','万kwh'); Node353.a('node.textalign','left'); Node353.a('node.textvAlign','middle'); Node353.a('node.textrect', [Node353textStart, 0, Node353textWidth, Node353height]); Node353.a('node.color','rgba(64,64,64,1)'); Node353.a('node.font',' '+ Node353fontSize + 'px "Arial"'); Node353.a('node.textvisible',true); Node353.a('node.linefeed',false); if (false) { Node353.a('node.textfunc',function(g) { g.beginPath(); var str=Node353.a('node.text') || '万kwh'; var color=Node353.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node353width,Node353height,13.3333*_ratio.ratioY,"left",color,' '+ Node353fontSize + 'px "Arial"', 0,g); }); } if (false) { Node353.a('node.underlinepoints',[Node353lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node353fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width + 6, (Node353height - Node353fontSize) * 0.5*_ratio.ratioY + Node353fontSize + 2 ]); Node353.a('node.underlinevisible',false); Node353.a('node.underlineBorderWidth', 1); } dataModel.add(Node353); zoomNodeList.push({ node: Node353, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node354type = 'rect'; var Node354 = new ht.Node(), Node354BorderWidth = 1*2; if (Node354type === 'arc') { Node354BorderWidth *= 1; } Node354.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node354type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node354.setPosition(567*ratio.ratioX, 752*ratio.ratioY); Node354.setSize(373*_ratio.ratioX, 93*_ratio.ratioY); Node354.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node354.a('node.width', 373*_ratio.ratioX); Node354.a('node.height', 93*_ratio.ratioY); Node354.a('node.type', Node354type); Node354.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]); Node354.a('node.background', 'rgba(255,255,255,0.003921569)'); Node354.a('node.gradientcolor', ''); Node354.a('node.gradient', ''); Node354.a('node.borderwidth', Node354BorderWidth); Node354.a('node.color', 'rgba(192,192,192,1)'); Node354.a('node.fillrect', [0,0,0,0]); Node354.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node354.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node354.a('node.fillgradient', ''); if (Node354type !== 'rect') { Node354.a('node.arcFrom', parseFloat('@arcFrom@')); Node354.a('node.arcTo', parseFloat('@arcTo@')); Node354.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node354type === 'arc') { Node354.a('node.arcOval', true); } Node354.setRotation(0*Math.PI/180); Node354.borderWidth = Node354BorderWidth; Node354.borderFillwidth = Node354BorderWidth; dataModel.add(Node354); Node354._nodename = 'Node354' Node354._nodeType = 'rect'; zoomNodeList.push({ node: Node354, 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); } })(Node354, Node354.getImage());var Node355points=[381, 737,754, 737], Node355rect=ht.Default.unionPoint([{x:381,y:737},{x:754,y:737}]), Node355compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); for(var i=0;i 2 ? Node363fontSize * 0.2 - 4 : Node363fontSize * 0.2 - 9; Node363textWidth = Node363width; Node363lineStart = 1; } else if (Node363align === 'right') { Node363textStart = 0; Node363textWidth =Node363fontSize <= 8 ? Node363width + Node363fontSize * 0.2 + 6 : Node363width - Node363fontSize * 0.2; Node363lineStart = (Node363width - (ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node363align === 'center') { Node363textStart = -3; Node363textWidth = Node363width; Node363lineStart = Node363width - ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width - 11; } })(); Node363.setImage(GD.getTextJSON(Node363width, Node363height, true, false, false, ' '+ Node363fontSize + 'px "Arial"')) Node363.setPosition(413*ratio.ratioX, 723*ratio.ratioY); Node363.setWidth(Node363width); Node363.setHeight(Node363height); Node363._nodeType = 'text'; Node363._disallowEvert = true; Node363.setRotation(0*Math.PI/180); Node363.a('node.width', Node363width); Node363.a('node.height', Node363height); Node363.a('node.rect', [0, 0, Node363width, Node363height]); Node363.a('node.bordercolor','rgba(128,128,255,1)'); Node363.a('node.borderwidth', 0); Node363.a('node.background','' || 'rgba(0,0,0,0)'); Node363.a('node.gradient',''); Node363.a('node.gradientcolor',''); Node363.a('node.text','并网'); Node363.a('node.textalign','left'); Node363.a('node.textvAlign','middle'); Node363.a('node.textrect', [Node363textStart, 0, Node363textWidth, Node363height]); Node363.a('node.color','rgba(128,128,255,1)'); Node363.a('node.font',' '+ Node363fontSize + 'px "Arial"'); Node363.a('node.textvisible',true); Node363.a('node.linefeed',false); if (false) { Node363.a('node.textfunc',function(g) { g.beginPath(); var str=Node363.a('node.text') || '并网'; var color=Node363.a('node.color') || 'rgba(128,128,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node363width,Node363height,13.3333*_ratio.ratioY,"left",color,' '+ Node363fontSize + 'px "Arial"', 0,g); }); } if (false) { Node363.a('node.underlinepoints',[Node363lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node363fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width + 6, (Node363height - Node363fontSize) * 0.5*_ratio.ratioY + Node363fontSize + 2 ]); Node363.a('node.underlinevisible',false); Node363.a('node.underlineBorderWidth', 1); } dataModel.add(Node363); zoomNodeList.push({ node: Node363, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node364 = new ht.Node(); var Node364textStart, Node364textWidth, Node364lineStart, Node364align = 'left', Node364fontSize = 13.3333*_ratio.ratioY,Node364width = 39*_ratio.ratioX, Node364height = 16*_ratio.ratioY; (function () { if (Node364align === 'left') { Node364textStart = Node364fontSize * 0.2 > 2 ? Node364fontSize * 0.2 - 4 : Node364fontSize * 0.2 - 9; Node364textWidth = Node364width; Node364lineStart = 1; } else if (Node364align === 'right') { Node364textStart = 0; Node364textWidth =Node364fontSize <= 8 ? Node364width + Node364fontSize * 0.2 + 6 : Node364width - Node364fontSize * 0.2; Node364lineStart = (Node364width - (ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node364align === 'center') { Node364textStart = -3; Node364textWidth = Node364width; Node364lineStart = Node364width - ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width - 11; } })(); Node364.setImage(GD.getTextJSON(Node364width, Node364height, true, false, false, ' '+ Node364fontSize + 'px "Arial"')) Node364.setPosition(414*ratio.ratioX, 753*ratio.ratioY); Node364.setWidth(Node364width); Node364.setHeight(Node364height); Node364._nodeType = 'text'; Node364._disallowEvert = true; Node364.setRotation(0*Math.PI/180); Node364.a('node.width', Node364width); Node364.a('node.height', Node364height); Node364.a('node.rect', [0, 0, Node364width, Node364height]); Node364.a('node.bordercolor','rgba(192,64,0,1)'); Node364.a('node.borderwidth', 0); Node364.a('node.background','' || 'rgba(0,0,0,0)'); Node364.a('node.gradient',''); Node364.a('node.gradientcolor',''); Node364.a('node.text','维护'); Node364.a('node.textalign','left'); Node364.a('node.textvAlign','middle'); Node364.a('node.textrect', [Node364textStart, 0, Node364textWidth, Node364height]); Node364.a('node.color','rgba(192,64,0,1)'); Node364.a('node.font',' '+ Node364fontSize + 'px "Arial"'); Node364.a('node.textvisible',true); Node364.a('node.linefeed',false); if (false) { Node364.a('node.textfunc',function(g) { g.beginPath(); var str=Node364.a('node.text') || '维护'; var color=Node364.a('node.color') || 'rgba(192,64,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node364width,Node364height,13.3333*_ratio.ratioY,"left",color,' '+ Node364fontSize + 'px "Arial"', 0,g); }); } if (false) { Node364.a('node.underlinepoints',[Node364lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node364fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width + 6, (Node364height - Node364fontSize) * 0.5*_ratio.ratioY + Node364fontSize + 2 ]); Node364.a('node.underlinevisible',false); Node364.a('node.underlineBorderWidth', 1); } dataModel.add(Node364); zoomNodeList.push({ node: Node364, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node365 = new ht.Node(); var Node365textStart, Node365textWidth, Node365lineStart, Node365align = 'left', Node365fontSize = 13.3333*_ratio.ratioY,Node365width = 39*_ratio.ratioX, Node365height = 16*_ratio.ratioY; (function () { if (Node365align === 'left') { Node365textStart = Node365fontSize * 0.2 > 2 ? Node365fontSize * 0.2 - 4 : Node365fontSize * 0.2 - 9; Node365textWidth = Node365width; Node365lineStart = 1; } else if (Node365align === 'right') { Node365textStart = 0; Node365textWidth =Node365fontSize <= 8 ? Node365width + Node365fontSize * 0.2 + 6 : Node365width - Node365fontSize * 0.2; Node365lineStart = (Node365width - (ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node365align === 'center') { Node365textStart = -3; Node365textWidth = Node365width; Node365lineStart = Node365width - ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width - 11; } })(); Node365.setImage(GD.getTextJSON(Node365width, Node365height, true, false, false, ' '+ Node365fontSize + 'px "Arial"')) Node365.setPosition(414*ratio.ratioX, 783*ratio.ratioY); Node365.setWidth(Node365width); Node365.setHeight(Node365height); Node365._nodeType = 'text'; Node365._disallowEvert = true; Node365.setRotation(0*Math.PI/180); Node365.a('node.width', Node365width); Node365.a('node.height', Node365height); Node365.a('node.rect', [0, 0, Node365width, Node365height]); Node365.a('node.bordercolor','rgba(128,0,128,1)'); Node365.a('node.borderwidth', 0); Node365.a('node.background','' || 'rgba(0,0,0,0)'); Node365.a('node.gradient',''); Node365.a('node.gradientcolor',''); Node365.a('node.text','限电'); Node365.a('node.textalign','left'); Node365.a('node.textvAlign','middle'); Node365.a('node.textrect', [Node365textStart, 0, Node365textWidth, Node365height]); Node365.a('node.color','rgba(128,0,128,1)'); Node365.a('node.font',' '+ Node365fontSize + 'px "Arial"'); Node365.a('node.textvisible',true); Node365.a('node.linefeed',false); if (false) { Node365.a('node.textfunc',function(g) { g.beginPath(); var str=Node365.a('node.text') || '限电'; var color=Node365.a('node.color') || 'rgba(128,0,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node365width,Node365height,13.3333*_ratio.ratioY,"left",color,' '+ Node365fontSize + 'px "Arial"', 0,g); }); } if (false) { Node365.a('node.underlinepoints',[Node365lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node365fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width + 6, (Node365height - Node365fontSize) * 0.5*_ratio.ratioY + Node365fontSize + 2 ]); Node365.a('node.underlinevisible',false); Node365.a('node.underlineBorderWidth', 1); } dataModel.add(Node365); zoomNodeList.push({ node: Node365, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node366 = new ht.Node(); var Node366textStart, Node366textWidth, Node366lineStart, Node366align = 'left', Node366fontSize = 13.3333*_ratio.ratioY,Node366width = 39*_ratio.ratioX, Node366height = 16*_ratio.ratioY; (function () { if (Node366align === 'left') { Node366textStart = Node366fontSize * 0.2 > 2 ? Node366fontSize * 0.2 - 4 : Node366fontSize * 0.2 - 9; Node366textWidth = Node366width; Node366lineStart = 1; } else if (Node366align === 'right') { Node366textStart = 0; Node366textWidth =Node366fontSize <= 8 ? Node366width + Node366fontSize * 0.2 + 6 : Node366width - Node366fontSize * 0.2; Node366lineStart = (Node366width - (ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node366align === 'center') { Node366textStart = -3; Node366textWidth = Node366width; Node366lineStart = Node366width - ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width - 11; } })(); Node366.setImage(GD.getTextJSON(Node366width, Node366height, true, false, false, ' '+ Node366fontSize + 'px "Arial"')) Node366.setPosition(603*ratio.ratioX, 723*ratio.ratioY); Node366.setWidth(Node366width); Node366.setHeight(Node366height); Node366._nodeType = 'text'; Node366._disallowEvert = true; Node366.setRotation(0*Math.PI/180); Node366.a('node.width', Node366width); Node366.a('node.height', Node366height); Node366.a('node.rect', [0, 0, Node366width, Node366height]); Node366.a('node.bordercolor','rgba(0,128,0,1)'); Node366.a('node.borderwidth', 0); Node366.a('node.background','' || 'rgba(0,0,0,0)'); Node366.a('node.gradient',''); Node366.a('node.gradientcolor',''); Node366.a('node.text','待机'); Node366.a('node.textalign','left'); Node366.a('node.textvAlign','middle'); Node366.a('node.textrect', [Node366textStart, 0, Node366textWidth, Node366height]); Node366.a('node.color','rgba(0,128,0,1)'); Node366.a('node.font',' '+ Node366fontSize + 'px "Arial"'); Node366.a('node.textvisible',true); Node366.a('node.linefeed',false); if (false) { Node366.a('node.textfunc',function(g) { g.beginPath(); var str=Node366.a('node.text') || '待机'; var color=Node366.a('node.color') || 'rgba(0,128,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node366width,Node366height,13.3333*_ratio.ratioY,"left",color,' '+ Node366fontSize + 'px "Arial"', 0,g); }); } if (false) { Node366.a('node.underlinepoints',[Node366lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node366fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width + 6, (Node366height - Node366fontSize) * 0.5*_ratio.ratioY + Node366fontSize + 2 ]); Node366.a('node.underlinevisible',false); Node366.a('node.underlineBorderWidth', 1); } dataModel.add(Node366); zoomNodeList.push({ node: Node366, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node367 = new ht.Node(); var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 13.3333*_ratio.ratioY,Node367width = 39*_ratio.ratioX, Node367height = 16*_ratio.ratioY; (function () { if (Node367align === 'left') { Node367textStart = Node367fontSize * 0.2 > 2 ? Node367fontSize * 0.2 - 4 : Node367fontSize * 0.2 - 9; Node367textWidth = Node367width; Node367lineStart = 1; } else if (Node367align === 'right') { Node367textStart = 0; Node367textWidth =Node367fontSize <= 8 ? Node367width + Node367fontSize * 0.2 + 6 : Node367width - Node367fontSize * 0.2; Node367lineStart = (Node367width - (ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node367align === 'center') { Node367textStart = -3; Node367textWidth = Node367width; Node367lineStart = Node367width - ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width - 11; } })(); Node367.setImage(GD.getTextJSON(Node367width, Node367height, true, false, false, ' '+ Node367fontSize + 'px "Arial"')) Node367.setPosition(604*ratio.ratioX, 753*ratio.ratioY); Node367.setWidth(Node367width); Node367.setHeight(Node367height); Node367._nodeType = 'text'; Node367._disallowEvert = true; Node367.setRotation(0*Math.PI/180); Node367.a('node.width', Node367width); Node367.a('node.height', Node367height); Node367.a('node.rect', [0, 0, Node367width, Node367height]); Node367.a('node.bordercolor','rgba(192,0,0,1)'); Node367.a('node.borderwidth', 0); Node367.a('node.background','' || 'rgba(0,0,0,0)'); Node367.a('node.gradient',''); Node367.a('node.gradientcolor',''); Node367.a('node.text','故障'); Node367.a('node.textalign','left'); Node367.a('node.textvAlign','middle'); Node367.a('node.textrect', [Node367textStart, 0, Node367textWidth, Node367height]); Node367.a('node.color','rgba(192,0,0,1)'); Node367.a('node.font',' '+ Node367fontSize + 'px "Arial"'); Node367.a('node.textvisible',true); Node367.a('node.linefeed',false); if (false) { Node367.a('node.textfunc',function(g) { g.beginPath(); var str=Node367.a('node.text') || '故障'; var color=Node367.a('node.color') || 'rgba(192,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node367width,Node367height,13.3333*_ratio.ratioY,"left",color,' '+ Node367fontSize + 'px "Arial"', 0,g); }); } if (false) { Node367.a('node.underlinepoints',[Node367lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node367fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width + 6, (Node367height - Node367fontSize) * 0.5*_ratio.ratioY + Node367fontSize + 2 ]); Node367.a('node.underlinevisible',false); Node367.a('node.underlineBorderWidth', 1); } dataModel.add(Node367); zoomNodeList.push({ node: Node367, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node368 = new ht.Node(); var Node368textStart, Node368textWidth, Node368lineStart, Node368align = 'left', Node368fontSize = 13.3333*_ratio.ratioY,Node368width = 39*_ratio.ratioX, Node368height = 16*_ratio.ratioY; (function () { if (Node368align === 'left') { Node368textStart = Node368fontSize * 0.2 > 2 ? Node368fontSize * 0.2 - 4 : Node368fontSize * 0.2 - 9; Node368textWidth = Node368width; Node368lineStart = 1; } else if (Node368align === 'right') { Node368textStart = 0; Node368textWidth =Node368fontSize <= 8 ? Node368width + Node368fontSize * 0.2 + 6 : Node368width - Node368fontSize * 0.2; Node368lineStart = (Node368width - (ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node368align === 'center') { Node368textStart = -3; Node368textWidth = Node368width; Node368lineStart = Node368width - ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width - 11; } })(); Node368.setImage(GD.getTextJSON(Node368width, Node368height, true, false, false, ' '+ Node368fontSize + 'px "Arial"')) Node368.setPosition(604*ratio.ratioX, 783*ratio.ratioY); Node368.setWidth(Node368width); Node368.setHeight(Node368height); Node368._nodeType = 'text'; Node368._disallowEvert = true; Node368.setRotation(0*Math.PI/180); Node368.a('node.width', Node368width); Node368.a('node.height', Node368height); Node368.a('node.rect', [0, 0, Node368width, Node368height]); Node368.a('node.bordercolor','rgba(128,128,128,1)'); Node368.a('node.borderwidth', 0); Node368.a('node.background','' || 'rgba(0,0,0,0)'); Node368.a('node.gradient',''); Node368.a('node.gradientcolor',''); Node368.a('node.text','离线'); Node368.a('node.textalign','left'); Node368.a('node.textvAlign','middle'); Node368.a('node.textrect', [Node368textStart, 0, Node368textWidth, Node368height]); Node368.a('node.color','rgba(128,128,128,1)'); Node368.a('node.font',' '+ Node368fontSize + 'px "Arial"'); Node368.a('node.textvisible',true); Node368.a('node.linefeed',false); if (false) { Node368.a('node.textfunc',function(g) { g.beginPath(); var str=Node368.a('node.text') || '离线'; var color=Node368.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node368width,Node368height,13.3333*_ratio.ratioY,"left",color,' '+ Node368fontSize + 'px "Arial"', 0,g); }); } if (false) { Node368.a('node.underlinepoints',[Node368lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node368fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width + 6, (Node368height - Node368fontSize) * 0.5*_ratio.ratioY + Node368fontSize + 2 ]); Node368.a('node.underlinevisible',false); Node368.a('node.underlineBorderWidth', 1); } dataModel.add(Node368); zoomNodeList.push({ node: Node368, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node369 = new ht.Node(); var Node369textStart, Node369textWidth, Node369lineStart, Node369align = 'left', Node369fontSize = 13.3333*_ratio.ratioY,Node369width = 29*_ratio.ratioX, Node369height = 25*_ratio.ratioY; (function () { if (Node369align === 'left') { Node369textStart = Node369fontSize * 0.2 > 2 ? Node369fontSize * 0.2 - 4 : Node369fontSize * 0.2 - 9; Node369textWidth = Node369width; Node369lineStart = 1; } else if (Node369align === 'right') { Node369textStart = 0; Node369textWidth =Node369fontSize <= 8 ? Node369width + Node369fontSize * 0.2 + 6 : Node369width - Node369fontSize * 0.2; Node369lineStart = (Node369width - (ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node369align === 'center') { Node369textStart = -3; Node369textWidth = Node369width; Node369lineStart = Node369width - ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width - 11; } })(); Node369.setImage(GD.getTextJSON(Node369width, Node369height, true, false, false, ' '+ Node369fontSize + 'px "UniDreamLED"')) Node369.setPosition(555*ratio.ratioX, 723*ratio.ratioY); Node369.setWidth(Node369width); Node369.setHeight(Node369height); Node369._nodeType = 'text'; Node369._disallowEvert = true; Node369.setRotation(0*Math.PI/180); Node369.a('node.width', Node369width); Node369.a('node.height', Node369height); Node369.a('node.rect', [0, 0, Node369width, Node369height]); Node369.a('node.bordercolor','rgba(64,64,64,1)'); Node369.a('node.borderwidth', 0); Node369.a('node.background','' || 'rgba(0,0,0,0)'); Node369.a('node.gradient',''); Node369.a('node.gradientcolor',''); Node369.a('node.text','台'); Node369.a('node.textalign','left'); Node369.a('node.textvAlign','middle'); Node369.a('node.textrect', [Node369textStart, 0, Node369textWidth, Node369height]); Node369.a('node.color','rgba(64,64,64,1)'); Node369.a('node.font',' '+ Node369fontSize + 'px "UniDreamLED"'); Node369.a('node.textvisible',true); Node369.a('node.linefeed',false); if (false) { Node369.a('node.textfunc',function(g) { g.beginPath(); var str=Node369.a('node.text') || '台'; var color=Node369.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node369width,Node369height,13.3333*_ratio.ratioY,"left",color,' '+ Node369fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node369.a('node.underlinepoints',[Node369lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node369fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width + 6, (Node369height - Node369fontSize) * 0.5*_ratio.ratioY + Node369fontSize + 2 ]); Node369.a('node.underlinevisible',false); Node369.a('node.underlineBorderWidth', 1); } dataModel.add(Node369); zoomNodeList.push({ node: Node369, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node370 = new ht.Node(); var Node370textStart, Node370textWidth, Node370lineStart, Node370align = 'left', Node370fontSize = 13.3333*_ratio.ratioY,Node370width = 29*_ratio.ratioX, Node370height = 25*_ratio.ratioY; (function () { if (Node370align === 'left') { Node370textStart = Node370fontSize * 0.2 > 2 ? Node370fontSize * 0.2 - 4 : Node370fontSize * 0.2 - 9; Node370textWidth = Node370width; Node370lineStart = 1; } else if (Node370align === 'right') { Node370textStart = 0; Node370textWidth =Node370fontSize <= 8 ? Node370width + Node370fontSize * 0.2 + 6 : Node370width - Node370fontSize * 0.2; Node370lineStart = (Node370width - (ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node370align === 'center') { Node370textStart = -3; Node370textWidth = Node370width; Node370lineStart = Node370width - ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width - 11; } })(); Node370.setImage(GD.getTextJSON(Node370width, Node370height, true, false, false, ' '+ Node370fontSize + 'px "UniDreamLED"')) Node370.setPosition(555*ratio.ratioX, 754*ratio.ratioY); Node370.setWidth(Node370width); Node370.setHeight(Node370height); Node370._nodeType = 'text'; Node370._disallowEvert = true; Node370.setRotation(0*Math.PI/180); Node370.a('node.width', Node370width); Node370.a('node.height', Node370height); Node370.a('node.rect', [0, 0, Node370width, Node370height]); Node370.a('node.bordercolor','rgba(64,64,64,1)'); Node370.a('node.borderwidth', 0); Node370.a('node.background','' || 'rgba(0,0,0,0)'); Node370.a('node.gradient',''); Node370.a('node.gradientcolor',''); Node370.a('node.text','台'); Node370.a('node.textalign','left'); Node370.a('node.textvAlign','middle'); Node370.a('node.textrect', [Node370textStart, 0, Node370textWidth, Node370height]); Node370.a('node.color','rgba(64,64,64,1)'); Node370.a('node.font',' '+ Node370fontSize + 'px "UniDreamLED"'); Node370.a('node.textvisible',true); Node370.a('node.linefeed',false); if (false) { Node370.a('node.textfunc',function(g) { g.beginPath(); var str=Node370.a('node.text') || '台'; var color=Node370.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node370width,Node370height,13.3333*_ratio.ratioY,"left",color,' '+ Node370fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node370.a('node.underlinepoints',[Node370lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node370fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width + 6, (Node370height - Node370fontSize) * 0.5*_ratio.ratioY + Node370fontSize + 2 ]); Node370.a('node.underlinevisible',false); Node370.a('node.underlineBorderWidth', 1); } dataModel.add(Node370); zoomNodeList.push({ node: Node370, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node371 = new ht.Node(); var Node371textStart, Node371textWidth, Node371lineStart, Node371align = 'left', Node371fontSize = 13.3333*_ratio.ratioY,Node371width = 29*_ratio.ratioX, Node371height = 25*_ratio.ratioY; (function () { if (Node371align === 'left') { Node371textStart = Node371fontSize * 0.2 > 2 ? Node371fontSize * 0.2 - 4 : Node371fontSize * 0.2 - 9; Node371textWidth = Node371width; Node371lineStart = 1; } else if (Node371align === 'right') { Node371textStart = 0; Node371textWidth =Node371fontSize <= 8 ? Node371width + Node371fontSize * 0.2 + 6 : Node371width - Node371fontSize * 0.2; Node371lineStart = (Node371width - (ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node371align === 'center') { Node371textStart = -3; Node371textWidth = Node371width; Node371lineStart = Node371width - ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width - 11; } })(); Node371.setImage(GD.getTextJSON(Node371width, Node371height, true, false, false, ' '+ Node371fontSize + 'px "UniDreamLED"')) Node371.setPosition(556*ratio.ratioX, 783*ratio.ratioY); Node371.setWidth(Node371width); Node371.setHeight(Node371height); Node371._nodeType = 'text'; Node371._disallowEvert = true; Node371.setRotation(0*Math.PI/180); Node371.a('node.width', Node371width); Node371.a('node.height', Node371height); Node371.a('node.rect', [0, 0, Node371width, Node371height]); Node371.a('node.bordercolor','rgba(64,64,64,1)'); Node371.a('node.borderwidth', 0); Node371.a('node.background','' || 'rgba(0,0,0,0)'); Node371.a('node.gradient',''); Node371.a('node.gradientcolor',''); Node371.a('node.text','台'); Node371.a('node.textalign','left'); Node371.a('node.textvAlign','middle'); Node371.a('node.textrect', [Node371textStart, 0, Node371textWidth, Node371height]); Node371.a('node.color','rgba(64,64,64,1)'); Node371.a('node.font',' '+ Node371fontSize + 'px "UniDreamLED"'); Node371.a('node.textvisible',true); Node371.a('node.linefeed',false); if (false) { Node371.a('node.textfunc',function(g) { g.beginPath(); var str=Node371.a('node.text') || '台'; var color=Node371.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node371width,Node371height,13.3333*_ratio.ratioY,"left",color,' '+ Node371fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node371.a('node.underlinepoints',[Node371lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node371fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width + 6, (Node371height - Node371fontSize) * 0.5*_ratio.ratioY + Node371fontSize + 2 ]); Node371.a('node.underlinevisible',false); Node371.a('node.underlineBorderWidth', 1); } dataModel.add(Node371); zoomNodeList.push({ node: Node371, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node372 = new ht.Node(); var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'left', Node372fontSize = 13.3333*_ratio.ratioY,Node372width = 29*_ratio.ratioX, Node372height = 25*_ratio.ratioY; (function () { if (Node372align === 'left') { Node372textStart = Node372fontSize * 0.2 > 2 ? Node372fontSize * 0.2 - 4 : Node372fontSize * 0.2 - 9; Node372textWidth = Node372width; Node372lineStart = 1; } else if (Node372align === 'right') { Node372textStart = 0; Node372textWidth =Node372fontSize <= 8 ? Node372width + Node372fontSize * 0.2 + 6 : Node372width - Node372fontSize * 0.2; Node372lineStart = (Node372width - (ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node372align === 'center') { Node372textStart = -3; Node372textWidth = Node372width; Node372lineStart = Node372width - ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width - 11; } })(); Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "UniDreamLED"')) Node372.setPosition(500*ratio.ratioX, 723*ratio.ratioY); Node372.setWidth(Node372width); Node372.setHeight(Node372height); Node372._nodeType = 'text'; Node372._disallowEvert = true; Node372.setRotation(0*Math.PI/180); Node372.a('node.width', Node372width); Node372.a('node.height', Node372height); Node372.a('node.rect', [0, 0, Node372width, Node372height]); Node372.a('node.bordercolor','rgba(64,64,64,1)'); Node372.a('node.borderwidth', 0); Node372.a('node.background','' || 'rgba(0,0,0,0)'); Node372.a('node.gradient',''); Node372.a('node.gradientcolor',''); Node372.a('node.text','132'); Node372.a('node.textalign','left'); Node372.a('node.textvAlign','middle'); Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]); Node372.a('node.color','rgba(64,64,64,1)'); Node372.a('node.font',' '+ Node372fontSize + 'px "UniDreamLED"'); Node372.a('node.textvisible',true); Node372.a('node.linefeed',false); if (false) { Node372.a('node.textfunc',function(g) { g.beginPath(); var str=Node372.a('node.text') || '132'; var color=Node372.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node372width,Node372height,13.3333*_ratio.ratioY,"left",color,' '+ Node372fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node372.a('node.underlinepoints',[Node372lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width + 6, (Node372height - Node372fontSize) * 0.5*_ratio.ratioY + Node372fontSize + 2 ]); Node372.a('node.underlinevisible',false); Node372.a('node.underlineBorderWidth', 1); } dataModel.add(Node372); zoomNodeList.push({ node: Node372, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node373 = new ht.Node(); var Node373textStart, Node373textWidth, Node373lineStart, Node373align = 'left', Node373fontSize = 13.3333*_ratio.ratioY,Node373width = 29*_ratio.ratioX, Node373height = 25*_ratio.ratioY; (function () { if (Node373align === 'left') { Node373textStart = Node373fontSize * 0.2 > 2 ? Node373fontSize * 0.2 - 4 : Node373fontSize * 0.2 - 9; Node373textWidth = Node373width; Node373lineStart = 1; } else if (Node373align === 'right') { Node373textStart = 0; Node373textWidth =Node373fontSize <= 8 ? Node373width + Node373fontSize * 0.2 + 6 : Node373width - Node373fontSize * 0.2; Node373lineStart = (Node373width - (ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node373align === 'center') { Node373textStart = -3; Node373textWidth = Node373width; Node373lineStart = Node373width - ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width - 11; } })(); Node373.setImage(GD.getTextJSON(Node373width, Node373height, true, false, false, ' '+ Node373fontSize + 'px "UniDreamLED"')) Node373.setPosition(500*ratio.ratioX, 752*ratio.ratioY); Node373.setWidth(Node373width); Node373.setHeight(Node373height); Node373._nodeType = 'text'; Node373._disallowEvert = true; Node373.setRotation(0*Math.PI/180); Node373.a('node.width', Node373width); Node373.a('node.height', Node373height); Node373.a('node.rect', [0, 0, Node373width, Node373height]); Node373.a('node.bordercolor','rgba(64,64,64,1)'); Node373.a('node.borderwidth', 0); Node373.a('node.background','' || 'rgba(0,0,0,0)'); Node373.a('node.gradient',''); Node373.a('node.gradientcolor',''); Node373.a('node.text','0'); Node373.a('node.textalign','left'); Node373.a('node.textvAlign','middle'); Node373.a('node.textrect', [Node373textStart, 0, Node373textWidth, Node373height]); Node373.a('node.color','rgba(64,64,64,1)'); Node373.a('node.font',' '+ Node373fontSize + 'px "UniDreamLED"'); Node373.a('node.textvisible',true); Node373.a('node.linefeed',false); if (false) { Node373.a('node.textfunc',function(g) { g.beginPath(); var str=Node373.a('node.text') || '0'; var color=Node373.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node373width,Node373height,13.3333*_ratio.ratioY,"left",color,' '+ Node373fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node373.a('node.underlinepoints',[Node373lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node373fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width + 6, (Node373height - Node373fontSize) * 0.5*_ratio.ratioY + Node373fontSize + 2 ]); Node373.a('node.underlinevisible',false); Node373.a('node.underlineBorderWidth', 1); } dataModel.add(Node373); zoomNodeList.push({ node: Node373, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node374 = new ht.Node(); var Node374textStart, Node374textWidth, Node374lineStart, Node374align = 'left', Node374fontSize = 13.3333*_ratio.ratioY,Node374width = 29*_ratio.ratioX, Node374height = 25*_ratio.ratioY; (function () { if (Node374align === 'left') { Node374textStart = Node374fontSize * 0.2 > 2 ? Node374fontSize * 0.2 - 4 : Node374fontSize * 0.2 - 9; Node374textWidth = Node374width; Node374lineStart = 1; } else if (Node374align === 'right') { Node374textStart = 0; Node374textWidth =Node374fontSize <= 8 ? Node374width + Node374fontSize * 0.2 + 6 : Node374width - Node374fontSize * 0.2; Node374lineStart = (Node374width - (ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node374align === 'center') { Node374textStart = -3; Node374textWidth = Node374width; Node374lineStart = Node374width - ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width - 11; } })(); Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, ' '+ Node374fontSize + 'px "UniDreamLED"')) Node374.setPosition(500*ratio.ratioX, 783*ratio.ratioY); Node374.setWidth(Node374width); Node374.setHeight(Node374height); Node374._nodeType = 'text'; Node374._disallowEvert = true; Node374.setRotation(0*Math.PI/180); Node374.a('node.width', Node374width); Node374.a('node.height', Node374height); Node374.a('node.rect', [0, 0, Node374width, Node374height]); Node374.a('node.bordercolor','rgba(64,64,64,1)'); Node374.a('node.borderwidth', 0); Node374.a('node.background','' || 'rgba(0,0,0,0)'); Node374.a('node.gradient',''); Node374.a('node.gradientcolor',''); Node374.a('node.text','0'); Node374.a('node.textalign','left'); Node374.a('node.textvAlign','middle'); Node374.a('node.textrect', [Node374textStart, 0, Node374textWidth, Node374height]); Node374.a('node.color','rgba(64,64,64,1)'); Node374.a('node.font',' '+ Node374fontSize + 'px "UniDreamLED"'); Node374.a('node.textvisible',true); Node374.a('node.linefeed',false); if (false) { Node374.a('node.textfunc',function(g) { g.beginPath(); var str=Node374.a('node.text') || '0'; var color=Node374.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node374width,Node374height,13.3333*_ratio.ratioY,"left",color,' '+ Node374fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node374.a('node.underlinepoints',[Node374lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width + 6, (Node374height - Node374fontSize) * 0.5*_ratio.ratioY + Node374fontSize + 2 ]); Node374.a('node.underlinevisible',false); Node374.a('node.underlineBorderWidth', 1); } dataModel.add(Node374); zoomNodeList.push({ node: Node374, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node375 = new ht.Node(); var Node375textStart, Node375textWidth, Node375lineStart, Node375align = 'left', Node375fontSize = 13.3333*_ratio.ratioY,Node375width = 29*_ratio.ratioX, Node375height = 25*_ratio.ratioY; (function () { if (Node375align === 'left') { Node375textStart = Node375fontSize * 0.2 > 2 ? Node375fontSize * 0.2 - 4 : Node375fontSize * 0.2 - 9; Node375textWidth = Node375width; Node375lineStart = 1; } else if (Node375align === 'right') { Node375textStart = 0; Node375textWidth =Node375fontSize <= 8 ? Node375width + Node375fontSize * 0.2 + 6 : Node375width - Node375fontSize * 0.2; Node375lineStart = (Node375width - (ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node375align === 'center') { Node375textStart = -3; Node375textWidth = Node375width; Node375lineStart = Node375width - ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width - 11; } })(); Node375.setImage(GD.getTextJSON(Node375width, Node375height, true, false, false, ' '+ Node375fontSize + 'px "UniDreamLED"')) Node375.setPosition(677*ratio.ratioX, 723*ratio.ratioY); Node375.setWidth(Node375width); Node375.setHeight(Node375height); Node375._nodeType = 'text'; Node375._disallowEvert = true; Node375.setRotation(0*Math.PI/180); Node375.a('node.width', Node375width); Node375.a('node.height', Node375height); Node375.a('node.rect', [0, 0, Node375width, Node375height]); Node375.a('node.bordercolor','rgba(64,64,64,1)'); Node375.a('node.borderwidth', 0); Node375.a('node.background','' || 'rgba(0,0,0,0)'); Node375.a('node.gradient',''); Node375.a('node.gradientcolor',''); Node375.a('node.text','0'); Node375.a('node.textalign','left'); Node375.a('node.textvAlign','middle'); Node375.a('node.textrect', [Node375textStart, 0, Node375textWidth, Node375height]); Node375.a('node.color','rgba(64,64,64,1)'); Node375.a('node.font',' '+ Node375fontSize + 'px "UniDreamLED"'); Node375.a('node.textvisible',true); Node375.a('node.linefeed',false); if (false) { Node375.a('node.textfunc',function(g) { g.beginPath(); var str=Node375.a('node.text') || '0'; var color=Node375.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node375width,Node375height,13.3333*_ratio.ratioY,"left",color,' '+ Node375fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node375.a('node.underlinepoints',[Node375lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node375fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width + 6, (Node375height - Node375fontSize) * 0.5*_ratio.ratioY + Node375fontSize + 2 ]); Node375.a('node.underlinevisible',false); Node375.a('node.underlineBorderWidth', 1); } dataModel.add(Node375); zoomNodeList.push({ node: Node375, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node376 = new ht.Node(); var Node376textStart, Node376textWidth, Node376lineStart, Node376align = 'left', Node376fontSize = 13.3333*_ratio.ratioY,Node376width = 29*_ratio.ratioX, Node376height = 25*_ratio.ratioY; (function () { if (Node376align === 'left') { Node376textStart = Node376fontSize * 0.2 > 2 ? Node376fontSize * 0.2 - 4 : Node376fontSize * 0.2 - 9; Node376textWidth = Node376width; Node376lineStart = 1; } else if (Node376align === 'right') { Node376textStart = 0; Node376textWidth =Node376fontSize <= 8 ? Node376width + Node376fontSize * 0.2 + 6 : Node376width - Node376fontSize * 0.2; Node376lineStart = (Node376width - (ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node376align === 'center') { Node376textStart = -3; Node376textWidth = Node376width; Node376lineStart = Node376width - ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width - 11; } })(); Node376.setImage(GD.getTextJSON(Node376width, Node376height, true, false, false, ' '+ Node376fontSize + 'px "UniDreamLED"')) Node376.setPosition(677*ratio.ratioX, 752*ratio.ratioY); Node376.setWidth(Node376width); Node376.setHeight(Node376height); Node376._nodeType = 'text'; Node376._disallowEvert = true; Node376.setRotation(0*Math.PI/180); Node376.a('node.width', Node376width); Node376.a('node.height', Node376height); Node376.a('node.rect', [0, 0, Node376width, Node376height]); Node376.a('node.bordercolor','rgba(64,64,64,1)'); Node376.a('node.borderwidth', 0); Node376.a('node.background','' || 'rgba(0,0,0,0)'); Node376.a('node.gradient',''); Node376.a('node.gradientcolor',''); Node376.a('node.text','0'); Node376.a('node.textalign','left'); Node376.a('node.textvAlign','middle'); Node376.a('node.textrect', [Node376textStart, 0, Node376textWidth, Node376height]); Node376.a('node.color','rgba(64,64,64,1)'); Node376.a('node.font',' '+ Node376fontSize + 'px "UniDreamLED"'); Node376.a('node.textvisible',true); Node376.a('node.linefeed',false); if (false) { Node376.a('node.textfunc',function(g) { g.beginPath(); var str=Node376.a('node.text') || '0'; var color=Node376.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node376width,Node376height,13.3333*_ratio.ratioY,"left",color,' '+ Node376fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node376.a('node.underlinepoints',[Node376lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node376fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width + 6, (Node376height - Node376fontSize) * 0.5*_ratio.ratioY + Node376fontSize + 2 ]); Node376.a('node.underlinevisible',false); Node376.a('node.underlineBorderWidth', 1); } dataModel.add(Node376); zoomNodeList.push({ node: Node376, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node377 = new ht.Node(); var Node377textStart, Node377textWidth, Node377lineStart, Node377align = 'left', Node377fontSize = 13.3333*_ratio.ratioY,Node377width = 29*_ratio.ratioX, Node377height = 25*_ratio.ratioY; (function () { if (Node377align === 'left') { Node377textStart = Node377fontSize * 0.2 > 2 ? Node377fontSize * 0.2 - 4 : Node377fontSize * 0.2 - 9; Node377textWidth = Node377width; Node377lineStart = 1; } else if (Node377align === 'right') { Node377textStart = 0; Node377textWidth =Node377fontSize <= 8 ? Node377width + Node377fontSize * 0.2 + 6 : Node377width - Node377fontSize * 0.2; Node377lineStart = (Node377width - (ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node377align === 'center') { Node377textStart = -3; Node377textWidth = Node377width; Node377lineStart = Node377width - ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width - 11; } })(); Node377.setImage(GD.getTextJSON(Node377width, Node377height, true, false, false, ' '+ Node377fontSize + 'px "UniDreamLED"')) Node377.setPosition(677*ratio.ratioX, 783*ratio.ratioY); Node377.setWidth(Node377width); Node377.setHeight(Node377height); Node377._nodeType = 'text'; Node377._disallowEvert = true; Node377.setRotation(0*Math.PI/180); Node377.a('node.width', Node377width); Node377.a('node.height', Node377height); Node377.a('node.rect', [0, 0, Node377width, Node377height]); Node377.a('node.bordercolor','rgba(64,64,64,1)'); Node377.a('node.borderwidth', 0); Node377.a('node.background','' || 'rgba(0,0,0,0)'); Node377.a('node.gradient',''); Node377.a('node.gradientcolor',''); Node377.a('node.text','0'); Node377.a('node.textalign','left'); Node377.a('node.textvAlign','middle'); Node377.a('node.textrect', [Node377textStart, 0, Node377textWidth, Node377height]); Node377.a('node.color','rgba(64,64,64,1)'); Node377.a('node.font',' '+ Node377fontSize + 'px "UniDreamLED"'); Node377.a('node.textvisible',true); Node377.a('node.linefeed',false); if (false) { Node377.a('node.textfunc',function(g) { g.beginPath(); var str=Node377.a('node.text') || '0'; var color=Node377.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node377width,Node377height,13.3333*_ratio.ratioY,"left",color,' '+ Node377fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node377.a('node.underlinepoints',[Node377lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node377fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width + 6, (Node377height - Node377fontSize) * 0.5*_ratio.ratioY + Node377fontSize + 2 ]); Node377.a('node.underlinevisible',false); Node377.a('node.underlineBorderWidth', 1); } dataModel.add(Node377); zoomNodeList.push({ node: Node377, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node378 = new ht.Node(); var Node378textStart, Node378textWidth, Node378lineStart, Node378align = 'left', Node378fontSize = 13.3333*_ratio.ratioY,Node378width = 29*_ratio.ratioX, Node378height = 25*_ratio.ratioY; (function () { if (Node378align === 'left') { Node378textStart = Node378fontSize * 0.2 > 2 ? Node378fontSize * 0.2 - 4 : Node378fontSize * 0.2 - 9; Node378textWidth = Node378width; Node378lineStart = 1; } else if (Node378align === 'right') { Node378textStart = 0; Node378textWidth =Node378fontSize <= 8 ? Node378width + Node378fontSize * 0.2 + 6 : Node378width - Node378fontSize * 0.2; Node378lineStart = (Node378width - (ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node378align === 'center') { Node378textStart = -3; Node378textWidth = Node378width; Node378lineStart = Node378width - ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width - 11; } })(); Node378.setImage(GD.getTextJSON(Node378width, Node378height, true, false, false, ' '+ Node378fontSize + 'px "UniDreamLED"')) Node378.setPosition(731*ratio.ratioX, 722*ratio.ratioY); Node378.setWidth(Node378width); Node378.setHeight(Node378height); Node378._nodeType = 'text'; Node378._disallowEvert = true; Node378.setRotation(0*Math.PI/180); Node378.a('node.width', Node378width); Node378.a('node.height', Node378height); Node378.a('node.rect', [0, 0, Node378width, Node378height]); Node378.a('node.bordercolor','rgba(64,64,64,1)'); Node378.a('node.borderwidth', 0); Node378.a('node.background','' || 'rgba(0,0,0,0)'); Node378.a('node.gradient',''); Node378.a('node.gradientcolor',''); Node378.a('node.text','台'); Node378.a('node.textalign','left'); Node378.a('node.textvAlign','middle'); Node378.a('node.textrect', [Node378textStart, 0, Node378textWidth, Node378height]); Node378.a('node.color','rgba(64,64,64,1)'); Node378.a('node.font',' '+ Node378fontSize + 'px "UniDreamLED"'); Node378.a('node.textvisible',true); Node378.a('node.linefeed',false); if (false) { Node378.a('node.textfunc',function(g) { g.beginPath(); var str=Node378.a('node.text') || '台'; var color=Node378.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node378width,Node378height,13.3333*_ratio.ratioY,"left",color,' '+ Node378fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node378.a('node.underlinepoints',[Node378lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node378fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width + 6, (Node378height - Node378fontSize) * 0.5*_ratio.ratioY + Node378fontSize + 2 ]); Node378.a('node.underlinevisible',false); Node378.a('node.underlineBorderWidth', 1); } dataModel.add(Node378); zoomNodeList.push({ node: Node378, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node379 = new ht.Node(); var Node379textStart, Node379textWidth, Node379lineStart, Node379align = 'left', Node379fontSize = 13.3333*_ratio.ratioY,Node379width = 29*_ratio.ratioX, Node379height = 25*_ratio.ratioY; (function () { if (Node379align === 'left') { Node379textStart = Node379fontSize * 0.2 > 2 ? Node379fontSize * 0.2 - 4 : Node379fontSize * 0.2 - 9; Node379textWidth = Node379width; Node379lineStart = 1; } else if (Node379align === 'right') { Node379textStart = 0; Node379textWidth =Node379fontSize <= 8 ? Node379width + Node379fontSize * 0.2 + 6 : Node379width - Node379fontSize * 0.2; Node379lineStart = (Node379width - (ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node379align === 'center') { Node379textStart = -3; Node379textWidth = Node379width; Node379lineStart = Node379width - ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width - 11; } })(); Node379.setImage(GD.getTextJSON(Node379width, Node379height, true, false, false, ' '+ Node379fontSize + 'px "UniDreamLED"')) Node379.setPosition(731*ratio.ratioX, 753*ratio.ratioY); Node379.setWidth(Node379width); Node379.setHeight(Node379height); Node379._nodeType = 'text'; Node379._disallowEvert = true; Node379.setRotation(0*Math.PI/180); Node379.a('node.width', Node379width); Node379.a('node.height', Node379height); Node379.a('node.rect', [0, 0, Node379width, Node379height]); Node379.a('node.bordercolor','rgba(64,64,64,1)'); Node379.a('node.borderwidth', 0); Node379.a('node.background','' || 'rgba(0,0,0,0)'); Node379.a('node.gradient',''); Node379.a('node.gradientcolor',''); Node379.a('node.text','台'); Node379.a('node.textalign','left'); Node379.a('node.textvAlign','middle'); Node379.a('node.textrect', [Node379textStart, 0, Node379textWidth, Node379height]); Node379.a('node.color','rgba(64,64,64,1)'); Node379.a('node.font',' '+ Node379fontSize + 'px "UniDreamLED"'); Node379.a('node.textvisible',true); Node379.a('node.linefeed',false); if (false) { Node379.a('node.textfunc',function(g) { g.beginPath(); var str=Node379.a('node.text') || '台'; var color=Node379.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node379width,Node379height,13.3333*_ratio.ratioY,"left",color,' '+ Node379fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node379.a('node.underlinepoints',[Node379lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node379fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width + 6, (Node379height - Node379fontSize) * 0.5*_ratio.ratioY + Node379fontSize + 2 ]); Node379.a('node.underlinevisible',false); Node379.a('node.underlineBorderWidth', 1); } dataModel.add(Node379); zoomNodeList.push({ node: Node379, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node380 = new ht.Node(); var Node380textStart, Node380textWidth, Node380lineStart, Node380align = 'left', Node380fontSize = 13.3333*_ratio.ratioY,Node380width = 29*_ratio.ratioX, Node380height = 25*_ratio.ratioY; (function () { if (Node380align === 'left') { Node380textStart = Node380fontSize * 0.2 > 2 ? Node380fontSize * 0.2 - 4 : Node380fontSize * 0.2 - 9; Node380textWidth = Node380width; Node380lineStart = 1; } else if (Node380align === 'right') { Node380textStart = 0; Node380textWidth =Node380fontSize <= 8 ? Node380width + Node380fontSize * 0.2 + 6 : Node380width - Node380fontSize * 0.2; Node380lineStart = (Node380width - (ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node380align === 'center') { Node380textStart = -3; Node380textWidth = Node380width; Node380lineStart = Node380width - ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width - 11; } })(); Node380.setImage(GD.getTextJSON(Node380width, Node380height, true, false, false, ' '+ Node380fontSize + 'px "UniDreamLED"')) Node380.setPosition(732*ratio.ratioX, 782*ratio.ratioY); Node380.setWidth(Node380width); Node380.setHeight(Node380height); Node380._nodeType = 'text'; Node380._disallowEvert = true; Node380.setRotation(0*Math.PI/180); Node380.a('node.width', Node380width); Node380.a('node.height', Node380height); Node380.a('node.rect', [0, 0, Node380width, Node380height]); Node380.a('node.bordercolor','rgba(64,64,64,1)'); Node380.a('node.borderwidth', 0); Node380.a('node.background','' || 'rgba(0,0,0,0)'); Node380.a('node.gradient',''); Node380.a('node.gradientcolor',''); Node380.a('node.text','台'); Node380.a('node.textalign','left'); Node380.a('node.textvAlign','middle'); Node380.a('node.textrect', [Node380textStart, 0, Node380textWidth, Node380height]); Node380.a('node.color','rgba(64,64,64,1)'); Node380.a('node.font',' '+ Node380fontSize + 'px "UniDreamLED"'); Node380.a('node.textvisible',true); Node380.a('node.linefeed',false); if (false) { Node380.a('node.textfunc',function(g) { g.beginPath(); var str=Node380.a('node.text') || '台'; var color=Node380.a('node.color') || 'rgba(64,64,64,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node380width,Node380height,13.3333*_ratio.ratioY,"left",color,' '+ Node380fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node380.a('node.underlinepoints',[Node380lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node380fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width + 6, (Node380height - Node380fontSize) * 0.5*_ratio.ratioY + Node380fontSize + 2 ]); Node380.a('node.underlinevisible',false); Node380.a('node.underlineBorderWidth', 1); } dataModel.add(Node380); zoomNodeList.push({ node: Node380, borderWidth: 0, attr: 'node.borderwidth' }); option = { tooltip : { formatter: "{a}
{c} {b}" }, toolbox: { show:false, feature: { //restore: {}, saveAsImage: {} } }, series: [ { radius: '100%', name: '', type: 'gauge', splitNumber:3, min: 0, max: 1000, 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.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']], width: 10 } }, splitLine:{ length:10, lineStyle: { color: 'rgba(255,255,255,1)' } }, pointer:{ length:'80%', width:7 }, itemStyle: { normal: { opacity: 1 } }, detail: {formatter:'{value}',show:false}, data: [{value: 0, name: ''}] } ] }; _ratio = GD.getRatioWithRotation(0, ratio); var Node381 = new ht.HtmlNode(); Node381.setPosition({'x':448*ratio.ratioX,'y':687*ratio.ratioY}); Node381.setWidth(180*_ratio.ratioX); Node381.setHeight(97*_ratio.ratioY); Node381.setScalable(false); Node381.setRotation(0); Node381.s({ '2d.selectable': false, '2d.movable': false }); chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY); Node381.setHtml(chart); var Node381_chart = chart._chart; dataModel.add(Node381);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node382type = 'rect'; var Node382 = new ht.Node(), Node382BorderWidth = 0*2; if (Node382type === 'arc') { Node382BorderWidth *= 0; } Node382.setImage(GD.getRectJSON(28*_ratio.ratioX, 166*_ratio.ratioY, Node382type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node382.setPosition(19*ratio.ratioX, 886*ratio.ratioY); Node382.setSize(28*_ratio.ratioX, 166*_ratio.ratioY); Node382.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node382.a('node.width', 28*_ratio.ratioX); Node382.a('node.height', 166*_ratio.ratioY); Node382.a('node.type', Node382type); Node382.a('node.rect', [0, 0, 28*_ratio.ratioX, 166*_ratio.ratioY]); Node382.a('node.background', 'rgba(32,191,135,1)'); Node382.a('node.gradientcolor', 'rgba(32,191,135,1)'); Node382.a('node.gradient', ''); Node382.a('node.borderwidth', Node382BorderWidth); Node382.a('node.color', 'rgba(0,0,0,0)'); Node382.a('node.fillrect', [0,0,0,0]); Node382.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node382.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node382.a('node.fillgradient', ''); if (Node382type !== 'rect') { Node382.a('node.arcFrom', parseFloat('@arcFrom@')); Node382.a('node.arcTo', parseFloat('@arcTo@')); Node382.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node382type === 'arc') { Node382.a('node.arcOval', true); } Node382.setRotation(0*Math.PI/180); Node382.borderWidth = Node382BorderWidth; Node382.borderFillwidth = Node382BorderWidth; dataModel.add(Node382); Node382._nodename = 'Node382' Node382._nodeType = 'rect'; zoomNodeList.push({ node: Node382, 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); } })(Node382, Node382.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node383 = new ht.Node(); var Node383textStart, Node383textWidth, Node383lineStart, Node383align = 'center', Node383fontSize = 13.3333*_ratio.ratioY,Node383width = 9*_ratio.ratioX, Node383height = 114*_ratio.ratioY; (function () { if (Node383align === 'left') { Node383textStart = Node383fontSize * 0.2 > 2 ? Node383fontSize * 0.2 - 4 : Node383fontSize * 0.2 - 9; Node383textWidth = Node383width; Node383lineStart = 1; } else if (Node383align === 'right') { Node383textStart = 0; Node383textWidth =Node383fontSize <= 8 ? Node383width + Node383fontSize * 0.2 + 6 : Node383width - Node383fontSize * 0.2; Node383lineStart = (Node383width - (ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node383align === 'center') { Node383textStart = -3; Node383textWidth = Node383width; Node383lineStart = Node383width - ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width - 11; } })(); Node383.setImage(GD.getTextJSON(Node383width, Node383height, false, true, false, ' '+ Node383fontSize + 'px "Arial"')) Node383.setPosition(19*ratio.ratioX, 895*ratio.ratioY); Node383.setWidth(Node383width); Node383.setHeight(Node383height); Node383._nodeType = 'text'; Node383._disallowEvert = true; Node383.setRotation(0*Math.PI/180); Node383.a('node.width', Node383width); Node383.a('node.height', Node383height); Node383.a('node.rect', [0, 0, Node383width, Node383height]); Node383.a('node.bordercolor','rgba(255,255,255,1)'); Node383.a('node.borderwidth', 0); Node383.a('node.background','' || 'rgba(0,0,0,0)'); Node383.a('node.gradient',''); Node383.a('node.gradientcolor',''); Node383.a('node.text','月计划电量完成率'); Node383.a('node.textalign','center'); Node383.a('node.textvAlign','middle'); Node383.a('node.textrect', [Node383textStart, 0, Node383textWidth, Node383height]); Node383.a('node.color','rgba(255,255,255,1)'); Node383.a('node.font',' '+ Node383fontSize + 'px "Arial"'); Node383.a('node.textvisible',false); Node383.a('node.linefeed',true); if (true) { Node383.a('node.textfunc',function(g) { g.beginPath(); var str=Node383.a('node.text') || '月计划电量完成率'; var color=Node383.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node383width,Node383height,13.3333*_ratio.ratioY,"center",color,' '+ Node383fontSize + 'px "Arial"', 0,g); }); } if (false) { Node383.a('node.underlinepoints',[Node383lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node383fontSize + 2 , ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width + 6, (Node383height - Node383fontSize) * 0.5*_ratio.ratioY + Node383fontSize + 2 ]); Node383.a('node.underlinevisible',false); Node383.a('node.underlineBorderWidth', 1); } dataModel.add(Node383); zoomNodeList.push({ node: Node383, borderWidth: 0, attr: 'node.borderwidth' }); var Node384style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"}; var Node384obj=getIndicatorAndSheBeiArr(Node384GroupVarName,Node384GroupInVarName); var Node384series=getIndicatorOrShebeiInfo(Node384GroupVarName,Node384GroupInVarName,Node384style); Node384series && Node384series[0] && (Node384series[0].barGap = 0); var Node384option = { 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:Node384obj["indicatorArr"] }, xAxis : [ { type : 'category', splitNumber:0, data :Node384obj["shebeiArr"], axisLine:{ lineStyle:{ color:'rgba(0,0,0,1)' } }, axisLabel:{ inside:false, interval: 0, textStyle:{ fontSize:"13.3333" } }, z: 10, splitLine:{ show:true, lineStyle:{ color:'rgba(220,220,220,1)' } } } ], yAxis : [ { type : 'value', min:0, max:1000, axisTick:{ lineStyle:{ color:'rgba(0,0,0,1)' } }, precision:2, axisLine:{ lineStyle:{ color:'rgba(0,0,0,1)' } }, axisLabel:{ textStyle:{ fontSize:"13.3333" } }, splitLine:{ show:true, lineStyle:{ color:'rgba(220,220,220,1)' } } }], color: Node384obj.colorArr, series : Node384series }; var Node384 = new ht.HtmlNode(); var Node384BeginTime = ""; var Node384endTime = ""; var Node384yRange = 'fixed'; Node384.setPosition({'x':373*ratio.ratioX,'y':888*ratio.ratioY}); Node384.setWidth(606*ratio.ratioX); Node384.setHeight(129*ratio.ratioY); Node384.setScalable(false); Node384.s({ '2d.selectable': false, '2d.movable': false }); var Node384chart = new ht.Chart(Node384option, 606*ratio.ratioX, 129*ratio.ratioY); Node384.setHtml( Node384chart); var Node384_chart = Node384chart._chart; dataModel.add(Node384); function Node384Refresh(){ var option = Node384chart.getOption(), _option = Node384_chart.getOption(), ses = _option.series; option.series = getIndicatorOrShebeiInfo(Node384GroupVarName,Node384GroupInVarName,Node384style); if (Node384yRange === '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; } Node384_chart.setOption(option, true); } function Node384Search() { var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName="; // var tagsInfo = encodeURIComponent(Node384obj.tagArr.join(',')); var beginTime = "", endTime = "", type = 'static'; // 时间段:当日,当月,当年 。固定时间 var groupbarType = 'snap'; var beginTimeType = 'begin', endTimeType = 'end'; var difTagsInfo = '', staTagsInfo = '', staTagArr = [], difTagArr = []; (function () { var tagsType = Node384obj.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') { Node384Refresh() 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 = Node384chart.getOption(), _option = Node384_chart.getOption(), ses = _option.series; var series = []; for (var i = 0, len = Node384GroupInVarName.length; i < len; i++) { var indiacatorData = Node384GroupInVarName[i]; var data = {}; data.name = indiacatorData.displayName || indiacatorData.Desc; data.type = 'bar'; data.data = []; for (var j = 0, leng = Node384GroupVarName.length; j < leng; j++) { var itemStyle={normal:{color:indiacatorData.color}}; data.itemStyle=itemStyle; var deviceData = Node384GroupVarName[j]; var value = 0; var tagName = '' + deviceData.Name + indiacatorData.Name; var statisticsType = Node384obj.statisticsTypeObj && Node384obj.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 (Node384yRange === '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; } Node384_chart.setOption(option, true); } } if(true){ Node384Refresh(); intervalTimers.push(setInterval(function(){ Node384Refresh(); },1000)); } else { // Node384Search(); }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node385type = 'rect'; var Node385 = new ht.Node(), Node385BorderWidth = 0*2; if (Node385type === 'arc') { Node385BorderWidth *= 0; } Node385.setImage(GD.getRectJSON(25*_ratio.ratioX, 356*_ratio.ratioY, Node385type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node385.setPosition(777*ratio.ratioX, 782*ratio.ratioY); Node385.setSize(25*_ratio.ratioX, 356*_ratio.ratioY); Node385.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node385.a('node.width', 25*_ratio.ratioX); Node385.a('node.height', 356*_ratio.ratioY); Node385.a('node.type', Node385type); Node385.a('node.rect', [0, 0, 25*_ratio.ratioX, 356*_ratio.ratioY]); Node385.a('node.background', 'rgba(0,132,216,1)'); Node385.a('node.gradientcolor', 'rgba(0,132,216,1)'); Node385.a('node.gradient', ''); Node385.a('node.borderwidth', Node385BorderWidth); Node385.a('node.color', 'rgba(0,0,0,0)'); Node385.a('node.fillrect', [0,0,0,0]); Node385.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node385.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node385.a('node.fillgradient', ''); if (Node385type !== 'rect') { Node385.a('node.arcFrom', parseFloat('@arcFrom@')); Node385.a('node.arcTo', parseFloat('@arcTo@')); Node385.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node385type === 'arc') { Node385.a('node.arcOval', true); } Node385.setRotation(0*Math.PI/180); Node385.borderWidth = Node385BorderWidth; Node385.borderFillwidth = Node385BorderWidth; dataModel.add(Node385); Node385._nodename = 'Node385' Node385._nodeType = 'rect'; zoomNodeList.push({ node: Node385, 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); } })(Node385, Node385.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node386 = new ht.Node(); var Node386textStart, Node386textWidth, Node386lineStart, Node386align = 'center', Node386fontSize = 13.3333*_ratio.ratioY,Node386width = 9*_ratio.ratioX, Node386height = 114*_ratio.ratioY; (function () { if (Node386align === 'left') { Node386textStart = Node386fontSize * 0.2 > 2 ? Node386fontSize * 0.2 - 4 : Node386fontSize * 0.2 - 9; Node386textWidth = Node386width; Node386lineStart = 1; } else if (Node386align === 'right') { Node386textStart = 0; Node386textWidth =Node386fontSize <= 8 ? Node386width + Node386fontSize * 0.2 + 6 : Node386width - Node386fontSize * 0.2; Node386lineStart = (Node386width - (ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node386align === 'center') { Node386textStart = -3; Node386textWidth = Node386width; Node386lineStart = Node386width - ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width - 11; } })(); Node386.setImage(GD.getTextJSON(Node386width, Node386height, false, true, false, ' '+ Node386fontSize + 'px "Arial"')) Node386.setPosition(779*ratio.ratioX, 764*ratio.ratioY); Node386.setWidth(Node386width); Node386.setHeight(Node386height); Node386._nodeType = 'text'; Node386._disallowEvert = true; Node386.setRotation(0*Math.PI/180); Node386.a('node.width', Node386width); Node386.a('node.height', Node386height); Node386.a('node.rect', [0, 0, Node386width, Node386height]); Node386.a('node.bordercolor','rgba(255,255,255,1)'); Node386.a('node.borderwidth', 0); Node386.a('node.background','' || 'rgba(0,0,0,0)'); Node386.a('node.gradient',''); Node386.a('node.gradientcolor',''); Node386.a('node.text','理论电量平衡分析'); Node386.a('node.textalign','center'); Node386.a('node.textvAlign','middle'); Node386.a('node.textrect', [Node386textStart, 0, Node386textWidth, Node386height]); Node386.a('node.color','rgba(255,255,255,1)'); Node386.a('node.font',' '+ Node386fontSize + 'px "Arial"'); Node386.a('node.textvisible',false); Node386.a('node.linefeed',true); if (true) { Node386.a('node.textfunc',function(g) { g.beginPath(); var str=Node386.a('node.text') || '理论电量平衡分析'; var color=Node386.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node386width,Node386height,13.3333*_ratio.ratioY,"center",color,' '+ Node386fontSize + 'px "Arial"', 0,g); }); } if (false) { Node386.a('node.underlinepoints',[Node386lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node386fontSize + 2 , ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width + 6, (Node386height - Node386fontSize) * 0.5*_ratio.ratioY + Node386fontSize + 2 ]); Node386.a('node.underlinevisible',false); Node386.a('node.underlineBorderWidth', 1); } dataModel.add(Node386); zoomNodeList.push({ node: Node386, borderWidth: 0, attr: 'node.borderwidth' }); // var alarmLevelDic = {}; // var alarmLevelDicName = {}; // var alarmGroupDic = {}; var Node387_beginTime='2018/6/28 14:55:41'; var Node387_endTime='2018/6/29 14:55:41'; var Node387_alarmAreaTmp='*'; var Node387_chartType="normal"; var Node387Export; var Node387Arr=[{tagName:'10',statisticsType:'CalcAvg', name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{tagName:'20',statisticsType:'CalcAvg', name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{tagName:'30',statisticsType:'CalcAvg', name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{tagName:'202,32,32',statisticsType:'CalcAvg', name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{tagName:'8',statisticsType:'CalcAvg', name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{tagName:'12',statisticsType:'CalcAvg', name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{tagName:'3',statisticsType:'CalcAvg', name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]; var st,et,alarmArea; var Node387Option = { title : { text: '', x:'' }, tooltip : { trigger: 'item', //formatter: "{a}
{b} :{c} ({d}%)" formatter:function (params, ticket, callback) { return params.name +':
'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%'; } }, color:colors, toolbox: { // show: false, feature: { //dataView: {show: true, readOnly: false}, //magicType: {show: true, type: ['line', 'bar', 'stack', 'tiled']}, //restore: {show: true}, saveAsImage: {show: false} } }, legend: { //orient: 'vertical', //left: 'left', bottom:'bottom', data: ["一","二","三","四","五","六","七"], show:false }, series : [ { name: '', type: 'pie', radius : '65%', center: ['50%', '50%'], data:[ {value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}], label: { normal: { show:false } }, itemStyle: { // normal: { // shadowBlur: 10, // shadowOffsetX: 10, // shadowOffsetY: 10, // shadowColor: 'rgba(0, 0, 0, 0.5)', // }, // emphasis: { // shadowBlur: 10, // shadowOffsetX: 10, // shadowOffsetY: 10, // shadowColor: 'rgba(0, 0, 0, 0.5)' // } } } ] }; var Node387 = new ht.HtmlNode(); Node387.setPosition({'x':997*ratio.ratioX,'y':790*ratio.ratioY}); Node387.setWidth(379.2*ratio.ratioX); Node387.setHeight(379.2*ratio.ratioY); Node387.setScalable(false); Node387.s({ '2d.selectable': false, '2d.movable': false }); //Node387.option=Node387Option; chart = new ht.Chart(Node387Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY); Node387.setHtml(chart); var Node387_chart = chart._chart; dataModel.add(Node387); Node387.option=Node387Option; if(Node387_chartType!="normal"){ st=(new Date('2018/6/28 14:55:41')).getTime(); et=(new Date('2018/6/29 14:55:41')).getTime(); Node387_alarmAreaTmp = '*'||'*'; }else{ st=(new Date("'2018/6/28 14:55:41'")).getTime(); et=(new Date("'2018/6/29 14:55:41'")).getTime(); Node387_alarmAreaTmp= ''*''||'*'; } var alarmAreaDicName = {}; Node387.NodeCreat=function(option) { Node387_chart.clear(); Node387_chart.setOption(option); }; //判断是不是报警画图 if(Node387_chartType!="normal"){ if(Node387_chartType=="alarmLevel"){ //报警等级画图 // getAlarmLevels(); getAlarmLevelChartData(st,et,Node387_alarmAreaTmp,"alarmLevelPie",Node387,Node387.NodeCreat); }else if(Node387_chartType=="alarmGroup"){ //报警组画图 // alarmGroupDic= getAlarmGroups(); getAlarmGroupChartData(st,et,Node387_alarmAreaTmp,"alarmGroupPie",Node387,Node387.NodeCreat); } } function Node387RefreshPieChartInfo(){ if (Node387_chartType === 'statistic') { return Node387Search(); } if(Node387_chartType!="normal"){ st=(new Date('2018/6/28 14:55:41')).getTime(); et=(new Date('2018/6/29 14:55:41')).getTime(); Node387_alarmAreaTmp = '*'||'*'; // Node387_alarmAreaTmp="你好"; // var Node387type=Node387_chartType+"pie"; if (!GD.testSearchTime(st, et)) { return ; } if(Node387_chartType=="alarmLevel"){ getAlarmLevelChartData(st,et,Node387_alarmAreaTmp,"alarmLevelPie",Node387,Node387.NodeCreat); }else if(Node387_chartType=="alarmGroup"){ getAlarmGroupChartData(st,et,Node387_alarmAreaTmp,"alarmGroupPie",Node387,Node387.NodeCreat); } }else{ st=(new Date("'2018/6/28 14:55:41'")).getTime(); et=(new Date("'2018/6/29 14:55:41'")).getTime(); Node387_alarmAreaTmp= 'Node387_alarmAreaTmp'||'*'; } } Node387Export = function () { var option = Node387_chart.getOption(), series = option.series[0] || {}, data = series['data'] || []; var tempArr = [], resultArr = [], titleArr = [], d,title, total = 0, t, fileName; if(Node387_chartType!="normal"){ if(Node387_chartType=="alarmLevel"){ title = '故障级别'; fileName = '故障级别'; } else if(Node387_chartType=="alarmGroup"){ title = '故障类别'; fileName = '故障类别'; } tempArr = [title, '数值', '百分比']; titleArr = ['name', 'value', 'percent']; for (var i = 0, len = data.length; i < len; i++) { total += data[i].value; } } else { title = '类目'; tempArr = [title, '数值']; titleArr = ['name', 'value']; fileName = ''; } resultArr.push(tempArr); for (var i = 0, len = data.length; i < len; i++) { d = data[i]; tempArr = []; for (var j = 0, leng = titleArr.length; j < leng; j++) { t = titleArr[j]; if (t === 'percent') { if (total != 0) { tempArr.push((d.value * 100 / total).toFixed(2, 10) + '%'); } else { tempArr.push('0.00%'); } } else { tempArr.push(d[t]); } } resultArr.push(tempArr); } GD.exportArrToCsv(resultArr, fileName); }; function Node387Search() { var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName="; var statisticsTypeObj = {}; for(var i=0;i 2 ? Node390fontSize * 0.2 - 4 : Node390fontSize * 0.2 - 9; Node390textWidth = Node390width; Node390lineStart = 1; } else if (Node390align === 'right') { Node390textStart = 0; Node390textWidth =Node390fontSize <= 8 ? Node390width + Node390fontSize * 0.2 + 6 : Node390width - Node390fontSize * 0.2; Node390lineStart = (Node390width - (ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node390align === 'center') { Node390textStart = -3; Node390textWidth = Node390width; Node390lineStart = Node390width - ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width - 11; } })(); Node390.setImage(GD.getTextJSON(Node390width, Node390height, true, false, false, ' '+ Node390fontSize + 'px "Arial"')) Node390.setPosition(1189*ratio.ratioX, 679*ratio.ratioY); Node390.setWidth(Node390width); Node390.setHeight(Node390height); Node390._nodeType = 'text'; Node390._disallowEvert = true; Node390.setRotation(0*Math.PI/180); Node390.a('node.width', Node390width); Node390.a('node.height', Node390height); Node390.a('node.rect', [0, 0, Node390width, Node390height]); Node390.a('node.bordercolor','rgba(0,0,0,1)'); Node390.a('node.borderwidth', 0); Node390.a('node.background','' || 'rgba(0,0,0,0)'); Node390.a('node.gradient',''); Node390.a('node.gradientcolor',''); Node390.a('node.text','理论发电量'); Node390.a('node.textalign','left'); Node390.a('node.textvAlign','middle'); Node390.a('node.textrect', [Node390textStart, 0, Node390textWidth, Node390height]); Node390.a('node.color','rgba(0,0,0,1)'); Node390.a('node.font',' '+ Node390fontSize + 'px "Arial"'); Node390.a('node.textvisible',true); Node390.a('node.linefeed',false); if (false) { Node390.a('node.textfunc',function(g) { g.beginPath(); var str=Node390.a('node.text') || '理论发电量'; var color=Node390.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node390width,Node390height,10.66664*_ratio.ratioY,"left",color,' '+ Node390fontSize + 'px "Arial"', 0,g); }); } if (false) { Node390.a('node.underlinepoints',[Node390lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node390fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width + 6, (Node390height - Node390fontSize) * 0.5*_ratio.ratioY + Node390fontSize + 2 ]); Node390.a('node.underlinevisible',false); Node390.a('node.underlineBorderWidth', 1); } dataModel.add(Node390); zoomNodeList.push({ node: Node390, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node391type = 'rect'; var Node391 = new ht.Node(), Node391BorderWidth = 1*2; if (Node391type === 'arc') { Node391BorderWidth *= 1; } Node391.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node391type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node391.setPosition(1190*ratio.ratioX, 716*ratio.ratioY); Node391.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node391.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node391.a('node.width', 72*_ratio.ratioX); Node391.a('node.height', 33*_ratio.ratioY); Node391.a('node.type', Node391type); Node391.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node391.a('node.background', 'rgba(255,255,255,0.003921569)'); Node391.a('node.gradientcolor', ''); Node391.a('node.gradient', ''); Node391.a('node.borderwidth', Node391BorderWidth); Node391.a('node.color', 'rgba(192,192,192,1)'); Node391.a('node.fillrect', [0,0,0,0]); Node391.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node391.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node391.a('node.fillgradient', ''); if (Node391type !== 'rect') { Node391.a('node.arcFrom', parseFloat('@arcFrom@')); Node391.a('node.arcTo', parseFloat('@arcTo@')); Node391.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node391type === 'arc') { Node391.a('node.arcOval', true); } Node391.setRotation(0*Math.PI/180); Node391.borderWidth = Node391BorderWidth; Node391.borderFillwidth = Node391BorderWidth; dataModel.add(Node391); Node391._nodename = 'Node391' Node391._nodeType = 'rect'; zoomNodeList.push({ node: Node391, 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); } })(Node391, Node391.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node392type = 'rect'; var Node392 = new ht.Node(), Node392BorderWidth = 1*2; if (Node392type === 'arc') { Node392BorderWidth *= 1; } Node392.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node392type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node392.setPosition(1262*ratio.ratioX, 716*ratio.ratioY); Node392.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node392.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node392.a('node.width', 72*_ratio.ratioX); Node392.a('node.height', 33*_ratio.ratioY); Node392.a('node.type', Node392type); Node392.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node392.a('node.background', 'rgba(60,184,254,1)'); Node392.a('node.gradientcolor', 'rgba(60,184,254,1)'); Node392.a('node.gradient', ''); Node392.a('node.borderwidth', Node392BorderWidth); Node392.a('node.color', 'rgba(192,192,192,1)'); Node392.a('node.fillrect', [0,0,0,0]); Node392.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node392.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node392.a('node.fillgradient', ''); if (Node392type !== 'rect') { Node392.a('node.arcFrom', parseFloat('@arcFrom@')); Node392.a('node.arcTo', parseFloat('@arcTo@')); Node392.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node392type === 'arc') { Node392.a('node.arcOval', true); } Node392.setRotation(0*Math.PI/180); Node392.borderWidth = Node392BorderWidth; Node392.borderFillwidth = Node392BorderWidth; dataModel.add(Node392); Node392._nodename = 'Node392' Node392._nodeType = 'rect'; zoomNodeList.push({ node: Node392, 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); } })(Node392, Node392.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node393 = new ht.Node(); var Node393textStart, Node393textWidth, Node393lineStart, Node393align = 'left', Node393fontSize = 10.66664*_ratio.ratioY,Node393width = 63*_ratio.ratioX, Node393height = 25*_ratio.ratioY; (function () { if (Node393align === 'left') { Node393textStart = Node393fontSize * 0.2 > 2 ? Node393fontSize * 0.2 - 4 : Node393fontSize * 0.2 - 9; Node393textWidth = Node393width; Node393lineStart = 1; } else if (Node393align === 'right') { Node393textStart = 0; Node393textWidth =Node393fontSize <= 8 ? Node393width + Node393fontSize * 0.2 + 6 : Node393width - Node393fontSize * 0.2; Node393lineStart = (Node393width - (ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node393align === 'center') { Node393textStart = -3; Node393textWidth = Node393width; Node393lineStart = Node393width - ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width - 11; } })(); Node393.setImage(GD.getTextJSON(Node393width, Node393height, true, false, false, ' '+ Node393fontSize + 'px "Arial"')) Node393.setPosition(1189*ratio.ratioX, 718*ratio.ratioY); Node393.setWidth(Node393width); Node393.setHeight(Node393height); Node393._nodeType = 'text'; Node393._disallowEvert = true; Node393.setRotation(0*Math.PI/180); Node393.a('node.width', Node393width); Node393.a('node.height', Node393height); Node393.a('node.rect', [0, 0, Node393width, Node393height]); Node393.a('node.bordercolor','rgba(0,0,0,1)'); Node393.a('node.borderwidth', 0); Node393.a('node.background','' || 'rgba(0,0,0,0)'); Node393.a('node.gradient',''); Node393.a('node.gradientcolor',''); Node393.a('node.text','理论发电量'); Node393.a('node.textalign','left'); Node393.a('node.textvAlign','middle'); Node393.a('node.textrect', [Node393textStart, 0, Node393textWidth, Node393height]); Node393.a('node.color','rgba(0,0,0,1)'); Node393.a('node.font',' '+ Node393fontSize + 'px "Arial"'); Node393.a('node.textvisible',true); Node393.a('node.linefeed',false); if (false) { Node393.a('node.textfunc',function(g) { g.beginPath(); var str=Node393.a('node.text') || '理论发电量'; var color=Node393.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node393width,Node393height,10.66664*_ratio.ratioY,"left",color,' '+ Node393fontSize + 'px "Arial"', 0,g); }); } if (false) { Node393.a('node.underlinepoints',[Node393lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node393fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width + 6, (Node393height - Node393fontSize) * 0.5*_ratio.ratioY + Node393fontSize + 2 ]); Node393.a('node.underlinevisible',false); Node393.a('node.underlineBorderWidth', 1); } dataModel.add(Node393); zoomNodeList.push({ node: Node393, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node394type = 'rect'; var Node394 = new ht.Node(), Node394BorderWidth = 1*2; if (Node394type === 'arc') { Node394BorderWidth *= 1; } Node394.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node394type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node394.setPosition(1190*ratio.ratioX, 754*ratio.ratioY); Node394.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node394.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node394.a('node.width', 72*_ratio.ratioX); Node394.a('node.height', 33*_ratio.ratioY); Node394.a('node.type', Node394type); Node394.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node394.a('node.background', 'rgba(255,255,255,0.003921569)'); Node394.a('node.gradientcolor', ''); Node394.a('node.gradient', ''); Node394.a('node.borderwidth', Node394BorderWidth); Node394.a('node.color', 'rgba(192,192,192,1)'); Node394.a('node.fillrect', [0,0,0,0]); Node394.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node394.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node394.a('node.fillgradient', ''); if (Node394type !== 'rect') { Node394.a('node.arcFrom', parseFloat('@arcFrom@')); Node394.a('node.arcTo', parseFloat('@arcTo@')); Node394.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node394type === 'arc') { Node394.a('node.arcOval', true); } Node394.setRotation(0*Math.PI/180); Node394.borderWidth = Node394BorderWidth; Node394.borderFillwidth = Node394BorderWidth; dataModel.add(Node394); Node394._nodename = 'Node394' Node394._nodeType = 'rect'; zoomNodeList.push({ node: Node394, 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); } })(Node394, Node394.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node395type = 'rect'; var Node395 = new ht.Node(), Node395BorderWidth = 1*2; if (Node395type === 'arc') { Node395BorderWidth *= 1; } Node395.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node395type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node395.setPosition(1262*ratio.ratioX, 754*ratio.ratioY); Node395.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node395.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node395.a('node.width', 72*_ratio.ratioX); Node395.a('node.height', 33*_ratio.ratioY); Node395.a('node.type', Node395type); Node395.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node395.a('node.background', 'rgba(255,115,20,1)'); Node395.a('node.gradientcolor', 'rgba(255,115,20,1)'); Node395.a('node.gradient', ''); Node395.a('node.borderwidth', Node395BorderWidth); Node395.a('node.color', 'rgba(255,115,20,1)'); Node395.a('node.fillrect', [0,0,0,0]); Node395.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node395.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node395.a('node.fillgradient', ''); if (Node395type !== 'rect') { Node395.a('node.arcFrom', parseFloat('@arcFrom@')); Node395.a('node.arcTo', parseFloat('@arcTo@')); Node395.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node395type === 'arc') { Node395.a('node.arcOval', true); } Node395.setRotation(0*Math.PI/180); Node395.borderWidth = Node395BorderWidth; Node395.borderFillwidth = Node395BorderWidth; dataModel.add(Node395); Node395._nodename = 'Node395' Node395._nodeType = 'rect'; zoomNodeList.push({ node: Node395, 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); } })(Node395, Node395.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node396 = new ht.Node(); var Node396textStart, Node396textWidth, Node396lineStart, Node396align = 'left', Node396fontSize = 10.66664*_ratio.ratioY,Node396width = 63*_ratio.ratioX, Node396height = 25*_ratio.ratioY; (function () { if (Node396align === 'left') { Node396textStart = Node396fontSize * 0.2 > 2 ? Node396fontSize * 0.2 - 4 : Node396fontSize * 0.2 - 9; Node396textWidth = Node396width; Node396lineStart = 1; } else if (Node396align === 'right') { Node396textStart = 0; Node396textWidth =Node396fontSize <= 8 ? Node396width + Node396fontSize * 0.2 + 6 : Node396width - Node396fontSize * 0.2; Node396lineStart = (Node396width - (ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node396align === 'center') { Node396textStart = -3; Node396textWidth = Node396width; Node396lineStart = Node396width - ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width - 11; } })(); Node396.setImage(GD.getTextJSON(Node396width, Node396height, true, false, false, ' '+ Node396fontSize + 'px "Arial"')) Node396.setPosition(1189*ratio.ratioX, 756*ratio.ratioY); Node396.setWidth(Node396width); Node396.setHeight(Node396height); Node396._nodeType = 'text'; Node396._disallowEvert = true; Node396.setRotation(0*Math.PI/180); Node396.a('node.width', Node396width); Node396.a('node.height', Node396height); Node396.a('node.rect', [0, 0, Node396width, Node396height]); Node396.a('node.bordercolor','rgba(0,0,0,1)'); Node396.a('node.borderwidth', 0); Node396.a('node.background','' || 'rgba(0,0,0,0)'); Node396.a('node.gradient',''); Node396.a('node.gradientcolor',''); Node396.a('node.text','理论发电量'); Node396.a('node.textalign','left'); Node396.a('node.textvAlign','middle'); Node396.a('node.textrect', [Node396textStart, 0, Node396textWidth, Node396height]); Node396.a('node.color','rgba(0,0,0,1)'); Node396.a('node.font',' '+ Node396fontSize + 'px "Arial"'); Node396.a('node.textvisible',true); Node396.a('node.linefeed',false); if (false) { Node396.a('node.textfunc',function(g) { g.beginPath(); var str=Node396.a('node.text') || '理论发电量'; var color=Node396.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node396width,Node396height,10.66664*_ratio.ratioY,"left",color,' '+ Node396fontSize + 'px "Arial"', 0,g); }); } if (false) { Node396.a('node.underlinepoints',[Node396lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node396fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width + 6, (Node396height - Node396fontSize) * 0.5*_ratio.ratioY + Node396fontSize + 2 ]); Node396.a('node.underlinevisible',false); Node396.a('node.underlineBorderWidth', 1); } dataModel.add(Node396); zoomNodeList.push({ node: Node396, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node397type = 'rect'; var Node397 = new ht.Node(), Node397BorderWidth = 1*2; if (Node397type === 'arc') { Node397BorderWidth *= 1; } Node397.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node397type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node397.setPosition(1190*ratio.ratioX, 793*ratio.ratioY); Node397.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node397.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node397.a('node.width', 72*_ratio.ratioX); Node397.a('node.height', 33*_ratio.ratioY); Node397.a('node.type', Node397type); Node397.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node397.a('node.background', 'rgba(255,255,255,0.003921569)'); Node397.a('node.gradientcolor', ''); Node397.a('node.gradient', ''); Node397.a('node.borderwidth', Node397BorderWidth); Node397.a('node.color', 'rgba(192,192,192,1)'); Node397.a('node.fillrect', [0,0,0,0]); Node397.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node397.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node397.a('node.fillgradient', ''); if (Node397type !== 'rect') { Node397.a('node.arcFrom', parseFloat('@arcFrom@')); Node397.a('node.arcTo', parseFloat('@arcTo@')); Node397.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node397type === 'arc') { Node397.a('node.arcOval', true); } Node397.setRotation(0*Math.PI/180); Node397.borderWidth = Node397BorderWidth; Node397.borderFillwidth = Node397BorderWidth; dataModel.add(Node397); Node397._nodename = 'Node397' Node397._nodeType = 'rect'; zoomNodeList.push({ node: Node397, 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); } })(Node397, Node397.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node398type = 'rect'; var Node398 = new ht.Node(), Node398BorderWidth = 1*2; if (Node398type === 'arc') { Node398BorderWidth *= 1; } Node398.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node398type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node398.setPosition(1262*ratio.ratioX, 793*ratio.ratioY); Node398.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node398.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node398.a('node.width', 72*_ratio.ratioX); Node398.a('node.height', 33*_ratio.ratioY); Node398.a('node.type', Node398type); Node398.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node398.a('node.background', 'rgba(202,32,32,1)'); Node398.a('node.gradientcolor', 'rgba(202,32,32,1)'); Node398.a('node.gradient', ''); Node398.a('node.borderwidth', Node398BorderWidth); Node398.a('node.color', 'rgba(192,192,192,1)'); Node398.a('node.fillrect', [0,0,0,0]); Node398.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node398.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node398.a('node.fillgradient', ''); if (Node398type !== 'rect') { Node398.a('node.arcFrom', parseFloat('@arcFrom@')); Node398.a('node.arcTo', parseFloat('@arcTo@')); Node398.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node398type === 'arc') { Node398.a('node.arcOval', true); } Node398.setRotation(0*Math.PI/180); Node398.borderWidth = Node398BorderWidth; Node398.borderFillwidth = Node398BorderWidth; dataModel.add(Node398); Node398._nodename = 'Node398' Node398._nodeType = 'rect'; zoomNodeList.push({ node: Node398, 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); } })(Node398, Node398.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node399 = new ht.Node(); var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'left', Node399fontSize = 10.66664*_ratio.ratioY,Node399width = 63*_ratio.ratioX, Node399height = 25*_ratio.ratioY; (function () { if (Node399align === 'left') { Node399textStart = Node399fontSize * 0.2 > 2 ? Node399fontSize * 0.2 - 4 : Node399fontSize * 0.2 - 9; Node399textWidth = Node399width; Node399lineStart = 1; } else if (Node399align === 'right') { Node399textStart = 0; Node399textWidth =Node399fontSize <= 8 ? Node399width + Node399fontSize * 0.2 + 6 : Node399width - Node399fontSize * 0.2; Node399lineStart = (Node399width - (ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node399align === 'center') { Node399textStart = -3; Node399textWidth = Node399width; Node399lineStart = Node399width - ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width - 11; } })(); Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"')) Node399.setPosition(1189*ratio.ratioX, 795*ratio.ratioY); Node399.setWidth(Node399width); Node399.setHeight(Node399height); Node399._nodeType = 'text'; Node399._disallowEvert = true; Node399.setRotation(0*Math.PI/180); Node399.a('node.width', Node399width); Node399.a('node.height', Node399height); Node399.a('node.rect', [0, 0, Node399width, Node399height]); Node399.a('node.bordercolor','rgba(0,0,0,1)'); Node399.a('node.borderwidth', 0); Node399.a('node.background','' || 'rgba(0,0,0,0)'); Node399.a('node.gradient',''); Node399.a('node.gradientcolor',''); Node399.a('node.text','理论发电量'); Node399.a('node.textalign','left'); Node399.a('node.textvAlign','middle'); Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]); Node399.a('node.color','rgba(0,0,0,1)'); Node399.a('node.font',' '+ Node399fontSize + 'px "Arial"'); Node399.a('node.textvisible',true); Node399.a('node.linefeed',false); if (false) { Node399.a('node.textfunc',function(g) { g.beginPath(); var str=Node399.a('node.text') || '理论发电量'; var color=Node399.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node399width,Node399height,10.66664*_ratio.ratioY,"left",color,' '+ Node399fontSize + 'px "Arial"', 0,g); }); } if (false) { Node399.a('node.underlinepoints',[Node399lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width + 6, (Node399height - Node399fontSize) * 0.5*_ratio.ratioY + Node399fontSize + 2 ]); Node399.a('node.underlinevisible',false); Node399.a('node.underlineBorderWidth', 1); } dataModel.add(Node399); zoomNodeList.push({ node: Node399, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node400type = 'rect'; var Node400 = new ht.Node(), Node400BorderWidth = 1*2; if (Node400type === 'arc') { Node400BorderWidth *= 1; } Node400.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node400type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node400.setPosition(1190*ratio.ratioX, 831*ratio.ratioY); Node400.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node400.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node400.a('node.width', 72*_ratio.ratioX); Node400.a('node.height', 33*_ratio.ratioY); Node400.a('node.type', Node400type); Node400.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node400.a('node.background', 'rgba(255,255,255,0.003921569)'); Node400.a('node.gradientcolor', ''); Node400.a('node.gradient', ''); Node400.a('node.borderwidth', Node400BorderWidth); Node400.a('node.color', 'rgba(192,192,192,1)'); Node400.a('node.fillrect', [0,0,0,0]); Node400.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node400.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node400.a('node.fillgradient', ''); if (Node400type !== 'rect') { Node400.a('node.arcFrom', parseFloat('@arcFrom@')); Node400.a('node.arcTo', parseFloat('@arcTo@')); Node400.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node400type === 'arc') { Node400.a('node.arcOval', true); } Node400.setRotation(0*Math.PI/180); Node400.borderWidth = Node400BorderWidth; Node400.borderFillwidth = Node400BorderWidth; dataModel.add(Node400); Node400._nodename = 'Node400' Node400._nodeType = 'rect'; zoomNodeList.push({ node: Node400, 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); } })(Node400, Node400.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node401type = 'rect'; var Node401 = new ht.Node(), Node401BorderWidth = 1*2; if (Node401type === 'arc') { Node401BorderWidth *= 1; } Node401.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node401type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node401.setPosition(1262*ratio.ratioX, 831*ratio.ratioY); Node401.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node401.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node401.a('node.width', 72*_ratio.ratioX); Node401.a('node.height', 33*_ratio.ratioY); Node401.a('node.type', Node401type); Node401.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node401.a('node.background', 'rgba(172,56,137,1)'); Node401.a('node.gradientcolor', 'rgba(172,56,137,1)'); Node401.a('node.gradient', ''); Node401.a('node.borderwidth', Node401BorderWidth); Node401.a('node.color', 'rgba(192,192,192,1)'); Node401.a('node.fillrect', [0,0,0,0]); Node401.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node401.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node401.a('node.fillgradient', ''); if (Node401type !== 'rect') { Node401.a('node.arcFrom', parseFloat('@arcFrom@')); Node401.a('node.arcTo', parseFloat('@arcTo@')); Node401.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node401type === 'arc') { Node401.a('node.arcOval', true); } Node401.setRotation(0*Math.PI/180); Node401.borderWidth = Node401BorderWidth; Node401.borderFillwidth = Node401BorderWidth; dataModel.add(Node401); Node401._nodename = 'Node401' Node401._nodeType = 'rect'; zoomNodeList.push({ node: Node401, 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); } })(Node401, Node401.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node402 = new ht.Node(); var Node402textStart, Node402textWidth, Node402lineStart, Node402align = 'left', Node402fontSize = 10.66664*_ratio.ratioY,Node402width = 63*_ratio.ratioX, Node402height = 25*_ratio.ratioY; (function () { if (Node402align === 'left') { Node402textStart = Node402fontSize * 0.2 > 2 ? Node402fontSize * 0.2 - 4 : Node402fontSize * 0.2 - 9; Node402textWidth = Node402width; Node402lineStart = 1; } else if (Node402align === 'right') { Node402textStart = 0; Node402textWidth =Node402fontSize <= 8 ? Node402width + Node402fontSize * 0.2 + 6 : Node402width - Node402fontSize * 0.2; Node402lineStart = (Node402width - (ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node402align === 'center') { Node402textStart = -3; Node402textWidth = Node402width; Node402lineStart = Node402width - ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width - 11; } })(); Node402.setImage(GD.getTextJSON(Node402width, Node402height, true, false, false, ' '+ Node402fontSize + 'px "Arial"')) Node402.setPosition(1189*ratio.ratioX, 833*ratio.ratioY); Node402.setWidth(Node402width); Node402.setHeight(Node402height); Node402._nodeType = 'text'; Node402._disallowEvert = true; Node402.setRotation(0*Math.PI/180); Node402.a('node.width', Node402width); Node402.a('node.height', Node402height); Node402.a('node.rect', [0, 0, Node402width, Node402height]); Node402.a('node.bordercolor','rgba(0,0,0,1)'); Node402.a('node.borderwidth', 0); Node402.a('node.background','' || 'rgba(0,0,0,0)'); Node402.a('node.gradient',''); Node402.a('node.gradientcolor',''); Node402.a('node.text','理论发电量'); Node402.a('node.textalign','left'); Node402.a('node.textvAlign','middle'); Node402.a('node.textrect', [Node402textStart, 0, Node402textWidth, Node402height]); Node402.a('node.color','rgba(0,0,0,1)'); Node402.a('node.font',' '+ Node402fontSize + 'px "Arial"'); Node402.a('node.textvisible',true); Node402.a('node.linefeed',false); if (false) { Node402.a('node.textfunc',function(g) { g.beginPath(); var str=Node402.a('node.text') || '理论发电量'; var color=Node402.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node402width,Node402height,10.66664*_ratio.ratioY,"left",color,' '+ Node402fontSize + 'px "Arial"', 0,g); }); } if (false) { Node402.a('node.underlinepoints',[Node402lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node402fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width + 6, (Node402height - Node402fontSize) * 0.5*_ratio.ratioY + Node402fontSize + 2 ]); Node402.a('node.underlinevisible',false); Node402.a('node.underlineBorderWidth', 1); } dataModel.add(Node402); zoomNodeList.push({ node: Node402, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node403type = 'rect'; var Node403 = new ht.Node(), Node403BorderWidth = 1*2; if (Node403type === 'arc') { Node403BorderWidth *= 1; } Node403.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node403type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node403.setPosition(1190*ratio.ratioX, 870*ratio.ratioY); Node403.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node403.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node403.a('node.width', 72*_ratio.ratioX); Node403.a('node.height', 33*_ratio.ratioY); Node403.a('node.type', Node403type); Node403.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node403.a('node.background', 'rgba(255,255,255,0.003921569)'); Node403.a('node.gradientcolor', ''); Node403.a('node.gradient', ''); Node403.a('node.borderwidth', Node403BorderWidth); Node403.a('node.color', 'rgba(192,192,192,1)'); Node403.a('node.fillrect', [0,0,0,0]); Node403.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node403.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node403.a('node.fillgradient', ''); if (Node403type !== 'rect') { Node403.a('node.arcFrom', parseFloat('@arcFrom@')); Node403.a('node.arcTo', parseFloat('@arcTo@')); Node403.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node403type === 'arc') { Node403.a('node.arcOval', true); } Node403.setRotation(0*Math.PI/180); Node403.borderWidth = Node403BorderWidth; Node403.borderFillwidth = Node403BorderWidth; dataModel.add(Node403); Node403._nodename = 'Node403' Node403._nodeType = 'rect'; zoomNodeList.push({ node: Node403, 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); } })(Node403, Node403.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node404type = 'rect'; var Node404 = new ht.Node(), Node404BorderWidth = 1*2; if (Node404type === 'arc') { Node404BorderWidth *= 1; } Node404.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node404type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node404.setPosition(1262*ratio.ratioX, 870*ratio.ratioY); Node404.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node404.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node404.a('node.width', 72*_ratio.ratioX); Node404.a('node.height', 33*_ratio.ratioY); Node404.a('node.type', Node404type); Node404.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node404.a('node.background', 'rgba(1,212,135,1)'); Node404.a('node.gradientcolor', 'rgba(1,212,135,1)'); Node404.a('node.gradient', ''); Node404.a('node.borderwidth', Node404BorderWidth); Node404.a('node.color', 'rgba(192,192,192,1)'); Node404.a('node.fillrect', [0,0,0,0]); Node404.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node404.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node404.a('node.fillgradient', ''); if (Node404type !== 'rect') { Node404.a('node.arcFrom', parseFloat('@arcFrom@')); Node404.a('node.arcTo', parseFloat('@arcTo@')); Node404.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node404type === 'arc') { Node404.a('node.arcOval', true); } Node404.setRotation(0*Math.PI/180); Node404.borderWidth = Node404BorderWidth; Node404.borderFillwidth = Node404BorderWidth; dataModel.add(Node404); Node404._nodename = 'Node404' Node404._nodeType = 'rect'; zoomNodeList.push({ node: Node404, 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); } })(Node404, Node404.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node405 = new ht.Node(); var Node405textStart, Node405textWidth, Node405lineStart, Node405align = 'left', Node405fontSize = 10.66664*_ratio.ratioY,Node405width = 63*_ratio.ratioX, Node405height = 25*_ratio.ratioY; (function () { if (Node405align === 'left') { Node405textStart = Node405fontSize * 0.2 > 2 ? Node405fontSize * 0.2 - 4 : Node405fontSize * 0.2 - 9; Node405textWidth = Node405width; Node405lineStart = 1; } else if (Node405align === 'right') { Node405textStart = 0; Node405textWidth =Node405fontSize <= 8 ? Node405width + Node405fontSize * 0.2 + 6 : Node405width - Node405fontSize * 0.2; Node405lineStart = (Node405width - (ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node405align === 'center') { Node405textStart = -3; Node405textWidth = Node405width; Node405lineStart = Node405width - ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width - 11; } })(); Node405.setImage(GD.getTextJSON(Node405width, Node405height, true, false, false, ' '+ Node405fontSize + 'px "Arial"')) Node405.setPosition(1189*ratio.ratioX, 872*ratio.ratioY); Node405.setWidth(Node405width); Node405.setHeight(Node405height); Node405._nodeType = 'text'; Node405._disallowEvert = true; Node405.setRotation(0*Math.PI/180); Node405.a('node.width', Node405width); Node405.a('node.height', Node405height); Node405.a('node.rect', [0, 0, Node405width, Node405height]); Node405.a('node.bordercolor','rgba(0,0,0,1)'); Node405.a('node.borderwidth', 0); Node405.a('node.background','' || 'rgba(0,0,0,0)'); Node405.a('node.gradient',''); Node405.a('node.gradientcolor',''); Node405.a('node.text','理论发电量'); Node405.a('node.textalign','left'); Node405.a('node.textvAlign','middle'); Node405.a('node.textrect', [Node405textStart, 0, Node405textWidth, Node405height]); Node405.a('node.color','rgba(0,0,0,1)'); Node405.a('node.font',' '+ Node405fontSize + 'px "Arial"'); Node405.a('node.textvisible',true); Node405.a('node.linefeed',false); if (false) { Node405.a('node.textfunc',function(g) { g.beginPath(); var str=Node405.a('node.text') || '理论发电量'; var color=Node405.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node405width,Node405height,10.66664*_ratio.ratioY,"left",color,' '+ Node405fontSize + 'px "Arial"', 0,g); }); } if (false) { Node405.a('node.underlinepoints',[Node405lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node405fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width + 6, (Node405height - Node405fontSize) * 0.5*_ratio.ratioY + Node405fontSize + 2 ]); Node405.a('node.underlinevisible',false); Node405.a('node.underlineBorderWidth', 1); } dataModel.add(Node405); zoomNodeList.push({ node: Node405, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node406type = 'rect'; var Node406 = new ht.Node(), Node406BorderWidth = 1*2; if (Node406type === 'arc') { Node406BorderWidth *= 1; } Node406.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node406type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node406.setPosition(1190*ratio.ratioX, 908*ratio.ratioY); Node406.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node406.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node406.a('node.width', 72*_ratio.ratioX); Node406.a('node.height', 33*_ratio.ratioY); Node406.a('node.type', Node406type); Node406.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node406.a('node.background', 'rgba(255,255,255,0.003921569)'); Node406.a('node.gradientcolor', ''); Node406.a('node.gradient', ''); Node406.a('node.borderwidth', Node406BorderWidth); Node406.a('node.color', 'rgba(192,192,192,1)'); Node406.a('node.fillrect', [0,0,0,0]); Node406.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node406.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node406.a('node.fillgradient', ''); if (Node406type !== 'rect') { Node406.a('node.arcFrom', parseFloat('@arcFrom@')); Node406.a('node.arcTo', parseFloat('@arcTo@')); Node406.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node406type === 'arc') { Node406.a('node.arcOval', true); } Node406.setRotation(0*Math.PI/180); Node406.borderWidth = Node406BorderWidth; Node406.borderFillwidth = Node406BorderWidth; dataModel.add(Node406); Node406._nodename = 'Node406' Node406._nodeType = 'rect'; zoomNodeList.push({ node: Node406, 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); } })(Node406, Node406.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node407type = 'rect'; var Node407 = new ht.Node(), Node407BorderWidth = 1*2; if (Node407type === 'arc') { Node407BorderWidth *= 1; } Node407.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node407type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node407.setPosition(1262*ratio.ratioX, 908*ratio.ratioY); Node407.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node407.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node407.a('node.width', 72*_ratio.ratioX); Node407.a('node.height', 33*_ratio.ratioY); Node407.a('node.type', Node407type); Node407.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node407.a('node.background', 'rgba(173,173,173,1)'); Node407.a('node.gradientcolor', 'rgba(173,173,173,1)'); Node407.a('node.gradient', ''); Node407.a('node.borderwidth', Node407BorderWidth); Node407.a('node.color', 'rgba(192,192,192,1)'); Node407.a('node.fillrect', [0,0,0,0]); Node407.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node407.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node407.a('node.fillgradient', ''); if (Node407type !== 'rect') { Node407.a('node.arcFrom', parseFloat('@arcFrom@')); Node407.a('node.arcTo', parseFloat('@arcTo@')); Node407.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node407type === 'arc') { Node407.a('node.arcOval', true); } Node407.setRotation(0*Math.PI/180); Node407.borderWidth = Node407BorderWidth; Node407.borderFillwidth = Node407BorderWidth; dataModel.add(Node407); Node407._nodename = 'Node407' Node407._nodeType = 'rect'; zoomNodeList.push({ node: Node407, 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); } })(Node407, Node407.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node408 = new ht.Node(); var Node408textStart, Node408textWidth, Node408lineStart, Node408align = 'left', Node408fontSize = 10.66664*_ratio.ratioY,Node408width = 63*_ratio.ratioX, Node408height = 25*_ratio.ratioY; (function () { if (Node408align === 'left') { Node408textStart = Node408fontSize * 0.2 > 2 ? Node408fontSize * 0.2 - 4 : Node408fontSize * 0.2 - 9; Node408textWidth = Node408width; Node408lineStart = 1; } else if (Node408align === 'right') { Node408textStart = 0; Node408textWidth =Node408fontSize <= 8 ? Node408width + Node408fontSize * 0.2 + 6 : Node408width - Node408fontSize * 0.2; Node408lineStart = (Node408width - (ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node408align === 'center') { Node408textStart = -3; Node408textWidth = Node408width; Node408lineStart = Node408width - ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width - 11; } })(); Node408.setImage(GD.getTextJSON(Node408width, Node408height, true, false, false, ' '+ Node408fontSize + 'px "Arial"')) Node408.setPosition(1189*ratio.ratioX, 910*ratio.ratioY); Node408.setWidth(Node408width); Node408.setHeight(Node408height); Node408._nodeType = 'text'; Node408._disallowEvert = true; Node408.setRotation(0*Math.PI/180); Node408.a('node.width', Node408width); Node408.a('node.height', Node408height); Node408.a('node.rect', [0, 0, Node408width, Node408height]); Node408.a('node.bordercolor','rgba(0,0,0,1)'); Node408.a('node.borderwidth', 0); Node408.a('node.background','' || 'rgba(0,0,0,0)'); Node408.a('node.gradient',''); Node408.a('node.gradientcolor',''); Node408.a('node.text','理论发电量'); Node408.a('node.textalign','left'); Node408.a('node.textvAlign','middle'); Node408.a('node.textrect', [Node408textStart, 0, Node408textWidth, Node408height]); Node408.a('node.color','rgba(0,0,0,1)'); Node408.a('node.font',' '+ Node408fontSize + 'px "Arial"'); Node408.a('node.textvisible',true); Node408.a('node.linefeed',false); if (false) { Node408.a('node.textfunc',function(g) { g.beginPath(); var str=Node408.a('node.text') || '理论发电量'; var color=Node408.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node408width,Node408height,10.66664*_ratio.ratioY,"left",color,' '+ Node408fontSize + 'px "Arial"', 0,g); }); } if (false) { Node408.a('node.underlinepoints',[Node408lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node408fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width + 6, (Node408height - Node408fontSize) * 0.5*_ratio.ratioY + Node408fontSize + 2 ]); Node408.a('node.underlinevisible',false); Node408.a('node.underlineBorderWidth', 1); } dataModel.add(Node408); zoomNodeList.push({ node: Node408, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node409 = new ht.Node(); var Node409textStart, Node409textWidth, Node409lineStart, Node409align = 'left', Node409fontSize = 13.3333*_ratio.ratioY,Node409width = 72*_ratio.ratioX, Node409height = 27*_ratio.ratioY; (function () { if (Node409align === 'left') { Node409textStart = Node409fontSize * 0.2 > 2 ? Node409fontSize * 0.2 - 4 : Node409fontSize * 0.2 - 9; Node409textWidth = Node409width; Node409lineStart = 1; } else if (Node409align === 'right') { Node409textStart = 0; Node409textWidth =Node409fontSize <= 8 ? Node409width + Node409fontSize * 0.2 + 6 : Node409width - Node409fontSize * 0.2; Node409lineStart = (Node409width - (ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node409align === 'center') { Node409textStart = -3; Node409textWidth = Node409width; Node409lineStart = Node409width - ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width - 11; } })(); Node409.setImage(GD.getTextJSON(Node409width, Node409height, true, false, false, ' '+ Node409fontSize + 'px "Arial"')) Node409.setPosition(856*ratio.ratioX, 633*ratio.ratioY); Node409.setWidth(Node409width); Node409.setHeight(Node409height); Node409._nodeType = 'text'; Node409._disallowEvert = true; Node409.setRotation(0*Math.PI/180); Node409.a('node.width', Node409width); Node409.a('node.height', Node409height); Node409.a('node.rect', [0, 0, Node409width, Node409height]); Node409.a('node.bordercolor','rgba(105,105,105,1)'); Node409.a('node.borderwidth', 0); Node409.a('node.background','' || 'rgba(0,0,0,0)'); Node409.a('node.gradient',''); Node409.a('node.gradientcolor',''); Node409.a('node.text','月度分析'); Node409.a('node.textalign','left'); Node409.a('node.textvAlign','middle'); Node409.a('node.textrect', [Node409textStart, 0, Node409textWidth, Node409height]); Node409.a('node.color','rgba(105,105,105,1)'); Node409.a('node.font',' '+ Node409fontSize + 'px "Arial"'); Node409.a('node.textvisible',true); Node409.a('node.linefeed',false); if (false) { Node409.a('node.textfunc',function(g) { g.beginPath(); var str=Node409.a('node.text') || '月度分析'; var color=Node409.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node409width,Node409height,13.3333*_ratio.ratioY,"left",color,' '+ Node409fontSize + 'px "Arial"', 0,g); }); } if (false) { Node409.a('node.underlinepoints',[Node409lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node409fontSize + 2 , ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width + 6, (Node409height - Node409fontSize) * 0.5*_ratio.ratioY + Node409fontSize + 2 ]); Node409.a('node.underlinevisible',false); Node409.a('node.underlineBorderWidth', 1); } dataModel.add(Node409); zoomNodeList.push({ node: Node409, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node410 = new ht.Node(); var Node410textStart, Node410textWidth, Node410lineStart, Node410align = 'left', Node410fontSize = 13.3333*_ratio.ratioY,Node410width = 77*_ratio.ratioX, Node410height = 27*_ratio.ratioY; (function () { if (Node410align === 'left') { Node410textStart = Node410fontSize * 0.2 > 2 ? Node410fontSize * 0.2 - 4 : Node410fontSize * 0.2 - 9; Node410textWidth = Node410width; Node410lineStart = 1; } else if (Node410align === 'right') { Node410textStart = 0; Node410textWidth =Node410fontSize <= 8 ? Node410width + Node410fontSize * 0.2 + 6 : Node410width - Node410fontSize * 0.2; Node410lineStart = (Node410width - (ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node410align === 'center') { Node410textStart = -3; Node410textWidth = Node410width; Node410lineStart = Node410width - ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width - 11; } })(); Node410.setImage(GD.getTextJSON(Node410width, Node410height, true, false, false, ' '+ Node410fontSize + 'px "Arial"')) Node410.setPosition(1263*ratio.ratioX, 643*ratio.ratioY); Node410.setWidth(Node410width); Node410.setHeight(Node410height); Node410._nodeType = 'text'; Node410._disallowEvert = true; Node410.setRotation(0*Math.PI/180); Node410.a('node.width', Node410width); Node410.a('node.height', Node410height); Node410.a('node.rect', [0, 0, Node410width, Node410height]); Node410.a('node.bordercolor','rgba(105,105,105,1)'); Node410.a('node.borderwidth', 0); Node410.a('node.background','' || 'rgba(0,0,0,0)'); Node410.a('node.gradient',''); Node410.a('node.gradientcolor',''); Node410.a('node.text','单位:万kwh'); Node410.a('node.textalign','left'); Node410.a('node.textvAlign','middle'); Node410.a('node.textrect', [Node410textStart, 0, Node410textWidth, Node410height]); Node410.a('node.color','rgba(105,105,105,1)'); Node410.a('node.font',' '+ Node410fontSize + 'px "Arial"'); Node410.a('node.textvisible',true); Node410.a('node.linefeed',false); if (false) { Node410.a('node.textfunc',function(g) { g.beginPath(); var str=Node410.a('node.text') || '单位:万kwh'; var color=Node410.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node410width,Node410height,13.3333*_ratio.ratioY,"left",color,' '+ Node410fontSize + 'px "Arial"', 0,g); }); } if (false) { Node410.a('node.underlinepoints',[Node410lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node410fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width + 6, (Node410height - Node410fontSize) * 0.5*_ratio.ratioY + Node410fontSize + 2 ]); Node410.a('node.underlinevisible',false); Node410.a('node.underlineBorderWidth', 1); } dataModel.add(Node410); zoomNodeList.push({ node: Node410, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node411type = 'rect'; var Node411 = new ht.Node(), Node411BorderWidth = 1*2; if (Node411type === 'arc') { Node411BorderWidth *= 1; } Node411.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node411type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node411.setPosition(1730*ratio.ratioX, 670*ratio.ratioY); Node411.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node411.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node411.a('node.width', 72*_ratio.ratioX); Node411.a('node.height', 33*_ratio.ratioY); Node411.a('node.type', Node411type); Node411.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node411.a('node.background', 'rgba(255,255,255,0.003921569)'); Node411.a('node.gradientcolor', ''); Node411.a('node.gradient', ''); Node411.a('node.borderwidth', Node411BorderWidth); Node411.a('node.color', 'rgba(192,192,192,1)'); Node411.a('node.fillrect', [0,0,0,0]); Node411.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node411.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node411.a('node.fillgradient', ''); if (Node411type !== 'rect') { Node411.a('node.arcFrom', parseFloat('@arcFrom@')); Node411.a('node.arcTo', parseFloat('@arcTo@')); Node411.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node411type === 'arc') { Node411.a('node.arcOval', true); } Node411.setRotation(0*Math.PI/180); Node411.borderWidth = Node411BorderWidth; Node411.borderFillwidth = Node411BorderWidth; dataModel.add(Node411); Node411._nodename = 'Node411' Node411._nodeType = 'rect'; zoomNodeList.push({ node: Node411, 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); } })(Node411, Node411.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node412type = 'rect'; var Node412 = new ht.Node(), Node412BorderWidth = 1*2; if (Node412type === 'arc') { Node412BorderWidth *= 1; } Node412.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node412type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node412.setPosition(1802*ratio.ratioX, 670*ratio.ratioY); Node412.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node412.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node412.a('node.width', 72*_ratio.ratioX); Node412.a('node.height', 33*_ratio.ratioY); Node412.a('node.type', Node412type); Node412.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node412.a('node.background', 'rgba(0,132,235,1)'); Node412.a('node.gradientcolor', 'rgba(0,132,235,1)'); Node412.a('node.gradient', ''); Node412.a('node.borderwidth', Node412BorderWidth); Node412.a('node.color', 'rgba(192,192,192,1)'); Node412.a('node.fillrect', [0,0,0,0]); Node412.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node412.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node412.a('node.fillgradient', ''); if (Node412type !== 'rect') { Node412.a('node.arcFrom', parseFloat('@arcFrom@')); Node412.a('node.arcTo', parseFloat('@arcTo@')); Node412.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node412type === 'arc') { Node412.a('node.arcOval', true); } Node412.setRotation(0*Math.PI/180); Node412.borderWidth = Node412BorderWidth; Node412.borderFillwidth = Node412BorderWidth; dataModel.add(Node412); Node412._nodename = 'Node412' Node412._nodeType = 'rect'; zoomNodeList.push({ node: Node412, 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); } })(Node412, Node412.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node413 = new ht.Node(); var Node413textStart, Node413textWidth, Node413lineStart, Node413align = 'left', Node413fontSize = 10.66664*_ratio.ratioY,Node413width = 63*_ratio.ratioX, Node413height = 25*_ratio.ratioY; (function () { if (Node413align === 'left') { Node413textStart = Node413fontSize * 0.2 > 2 ? Node413fontSize * 0.2 - 4 : Node413fontSize * 0.2 - 9; Node413textWidth = Node413width; Node413lineStart = 1; } else if (Node413align === 'right') { Node413textStart = 0; Node413textWidth =Node413fontSize <= 8 ? Node413width + Node413fontSize * 0.2 + 6 : Node413width - Node413fontSize * 0.2; Node413lineStart = (Node413width - (ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node413align === 'center') { Node413textStart = -3; Node413textWidth = Node413width; Node413lineStart = Node413width - ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width - 11; } })(); Node413.setImage(GD.getTextJSON(Node413width, Node413height, true, false, false, ' '+ Node413fontSize + 'px "Arial"')) Node413.setPosition(1729*ratio.ratioX, 672*ratio.ratioY); Node413.setWidth(Node413width); Node413.setHeight(Node413height); Node413._nodeType = 'text'; Node413._disallowEvert = true; Node413.setRotation(0*Math.PI/180); Node413.a('node.width', Node413width); Node413.a('node.height', Node413height); Node413.a('node.rect', [0, 0, Node413width, Node413height]); Node413.a('node.bordercolor','rgba(0,0,0,1)'); Node413.a('node.borderwidth', 0); Node413.a('node.background','' || 'rgba(0,0,0,0)'); Node413.a('node.gradient',''); Node413.a('node.gradientcolor',''); Node413.a('node.text','理论发电量'); Node413.a('node.textalign','left'); Node413.a('node.textvAlign','middle'); Node413.a('node.textrect', [Node413textStart, 0, Node413textWidth, Node413height]); Node413.a('node.color','rgba(0,0,0,1)'); Node413.a('node.font',' '+ Node413fontSize + 'px "Arial"'); Node413.a('node.textvisible',true); Node413.a('node.linefeed',false); if (false) { Node413.a('node.textfunc',function(g) { g.beginPath(); var str=Node413.a('node.text') || '理论发电量'; var color=Node413.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node413width,Node413height,10.66664*_ratio.ratioY,"left",color,' '+ Node413fontSize + 'px "Arial"', 0,g); }); } if (false) { Node413.a('node.underlinepoints',[Node413lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node413fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width + 6, (Node413height - Node413fontSize) * 0.5*_ratio.ratioY + Node413fontSize + 2 ]); Node413.a('node.underlinevisible',false); Node413.a('node.underlineBorderWidth', 1); } dataModel.add(Node413); zoomNodeList.push({ node: Node413, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node414type = 'rect'; var Node414 = new ht.Node(), Node414BorderWidth = 1*2; if (Node414type === 'arc') { Node414BorderWidth *= 1; } Node414.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node414type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node414.setPosition(1730*ratio.ratioX, 709*ratio.ratioY); Node414.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node414.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node414.a('node.width', 72*_ratio.ratioX); Node414.a('node.height', 33*_ratio.ratioY); Node414.a('node.type', Node414type); Node414.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node414.a('node.background', 'rgba(255,255,255,0.003921569)'); Node414.a('node.gradientcolor', ''); Node414.a('node.gradient', ''); Node414.a('node.borderwidth', Node414BorderWidth); Node414.a('node.color', 'rgba(192,192,192,1)'); Node414.a('node.fillrect', [0,0,0,0]); Node414.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node414.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node414.a('node.fillgradient', ''); if (Node414type !== 'rect') { Node414.a('node.arcFrom', parseFloat('@arcFrom@')); Node414.a('node.arcTo', parseFloat('@arcTo@')); Node414.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node414type === 'arc') { Node414.a('node.arcOval', true); } Node414.setRotation(0*Math.PI/180); Node414.borderWidth = Node414BorderWidth; Node414.borderFillwidth = Node414BorderWidth; dataModel.add(Node414); Node414._nodename = 'Node414' Node414._nodeType = 'rect'; zoomNodeList.push({ node: Node414, 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); } })(Node414, Node414.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node415type = 'rect'; var Node415 = new ht.Node(), Node415BorderWidth = 1*2; if (Node415type === 'arc') { Node415BorderWidth *= 1; } Node415.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node415type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node415.setPosition(1802*ratio.ratioX, 709*ratio.ratioY); Node415.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node415.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node415.a('node.width', 72*_ratio.ratioX); Node415.a('node.height', 33*_ratio.ratioY); Node415.a('node.type', Node415type); Node415.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node415.a('node.background', 'rgba(60,184,254,1)'); Node415.a('node.gradientcolor', 'rgba(60,184,254,1)'); Node415.a('node.gradient', ''); Node415.a('node.borderwidth', Node415BorderWidth); Node415.a('node.color', 'rgba(192,192,192,1)'); Node415.a('node.fillrect', [0,0,0,0]); Node415.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node415.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node415.a('node.fillgradient', ''); if (Node415type !== 'rect') { Node415.a('node.arcFrom', parseFloat('@arcFrom@')); Node415.a('node.arcTo', parseFloat('@arcTo@')); Node415.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node415type === 'arc') { Node415.a('node.arcOval', true); } Node415.setRotation(0*Math.PI/180); Node415.borderWidth = Node415BorderWidth; Node415.borderFillwidth = Node415BorderWidth; dataModel.add(Node415); Node415._nodename = 'Node415' Node415._nodeType = 'rect'; zoomNodeList.push({ node: Node415, 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); } })(Node415, Node415.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node416 = new ht.Node(); var Node416textStart, Node416textWidth, Node416lineStart, Node416align = 'left', Node416fontSize = 10.66664*_ratio.ratioY,Node416width = 63*_ratio.ratioX, Node416height = 25*_ratio.ratioY; (function () { if (Node416align === 'left') { Node416textStart = Node416fontSize * 0.2 > 2 ? Node416fontSize * 0.2 - 4 : Node416fontSize * 0.2 - 9; Node416textWidth = Node416width; Node416lineStart = 1; } else if (Node416align === 'right') { Node416textStart = 0; Node416textWidth =Node416fontSize <= 8 ? Node416width + Node416fontSize * 0.2 + 6 : Node416width - Node416fontSize * 0.2; Node416lineStart = (Node416width - (ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node416align === 'center') { Node416textStart = -3; Node416textWidth = Node416width; Node416lineStart = Node416width - ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width - 11; } })(); Node416.setImage(GD.getTextJSON(Node416width, Node416height, true, false, false, ' '+ Node416fontSize + 'px "Arial"')) Node416.setPosition(1729*ratio.ratioX, 711*ratio.ratioY); Node416.setWidth(Node416width); Node416.setHeight(Node416height); Node416._nodeType = 'text'; Node416._disallowEvert = true; Node416.setRotation(0*Math.PI/180); Node416.a('node.width', Node416width); Node416.a('node.height', Node416height); Node416.a('node.rect', [0, 0, Node416width, Node416height]); Node416.a('node.bordercolor','rgba(0,0,0,1)'); Node416.a('node.borderwidth', 0); Node416.a('node.background','' || 'rgba(0,0,0,0)'); Node416.a('node.gradient',''); Node416.a('node.gradientcolor',''); Node416.a('node.text','理论发电量'); Node416.a('node.textalign','left'); Node416.a('node.textvAlign','middle'); Node416.a('node.textrect', [Node416textStart, 0, Node416textWidth, Node416height]); Node416.a('node.color','rgba(0,0,0,1)'); Node416.a('node.font',' '+ Node416fontSize + 'px "Arial"'); Node416.a('node.textvisible',true); Node416.a('node.linefeed',false); if (false) { Node416.a('node.textfunc',function(g) { g.beginPath(); var str=Node416.a('node.text') || '理论发电量'; var color=Node416.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node416width,Node416height,10.66664*_ratio.ratioY,"left",color,' '+ Node416fontSize + 'px "Arial"', 0,g); }); } if (false) { Node416.a('node.underlinepoints',[Node416lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node416fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width + 6, (Node416height - Node416fontSize) * 0.5*_ratio.ratioY + Node416fontSize + 2 ]); Node416.a('node.underlinevisible',false); Node416.a('node.underlineBorderWidth', 1); } dataModel.add(Node416); zoomNodeList.push({ node: Node416, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node417type = 'rect'; var Node417 = new ht.Node(), Node417BorderWidth = 1*2; if (Node417type === 'arc') { Node417BorderWidth *= 1; } Node417.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node417type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node417.setPosition(1730*ratio.ratioX, 747*ratio.ratioY); Node417.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node417.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node417.a('node.width', 72*_ratio.ratioX); Node417.a('node.height', 33*_ratio.ratioY); Node417.a('node.type', Node417type); Node417.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node417.a('node.background', 'rgba(255,255,255,0.003921569)'); Node417.a('node.gradientcolor', ''); Node417.a('node.gradient', ''); Node417.a('node.borderwidth', Node417BorderWidth); Node417.a('node.color', 'rgba(192,192,192,1)'); Node417.a('node.fillrect', [0,0,0,0]); Node417.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node417.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node417.a('node.fillgradient', ''); if (Node417type !== 'rect') { Node417.a('node.arcFrom', parseFloat('@arcFrom@')); Node417.a('node.arcTo', parseFloat('@arcTo@')); Node417.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node417type === 'arc') { Node417.a('node.arcOval', true); } Node417.setRotation(0*Math.PI/180); Node417.borderWidth = Node417BorderWidth; Node417.borderFillwidth = Node417BorderWidth; dataModel.add(Node417); Node417._nodename = 'Node417' Node417._nodeType = 'rect'; zoomNodeList.push({ node: Node417, 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); } })(Node417, Node417.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node418type = 'rect'; var Node418 = new ht.Node(), Node418BorderWidth = 1*2; if (Node418type === 'arc') { Node418BorderWidth *= 1; } Node418.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node418type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node418.setPosition(1802*ratio.ratioX, 747*ratio.ratioY); Node418.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node418.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node418.a('node.width', 72*_ratio.ratioX); Node418.a('node.height', 33*_ratio.ratioY); Node418.a('node.type', Node418type); Node418.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node418.a('node.background', 'rgba(255,115,20,1)'); Node418.a('node.gradientcolor', 'rgba(255,115,20,1)'); Node418.a('node.gradient', ''); Node418.a('node.borderwidth', Node418BorderWidth); Node418.a('node.color', 'rgba(192,192,192,1)'); Node418.a('node.fillrect', [0,0,0,0]); Node418.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node418.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node418.a('node.fillgradient', ''); if (Node418type !== 'rect') { Node418.a('node.arcFrom', parseFloat('@arcFrom@')); Node418.a('node.arcTo', parseFloat('@arcTo@')); Node418.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node418type === 'arc') { Node418.a('node.arcOval', true); } Node418.setRotation(0*Math.PI/180); Node418.borderWidth = Node418BorderWidth; Node418.borderFillwidth = Node418BorderWidth; dataModel.add(Node418); Node418._nodename = 'Node418' Node418._nodeType = 'rect'; zoomNodeList.push({ node: Node418, 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); } })(Node418, Node418.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node419 = new ht.Node(); var Node419textStart, Node419textWidth, Node419lineStart, Node419align = 'left', Node419fontSize = 10.66664*_ratio.ratioY,Node419width = 63*_ratio.ratioX, Node419height = 25*_ratio.ratioY; (function () { if (Node419align === 'left') { Node419textStart = Node419fontSize * 0.2 > 2 ? Node419fontSize * 0.2 - 4 : Node419fontSize * 0.2 - 9; Node419textWidth = Node419width; Node419lineStart = 1; } else if (Node419align === 'right') { Node419textStart = 0; Node419textWidth =Node419fontSize <= 8 ? Node419width + Node419fontSize * 0.2 + 6 : Node419width - Node419fontSize * 0.2; Node419lineStart = (Node419width - (ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node419align === 'center') { Node419textStart = -3; Node419textWidth = Node419width; Node419lineStart = Node419width - ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width - 11; } })(); Node419.setImage(GD.getTextJSON(Node419width, Node419height, true, false, false, ' '+ Node419fontSize + 'px "Arial"')) Node419.setPosition(1729*ratio.ratioX, 749*ratio.ratioY); Node419.setWidth(Node419width); Node419.setHeight(Node419height); Node419._nodeType = 'text'; Node419._disallowEvert = true; Node419.setRotation(0*Math.PI/180); Node419.a('node.width', Node419width); Node419.a('node.height', Node419height); Node419.a('node.rect', [0, 0, Node419width, Node419height]); Node419.a('node.bordercolor','rgba(0,0,0,1)'); Node419.a('node.borderwidth', 0); Node419.a('node.background','' || 'rgba(0,0,0,0)'); Node419.a('node.gradient',''); Node419.a('node.gradientcolor',''); Node419.a('node.text','理论发电量'); Node419.a('node.textalign','left'); Node419.a('node.textvAlign','middle'); Node419.a('node.textrect', [Node419textStart, 0, Node419textWidth, Node419height]); Node419.a('node.color','rgba(0,0,0,1)'); Node419.a('node.font',' '+ Node419fontSize + 'px "Arial"'); Node419.a('node.textvisible',true); Node419.a('node.linefeed',false); if (false) { Node419.a('node.textfunc',function(g) { g.beginPath(); var str=Node419.a('node.text') || '理论发电量'; var color=Node419.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node419width,Node419height,10.66664*_ratio.ratioY,"left",color,' '+ Node419fontSize + 'px "Arial"', 0,g); }); } if (false) { Node419.a('node.underlinepoints',[Node419lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node419fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width + 6, (Node419height - Node419fontSize) * 0.5*_ratio.ratioY + Node419fontSize + 2 ]); Node419.a('node.underlinevisible',false); Node419.a('node.underlineBorderWidth', 1); } dataModel.add(Node419); zoomNodeList.push({ node: Node419, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node420type = 'rect'; var Node420 = new ht.Node(), Node420BorderWidth = 1*2; if (Node420type === 'arc') { Node420BorderWidth *= 1; } Node420.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node420type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node420.setPosition(1730*ratio.ratioX, 786*ratio.ratioY); Node420.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node420.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node420.a('node.width', 72*_ratio.ratioX); Node420.a('node.height', 33*_ratio.ratioY); Node420.a('node.type', Node420type); Node420.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node420.a('node.background', 'rgba(255,255,255,0.003921569)'); Node420.a('node.gradientcolor', ''); Node420.a('node.gradient', ''); Node420.a('node.borderwidth', Node420BorderWidth); Node420.a('node.color', 'rgba(192,192,192,1)'); Node420.a('node.fillrect', [0,0,0,0]); Node420.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node420.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node420.a('node.fillgradient', ''); if (Node420type !== 'rect') { Node420.a('node.arcFrom', parseFloat('@arcFrom@')); Node420.a('node.arcTo', parseFloat('@arcTo@')); Node420.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node420type === 'arc') { Node420.a('node.arcOval', true); } Node420.setRotation(0*Math.PI/180); Node420.borderWidth = Node420BorderWidth; Node420.borderFillwidth = Node420BorderWidth; dataModel.add(Node420); Node420._nodename = 'Node420' Node420._nodeType = 'rect'; zoomNodeList.push({ node: Node420, 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); } })(Node420, Node420.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node421type = 'rect'; var Node421 = new ht.Node(), Node421BorderWidth = 1*2; if (Node421type === 'arc') { Node421BorderWidth *= 1; } Node421.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node421type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node421.setPosition(1802*ratio.ratioX, 786*ratio.ratioY); Node421.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node421.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node421.a('node.width', 72*_ratio.ratioX); Node421.a('node.height', 33*_ratio.ratioY); Node421.a('node.type', Node421type); Node421.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node421.a('node.background', 'rgba(202,32,32,1)'); Node421.a('node.gradientcolor', 'rgba(202,32,32,1)'); Node421.a('node.gradient', ''); Node421.a('node.borderwidth', Node421BorderWidth); Node421.a('node.color', 'rgba(192,192,192,1)'); Node421.a('node.fillrect', [0,0,0,0]); Node421.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node421.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node421.a('node.fillgradient', ''); if (Node421type !== 'rect') { Node421.a('node.arcFrom', parseFloat('@arcFrom@')); Node421.a('node.arcTo', parseFloat('@arcTo@')); Node421.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node421type === 'arc') { Node421.a('node.arcOval', true); } Node421.setRotation(0*Math.PI/180); Node421.borderWidth = Node421BorderWidth; Node421.borderFillwidth = Node421BorderWidth; dataModel.add(Node421); Node421._nodename = 'Node421' Node421._nodeType = 'rect'; zoomNodeList.push({ node: Node421, 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); } })(Node421, Node421.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node422 = new ht.Node(); var Node422textStart, Node422textWidth, Node422lineStart, Node422align = 'left', Node422fontSize = 10.66664*_ratio.ratioY,Node422width = 63*_ratio.ratioX, Node422height = 25*_ratio.ratioY; (function () { if (Node422align === 'left') { Node422textStart = Node422fontSize * 0.2 > 2 ? Node422fontSize * 0.2 - 4 : Node422fontSize * 0.2 - 9; Node422textWidth = Node422width; Node422lineStart = 1; } else if (Node422align === 'right') { Node422textStart = 0; Node422textWidth =Node422fontSize <= 8 ? Node422width + Node422fontSize * 0.2 + 6 : Node422width - Node422fontSize * 0.2; Node422lineStart = (Node422width - (ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node422align === 'center') { Node422textStart = -3; Node422textWidth = Node422width; Node422lineStart = Node422width - ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width - 11; } })(); Node422.setImage(GD.getTextJSON(Node422width, Node422height, true, false, false, ' '+ Node422fontSize + 'px "Arial"')) Node422.setPosition(1729*ratio.ratioX, 788*ratio.ratioY); Node422.setWidth(Node422width); Node422.setHeight(Node422height); Node422._nodeType = 'text'; Node422._disallowEvert = true; Node422.setRotation(0*Math.PI/180); Node422.a('node.width', Node422width); Node422.a('node.height', Node422height); Node422.a('node.rect', [0, 0, Node422width, Node422height]); Node422.a('node.bordercolor','rgba(0,0,0,1)'); Node422.a('node.borderwidth', 0); Node422.a('node.background','' || 'rgba(0,0,0,0)'); Node422.a('node.gradient',''); Node422.a('node.gradientcolor',''); Node422.a('node.text','理论发电量'); Node422.a('node.textalign','left'); Node422.a('node.textvAlign','middle'); Node422.a('node.textrect', [Node422textStart, 0, Node422textWidth, Node422height]); Node422.a('node.color','rgba(0,0,0,1)'); Node422.a('node.font',' '+ Node422fontSize + 'px "Arial"'); Node422.a('node.textvisible',true); Node422.a('node.linefeed',false); if (false) { Node422.a('node.textfunc',function(g) { g.beginPath(); var str=Node422.a('node.text') || '理论发电量'; var color=Node422.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node422width,Node422height,10.66664*_ratio.ratioY,"left",color,' '+ Node422fontSize + 'px "Arial"', 0,g); }); } if (false) { Node422.a('node.underlinepoints',[Node422lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node422fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width + 6, (Node422height - Node422fontSize) * 0.5*_ratio.ratioY + Node422fontSize + 2 ]); Node422.a('node.underlinevisible',false); Node422.a('node.underlineBorderWidth', 1); } dataModel.add(Node422); zoomNodeList.push({ node: Node422, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node423type = 'rect'; var Node423 = new ht.Node(), Node423BorderWidth = 1*2; if (Node423type === 'arc') { Node423BorderWidth *= 1; } Node423.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node423type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node423.setPosition(1730*ratio.ratioX, 824*ratio.ratioY); Node423.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node423.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node423.a('node.width', 72*_ratio.ratioX); Node423.a('node.height', 33*_ratio.ratioY); Node423.a('node.type', Node423type); Node423.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node423.a('node.background', 'rgba(255,255,255,0.003921569)'); Node423.a('node.gradientcolor', ''); Node423.a('node.gradient', ''); Node423.a('node.borderwidth', Node423BorderWidth); Node423.a('node.color', 'rgba(192,192,192,1)'); Node423.a('node.fillrect', [0,0,0,0]); Node423.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node423.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node423.a('node.fillgradient', ''); if (Node423type !== 'rect') { Node423.a('node.arcFrom', parseFloat('@arcFrom@')); Node423.a('node.arcTo', parseFloat('@arcTo@')); Node423.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node423type === 'arc') { Node423.a('node.arcOval', true); } Node423.setRotation(0*Math.PI/180); Node423.borderWidth = Node423BorderWidth; Node423.borderFillwidth = Node423BorderWidth; dataModel.add(Node423); Node423._nodename = 'Node423' Node423._nodeType = 'rect'; zoomNodeList.push({ node: Node423, 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); } })(Node423, Node423.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node424type = 'rect'; var Node424 = new ht.Node(), Node424BorderWidth = 1*2; if (Node424type === 'arc') { Node424BorderWidth *= 1; } Node424.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node424type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node424.setPosition(1802*ratio.ratioX, 824*ratio.ratioY); Node424.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node424.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node424.a('node.width', 72*_ratio.ratioX); Node424.a('node.height', 33*_ratio.ratioY); Node424.a('node.type', Node424type); Node424.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node424.a('node.background', 'rgba(172,56,137,1)'); Node424.a('node.gradientcolor', 'rgba(172,56,137,1)'); Node424.a('node.gradient', ''); Node424.a('node.borderwidth', Node424BorderWidth); Node424.a('node.color', 'rgba(192,192,192,1)'); Node424.a('node.fillrect', [0,0,0,0]); Node424.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node424.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node424.a('node.fillgradient', ''); if (Node424type !== 'rect') { Node424.a('node.arcFrom', parseFloat('@arcFrom@')); Node424.a('node.arcTo', parseFloat('@arcTo@')); Node424.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node424type === 'arc') { Node424.a('node.arcOval', true); } Node424.setRotation(0*Math.PI/180); Node424.borderWidth = Node424BorderWidth; Node424.borderFillwidth = Node424BorderWidth; dataModel.add(Node424); Node424._nodename = 'Node424' Node424._nodeType = 'rect'; zoomNodeList.push({ node: Node424, 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); } })(Node424, Node424.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node425 = new ht.Node(); var Node425textStart, Node425textWidth, Node425lineStart, Node425align = 'left', Node425fontSize = 10.66664*_ratio.ratioY,Node425width = 63*_ratio.ratioX, Node425height = 25*_ratio.ratioY; (function () { if (Node425align === 'left') { Node425textStart = Node425fontSize * 0.2 > 2 ? Node425fontSize * 0.2 - 4 : Node425fontSize * 0.2 - 9; Node425textWidth = Node425width; Node425lineStart = 1; } else if (Node425align === 'right') { Node425textStart = 0; Node425textWidth =Node425fontSize <= 8 ? Node425width + Node425fontSize * 0.2 + 6 : Node425width - Node425fontSize * 0.2; Node425lineStart = (Node425width - (ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node425align === 'center') { Node425textStart = -3; Node425textWidth = Node425width; Node425lineStart = Node425width - ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width - 11; } })(); Node425.setImage(GD.getTextJSON(Node425width, Node425height, true, false, false, ' '+ Node425fontSize + 'px "Arial"')) Node425.setPosition(1729*ratio.ratioX, 826*ratio.ratioY); Node425.setWidth(Node425width); Node425.setHeight(Node425height); Node425._nodeType = 'text'; Node425._disallowEvert = true; Node425.setRotation(0*Math.PI/180); Node425.a('node.width', Node425width); Node425.a('node.height', Node425height); Node425.a('node.rect', [0, 0, Node425width, Node425height]); Node425.a('node.bordercolor','rgba(0,0,0,1)'); Node425.a('node.borderwidth', 0); Node425.a('node.background','' || 'rgba(0,0,0,0)'); Node425.a('node.gradient',''); Node425.a('node.gradientcolor',''); Node425.a('node.text','理论发电量'); Node425.a('node.textalign','left'); Node425.a('node.textvAlign','middle'); Node425.a('node.textrect', [Node425textStart, 0, Node425textWidth, Node425height]); Node425.a('node.color','rgba(0,0,0,1)'); Node425.a('node.font',' '+ Node425fontSize + 'px "Arial"'); Node425.a('node.textvisible',true); Node425.a('node.linefeed',false); if (false) { Node425.a('node.textfunc',function(g) { g.beginPath(); var str=Node425.a('node.text') || '理论发电量'; var color=Node425.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node425width,Node425height,10.66664*_ratio.ratioY,"left",color,' '+ Node425fontSize + 'px "Arial"', 0,g); }); } if (false) { Node425.a('node.underlinepoints',[Node425lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node425fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width + 6, (Node425height - Node425fontSize) * 0.5*_ratio.ratioY + Node425fontSize + 2 ]); Node425.a('node.underlinevisible',false); Node425.a('node.underlineBorderWidth', 1); } dataModel.add(Node425); zoomNodeList.push({ node: Node425, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node426type = 'rect'; var Node426 = new ht.Node(), Node426BorderWidth = 1*2; if (Node426type === 'arc') { Node426BorderWidth *= 1; } Node426.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node426type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node426.setPosition(1730*ratio.ratioX, 863*ratio.ratioY); Node426.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node426.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node426.a('node.width', 72*_ratio.ratioX); Node426.a('node.height', 33*_ratio.ratioY); Node426.a('node.type', Node426type); Node426.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node426.a('node.background', 'rgba(255,255,255,0.003921569)'); Node426.a('node.gradientcolor', ''); Node426.a('node.gradient', ''); Node426.a('node.borderwidth', Node426BorderWidth); Node426.a('node.color', 'rgba(192,192,192,1)'); Node426.a('node.fillrect', [0,0,0,0]); Node426.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node426.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node426.a('node.fillgradient', ''); if (Node426type !== 'rect') { Node426.a('node.arcFrom', parseFloat('@arcFrom@')); Node426.a('node.arcTo', parseFloat('@arcTo@')); Node426.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node426type === 'arc') { Node426.a('node.arcOval', true); } Node426.setRotation(0*Math.PI/180); Node426.borderWidth = Node426BorderWidth; Node426.borderFillwidth = Node426BorderWidth; dataModel.add(Node426); Node426._nodename = 'Node426' Node426._nodeType = 'rect'; zoomNodeList.push({ node: Node426, 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); } })(Node426, Node426.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node427type = 'rect'; var Node427 = new ht.Node(), Node427BorderWidth = 1*2; if (Node427type === 'arc') { Node427BorderWidth *= 1; } Node427.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node427type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node427.setPosition(1802*ratio.ratioX, 863*ratio.ratioY); Node427.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node427.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node427.a('node.width', 72*_ratio.ratioX); Node427.a('node.height', 33*_ratio.ratioY); Node427.a('node.type', Node427type); Node427.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node427.a('node.background', 'rgba(1,212,135,1)'); Node427.a('node.gradientcolor', 'rgba(1,212,135,1)'); Node427.a('node.gradient', ''); Node427.a('node.borderwidth', Node427BorderWidth); Node427.a('node.color', 'rgba(192,192,192,1)'); Node427.a('node.fillrect', [0,0,0,0]); Node427.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node427.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node427.a('node.fillgradient', ''); if (Node427type !== 'rect') { Node427.a('node.arcFrom', parseFloat('@arcFrom@')); Node427.a('node.arcTo', parseFloat('@arcTo@')); Node427.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node427type === 'arc') { Node427.a('node.arcOval', true); } Node427.setRotation(0*Math.PI/180); Node427.borderWidth = Node427BorderWidth; Node427.borderFillwidth = Node427BorderWidth; dataModel.add(Node427); Node427._nodename = 'Node427' Node427._nodeType = 'rect'; zoomNodeList.push({ node: Node427, 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); } })(Node427, Node427.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node428 = new ht.Node(); var Node428textStart, Node428textWidth, Node428lineStart, Node428align = 'left', Node428fontSize = 10.66664*_ratio.ratioY,Node428width = 63*_ratio.ratioX, Node428height = 25*_ratio.ratioY; (function () { if (Node428align === 'left') { Node428textStart = Node428fontSize * 0.2 > 2 ? Node428fontSize * 0.2 - 4 : Node428fontSize * 0.2 - 9; Node428textWidth = Node428width; Node428lineStart = 1; } else if (Node428align === 'right') { Node428textStart = 0; Node428textWidth =Node428fontSize <= 8 ? Node428width + Node428fontSize * 0.2 + 6 : Node428width - Node428fontSize * 0.2; Node428lineStart = (Node428width - (ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node428align === 'center') { Node428textStart = -3; Node428textWidth = Node428width; Node428lineStart = Node428width - ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width - 11; } })(); Node428.setImage(GD.getTextJSON(Node428width, Node428height, true, false, false, ' '+ Node428fontSize + 'px "Arial"')) Node428.setPosition(1729*ratio.ratioX, 865*ratio.ratioY); Node428.setWidth(Node428width); Node428.setHeight(Node428height); Node428._nodeType = 'text'; Node428._disallowEvert = true; Node428.setRotation(0*Math.PI/180); Node428.a('node.width', Node428width); Node428.a('node.height', Node428height); Node428.a('node.rect', [0, 0, Node428width, Node428height]); Node428.a('node.bordercolor','rgba(0,0,0,1)'); Node428.a('node.borderwidth', 0); Node428.a('node.background','' || 'rgba(0,0,0,0)'); Node428.a('node.gradient',''); Node428.a('node.gradientcolor',''); Node428.a('node.text','理论发电量'); Node428.a('node.textalign','left'); Node428.a('node.textvAlign','middle'); Node428.a('node.textrect', [Node428textStart, 0, Node428textWidth, Node428height]); Node428.a('node.color','rgba(0,0,0,1)'); Node428.a('node.font',' '+ Node428fontSize + 'px "Arial"'); Node428.a('node.textvisible',true); Node428.a('node.linefeed',false); if (false) { Node428.a('node.textfunc',function(g) { g.beginPath(); var str=Node428.a('node.text') || '理论发电量'; var color=Node428.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node428width,Node428height,10.66664*_ratio.ratioY,"left",color,' '+ Node428fontSize + 'px "Arial"', 0,g); }); } if (false) { Node428.a('node.underlinepoints',[Node428lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node428fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width + 6, (Node428height - Node428fontSize) * 0.5*_ratio.ratioY + Node428fontSize + 2 ]); Node428.a('node.underlinevisible',false); Node428.a('node.underlineBorderWidth', 1); } dataModel.add(Node428); zoomNodeList.push({ node: Node428, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node429type = 'rect'; var Node429 = new ht.Node(), Node429BorderWidth = 1*2; if (Node429type === 'arc') { Node429BorderWidth *= 1; } Node429.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node429type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node429.setPosition(1730*ratio.ratioX, 901*ratio.ratioY); Node429.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node429.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node429.a('node.width', 72*_ratio.ratioX); Node429.a('node.height', 33*_ratio.ratioY); Node429.a('node.type', Node429type); Node429.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node429.a('node.background', 'rgba(255,255,255,0.003921569)'); Node429.a('node.gradientcolor', ''); Node429.a('node.gradient', ''); Node429.a('node.borderwidth', Node429BorderWidth); Node429.a('node.color', 'rgba(192,192,192,1)'); Node429.a('node.fillrect', [0,0,0,0]); Node429.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node429.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node429.a('node.fillgradient', ''); if (Node429type !== 'rect') { Node429.a('node.arcFrom', parseFloat('@arcFrom@')); Node429.a('node.arcTo', parseFloat('@arcTo@')); Node429.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node429type === 'arc') { Node429.a('node.arcOval', true); } Node429.setRotation(0*Math.PI/180); Node429.borderWidth = Node429BorderWidth; Node429.borderFillwidth = Node429BorderWidth; dataModel.add(Node429); Node429._nodename = 'Node429' Node429._nodeType = 'rect'; zoomNodeList.push({ node: Node429, 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); } })(Node429, Node429.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node430type = 'rect'; var Node430 = new ht.Node(), Node430BorderWidth = 1*2; if (Node430type === 'arc') { Node430BorderWidth *= 1; } Node430.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node430type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node430.setPosition(1802*ratio.ratioX, 901*ratio.ratioY); Node430.setSize(72*_ratio.ratioX, 33*_ratio.ratioY); Node430.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node430.a('node.width', 72*_ratio.ratioX); Node430.a('node.height', 33*_ratio.ratioY); Node430.a('node.type', Node430type); Node430.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]); Node430.a('node.background', 'rgba(173,173,173,1)'); Node430.a('node.gradientcolor', 'rgba(173,173,173,1)'); Node430.a('node.gradient', ''); Node430.a('node.borderwidth', Node430BorderWidth); Node430.a('node.color', 'rgba(173,173,173,1)'); Node430.a('node.fillrect', [0,0,0,0]); Node430.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node430.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node430.a('node.fillgradient', ''); if (Node430type !== 'rect') { Node430.a('node.arcFrom', parseFloat('@arcFrom@')); Node430.a('node.arcTo', parseFloat('@arcTo@')); Node430.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node430type === 'arc') { Node430.a('node.arcOval', true); } Node430.setRotation(0*Math.PI/180); Node430.borderWidth = Node430BorderWidth; Node430.borderFillwidth = Node430BorderWidth; dataModel.add(Node430); Node430._nodename = 'Node430' Node430._nodeType = 'rect'; zoomNodeList.push({ node: Node430, 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); } })(Node430, Node430.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node431 = new ht.Node(); var Node431textStart, Node431textWidth, Node431lineStart, Node431align = 'left', Node431fontSize = 10.66664*_ratio.ratioY,Node431width = 63*_ratio.ratioX, Node431height = 25*_ratio.ratioY; (function () { if (Node431align === 'left') { Node431textStart = Node431fontSize * 0.2 > 2 ? Node431fontSize * 0.2 - 4 : Node431fontSize * 0.2 - 9; Node431textWidth = Node431width; Node431lineStart = 1; } else if (Node431align === 'right') { Node431textStart = 0; Node431textWidth =Node431fontSize <= 8 ? Node431width + Node431fontSize * 0.2 + 6 : Node431width - Node431fontSize * 0.2; Node431lineStart = (Node431width - (ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node431align === 'center') { Node431textStart = -3; Node431textWidth = Node431width; Node431lineStart = Node431width - ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width - 11; } })(); Node431.setImage(GD.getTextJSON(Node431width, Node431height, true, false, false, ' '+ Node431fontSize + 'px "Arial"')) Node431.setPosition(1729*ratio.ratioX, 903*ratio.ratioY); Node431.setWidth(Node431width); Node431.setHeight(Node431height); Node431._nodeType = 'text'; Node431._disallowEvert = true; Node431.setRotation(0*Math.PI/180); Node431.a('node.width', Node431width); Node431.a('node.height', Node431height); Node431.a('node.rect', [0, 0, Node431width, Node431height]); Node431.a('node.bordercolor','rgba(0,0,0,1)'); Node431.a('node.borderwidth', 0); Node431.a('node.background','' || 'rgba(0,0,0,0)'); Node431.a('node.gradient',''); Node431.a('node.gradientcolor',''); Node431.a('node.text','理论发电量'); Node431.a('node.textalign','left'); Node431.a('node.textvAlign','middle'); Node431.a('node.textrect', [Node431textStart, 0, Node431textWidth, Node431height]); Node431.a('node.color','rgba(0,0,0,1)'); Node431.a('node.font',' '+ Node431fontSize + 'px "Arial"'); Node431.a('node.textvisible',true); Node431.a('node.linefeed',false); if (false) { Node431.a('node.textfunc',function(g) { g.beginPath(); var str=Node431.a('node.text') || '理论发电量'; var color=Node431.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node431width,Node431height,10.66664*_ratio.ratioY,"left",color,' '+ Node431fontSize + 'px "Arial"', 0,g); }); } if (false) { Node431.a('node.underlinepoints',[Node431lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node431fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width + 6, (Node431height - Node431fontSize) * 0.5*_ratio.ratioY + Node431fontSize + 2 ]); Node431.a('node.underlinevisible',false); Node431.a('node.underlineBorderWidth', 1); } dataModel.add(Node431); zoomNodeList.push({ node: Node431, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node432 = new ht.Node(); var Node432textStart, Node432textWidth, Node432lineStart, Node432align = 'left', Node432fontSize = 13.3333*_ratio.ratioY,Node432width = 72*_ratio.ratioX, Node432height = 27*_ratio.ratioY; (function () { if (Node432align === 'left') { Node432textStart = Node432fontSize * 0.2 > 2 ? Node432fontSize * 0.2 - 4 : Node432fontSize * 0.2 - 9; Node432textWidth = Node432width; Node432lineStart = 1; } else if (Node432align === 'right') { Node432textStart = 0; Node432textWidth =Node432fontSize <= 8 ? Node432width + Node432fontSize * 0.2 + 6 : Node432width - Node432fontSize * 0.2; Node432lineStart = (Node432width - (ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node432align === 'center') { Node432textStart = -3; Node432textWidth = Node432width; Node432lineStart = Node432width - ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width - 11; } })(); Node432.setImage(GD.getTextJSON(Node432width, Node432height, true, false, false, ' '+ Node432fontSize + 'px "Arial"')) Node432.setPosition(1396*ratio.ratioX, 626*ratio.ratioY); Node432.setWidth(Node432width); Node432.setHeight(Node432height); Node432._nodeType = 'text'; Node432._disallowEvert = true; Node432.setRotation(0*Math.PI/180); Node432.a('node.width', Node432width); Node432.a('node.height', Node432height); Node432.a('node.rect', [0, 0, Node432width, Node432height]); Node432.a('node.bordercolor','rgba(105,105,105,1)'); Node432.a('node.borderwidth', 0); Node432.a('node.background','' || 'rgba(0,0,0,0)'); Node432.a('node.gradient',''); Node432.a('node.gradientcolor',''); Node432.a('node.text','年度分析'); Node432.a('node.textalign','left'); Node432.a('node.textvAlign','middle'); Node432.a('node.textrect', [Node432textStart, 0, Node432textWidth, Node432height]); Node432.a('node.color','rgba(105,105,105,1)'); Node432.a('node.font',' '+ Node432fontSize + 'px "Arial"'); Node432.a('node.textvisible',true); Node432.a('node.linefeed',false); if (false) { Node432.a('node.textfunc',function(g) { g.beginPath(); var str=Node432.a('node.text') || '年度分析'; var color=Node432.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node432width,Node432height,13.3333*_ratio.ratioY,"left",color,' '+ Node432fontSize + 'px "Arial"', 0,g); }); } if (false) { Node432.a('node.underlinepoints',[Node432lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node432fontSize + 2 , ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width + 6, (Node432height - Node432fontSize) * 0.5*_ratio.ratioY + Node432fontSize + 2 ]); Node432.a('node.underlinevisible',false); Node432.a('node.underlineBorderWidth', 1); } dataModel.add(Node432); zoomNodeList.push({ node: Node432, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node433 = new ht.Node(); var Node433textStart, Node433textWidth, Node433lineStart, Node433align = 'left', Node433fontSize = 13.3333*_ratio.ratioY,Node433width = 77*_ratio.ratioX, Node433height = 27*_ratio.ratioY; (function () { if (Node433align === 'left') { Node433textStart = Node433fontSize * 0.2 > 2 ? Node433fontSize * 0.2 - 4 : Node433fontSize * 0.2 - 9; Node433textWidth = Node433width; Node433lineStart = 1; } else if (Node433align === 'right') { Node433textStart = 0; Node433textWidth =Node433fontSize <= 8 ? Node433width + Node433fontSize * 0.2 + 6 : Node433width - Node433fontSize * 0.2; Node433lineStart = (Node433width - (ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node433align === 'center') { Node433textStart = -3; Node433textWidth = Node433width; Node433lineStart = Node433width - ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width - 11; } })(); Node433.setImage(GD.getTextJSON(Node433width, Node433height, true, false, false, ' '+ Node433fontSize + 'px "Arial"')) Node433.setPosition(1803*ratio.ratioX, 636*ratio.ratioY); Node433.setWidth(Node433width); Node433.setHeight(Node433height); Node433._nodeType = 'text'; Node433._disallowEvert = true; Node433.setRotation(0*Math.PI/180); Node433.a('node.width', Node433width); Node433.a('node.height', Node433height); Node433.a('node.rect', [0, 0, Node433width, Node433height]); Node433.a('node.bordercolor','rgba(105,105,105,1)'); Node433.a('node.borderwidth', 0); Node433.a('node.background','' || 'rgba(0,0,0,0)'); Node433.a('node.gradient',''); Node433.a('node.gradientcolor',''); Node433.a('node.text','单位:万kwh'); Node433.a('node.textalign','left'); Node433.a('node.textvAlign','middle'); Node433.a('node.textrect', [Node433textStart, 0, Node433textWidth, Node433height]); Node433.a('node.color','rgba(105,105,105,1)'); Node433.a('node.font',' '+ Node433fontSize + 'px "Arial"'); Node433.a('node.textvisible',true); Node433.a('node.linefeed',false); if (false) { Node433.a('node.textfunc',function(g) { g.beginPath(); var str=Node433.a('node.text') || '单位:万kwh'; var color=Node433.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433width,Node433height,13.3333*_ratio.ratioY,"left",color,' '+ Node433fontSize + 'px "Arial"', 0,g); }); } if (false) { Node433.a('node.underlinepoints',[Node433lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node433fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width + 6, (Node433height - Node433fontSize) * 0.5*_ratio.ratioY + Node433fontSize + 2 ]); Node433.a('node.underlinevisible',false); Node433.a('node.underlineBorderWidth', 1); } dataModel.add(Node433); zoomNodeList.push({ node: Node433, borderWidth: 0, attr: 'node.borderwidth' }); // var alarmLevelDic = {}; // var alarmLevelDicName = {}; // var alarmGroupDic = {}; var Node434_beginTime='2018/6/28 14:55:41'; var Node434_endTime='2018/6/29 14:55:41'; var Node434_alarmAreaTmp='*'; var Node434_chartType="normal"; var Node434Export; var Node434Arr=[{tagName:'10',statisticsType:'CalcAvg', name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{tagName:'20',statisticsType:'CalcAvg', name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{tagName:'30',statisticsType:'CalcAvg', name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{tagName:'202,32,32',statisticsType:'CalcAvg', name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{tagName:'8',statisticsType:'CalcAvg', name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{tagName:'12',statisticsType:'CalcAvg', name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{tagName:'3',statisticsType:'CalcAvg', name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]; var st,et,alarmArea; var Node434Option = { title : { text: '', x:'' }, tooltip : { trigger: 'item', //formatter: "{a}
{b} :{c} ({d}%)" formatter:function (params, ticket, callback) { return params.name +':
'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%'; } }, color:colors, toolbox: { // show: false, feature: { //dataView: {show: true, readOnly: false}, //magicType: {show: true, type: ['line', 'bar', 'stack', 'tiled']}, //restore: {show: true}, saveAsImage: {show: false} } }, legend: { //orient: 'vertical', //left: 'left', bottom:'bottom', data: ["一","二","三","四","五","六","七"], show:false }, series : [ { name: '', type: 'pie', radius : '65%', center: ['50%', '50%'], data:[ {value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}], label: { normal: { show:false } }, itemStyle: { // normal: { // shadowBlur: 10, // shadowOffsetX: 10, // shadowOffsetY: 10, // shadowColor: 'rgba(0, 0, 0, 0.5)', // }, // emphasis: { // shadowBlur: 10, // shadowOffsetX: 10, // shadowOffsetY: 10, // shadowColor: 'rgba(0, 0, 0, 0.5)' // } } } ] }; var Node434 = new ht.HtmlNode(); Node434.setPosition({'x':1497*ratio.ratioX,'y':790*ratio.ratioY}); Node434.setWidth(379.2*ratio.ratioX); Node434.setHeight(379.2*ratio.ratioY); Node434.setScalable(false); Node434.s({ '2d.selectable': false, '2d.movable': false }); //Node434.option=Node434Option; chart = new ht.Chart(Node434Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY); Node434.setHtml(chart); var Node434_chart = chart._chart; dataModel.add(Node434); Node434.option=Node434Option; if(Node434_chartType!="normal"){ st=(new Date('2018/6/28 14:55:41')).getTime(); et=(new Date('2018/6/29 14:55:41')).getTime(); Node434_alarmAreaTmp = '*'||'*'; }else{ st=(new Date("'2018/6/28 14:55:41'")).getTime(); et=(new Date("'2018/6/29 14:55:41'")).getTime(); Node434_alarmAreaTmp= ''*''||'*'; } var alarmAreaDicName = {}; Node434.NodeCreat=function(option) { Node434_chart.clear(); Node434_chart.setOption(option); }; //判断是不是报警画图 if(Node434_chartType!="normal"){ if(Node434_chartType=="alarmLevel"){ //报警等级画图 // getAlarmLevels(); getAlarmLevelChartData(st,et,Node434_alarmAreaTmp,"alarmLevelPie",Node434,Node434.NodeCreat); }else if(Node434_chartType=="alarmGroup"){ //报警组画图 // alarmGroupDic= getAlarmGroups(); getAlarmGroupChartData(st,et,Node434_alarmAreaTmp,"alarmGroupPie",Node434,Node434.NodeCreat); } } function Node434RefreshPieChartInfo(){ if (Node434_chartType === 'statistic') { return Node434Search(); } if(Node434_chartType!="normal"){ st=(new Date('2018/6/28 14:55:41')).getTime(); et=(new Date('2018/6/29 14:55:41')).getTime(); Node434_alarmAreaTmp = '*'||'*'; // Node434_alarmAreaTmp="你好"; // var Node434type=Node434_chartType+"pie"; if (!GD.testSearchTime(st, et)) { return ; } if(Node434_chartType=="alarmLevel"){ getAlarmLevelChartData(st,et,Node434_alarmAreaTmp,"alarmLevelPie",Node434,Node434.NodeCreat); }else if(Node434_chartType=="alarmGroup"){ getAlarmGroupChartData(st,et,Node434_alarmAreaTmp,"alarmGroupPie",Node434,Node434.NodeCreat); } }else{ st=(new Date("'2018/6/28 14:55:41'")).getTime(); et=(new Date("'2018/6/29 14:55:41'")).getTime(); Node434_alarmAreaTmp= 'Node434_alarmAreaTmp'||'*'; } } Node434Export = function () { var option = Node434_chart.getOption(), series = option.series[0] || {}, data = series['data'] || []; var tempArr = [], resultArr = [], titleArr = [], d,title, total = 0, t, fileName; if(Node434_chartType!="normal"){ if(Node434_chartType=="alarmLevel"){ title = '故障级别'; fileName = '故障级别'; } else if(Node434_chartType=="alarmGroup"){ title = '故障类别'; fileName = '故障类别'; } tempArr = [title, '数值', '百分比']; titleArr = ['name', 'value', 'percent']; for (var i = 0, len = data.length; i < len; i++) { total += data[i].value; } } else { title = '类目'; tempArr = [title, '数值']; titleArr = ['name', 'value']; fileName = ''; } resultArr.push(tempArr); for (var i = 0, len = data.length; i < len; i++) { d = data[i]; tempArr = []; for (var j = 0, leng = titleArr.length; j < leng; j++) { t = titleArr[j]; if (t === 'percent') { if (total != 0) { tempArr.push((d.value * 100 / total).toFixed(2, 10) + '%'); } else { tempArr.push('0.00%'); } } else { tempArr.push(d[t]); } } resultArr.push(tempArr); } GD.exportArrToCsv(resultArr, fileName); }; function Node434Search() { var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName="; var statisticsTypeObj = {}; for(var i=0;i 2 ? Node435fontSize * 0.2 - 4 : Node435fontSize * 0.2 - 9; Node435textWidth = Node435width; Node435lineStart = 1; } else if (Node435align === 'right') { Node435textStart = 0; Node435textWidth =Node435fontSize <= 8 ? Node435width + Node435fontSize * 0.2 + 6 : Node435width - Node435fontSize * 0.2; Node435lineStart = (Node435width - (ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node435align === 'center') { Node435textStart = -3; Node435textWidth = Node435width; Node435lineStart = Node435width - ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width - 11; } })(); Node435.setImage(GD.getTextJSON(Node435width, Node435height, true, false, false, ' '+ Node435fontSize + 'px "Arial"')) Node435.setPosition(1261*ratio.ratioX, 679*ratio.ratioY); Node435.setWidth(Node435width); Node435.setHeight(Node435height); Node435._nodeType = 'text'; Node435._disallowEvert = true; Node435.setRotation(0*Math.PI/180); Node435.a('node.width', Node435width); Node435.a('node.height', Node435height); Node435.a('node.rect', [0, 0, Node435width, Node435height]); Node435.a('node.bordercolor','rgba(255,255,255,1)'); Node435.a('node.borderwidth', 0); Node435.a('node.background','' || 'rgba(0,0,0,0)'); Node435.a('node.gradient',''); Node435.a('node.gradientcolor',''); Node435.a('node.text','100.5'); Node435.a('node.textalign','left'); Node435.a('node.textvAlign','middle'); Node435.a('node.textrect', [Node435textStart, 0, Node435textWidth, Node435height]); Node435.a('node.color','rgba(255,255,255,1)'); Node435.a('node.font',' '+ Node435fontSize + 'px "Arial"'); Node435.a('node.textvisible',true); Node435.a('node.linefeed',false); if (false) { Node435.a('node.textfunc',function(g) { g.beginPath(); var str=Node435.a('node.text') || '100.5'; var color=Node435.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435width,Node435height,13.3333*_ratio.ratioY,"left",color,' '+ Node435fontSize + 'px "Arial"', 0,g); }); } if (false) { Node435.a('node.underlinepoints',[Node435lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width + 6, (Node435height - Node435fontSize) * 0.5*_ratio.ratioY + Node435fontSize + 2 ]); Node435.a('node.underlinevisible',false); Node435.a('node.underlineBorderWidth', 1); } dataModel.add(Node435); zoomNodeList.push({ node: Node435, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node436 = new ht.Node(); var Node436textStart, Node436textWidth, Node436lineStart, Node436align = 'left', Node436fontSize = 13.3333*_ratio.ratioY,Node436width = 39*_ratio.ratioX, Node436height = 16*_ratio.ratioY; (function () { if (Node436align === 'left') { Node436textStart = Node436fontSize * 0.2 > 2 ? Node436fontSize * 0.2 - 4 : Node436fontSize * 0.2 - 9; Node436textWidth = Node436width; Node436lineStart = 1; } else if (Node436align === 'right') { Node436textStart = 0; Node436textWidth =Node436fontSize <= 8 ? Node436width + Node436fontSize * 0.2 + 6 : Node436width - Node436fontSize * 0.2; Node436lineStart = (Node436width - (ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node436align === 'center') { Node436textStart = -3; Node436textWidth = Node436width; Node436lineStart = Node436width - ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width - 11; } })(); Node436.setImage(GD.getTextJSON(Node436width, Node436height, true, false, false, ' '+ Node436fontSize + 'px "Arial"')) Node436.setPosition(1261*ratio.ratioX, 908*ratio.ratioY); Node436.setWidth(Node436width); Node436.setHeight(Node436height); Node436._nodeType = 'text'; Node436._disallowEvert = true; Node436.setRotation(0*Math.PI/180); Node436.a('node.width', Node436width); Node436.a('node.height', Node436height); Node436.a('node.rect', [0, 0, Node436width, Node436height]); Node436.a('node.bordercolor','rgba(255,255,255,1)'); Node436.a('node.borderwidth', 0); Node436.a('node.background','' || 'rgba(0,0,0,0)'); Node436.a('node.gradient',''); Node436.a('node.gradientcolor',''); Node436.a('node.text','100.5'); Node436.a('node.textalign','left'); Node436.a('node.textvAlign','middle'); Node436.a('node.textrect', [Node436textStart, 0, Node436textWidth, Node436height]); Node436.a('node.color','rgba(255,255,255,1)'); Node436.a('node.font',' '+ Node436fontSize + 'px "Arial"'); Node436.a('node.textvisible',true); Node436.a('node.linefeed',false); if (false) { Node436.a('node.textfunc',function(g) { g.beginPath(); var str=Node436.a('node.text') || '100.5'; var color=Node436.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node436width,Node436height,13.3333*_ratio.ratioY,"left",color,' '+ Node436fontSize + 'px "Arial"', 0,g); }); } if (false) { Node436.a('node.underlinepoints',[Node436lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node436fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width + 6, (Node436height - Node436fontSize) * 0.5*_ratio.ratioY + Node436fontSize + 2 ]); Node436.a('node.underlinevisible',false); Node436.a('node.underlineBorderWidth', 1); } dataModel.add(Node436); zoomNodeList.push({ node: Node436, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node437 = new ht.Node(); var Node437textStart, Node437textWidth, Node437lineStart, Node437align = 'left', Node437fontSize = 13.3333*_ratio.ratioY,Node437width = 39*_ratio.ratioX, Node437height = 16*_ratio.ratioY; (function () { if (Node437align === 'left') { Node437textStart = Node437fontSize * 0.2 > 2 ? Node437fontSize * 0.2 - 4 : Node437fontSize * 0.2 - 9; Node437textWidth = Node437width; Node437lineStart = 1; } else if (Node437align === 'right') { Node437textStart = 0; Node437textWidth =Node437fontSize <= 8 ? Node437width + Node437fontSize * 0.2 + 6 : Node437width - Node437fontSize * 0.2; Node437lineStart = (Node437width - (ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node437align === 'center') { Node437textStart = -3; Node437textWidth = Node437width; Node437lineStart = Node437width - ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width - 11; } })(); Node437.setImage(GD.getTextJSON(Node437width, Node437height, true, false, false, ' '+ Node437fontSize + 'px "Arial"')) Node437.setPosition(1261*ratio.ratioX, 870*ratio.ratioY); Node437.setWidth(Node437width); Node437.setHeight(Node437height); Node437._nodeType = 'text'; Node437._disallowEvert = true; Node437.setRotation(0*Math.PI/180); Node437.a('node.width', Node437width); Node437.a('node.height', Node437height); Node437.a('node.rect', [0, 0, Node437width, Node437height]); Node437.a('node.bordercolor','rgba(255,255,255,1)'); Node437.a('node.borderwidth', 0); Node437.a('node.background','' || 'rgba(0,0,0,0)'); Node437.a('node.gradient',''); Node437.a('node.gradientcolor',''); Node437.a('node.text','100.5'); Node437.a('node.textalign','left'); Node437.a('node.textvAlign','middle'); Node437.a('node.textrect', [Node437textStart, 0, Node437textWidth, Node437height]); Node437.a('node.color','rgba(255,255,255,1)'); Node437.a('node.font',' '+ Node437fontSize + 'px "Arial"'); Node437.a('node.textvisible',true); Node437.a('node.linefeed',false); if (false) { Node437.a('node.textfunc',function(g) { g.beginPath(); var str=Node437.a('node.text') || '100.5'; var color=Node437.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437width,Node437height,13.3333*_ratio.ratioY,"left",color,' '+ Node437fontSize + 'px "Arial"', 0,g); }); } if (false) { Node437.a('node.underlinepoints',[Node437lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width + 6, (Node437height - Node437fontSize) * 0.5*_ratio.ratioY + Node437fontSize + 2 ]); Node437.a('node.underlinevisible',false); Node437.a('node.underlineBorderWidth', 1); } dataModel.add(Node437); zoomNodeList.push({ node: Node437, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node438 = new ht.Node(); var Node438textStart, Node438textWidth, Node438lineStart, Node438align = 'left', Node438fontSize = 13.3333*_ratio.ratioY,Node438width = 39*_ratio.ratioX, Node438height = 16*_ratio.ratioY; (function () { if (Node438align === 'left') { Node438textStart = Node438fontSize * 0.2 > 2 ? Node438fontSize * 0.2 - 4 : Node438fontSize * 0.2 - 9; Node438textWidth = Node438width; Node438lineStart = 1; } else if (Node438align === 'right') { Node438textStart = 0; Node438textWidth =Node438fontSize <= 8 ? Node438width + Node438fontSize * 0.2 + 6 : Node438width - Node438fontSize * 0.2; Node438lineStart = (Node438width - (ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node438align === 'center') { Node438textStart = -3; Node438textWidth = Node438width; Node438lineStart = Node438width - ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width - 11; } })(); Node438.setImage(GD.getTextJSON(Node438width, Node438height, true, false, false, ' '+ Node438fontSize + 'px "Arial"')) Node438.setPosition(1261*ratio.ratioX, 832*ratio.ratioY); Node438.setWidth(Node438width); Node438.setHeight(Node438height); Node438._nodeType = 'text'; Node438._disallowEvert = true; Node438.setRotation(0*Math.PI/180); Node438.a('node.width', Node438width); Node438.a('node.height', Node438height); Node438.a('node.rect', [0, 0, Node438width, Node438height]); Node438.a('node.bordercolor','rgba(255,255,255,1)'); Node438.a('node.borderwidth', 0); Node438.a('node.background','' || 'rgba(0,0,0,0)'); Node438.a('node.gradient',''); Node438.a('node.gradientcolor',''); Node438.a('node.text','100.5'); Node438.a('node.textalign','left'); Node438.a('node.textvAlign','middle'); Node438.a('node.textrect', [Node438textStart, 0, Node438textWidth, Node438height]); Node438.a('node.color','rgba(255,255,255,1)'); Node438.a('node.font',' '+ Node438fontSize + 'px "Arial"'); Node438.a('node.textvisible',true); Node438.a('node.linefeed',false); if (false) { Node438.a('node.textfunc',function(g) { g.beginPath(); var str=Node438.a('node.text') || '100.5'; var color=Node438.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node438width,Node438height,13.3333*_ratio.ratioY,"left",color,' '+ Node438fontSize + 'px "Arial"', 0,g); }); } if (false) { Node438.a('node.underlinepoints',[Node438lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node438fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width + 6, (Node438height - Node438fontSize) * 0.5*_ratio.ratioY + Node438fontSize + 2 ]); Node438.a('node.underlinevisible',false); Node438.a('node.underlineBorderWidth', 1); } dataModel.add(Node438); zoomNodeList.push({ node: Node438, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node439 = new ht.Node(); var Node439textStart, Node439textWidth, Node439lineStart, Node439align = 'left', Node439fontSize = 13.3333*_ratio.ratioY,Node439width = 39*_ratio.ratioX, Node439height = 16*_ratio.ratioY; (function () { if (Node439align === 'left') { Node439textStart = Node439fontSize * 0.2 > 2 ? Node439fontSize * 0.2 - 4 : Node439fontSize * 0.2 - 9; Node439textWidth = Node439width; Node439lineStart = 1; } else if (Node439align === 'right') { Node439textStart = 0; Node439textWidth =Node439fontSize <= 8 ? Node439width + Node439fontSize * 0.2 + 6 : Node439width - Node439fontSize * 0.2; Node439lineStart = (Node439width - (ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node439align === 'center') { Node439textStart = -3; Node439textWidth = Node439width; Node439lineStart = Node439width - ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width - 11; } })(); Node439.setImage(GD.getTextJSON(Node439width, Node439height, true, false, false, ' '+ Node439fontSize + 'px "Arial"')) Node439.setPosition(1261*ratio.ratioX, 793*ratio.ratioY); Node439.setWidth(Node439width); Node439.setHeight(Node439height); Node439._nodeType = 'text'; Node439._disallowEvert = true; Node439.setRotation(0*Math.PI/180); Node439.a('node.width', Node439width); Node439.a('node.height', Node439height); Node439.a('node.rect', [0, 0, Node439width, Node439height]); Node439.a('node.bordercolor','rgba(255,255,255,1)'); Node439.a('node.borderwidth', 0); Node439.a('node.background','' || 'rgba(0,0,0,0)'); Node439.a('node.gradient',''); Node439.a('node.gradientcolor',''); Node439.a('node.text','100.5'); Node439.a('node.textalign','left'); Node439.a('node.textvAlign','middle'); Node439.a('node.textrect', [Node439textStart, 0, Node439textWidth, Node439height]); Node439.a('node.color','rgba(255,255,255,1)'); Node439.a('node.font',' '+ Node439fontSize + 'px "Arial"'); Node439.a('node.textvisible',true); Node439.a('node.linefeed',false); if (false) { Node439.a('node.textfunc',function(g) { g.beginPath(); var str=Node439.a('node.text') || '100.5'; var color=Node439.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439width,Node439height,13.3333*_ratio.ratioY,"left",color,' '+ Node439fontSize + 'px "Arial"', 0,g); }); } if (false) { Node439.a('node.underlinepoints',[Node439lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width + 6, (Node439height - Node439fontSize) * 0.5*_ratio.ratioY + Node439fontSize + 2 ]); Node439.a('node.underlinevisible',false); Node439.a('node.underlineBorderWidth', 1); } dataModel.add(Node439); zoomNodeList.push({ node: Node439, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node440 = new ht.Node(); var Node440textStart, Node440textWidth, Node440lineStart, Node440align = 'left', Node440fontSize = 13.3333*_ratio.ratioY,Node440width = 39*_ratio.ratioX, Node440height = 16*_ratio.ratioY; (function () { if (Node440align === 'left') { Node440textStart = Node440fontSize * 0.2 > 2 ? Node440fontSize * 0.2 - 4 : Node440fontSize * 0.2 - 9; Node440textWidth = Node440width; Node440lineStart = 1; } else if (Node440align === 'right') { Node440textStart = 0; Node440textWidth =Node440fontSize <= 8 ? Node440width + Node440fontSize * 0.2 + 6 : Node440width - Node440fontSize * 0.2; Node440lineStart = (Node440width - (ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node440align === 'center') { Node440textStart = -3; Node440textWidth = Node440width; Node440lineStart = Node440width - ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width - 11; } })(); Node440.setImage(GD.getTextJSON(Node440width, Node440height, true, false, false, ' '+ Node440fontSize + 'px "Arial"')) Node440.setPosition(1261*ratio.ratioX, 755*ratio.ratioY); Node440.setWidth(Node440width); Node440.setHeight(Node440height); Node440._nodeType = 'text'; Node440._disallowEvert = true; Node440.setRotation(0*Math.PI/180); Node440.a('node.width', Node440width); Node440.a('node.height', Node440height); Node440.a('node.rect', [0, 0, Node440width, Node440height]); Node440.a('node.bordercolor','rgba(255,255,255,1)'); Node440.a('node.borderwidth', 0); Node440.a('node.background','' || 'rgba(0,0,0,0)'); Node440.a('node.gradient',''); Node440.a('node.gradientcolor',''); Node440.a('node.text','100.5'); Node440.a('node.textalign','left'); Node440.a('node.textvAlign','middle'); Node440.a('node.textrect', [Node440textStart, 0, Node440textWidth, Node440height]); Node440.a('node.color','rgba(255,255,255,1)'); Node440.a('node.font',' '+ Node440fontSize + 'px "Arial"'); Node440.a('node.textvisible',true); Node440.a('node.linefeed',false); if (false) { Node440.a('node.textfunc',function(g) { g.beginPath(); var str=Node440.a('node.text') || '100.5'; var color=Node440.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440width,Node440height,13.3333*_ratio.ratioY,"left",color,' '+ Node440fontSize + 'px "Arial"', 0,g); }); } if (false) { Node440.a('node.underlinepoints',[Node440lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node440fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width + 6, (Node440height - Node440fontSize) * 0.5*_ratio.ratioY + Node440fontSize + 2 ]); Node440.a('node.underlinevisible',false); Node440.a('node.underlineBorderWidth', 1); } dataModel.add(Node440); zoomNodeList.push({ node: Node440, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node441 = new ht.Node(); var Node441textStart, Node441textWidth, Node441lineStart, Node441align = 'left', Node441fontSize = 13.3333*_ratio.ratioY,Node441width = 39*_ratio.ratioX, Node441height = 16*_ratio.ratioY; (function () { if (Node441align === 'left') { Node441textStart = Node441fontSize * 0.2 > 2 ? Node441fontSize * 0.2 - 4 : Node441fontSize * 0.2 - 9; Node441textWidth = Node441width; Node441lineStart = 1; } else if (Node441align === 'right') { Node441textStart = 0; Node441textWidth =Node441fontSize <= 8 ? Node441width + Node441fontSize * 0.2 + 6 : Node441width - Node441fontSize * 0.2; Node441lineStart = (Node441width - (ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node441align === 'center') { Node441textStart = -3; Node441textWidth = Node441width; Node441lineStart = Node441width - ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width - 11; } })(); Node441.setImage(GD.getTextJSON(Node441width, Node441height, true, false, false, ' '+ Node441fontSize + 'px "Arial"')) Node441.setPosition(1261*ratio.ratioX, 717*ratio.ratioY); Node441.setWidth(Node441width); Node441.setHeight(Node441height); Node441._nodeType = 'text'; Node441._disallowEvert = true; Node441.setRotation(0*Math.PI/180); Node441.a('node.width', Node441width); Node441.a('node.height', Node441height); Node441.a('node.rect', [0, 0, Node441width, Node441height]); Node441.a('node.bordercolor','rgba(255,255,255,1)'); Node441.a('node.borderwidth', 0); Node441.a('node.background','' || 'rgba(0,0,0,0)'); Node441.a('node.gradient',''); Node441.a('node.gradientcolor',''); Node441.a('node.text','100.5'); Node441.a('node.textalign','left'); Node441.a('node.textvAlign','middle'); Node441.a('node.textrect', [Node441textStart, 0, Node441textWidth, Node441height]); Node441.a('node.color','rgba(255,255,255,1)'); Node441.a('node.font',' '+ Node441fontSize + 'px "Arial"'); Node441.a('node.textvisible',true); Node441.a('node.linefeed',false); if (false) { Node441.a('node.textfunc',function(g) { g.beginPath(); var str=Node441.a('node.text') || '100.5'; var color=Node441.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node441width,Node441height,13.3333*_ratio.ratioY,"left",color,' '+ Node441fontSize + 'px "Arial"', 0,g); }); } if (false) { Node441.a('node.underlinepoints',[Node441lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node441fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width + 6, (Node441height - Node441fontSize) * 0.5*_ratio.ratioY + Node441fontSize + 2 ]); Node441.a('node.underlinevisible',false); Node441.a('node.underlineBorderWidth', 1); } dataModel.add(Node441); zoomNodeList.push({ node: Node441, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node442 = new ht.Node(); var Node442textStart, Node442textWidth, Node442lineStart, Node442align = 'left', Node442fontSize = 13.3333*_ratio.ratioY,Node442width = 39*_ratio.ratioX, Node442height = 16*_ratio.ratioY; (function () { if (Node442align === 'left') { Node442textStart = Node442fontSize * 0.2 > 2 ? Node442fontSize * 0.2 - 4 : Node442fontSize * 0.2 - 9; Node442textWidth = Node442width; Node442lineStart = 1; } else if (Node442align === 'right') { Node442textStart = 0; Node442textWidth =Node442fontSize <= 8 ? Node442width + Node442fontSize * 0.2 + 6 : Node442width - Node442fontSize * 0.2; Node442lineStart = (Node442width - (ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node442align === 'center') { Node442textStart = -3; Node442textWidth = Node442width; Node442lineStart = Node442width - ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width - 11; } })(); Node442.setImage(GD.getTextJSON(Node442width, Node442height, true, false, false, ' '+ Node442fontSize + 'px "Arial"')) Node442.setPosition(1801*ratio.ratioX, 672*ratio.ratioY); Node442.setWidth(Node442width); Node442.setHeight(Node442height); Node442._nodeType = 'text'; Node442._disallowEvert = true; Node442.setRotation(0*Math.PI/180); Node442.a('node.width', Node442width); Node442.a('node.height', Node442height); Node442.a('node.rect', [0, 0, Node442width, Node442height]); Node442.a('node.bordercolor','rgba(255,255,255,1)'); Node442.a('node.borderwidth', 0); Node442.a('node.background','' || 'rgba(0,0,0,0)'); Node442.a('node.gradient',''); Node442.a('node.gradientcolor',''); Node442.a('node.text','100.5'); Node442.a('node.textalign','left'); Node442.a('node.textvAlign','middle'); Node442.a('node.textrect', [Node442textStart, 0, Node442textWidth, Node442height]); Node442.a('node.color','rgba(255,255,255,1)'); Node442.a('node.font',' '+ Node442fontSize + 'px "Arial"'); Node442.a('node.textvisible',true); Node442.a('node.linefeed',false); if (false) { Node442.a('node.textfunc',function(g) { g.beginPath(); var str=Node442.a('node.text') || '100.5'; var color=Node442.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node442width,Node442height,13.3333*_ratio.ratioY,"left",color,' '+ Node442fontSize + 'px "Arial"', 0,g); }); } if (false) { Node442.a('node.underlinepoints',[Node442lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node442fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width + 6, (Node442height - Node442fontSize) * 0.5*_ratio.ratioY + Node442fontSize + 2 ]); Node442.a('node.underlinevisible',false); Node442.a('node.underlineBorderWidth', 1); } dataModel.add(Node442); zoomNodeList.push({ node: Node442, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node443 = new ht.Node(); var Node443textStart, Node443textWidth, Node443lineStart, Node443align = 'left', Node443fontSize = 13.3333*_ratio.ratioY,Node443width = 39*_ratio.ratioX, Node443height = 16*_ratio.ratioY; (function () { if (Node443align === 'left') { Node443textStart = Node443fontSize * 0.2 > 2 ? Node443fontSize * 0.2 - 4 : Node443fontSize * 0.2 - 9; Node443textWidth = Node443width; Node443lineStart = 1; } else if (Node443align === 'right') { Node443textStart = 0; Node443textWidth =Node443fontSize <= 8 ? Node443width + Node443fontSize * 0.2 + 6 : Node443width - Node443fontSize * 0.2; Node443lineStart = (Node443width - (ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node443align === 'center') { Node443textStart = -3; Node443textWidth = Node443width; Node443lineStart = Node443width - ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width - 11; } })(); Node443.setImage(GD.getTextJSON(Node443width, Node443height, true, false, false, ' '+ Node443fontSize + 'px "Arial"')) Node443.setPosition(1801*ratio.ratioX, 901*ratio.ratioY); Node443.setWidth(Node443width); Node443.setHeight(Node443height); Node443._nodeType = 'text'; Node443._disallowEvert = true; Node443.setRotation(0*Math.PI/180); Node443.a('node.width', Node443width); Node443.a('node.height', Node443height); Node443.a('node.rect', [0, 0, Node443width, Node443height]); Node443.a('node.bordercolor','rgba(255,255,255,1)'); Node443.a('node.borderwidth', 0); Node443.a('node.background','' || 'rgba(0,0,0,0)'); Node443.a('node.gradient',''); Node443.a('node.gradientcolor',''); Node443.a('node.text','100.5'); Node443.a('node.textalign','left'); Node443.a('node.textvAlign','middle'); Node443.a('node.textrect', [Node443textStart, 0, Node443textWidth, Node443height]); Node443.a('node.color','rgba(255,255,255,1)'); Node443.a('node.font',' '+ Node443fontSize + 'px "Arial"'); Node443.a('node.textvisible',true); Node443.a('node.linefeed',false); if (false) { Node443.a('node.textfunc',function(g) { g.beginPath(); var str=Node443.a('node.text') || '100.5'; var color=Node443.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node443width,Node443height,13.3333*_ratio.ratioY,"left",color,' '+ Node443fontSize + 'px "Arial"', 0,g); }); } if (false) { Node443.a('node.underlinepoints',[Node443lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node443fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width + 6, (Node443height - Node443fontSize) * 0.5*_ratio.ratioY + Node443fontSize + 2 ]); Node443.a('node.underlinevisible',false); Node443.a('node.underlineBorderWidth', 1); } dataModel.add(Node443); zoomNodeList.push({ node: Node443, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node444 = new ht.Node(); var Node444textStart, Node444textWidth, Node444lineStart, Node444align = 'left', Node444fontSize = 13.3333*_ratio.ratioY,Node444width = 39*_ratio.ratioX, Node444height = 16*_ratio.ratioY; (function () { if (Node444align === 'left') { Node444textStart = Node444fontSize * 0.2 > 2 ? Node444fontSize * 0.2 - 4 : Node444fontSize * 0.2 - 9; Node444textWidth = Node444width; Node444lineStart = 1; } else if (Node444align === 'right') { Node444textStart = 0; Node444textWidth =Node444fontSize <= 8 ? Node444width + Node444fontSize * 0.2 + 6 : Node444width - Node444fontSize * 0.2; Node444lineStart = (Node444width - (ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node444align === 'center') { Node444textStart = -3; Node444textWidth = Node444width; Node444lineStart = Node444width - ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width - 11; } })(); Node444.setImage(GD.getTextJSON(Node444width, Node444height, true, false, false, ' '+ Node444fontSize + 'px "Arial"')) Node444.setPosition(1801*ratio.ratioX, 863*ratio.ratioY); Node444.setWidth(Node444width); Node444.setHeight(Node444height); Node444._nodeType = 'text'; Node444._disallowEvert = true; Node444.setRotation(0*Math.PI/180); Node444.a('node.width', Node444width); Node444.a('node.height', Node444height); Node444.a('node.rect', [0, 0, Node444width, Node444height]); Node444.a('node.bordercolor','rgba(255,255,255,1)'); Node444.a('node.borderwidth', 0); Node444.a('node.background','' || 'rgba(0,0,0,0)'); Node444.a('node.gradient',''); Node444.a('node.gradientcolor',''); Node444.a('node.text','100.5'); Node444.a('node.textalign','left'); Node444.a('node.textvAlign','middle'); Node444.a('node.textrect', [Node444textStart, 0, Node444textWidth, Node444height]); Node444.a('node.color','rgba(255,255,255,1)'); Node444.a('node.font',' '+ Node444fontSize + 'px "Arial"'); Node444.a('node.textvisible',true); Node444.a('node.linefeed',false); if (false) { Node444.a('node.textfunc',function(g) { g.beginPath(); var str=Node444.a('node.text') || '100.5'; var color=Node444.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444width,Node444height,13.3333*_ratio.ratioY,"left",color,' '+ Node444fontSize + 'px "Arial"', 0,g); }); } if (false) { Node444.a('node.underlinepoints',[Node444lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width + 6, (Node444height - Node444fontSize) * 0.5*_ratio.ratioY + Node444fontSize + 2 ]); Node444.a('node.underlinevisible',false); Node444.a('node.underlineBorderWidth', 1); } dataModel.add(Node444); zoomNodeList.push({ node: Node444, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node445 = new ht.Node(); var Node445textStart, Node445textWidth, Node445lineStart, Node445align = 'left', Node445fontSize = 13.3333*_ratio.ratioY,Node445width = 39*_ratio.ratioX, Node445height = 16*_ratio.ratioY; (function () { if (Node445align === 'left') { Node445textStart = Node445fontSize * 0.2 > 2 ? Node445fontSize * 0.2 - 4 : Node445fontSize * 0.2 - 9; Node445textWidth = Node445width; Node445lineStart = 1; } else if (Node445align === 'right') { Node445textStart = 0; Node445textWidth =Node445fontSize <= 8 ? Node445width + Node445fontSize * 0.2 + 6 : Node445width - Node445fontSize * 0.2; Node445lineStart = (Node445width - (ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node445align === 'center') { Node445textStart = -3; Node445textWidth = Node445width; Node445lineStart = Node445width - ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width - 11; } })(); Node445.setImage(GD.getTextJSON(Node445width, Node445height, true, false, false, ' '+ Node445fontSize + 'px "Arial"')) Node445.setPosition(1801*ratio.ratioX, 825*ratio.ratioY); Node445.setWidth(Node445width); Node445.setHeight(Node445height); Node445._nodeType = 'text'; Node445._disallowEvert = true; Node445.setRotation(0*Math.PI/180); Node445.a('node.width', Node445width); Node445.a('node.height', Node445height); Node445.a('node.rect', [0, 0, Node445width, Node445height]); Node445.a('node.bordercolor','rgba(255,255,255,1)'); Node445.a('node.borderwidth', 0); Node445.a('node.background','' || 'rgba(0,0,0,0)'); Node445.a('node.gradient',''); Node445.a('node.gradientcolor',''); Node445.a('node.text','100.5'); Node445.a('node.textalign','left'); Node445.a('node.textvAlign','middle'); Node445.a('node.textrect', [Node445textStart, 0, Node445textWidth, Node445height]); Node445.a('node.color','rgba(255,255,255,1)'); Node445.a('node.font',' '+ Node445fontSize + 'px "Arial"'); Node445.a('node.textvisible',true); Node445.a('node.linefeed',false); if (false) { Node445.a('node.textfunc',function(g) { g.beginPath(); var str=Node445.a('node.text') || '100.5'; var color=Node445.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node445width,Node445height,13.3333*_ratio.ratioY,"left",color,' '+ Node445fontSize + 'px "Arial"', 0,g); }); } if (false) { Node445.a('node.underlinepoints',[Node445lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node445fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width + 6, (Node445height - Node445fontSize) * 0.5*_ratio.ratioY + Node445fontSize + 2 ]); Node445.a('node.underlinevisible',false); Node445.a('node.underlineBorderWidth', 1); } dataModel.add(Node445); zoomNodeList.push({ node: Node445, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node446 = new ht.Node(); var Node446textStart, Node446textWidth, Node446lineStart, Node446align = 'left', Node446fontSize = 13.3333*_ratio.ratioY,Node446width = 39*_ratio.ratioX, Node446height = 16*_ratio.ratioY; (function () { if (Node446align === 'left') { Node446textStart = Node446fontSize * 0.2 > 2 ? Node446fontSize * 0.2 - 4 : Node446fontSize * 0.2 - 9; Node446textWidth = Node446width; Node446lineStart = 1; } else if (Node446align === 'right') { Node446textStart = 0; Node446textWidth =Node446fontSize <= 8 ? Node446width + Node446fontSize * 0.2 + 6 : Node446width - Node446fontSize * 0.2; Node446lineStart = (Node446width - (ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node446align === 'center') { Node446textStart = -3; Node446textWidth = Node446width; Node446lineStart = Node446width - ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width - 11; } })(); Node446.setImage(GD.getTextJSON(Node446width, Node446height, true, false, false, ' '+ Node446fontSize + 'px "Arial"')) Node446.setPosition(1801*ratio.ratioX, 786*ratio.ratioY); Node446.setWidth(Node446width); Node446.setHeight(Node446height); Node446._nodeType = 'text'; Node446._disallowEvert = true; Node446.setRotation(0*Math.PI/180); Node446.a('node.width', Node446width); Node446.a('node.height', Node446height); Node446.a('node.rect', [0, 0, Node446width, Node446height]); Node446.a('node.bordercolor','rgba(255,255,255,1)'); Node446.a('node.borderwidth', 0); Node446.a('node.background','' || 'rgba(0,0,0,0)'); Node446.a('node.gradient',''); Node446.a('node.gradientcolor',''); Node446.a('node.text','100.5'); Node446.a('node.textalign','left'); Node446.a('node.textvAlign','middle'); Node446.a('node.textrect', [Node446textStart, 0, Node446textWidth, Node446height]); Node446.a('node.color','rgba(255,255,255,1)'); Node446.a('node.font',' '+ Node446fontSize + 'px "Arial"'); Node446.a('node.textvisible',true); Node446.a('node.linefeed',false); if (false) { Node446.a('node.textfunc',function(g) { g.beginPath(); var str=Node446.a('node.text') || '100.5'; var color=Node446.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446width,Node446height,13.3333*_ratio.ratioY,"left",color,' '+ Node446fontSize + 'px "Arial"', 0,g); }); } if (false) { Node446.a('node.underlinepoints',[Node446lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width + 6, (Node446height - Node446fontSize) * 0.5*_ratio.ratioY + Node446fontSize + 2 ]); Node446.a('node.underlinevisible',false); Node446.a('node.underlineBorderWidth', 1); } dataModel.add(Node446); zoomNodeList.push({ node: Node446, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node447 = new ht.Node(); var Node447textStart, Node447textWidth, Node447lineStart, Node447align = 'left', Node447fontSize = 13.3333*_ratio.ratioY,Node447width = 39*_ratio.ratioX, Node447height = 16*_ratio.ratioY; (function () { if (Node447align === 'left') { Node447textStart = Node447fontSize * 0.2 > 2 ? Node447fontSize * 0.2 - 4 : Node447fontSize * 0.2 - 9; Node447textWidth = Node447width; Node447lineStart = 1; } else if (Node447align === 'right') { Node447textStart = 0; Node447textWidth =Node447fontSize <= 8 ? Node447width + Node447fontSize * 0.2 + 6 : Node447width - Node447fontSize * 0.2; Node447lineStart = (Node447width - (ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node447align === 'center') { Node447textStart = -3; Node447textWidth = Node447width; Node447lineStart = Node447width - ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width - 11; } })(); Node447.setImage(GD.getTextJSON(Node447width, Node447height, true, false, false, ' '+ Node447fontSize + 'px "Arial"')) Node447.setPosition(1801*ratio.ratioX, 748*ratio.ratioY); Node447.setWidth(Node447width); Node447.setHeight(Node447height); Node447._nodeType = 'text'; Node447._disallowEvert = true; Node447.setRotation(0*Math.PI/180); Node447.a('node.width', Node447width); Node447.a('node.height', Node447height); Node447.a('node.rect', [0, 0, Node447width, Node447height]); Node447.a('node.bordercolor','rgba(255,255,255,1)'); Node447.a('node.borderwidth', 0); Node447.a('node.background','' || 'rgba(0,0,0,0)'); Node447.a('node.gradient',''); Node447.a('node.gradientcolor',''); Node447.a('node.text','100.5'); Node447.a('node.textalign','left'); Node447.a('node.textvAlign','middle'); Node447.a('node.textrect', [Node447textStart, 0, Node447textWidth, Node447height]); Node447.a('node.color','rgba(255,255,255,1)'); Node447.a('node.font',' '+ Node447fontSize + 'px "Arial"'); Node447.a('node.textvisible',true); Node447.a('node.linefeed',false); if (false) { Node447.a('node.textfunc',function(g) { g.beginPath(); var str=Node447.a('node.text') || '100.5'; var color=Node447.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node447width,Node447height,13.3333*_ratio.ratioY,"left",color,' '+ Node447fontSize + 'px "Arial"', 0,g); }); } if (false) { Node447.a('node.underlinepoints',[Node447lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node447fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width + 6, (Node447height - Node447fontSize) * 0.5*_ratio.ratioY + Node447fontSize + 2 ]); Node447.a('node.underlinevisible',false); Node447.a('node.underlineBorderWidth', 1); } dataModel.add(Node447); zoomNodeList.push({ node: Node447, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node448 = new ht.Node(); var Node448textStart, Node448textWidth, Node448lineStart, Node448align = 'left', Node448fontSize = 13.3333*_ratio.ratioY,Node448width = 39*_ratio.ratioX, Node448height = 16*_ratio.ratioY; (function () { if (Node448align === 'left') { Node448textStart = Node448fontSize * 0.2 > 2 ? Node448fontSize * 0.2 - 4 : Node448fontSize * 0.2 - 9; Node448textWidth = Node448width; Node448lineStart = 1; } else if (Node448align === 'right') { Node448textStart = 0; Node448textWidth =Node448fontSize <= 8 ? Node448width + Node448fontSize * 0.2 + 6 : Node448width - Node448fontSize * 0.2; Node448lineStart = (Node448width - (ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node448align === 'center') { Node448textStart = -3; Node448textWidth = Node448width; Node448lineStart = Node448width - ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width - 11; } })(); Node448.setImage(GD.getTextJSON(Node448width, Node448height, true, false, false, ' '+ Node448fontSize + 'px "Arial"')) Node448.setPosition(1801*ratio.ratioX, 710*ratio.ratioY); Node448.setWidth(Node448width); Node448.setHeight(Node448height); Node448._nodeType = 'text'; Node448._disallowEvert = true; Node448.setRotation(0*Math.PI/180); Node448.a('node.width', Node448width); Node448.a('node.height', Node448height); Node448.a('node.rect', [0, 0, Node448width, Node448height]); Node448.a('node.bordercolor','rgba(255,255,255,1)'); Node448.a('node.borderwidth', 0); Node448.a('node.background','' || 'rgba(0,0,0,0)'); Node448.a('node.gradient',''); Node448.a('node.gradientcolor',''); Node448.a('node.text','100.5'); Node448.a('node.textalign','left'); Node448.a('node.textvAlign','middle'); Node448.a('node.textrect', [Node448textStart, 0, Node448textWidth, Node448height]); Node448.a('node.color','rgba(255,255,255,1)'); Node448.a('node.font',' '+ Node448fontSize + 'px "Arial"'); Node448.a('node.textvisible',true); Node448.a('node.linefeed',false); if (false) { Node448.a('node.textfunc',function(g) { g.beginPath(); var str=Node448.a('node.text') || '100.5'; var color=Node448.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448width,Node448height,13.3333*_ratio.ratioY,"left",color,' '+ Node448fontSize + 'px "Arial"', 0,g); }); } if (false) { Node448.a('node.underlinepoints',[Node448lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width + 6, (Node448height - Node448fontSize) * 0.5*_ratio.ratioY + Node448fontSize + 2 ]); Node448.a('node.underlinevisible',false); Node448.a('node.underlineBorderWidth', 1); } dataModel.add(Node448); zoomNodeList.push({ node: Node448, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_0type = 'rect'; var Node449_0 = new ht.Node(), Node449_0BorderWidth = 0*2; if (Node449_0type === 'arc') { Node449_0BorderWidth *= 0; } Node449_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_0type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_0.setPosition(954*ratio.ratioX, 190*ratio.ratioY); Node449_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_0.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_0.a('node.width', 127*_ratio.ratioX); Node449_0.a('node.height', 32*_ratio.ratioY); Node449_0.a('node.type', Node449_0type); Node449_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_0.a('node.background', 'rgba(245,245,245,1)'); Node449_0.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node449_0.a('node.gradient', ''); Node449_0.a('node.borderwidth', Node449_0BorderWidth); Node449_0.a('node.color', 'rgba(192,192,192,0)'); Node449_0.a('node.fillrect', [0,0,0,0]); Node449_0.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_0.a('node.fillgradient', ''); if (Node449_0type !== 'rect') { Node449_0.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_0.a('node.arcTo', parseFloat('@arcTo@')); Node449_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_0type === 'arc') { Node449_0.a('node.arcOval', true); } Node449_0.setRotation(0*Math.PI/180); Node449_0.borderWidth = Node449_0BorderWidth; Node449_0.borderFillwidth = Node449_0BorderWidth; dataModel.add(Node449_0); Node449_0._nodename = 'Node449_0' Node449_0._nodeType = 'rect'; zoomNodeList.push({ node: Node449_0, 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); } })(Node449_0, Node449_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_1type = 'rect'; var Node449_1 = new ht.Node(), Node449_1BorderWidth = 0*2; if (Node449_1type === 'arc') { Node449_1BorderWidth *= 0; } Node449_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_1.setPosition(954*ratio.ratioX, 222*ratio.ratioY); Node449_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_1.a('node.width', 127*_ratio.ratioX); Node449_1.a('node.height', 32*_ratio.ratioY); Node449_1.a('node.type', Node449_1type); Node449_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node449_1.a('node.gradientcolor', ''); Node449_1.a('node.gradient', ''); Node449_1.a('node.borderwidth', Node449_1BorderWidth); Node449_1.a('node.color', 'rgba(192,192,192,0)'); Node449_1.a('node.fillrect', [0,0,0,0]); Node449_1.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_1.a('node.fillgradient', ''); if (Node449_1type !== 'rect') { Node449_1.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_1.a('node.arcTo', parseFloat('@arcTo@')); Node449_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_1type === 'arc') { Node449_1.a('node.arcOval', true); } Node449_1.setRotation(0*Math.PI/180); Node449_1.borderWidth = Node449_1BorderWidth; Node449_1.borderFillwidth = Node449_1BorderWidth; dataModel.add(Node449_1); Node449_1._nodename = 'Node449_1' Node449_1._nodeType = 'rect'; zoomNodeList.push({ node: Node449_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); } })(Node449_1, Node449_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_2type = 'rect'; var Node449_2 = new ht.Node(), Node449_2BorderWidth = 0*2; if (Node449_2type === 'arc') { Node449_2BorderWidth *= 0; } Node449_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_2type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_2.setPosition(954*ratio.ratioX, 254*ratio.ratioY); Node449_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_2.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_2.a('node.width', 127*_ratio.ratioX); Node449_2.a('node.height', 32*_ratio.ratioY); Node449_2.a('node.type', Node449_2type); Node449_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_2.a('node.background', 'rgba(245,245,245,1)'); Node449_2.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node449_2.a('node.gradient', ''); Node449_2.a('node.borderwidth', Node449_2BorderWidth); Node449_2.a('node.color', 'rgba(192,192,192,0)'); Node449_2.a('node.fillrect', [0,0,0,0]); Node449_2.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_2.a('node.fillgradient', ''); if (Node449_2type !== 'rect') { Node449_2.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_2.a('node.arcTo', parseFloat('@arcTo@')); Node449_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_2type === 'arc') { Node449_2.a('node.arcOval', true); } Node449_2.setRotation(0*Math.PI/180); Node449_2.borderWidth = Node449_2BorderWidth; Node449_2.borderFillwidth = Node449_2BorderWidth; dataModel.add(Node449_2); Node449_2._nodename = 'Node449_2' Node449_2._nodeType = 'rect'; zoomNodeList.push({ node: Node449_2, 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); } })(Node449_2, Node449_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_3type = 'rect'; var Node449_3 = new ht.Node(), Node449_3BorderWidth = 0*2; if (Node449_3type === 'arc') { Node449_3BorderWidth *= 0; } Node449_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_3.setPosition(954*ratio.ratioX, 285*ratio.ratioY); Node449_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_3.a('node.width', 127*_ratio.ratioX); Node449_3.a('node.height', 32*_ratio.ratioY); Node449_3.a('node.type', Node449_3type); Node449_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_3.a('node.background', 'rgba(255,255,255,0.003921569)'); Node449_3.a('node.gradientcolor', ''); Node449_3.a('node.gradient', ''); Node449_3.a('node.borderwidth', Node449_3BorderWidth); Node449_3.a('node.color', 'rgba(192,192,192,0)'); Node449_3.a('node.fillrect', [0,0,0,0]); Node449_3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_3.a('node.fillgradient', ''); if (Node449_3type !== 'rect') { Node449_3.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_3.a('node.arcTo', parseFloat('@arcTo@')); Node449_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_3type === 'arc') { Node449_3.a('node.arcOval', true); } Node449_3.setRotation(0*Math.PI/180); Node449_3.borderWidth = Node449_3BorderWidth; Node449_3.borderFillwidth = Node449_3BorderWidth; dataModel.add(Node449_3); Node449_3._nodename = 'Node449_3' Node449_3._nodeType = 'rect'; zoomNodeList.push({ node: Node449_3, 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); } })(Node449_3, Node449_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_4type = 'rect'; var Node449_4 = new ht.Node(), Node449_4BorderWidth = 0*2; if (Node449_4type === 'arc') { Node449_4BorderWidth *= 0; } Node449_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_4.setPosition(954*ratio.ratioX, 316*ratio.ratioY); Node449_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_4.a('node.width', 127*_ratio.ratioX); Node449_4.a('node.height', 32*_ratio.ratioY); Node449_4.a('node.type', Node449_4type); Node449_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_4.a('node.background', 'rgba(245,245,245,1)'); Node449_4.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node449_4.a('node.gradient', ''); Node449_4.a('node.borderwidth', Node449_4BorderWidth); Node449_4.a('node.color', 'rgba(192,192,192,0)'); Node449_4.a('node.fillrect', [0,0,0,0]); Node449_4.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_4.a('node.fillgradient', ''); if (Node449_4type !== 'rect') { Node449_4.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_4.a('node.arcTo', parseFloat('@arcTo@')); Node449_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_4type === 'arc') { Node449_4.a('node.arcOval', true); } Node449_4.setRotation(0*Math.PI/180); Node449_4.borderWidth = Node449_4BorderWidth; Node449_4.borderFillwidth = Node449_4BorderWidth; dataModel.add(Node449_4); Node449_4._nodename = 'Node449_4' Node449_4._nodeType = 'rect'; zoomNodeList.push({ node: Node449_4, 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); } })(Node449_4, Node449_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_5type = 'rect'; var Node449_5 = new ht.Node(), Node449_5BorderWidth = 0*2; if (Node449_5type === 'arc') { Node449_5BorderWidth *= 0; } Node449_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_5.setPosition(954*ratio.ratioX, 347*ratio.ratioY); Node449_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_5.a('node.width', 127*_ratio.ratioX); Node449_5.a('node.height', 32*_ratio.ratioY); Node449_5.a('node.type', Node449_5type); Node449_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_5.a('node.background', 'rgba(255,255,255,0.003921569)'); Node449_5.a('node.gradientcolor', ''); Node449_5.a('node.gradient', ''); Node449_5.a('node.borderwidth', Node449_5BorderWidth); Node449_5.a('node.color', 'rgba(192,192,192,0)'); Node449_5.a('node.fillrect', [0,0,0,0]); Node449_5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_5.a('node.fillgradient', ''); if (Node449_5type !== 'rect') { Node449_5.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_5.a('node.arcTo', parseFloat('@arcTo@')); Node449_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_5type === 'arc') { Node449_5.a('node.arcOval', true); } Node449_5.setRotation(0*Math.PI/180); Node449_5.borderWidth = Node449_5BorderWidth; Node449_5.borderFillwidth = Node449_5BorderWidth; dataModel.add(Node449_5); Node449_5._nodename = 'Node449_5' Node449_5._nodeType = 'rect'; zoomNodeList.push({ node: Node449_5, 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); } })(Node449_5, Node449_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_6type = 'rect'; var Node449_6 = new ht.Node(), Node449_6BorderWidth = 0*2; if (Node449_6type === 'arc') { Node449_6BorderWidth *= 0; } Node449_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_6.setPosition(954*ratio.ratioX, 378*ratio.ratioY); Node449_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY); Node449_6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_6.a('node.width', 127*_ratio.ratioX); Node449_6.a('node.height', 32*_ratio.ratioY); Node449_6.a('node.type', Node449_6type); Node449_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]); Node449_6.a('node.background', 'rgba(245,245,245,1)'); Node449_6.a('node.gradientcolor', 'rgba(245,245,245,1)'); Node449_6.a('node.gradient', ''); Node449_6.a('node.borderwidth', Node449_6BorderWidth); Node449_6.a('node.color', 'rgba(192,192,192,0)'); Node449_6.a('node.fillrect', [0,0,0,0]); Node449_6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_6.a('node.fillgradient', ''); if (Node449_6type !== 'rect') { Node449_6.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_6.a('node.arcTo', parseFloat('@arcTo@')); Node449_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_6type === 'arc') { Node449_6.a('node.arcOval', true); } Node449_6.setRotation(0*Math.PI/180); Node449_6.borderWidth = Node449_6BorderWidth; Node449_6.borderFillwidth = Node449_6BorderWidth; dataModel.add(Node449_6); Node449_6._nodename = 'Node449_6' Node449_6._nodeType = 'rect'; zoomNodeList.push({ node: Node449_6, 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); } })(Node449_6, Node449_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_7type = 'rect'; var Node449_7 = new ht.Node(), Node449_7BorderWidth = 1*2; if (Node449_7type === 'arc') { Node449_7BorderWidth *= 1; } Node449_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node449_7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node449_7.setPosition(954*ratio.ratioX, 239*ratio.ratioY); Node449_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY); Node449_7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node449_7.a('node.width', 127*_ratio.ratioX); Node449_7.a('node.height', 309*_ratio.ratioY); Node449_7.a('node.type', Node449_7type); Node449_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]); Node449_7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node449_7.a('node.gradientcolor', ''); Node449_7.a('node.gradient', ''); Node449_7.a('node.borderwidth', Node449_7BorderWidth); Node449_7.a('node.color', 'rgba(192,192,192,1)'); Node449_7.a('node.fillrect', [0,0,0,0]); Node449_7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node449_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node449_7.a('node.fillgradient', ''); if (Node449_7type !== 'rect') { Node449_7.a('node.arcFrom', parseFloat('@arcFrom@')); Node449_7.a('node.arcTo', parseFloat('@arcTo@')); Node449_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node449_7type === 'arc') { Node449_7.a('node.arcOval', true); } Node449_7.setRotation(0*Math.PI/180); Node449_7.borderWidth = Node449_7BorderWidth; Node449_7.borderFillwidth = Node449_7BorderWidth; dataModel.add(Node449_7); Node449_7._nodename = 'Node449_7' Node449_7._nodeType = 'rect'; zoomNodeList.push({ node: Node449_7, 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); } })(Node449_7, Node449_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_8 = new ht.Node(); var Node449_8textStart, Node449_8textWidth, Node449_8lineStart, Node449_8align = 'center', Node449_8fontSize = 13.3333*_ratio.ratioY,Node449_8width = 105*_ratio.ratioX, Node449_8height = 27*_ratio.ratioY; (function () { if (Node449_8align === 'left') { Node449_8textStart = Node449_8fontSize * 0.2 > 2 ? Node449_8fontSize * 0.2 - 4 : Node449_8fontSize * 0.2 - 9; Node449_8textWidth = Node449_8width; Node449_8lineStart = 1; } else if (Node449_8align === 'right') { Node449_8textStart = 0; Node449_8textWidth =Node449_8fontSize <= 8 ? Node449_8width + Node449_8fontSize * 0.2 + 6 : Node449_8width - Node449_8fontSize * 0.2; Node449_8lineStart = (Node449_8width - (ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node449_8align === 'center') { Node449_8textStart = -3; Node449_8textWidth = Node449_8width; Node449_8lineStart = Node449_8width - ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width - 11; } })(); Node449_8.setImage(GD.getTextJSON(Node449_8width, Node449_8height, true, false, false, 'bold '+ Node449_8fontSize + 'px "Arial"')) Node449_8.setPosition(951*ratio.ratioX, 103*ratio.ratioY); Node449_8.setWidth(Node449_8width); Node449_8.setHeight(Node449_8height); Node449_8._nodeType = 'text'; Node449_8._disallowEvert = true; Node449_8.setRotation(0*Math.PI/180); Node449_8.a('node.width', Node449_8width); Node449_8.a('node.height', Node449_8height); Node449_8.a('node.rect', [0, 0, Node449_8width, Node449_8height]); Node449_8.a('node.bordercolor','rgba(255,255,255,1)'); Node449_8.a('node.borderwidth', 0); Node449_8.a('node.background','' || 'rgba(0,0,0,0)'); Node449_8.a('node.gradient',''); Node449_8.a('node.gradientcolor',''); Node449_8.a('node.text','年发电量'); Node449_8.a('node.textalign','center'); Node449_8.a('node.textvAlign','middle'); Node449_8.a('node.textrect', [Node449_8textStart, 0, Node449_8textWidth, Node449_8height]); Node449_8.a('node.color','rgba(255,255,255,1)'); Node449_8.a('node.font','bold '+ Node449_8fontSize + 'px "Arial"'); Node449_8.a('node.textvisible',true); Node449_8.a('node.linefeed',false); if (false) { Node449_8.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_8.a('node.text') || '年发电量'; var color=Node449_8.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_8width,Node449_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node449_8.a('node.underlinepoints',[Node449_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_8fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width + 6, (Node449_8height - Node449_8fontSize) * 0.5*_ratio.ratioY + Node449_8fontSize + 2 ]); Node449_8.a('node.underlinevisible',false); Node449_8.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_8); zoomNodeList.push({ node: Node449_8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_9 = new ht.Node(); var Node449_9textStart, Node449_9textWidth, Node449_9lineStart, Node449_9align = 'center', Node449_9fontSize = 11.99997*_ratio.ratioY,Node449_9width = 105*_ratio.ratioX, Node449_9height = 17*_ratio.ratioY; (function () { if (Node449_9align === 'left') { Node449_9textStart = Node449_9fontSize * 0.2 > 2 ? Node449_9fontSize * 0.2 - 4 : Node449_9fontSize * 0.2 - 9; Node449_9textWidth = Node449_9width; Node449_9lineStart = 1; } else if (Node449_9align === 'right') { Node449_9textStart = 0; Node449_9textWidth =Node449_9fontSize <= 8 ? Node449_9width + Node449_9fontSize * 0.2 + 6 : Node449_9width - Node449_9fontSize * 0.2; Node449_9lineStart = (Node449_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node449_9align === 'center') { Node449_9textStart = -3; Node449_9textWidth = Node449_9width; Node449_9lineStart = Node449_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width - 11; } })(); Node449_9.setImage(GD.getTextJSON(Node449_9width, Node449_9height, true, false, false, 'bold '+ Node449_9fontSize + 'px "Arial"')) Node449_9.setPosition(951*ratio.ratioX, 131*ratio.ratioY); Node449_9.setWidth(Node449_9width); Node449_9.setHeight(Node449_9height); Node449_9._nodeType = 'text'; Node449_9._disallowEvert = true; Node449_9.setRotation(0*Math.PI/180); Node449_9.a('node.width', Node449_9width); Node449_9.a('node.height', Node449_9height); Node449_9.a('node.rect', [0, 0, Node449_9width, Node449_9height]); Node449_9.a('node.bordercolor','rgba(128,128,128,1)'); Node449_9.a('node.borderwidth', 0); Node449_9.a('node.background','' || 'rgba(0,0,0,0)'); Node449_9.a('node.gradient',''); Node449_9.a('node.gradientcolor',''); Node449_9.a('node.text','万kwh'); Node449_9.a('node.textalign','center'); Node449_9.a('node.textvAlign','middle'); Node449_9.a('node.textrect', [Node449_9textStart, 0, Node449_9textWidth, Node449_9height]); Node449_9.a('node.color','rgba(128,128,128,1)'); Node449_9.a('node.font','bold '+ Node449_9fontSize + 'px "Arial"'); Node449_9.a('node.textvisible',true); Node449_9.a('node.linefeed',false); if (false) { Node449_9.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_9.a('node.text') || '万kwh'; var color=Node449_9.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node449_9width,Node449_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node449_9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node449_9.a('node.underlinepoints',[Node449_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node449_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width + 6, (Node449_9height - Node449_9fontSize) * 0.5*_ratio.ratioY + Node449_9fontSize + 2 ]); Node449_9.a('node.underlinevisible',false); Node449_9.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_9); zoomNodeList.push({ node: Node449_9, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_10 = new ht.Node(); var Node449_10textStart, Node449_10textWidth, Node449_10lineStart, Node449_10align = 'center', Node449_10fontSize = 13.3333*_ratio.ratioY,Node449_10width = 105*_ratio.ratioX, Node449_10height = 27*_ratio.ratioY; (function () { if (Node449_10align === 'left') { Node449_10textStart = Node449_10fontSize * 0.2 > 2 ? Node449_10fontSize * 0.2 - 4 : Node449_10fontSize * 0.2 - 9; Node449_10textWidth = Node449_10width; Node449_10lineStart = 1; } else if (Node449_10align === 'right') { Node449_10textStart = 0; Node449_10textWidth =Node449_10fontSize <= 8 ? Node449_10width + Node449_10fontSize * 0.2 + 6 : Node449_10width - Node449_10fontSize * 0.2; Node449_10lineStart = (Node449_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_10align === 'center') { Node449_10textStart = -3; Node449_10textWidth = Node449_10width; Node449_10lineStart = Node449_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_10.setImage(GD.getTextJSON(Node449_10width, Node449_10height, true, false, false, 'bold '+ Node449_10fontSize + 'px "UniDreamLED"')) Node449_10.setPosition(951*ratio.ratioX, 158*ratio.ratioY); Node449_10.setWidth(Node449_10width); Node449_10.setHeight(Node449_10height); Node449_10._nodeType = 'text'; Node449_10._disallowEvert = true; Node449_10.setRotation(0*Math.PI/180); Node449_10.a('node.width', Node449_10width); Node449_10.a('node.height', Node449_10height); Node449_10.a('node.rect', [0, 0, Node449_10width, Node449_10height]); Node449_10.a('node.bordercolor','rgba(0,0,0,1)'); Node449_10.a('node.borderwidth', 0); Node449_10.a('node.background','' || 'rgba(0,0,0,0)'); Node449_10.a('node.gradient',''); Node449_10.a('node.gradientcolor',''); Node449_10.a('node.text','1134.76'); Node449_10.a('node.textalign','center'); Node449_10.a('node.textvAlign','middle'); Node449_10.a('node.textrect', [Node449_10textStart, 0, Node449_10textWidth, Node449_10height]); Node449_10.a('node.color','rgba(0,0,0,1)'); Node449_10.a('node.font','bold '+ Node449_10fontSize + 'px "UniDreamLED"'); Node449_10.a('node.textvisible',true); Node449_10.a('node.linefeed',false); if (false) { Node449_10.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_10.a('node.text') || '1134.76'; var color=Node449_10.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_10width,Node449_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_10fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_10.a('node.underlinepoints',[Node449_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width + 6, (Node449_10height - Node449_10fontSize) * 0.5*_ratio.ratioY + Node449_10fontSize + 2 ]); Node449_10.a('node.underlinevisible',false); Node449_10.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_10); zoomNodeList.push({ node: Node449_10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_11 = new ht.Node(); var Node449_11textStart, Node449_11textWidth, Node449_11lineStart, Node449_11align = 'center', Node449_11fontSize = 13.3333*_ratio.ratioY,Node449_11width = 110*_ratio.ratioX, Node449_11height = 27*_ratio.ratioY; (function () { if (Node449_11align === 'left') { Node449_11textStart = Node449_11fontSize * 0.2 > 2 ? Node449_11fontSize * 0.2 - 4 : Node449_11fontSize * 0.2 - 9; Node449_11textWidth = Node449_11width; Node449_11lineStart = 1; } else if (Node449_11align === 'right') { Node449_11textStart = 0; Node449_11textWidth =Node449_11fontSize <= 8 ? Node449_11width + Node449_11fontSize * 0.2 + 6 : Node449_11width - Node449_11fontSize * 0.2; Node449_11lineStart = (Node449_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_11align === 'center') { Node449_11textStart = -3; Node449_11textWidth = Node449_11width; Node449_11lineStart = Node449_11width - ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_11.setImage(GD.getTextJSON(Node449_11width, Node449_11height, true, false, false, 'bold '+ Node449_11fontSize + 'px "UniDreamLED"')) Node449_11.setPosition(954*ratio.ratioX, 190*ratio.ratioY); Node449_11.setWidth(Node449_11width); Node449_11.setHeight(Node449_11height); Node449_11._nodeType = 'text'; Node449_11._disallowEvert = true; Node449_11.setRotation(0*Math.PI/180); Node449_11.a('node.width', Node449_11width); Node449_11.a('node.height', Node449_11height); Node449_11.a('node.rect', [0, 0, Node449_11width, Node449_11height]); Node449_11.a('node.bordercolor','rgba(0,0,0,1)'); Node449_11.a('node.borderwidth', 0); Node449_11.a('node.background','' || 'rgba(0,0,0,0)'); Node449_11.a('node.gradient',''); Node449_11.a('node.gradientcolor',''); Node449_11.a('node.text','171.51'); Node449_11.a('node.textalign','center'); Node449_11.a('node.textvAlign','middle'); Node449_11.a('node.textrect', [Node449_11textStart, 0, Node449_11textWidth, Node449_11height]); Node449_11.a('node.color','rgba(0,0,0,1)'); Node449_11.a('node.font','bold '+ Node449_11fontSize + 'px "UniDreamLED"'); Node449_11.a('node.textvisible',true); Node449_11.a('node.linefeed',false); if (false) { Node449_11.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_11.a('node.text') || '171.51'; var color=Node449_11.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_11width,Node449_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_11fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_11.a('node.underlinepoints',[Node449_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width + 6, (Node449_11height - Node449_11fontSize) * 0.5*_ratio.ratioY + Node449_11fontSize + 2 ]); Node449_11.a('node.underlinevisible',false); Node449_11.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_11); zoomNodeList.push({ node: Node449_11, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_12 = new ht.Node(); var Node449_12textStart, Node449_12textWidth, Node449_12lineStart, Node449_12align = 'center', Node449_12fontSize = 13.3333*_ratio.ratioY,Node449_12width = 110*_ratio.ratioX, Node449_12height = 27*_ratio.ratioY; (function () { if (Node449_12align === 'left') { Node449_12textStart = Node449_12fontSize * 0.2 > 2 ? Node449_12fontSize * 0.2 - 4 : Node449_12fontSize * 0.2 - 9; Node449_12textWidth = Node449_12width; Node449_12lineStart = 1; } else if (Node449_12align === 'right') { Node449_12textStart = 0; Node449_12textWidth =Node449_12fontSize <= 8 ? Node449_12width + Node449_12fontSize * 0.2 + 6 : Node449_12width - Node449_12fontSize * 0.2; Node449_12lineStart = (Node449_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_12align === 'center') { Node449_12textStart = -3; Node449_12textWidth = Node449_12width; Node449_12lineStart = Node449_12width - ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_12.setImage(GD.getTextJSON(Node449_12width, Node449_12height, true, false, false, 'bold '+ Node449_12fontSize + 'px "UniDreamLED"')) Node449_12.setPosition(954*ratio.ratioX, 220*ratio.ratioY); Node449_12.setWidth(Node449_12width); Node449_12.setHeight(Node449_12height); Node449_12._nodeType = 'text'; Node449_12._disallowEvert = true; Node449_12.setRotation(0*Math.PI/180); Node449_12.a('node.width', Node449_12width); Node449_12.a('node.height', Node449_12height); Node449_12.a('node.rect', [0, 0, Node449_12width, Node449_12height]); Node449_12.a('node.bordercolor','rgba(0,0,0,1)'); Node449_12.a('node.borderwidth', 0); Node449_12.a('node.background','' || 'rgba(0,0,0,0)'); Node449_12.a('node.gradient',''); Node449_12.a('node.gradientcolor',''); Node449_12.a('node.text','329.51'); Node449_12.a('node.textalign','center'); Node449_12.a('node.textvAlign','middle'); Node449_12.a('node.textrect', [Node449_12textStart, 0, Node449_12textWidth, Node449_12height]); Node449_12.a('node.color','rgba(0,0,0,1)'); Node449_12.a('node.font','bold '+ Node449_12fontSize + 'px "UniDreamLED"'); Node449_12.a('node.textvisible',true); Node449_12.a('node.linefeed',false); if (false) { Node449_12.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_12.a('node.text') || '329.51'; var color=Node449_12.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_12width,Node449_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_12fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_12.a('node.underlinepoints',[Node449_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width + 6, (Node449_12height - Node449_12fontSize) * 0.5*_ratio.ratioY + Node449_12fontSize + 2 ]); Node449_12.a('node.underlinevisible',false); Node449_12.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_12); zoomNodeList.push({ node: Node449_12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_13 = new ht.Node(); var Node449_13textStart, Node449_13textWidth, Node449_13lineStart, Node449_13align = 'center', Node449_13fontSize = 13.3333*_ratio.ratioY,Node449_13width = 110*_ratio.ratioX, Node449_13height = 27*_ratio.ratioY; (function () { if (Node449_13align === 'left') { Node449_13textStart = Node449_13fontSize * 0.2 > 2 ? Node449_13fontSize * 0.2 - 4 : Node449_13fontSize * 0.2 - 9; Node449_13textWidth = Node449_13width; Node449_13lineStart = 1; } else if (Node449_13align === 'right') { Node449_13textStart = 0; Node449_13textWidth =Node449_13fontSize <= 8 ? Node449_13width + Node449_13fontSize * 0.2 + 6 : Node449_13width - Node449_13fontSize * 0.2; Node449_13lineStart = (Node449_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_13align === 'center') { Node449_13textStart = -3; Node449_13textWidth = Node449_13width; Node449_13lineStart = Node449_13width - ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_13.setImage(GD.getTextJSON(Node449_13width, Node449_13height, true, false, false, 'bold '+ Node449_13fontSize + 'px "UniDreamLED"')) Node449_13.setPosition(954*ratio.ratioX, 250*ratio.ratioY); Node449_13.setWidth(Node449_13width); Node449_13.setHeight(Node449_13height); Node449_13._nodeType = 'text'; Node449_13._disallowEvert = true; Node449_13.setRotation(0*Math.PI/180); Node449_13.a('node.width', Node449_13width); Node449_13.a('node.height', Node449_13height); Node449_13.a('node.rect', [0, 0, Node449_13width, Node449_13height]); Node449_13.a('node.bordercolor','rgba(0,0,0,1)'); Node449_13.a('node.borderwidth', 0); Node449_13.a('node.background','' || 'rgba(0,0,0,0)'); Node449_13.a('node.gradient',''); Node449_13.a('node.gradientcolor',''); Node449_13.a('node.text','340.14'); Node449_13.a('node.textalign','center'); Node449_13.a('node.textvAlign','middle'); Node449_13.a('node.textrect', [Node449_13textStart, 0, Node449_13textWidth, Node449_13height]); Node449_13.a('node.color','rgba(0,0,0,1)'); Node449_13.a('node.font','bold '+ Node449_13fontSize + 'px "UniDreamLED"'); Node449_13.a('node.textvisible',true); Node449_13.a('node.linefeed',false); if (false) { Node449_13.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_13.a('node.text') || '340.14'; var color=Node449_13.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_13width,Node449_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_13fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_13.a('node.underlinepoints',[Node449_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width + 6, (Node449_13height - Node449_13fontSize) * 0.5*_ratio.ratioY + Node449_13fontSize + 2 ]); Node449_13.a('node.underlinevisible',false); Node449_13.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_13); zoomNodeList.push({ node: Node449_13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_14 = new ht.Node(); var Node449_14textStart, Node449_14textWidth, Node449_14lineStart, Node449_14align = 'center', Node449_14fontSize = 13.3333*_ratio.ratioY,Node449_14width = 110*_ratio.ratioX, Node449_14height = 27*_ratio.ratioY; (function () { if (Node449_14align === 'left') { Node449_14textStart = Node449_14fontSize * 0.2 > 2 ? Node449_14fontSize * 0.2 - 4 : Node449_14fontSize * 0.2 - 9; Node449_14textWidth = Node449_14width; Node449_14lineStart = 1; } else if (Node449_14align === 'right') { Node449_14textStart = 0; Node449_14textWidth =Node449_14fontSize <= 8 ? Node449_14width + Node449_14fontSize * 0.2 + 6 : Node449_14width - Node449_14fontSize * 0.2; Node449_14lineStart = (Node449_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_14align === 'center') { Node449_14textStart = -3; Node449_14textWidth = Node449_14width; Node449_14lineStart = Node449_14width - ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_14.setImage(GD.getTextJSON(Node449_14width, Node449_14height, true, false, false, 'bold '+ Node449_14fontSize + 'px "UniDreamLED"')) Node449_14.setPosition(954*ratio.ratioX, 284*ratio.ratioY); Node449_14.setWidth(Node449_14width); Node449_14.setHeight(Node449_14height); Node449_14._nodeType = 'text'; Node449_14._disallowEvert = true; Node449_14.setRotation(0*Math.PI/180); Node449_14.a('node.width', Node449_14width); Node449_14.a('node.height', Node449_14height); Node449_14.a('node.rect', [0, 0, Node449_14width, Node449_14height]); Node449_14.a('node.bordercolor','rgba(0,0,0,1)'); Node449_14.a('node.borderwidth', 0); Node449_14.a('node.background','' || 'rgba(0,0,0,0)'); Node449_14.a('node.gradient',''); Node449_14.a('node.gradientcolor',''); Node449_14.a('node.text','60.61'); Node449_14.a('node.textalign','center'); Node449_14.a('node.textvAlign','middle'); Node449_14.a('node.textrect', [Node449_14textStart, 0, Node449_14textWidth, Node449_14height]); Node449_14.a('node.color','rgba(0,0,0,1)'); Node449_14.a('node.font','bold '+ Node449_14fontSize + 'px "UniDreamLED"'); Node449_14.a('node.textvisible',true); Node449_14.a('node.linefeed',false); if (false) { Node449_14.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_14.a('node.text') || '60.61'; var color=Node449_14.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_14width,Node449_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_14fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_14.a('node.underlinepoints',[Node449_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width + 6, (Node449_14height - Node449_14fontSize) * 0.5*_ratio.ratioY + Node449_14fontSize + 2 ]); Node449_14.a('node.underlinevisible',false); Node449_14.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_14); zoomNodeList.push({ node: Node449_14, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_15 = new ht.Node(); var Node449_15textStart, Node449_15textWidth, Node449_15lineStart, Node449_15align = 'center', Node449_15fontSize = 13.3333*_ratio.ratioY,Node449_15width = 110*_ratio.ratioX, Node449_15height = 27*_ratio.ratioY; (function () { if (Node449_15align === 'left') { Node449_15textStart = Node449_15fontSize * 0.2 > 2 ? Node449_15fontSize * 0.2 - 4 : Node449_15fontSize * 0.2 - 9; Node449_15textWidth = Node449_15width; Node449_15lineStart = 1; } else if (Node449_15align === 'right') { Node449_15textStart = 0; Node449_15textWidth =Node449_15fontSize <= 8 ? Node449_15width + Node449_15fontSize * 0.2 + 6 : Node449_15width - Node449_15fontSize * 0.2; Node449_15lineStart = (Node449_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_15align === 'center') { Node449_15textStart = -3; Node449_15textWidth = Node449_15width; Node449_15lineStart = Node449_15width - ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_15.setImage(GD.getTextJSON(Node449_15width, Node449_15height, true, false, false, 'bold '+ Node449_15fontSize + 'px "UniDreamLED"')) Node449_15.setPosition(954*ratio.ratioX, 317*ratio.ratioY); Node449_15.setWidth(Node449_15width); Node449_15.setHeight(Node449_15height); Node449_15._nodeType = 'text'; Node449_15._disallowEvert = true; Node449_15.setRotation(0*Math.PI/180); Node449_15.a('node.width', Node449_15width); Node449_15.a('node.height', Node449_15height); Node449_15.a('node.rect', [0, 0, Node449_15width, Node449_15height]); Node449_15.a('node.bordercolor','rgba(0,0,0,1)'); Node449_15.a('node.borderwidth', 0); Node449_15.a('node.background','' || 'rgba(0,0,0,0)'); Node449_15.a('node.gradient',''); Node449_15.a('node.gradientcolor',''); Node449_15.a('node.text','166.79'); Node449_15.a('node.textalign','center'); Node449_15.a('node.textvAlign','middle'); Node449_15.a('node.textrect', [Node449_15textStart, 0, Node449_15textWidth, Node449_15height]); Node449_15.a('node.color','rgba(0,0,0,1)'); Node449_15.a('node.font','bold '+ Node449_15fontSize + 'px "UniDreamLED"'); Node449_15.a('node.textvisible',true); Node449_15.a('node.linefeed',false); if (false) { Node449_15.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_15.a('node.text') || '166.79'; var color=Node449_15.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_15width,Node449_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_15fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_15.a('node.underlinepoints',[Node449_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width + 6, (Node449_15height - Node449_15fontSize) * 0.5*_ratio.ratioY + Node449_15fontSize + 2 ]); Node449_15.a('node.underlinevisible',false); Node449_15.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_15); zoomNodeList.push({ node: Node449_15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_16 = new ht.Node(); var Node449_16textStart, Node449_16textWidth, Node449_16lineStart, Node449_16align = 'center', Node449_16fontSize = 13.3333*_ratio.ratioY,Node449_16width = 110*_ratio.ratioX, Node449_16height = 27*_ratio.ratioY; (function () { if (Node449_16align === 'left') { Node449_16textStart = Node449_16fontSize * 0.2 > 2 ? Node449_16fontSize * 0.2 - 4 : Node449_16fontSize * 0.2 - 9; Node449_16textWidth = Node449_16width; Node449_16lineStart = 1; } else if (Node449_16align === 'right') { Node449_16textStart = 0; Node449_16textWidth =Node449_16fontSize <= 8 ? Node449_16width + Node449_16fontSize * 0.2 + 6 : Node449_16width - Node449_16fontSize * 0.2; Node449_16lineStart = (Node449_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_16align === 'center') { Node449_16textStart = -3; Node449_16textWidth = Node449_16width; Node449_16lineStart = Node449_16width - ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_16.setImage(GD.getTextJSON(Node449_16width, Node449_16height, true, false, false, 'bold '+ Node449_16fontSize + 'px "UniDreamLED"')) Node449_16.setPosition(954*ratio.ratioX, 346*ratio.ratioY); Node449_16.setWidth(Node449_16width); Node449_16.setHeight(Node449_16height); Node449_16._nodeType = 'text'; Node449_16._disallowEvert = true; Node449_16.setRotation(0*Math.PI/180); Node449_16.a('node.width', Node449_16width); Node449_16.a('node.height', Node449_16height); Node449_16.a('node.rect', [0, 0, Node449_16width, Node449_16height]); Node449_16.a('node.bordercolor','rgba(0,0,0,1)'); Node449_16.a('node.borderwidth', 0); Node449_16.a('node.background','' || 'rgba(0,0,0,0)'); Node449_16.a('node.gradient',''); Node449_16.a('node.gradientcolor',''); Node449_16.a('node.text','66.18'); Node449_16.a('node.textalign','center'); Node449_16.a('node.textvAlign','middle'); Node449_16.a('node.textrect', [Node449_16textStart, 0, Node449_16textWidth, Node449_16height]); Node449_16.a('node.color','rgba(0,0,0,1)'); Node449_16.a('node.font','bold '+ Node449_16fontSize + 'px "UniDreamLED"'); Node449_16.a('node.textvisible',true); Node449_16.a('node.linefeed',false); if (false) { Node449_16.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_16.a('node.text') || '66.18'; var color=Node449_16.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_16width,Node449_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_16fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_16.a('node.underlinepoints',[Node449_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width + 6, (Node449_16height - Node449_16fontSize) * 0.5*_ratio.ratioY + Node449_16fontSize + 2 ]); Node449_16.a('node.underlinevisible',false); Node449_16.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_16); zoomNodeList.push({ node: Node449_16, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node449_17 = new ht.Node(); var Node449_17textStart, Node449_17textWidth, Node449_17lineStart, Node449_17align = 'center', Node449_17fontSize = 13.3333*_ratio.ratioY,Node449_17width = 110*_ratio.ratioX, Node449_17height = 27*_ratio.ratioY; (function () { if (Node449_17align === 'left') { Node449_17textStart = Node449_17fontSize * 0.2 > 2 ? Node449_17fontSize * 0.2 - 4 : Node449_17fontSize * 0.2 - 9; Node449_17textWidth = Node449_17width; Node449_17lineStart = 1; } else if (Node449_17align === 'right') { Node449_17textStart = 0; Node449_17textWidth =Node449_17fontSize <= 8 ? Node449_17width + Node449_17fontSize * 0.2 + 6 : Node449_17width - Node449_17fontSize * 0.2; Node449_17lineStart = (Node449_17width - (ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5; } else if (Node449_17align === 'center') { Node449_17textStart = -3; Node449_17textWidth = Node449_17width; Node449_17lineStart = Node449_17width - ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width - 11; } })(); Node449_17.setImage(GD.getTextJSON(Node449_17width, Node449_17height, true, false, false, 'bold '+ Node449_17fontSize + 'px "UniDreamLED"')) Node449_17.setPosition(954*ratio.ratioX, 377*ratio.ratioY); Node449_17.setWidth(Node449_17width); Node449_17.setHeight(Node449_17height); Node449_17._nodeType = 'text'; Node449_17._disallowEvert = true; Node449_17.setRotation(0*Math.PI/180); Node449_17.a('node.width', Node449_17width); Node449_17.a('node.height', Node449_17height); Node449_17.a('node.rect', [0, 0, Node449_17width, Node449_17height]); Node449_17.a('node.bordercolor','rgba(0,0,0,1)'); Node449_17.a('node.borderwidth', 0); Node449_17.a('node.background','' || 'rgba(0,0,0,0)'); Node449_17.a('node.gradient',''); Node449_17.a('node.gradientcolor',''); Node449_17.a('node.text','-'); Node449_17.a('node.textalign','center'); Node449_17.a('node.textvAlign','middle'); Node449_17.a('node.textrect', [Node449_17textStart, 0, Node449_17textWidth, Node449_17height]); Node449_17.a('node.color','rgba(0,0,0,1)'); Node449_17.a('node.font','bold '+ Node449_17fontSize + 'px "UniDreamLED"'); Node449_17.a('node.textvisible',true); Node449_17.a('node.linefeed',false); if (false) { Node449_17.a('node.textfunc',function(g) { g.beginPath(); var str=Node449_17.a('node.text') || '-'; var color=Node449_17.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_17width,Node449_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_17fontSize + 'px "UniDreamLED"', 0,g); }); } if (false) { Node449_17.a('node.underlinepoints',[Node449_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width + 6, (Node449_17height - Node449_17fontSize) * 0.5*_ratio.ratioY + Node449_17fontSize + 2 ]); Node449_17.a('node.underlinevisible',false); Node449_17.a('node.underlineBorderWidth', 1); } dataModel.add(Node449_17); zoomNodeList.push({ node: Node449_17, borderWidth: 0, attr: 'node.borderwidth' }); var Node450_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node450_0 = new ht.Node(); Node450_0.setPosition(954*ratio.ratioX, 237*ratio.ratioY); Node450_0.setSize(127*ratioX, 313*ratioY); Node450_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node450_0.setRotation(0*Math.PI/180); Node450_0._zoomBy = 'Default'; Node450_0._nodeType = 'image'; Node450_0._disallowEvert = true; dataModel.add(Node450_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node450_1 = new ht.Node(); var Node450_1textStart, Node450_1textWidth, Node450_1lineStart, Node450_1align = 'center', Node450_1fontSize = 13.3333*_ratio.ratioY,Node450_1width = 105*_ratio.ratioX, Node450_1height = 27*_ratio.ratioY; (function () { if (Node450_1align === 'left') { Node450_1textStart = Node450_1fontSize * 0.2 > 2 ? Node450_1fontSize * 0.2 - 4 : Node450_1fontSize * 0.2 - 9; Node450_1textWidth = Node450_1width; Node450_1lineStart = 1; } else if (Node450_1align === 'right') { Node450_1textStart = 0; Node450_1textWidth =Node450_1fontSize <= 8 ? Node450_1width + Node450_1fontSize * 0.2 + 6 : Node450_1width - Node450_1fontSize * 0.2; Node450_1lineStart = (Node450_1width - (ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node450_1align === 'center') { Node450_1textStart = -3; Node450_1textWidth = Node450_1width; Node450_1lineStart = Node450_1width - ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width - 11; } })(); Node450_1.setImage(GD.getTextJSON(Node450_1width, Node450_1height, true, false, false, 'bold '+ Node450_1fontSize + 'px "Arial"')) Node450_1.setPosition(949*ratio.ratioX, 102*ratio.ratioY); Node450_1.setWidth(Node450_1width); Node450_1.setHeight(Node450_1height); Node450_1._nodeType = 'text'; Node450_1._disallowEvert = true; Node450_1.setRotation(0*Math.PI/180); Node450_1.a('node.width', Node450_1width); Node450_1.a('node.height', Node450_1height); Node450_1.a('node.rect', [0, 0, Node450_1width, Node450_1height]); Node450_1.a('node.bordercolor','rgba(255,255,255,1)'); Node450_1.a('node.borderwidth', 0); Node450_1.a('node.background','' || 'rgba(0,0,0,0)'); Node450_1.a('node.gradient',''); Node450_1.a('node.gradientcolor',''); Node450_1.a('node.text','年发电量'); Node450_1.a('node.textalign','center'); Node450_1.a('node.textvAlign','middle'); Node450_1.a('node.textrect', [Node450_1textStart, 0, Node450_1textWidth, Node450_1height]); Node450_1.a('node.color','rgba(255,255,255,1)'); Node450_1.a('node.font','bold '+ Node450_1fontSize + 'px "Arial"'); Node450_1.a('node.textvisible',true); Node450_1.a('node.linefeed',false); if (false) { Node450_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node450_1.a('node.text') || '年发电量'; var color=Node450_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_1width,Node450_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node450_1.a('node.underlinepoints',[Node450_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node450_1fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width + 6, (Node450_1height - Node450_1fontSize) * 0.5*_ratio.ratioY + Node450_1fontSize + 2 ]); Node450_1.a('node.underlinevisible',false); Node450_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node450_1); zoomNodeList.push({ node: Node450_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node451_0_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//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png'); Node451_0_0 = new ht.Node(); Node451_0_0.setPosition(192*ratio.ratioX, 238*ratio.ratioY); Node451_0_0.setSize(127*ratioX, 313*ratioY); Node451_0_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png'); Node451_0_0.setRotation(0*Math.PI/180); Node451_0_0._zoomBy = 'Default'; Node451_0_0._nodeType = 'image'; Node451_0_0._disallowEvert = true; dataModel.add(Node451_0_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node451_0_1 = new ht.Node(); var Node451_0_1textStart, Node451_0_1textWidth, Node451_0_1lineStart, Node451_0_1align = 'left', Node451_0_1fontSize = 13.3333*_ratio.ratioY,Node451_0_1width = 37*_ratio.ratioX, Node451_0_1height = 17*_ratio.ratioY; (function () { if (Node451_0_1align === 'left') { Node451_0_1textStart = Node451_0_1fontSize * 0.2 > 2 ? Node451_0_1fontSize * 0.2 - 4 : Node451_0_1fontSize * 0.2 - 9; Node451_0_1textWidth = Node451_0_1width; Node451_0_1lineStart = 1; } else if (Node451_0_1align === 'right') { Node451_0_1textStart = 0; Node451_0_1textWidth =Node451_0_1fontSize <= 8 ? Node451_0_1width + Node451_0_1fontSize * 0.2 + 6 : Node451_0_1width - Node451_0_1fontSize * 0.2; Node451_0_1lineStart = (Node451_0_1width - (ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node451_0_1align === 'center') { Node451_0_1textStart = -3; Node451_0_1textWidth = Node451_0_1width; Node451_0_1lineStart = Node451_0_1width - ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width - 11; } })(); Node451_0_1.setImage(GD.getTextJSON(Node451_0_1width, Node451_0_1height, true, false, false, ' '+ Node451_0_1fontSize + 'px "Arial"')) Node451_0_1.setPosition(190*ratio.ratioX, 103*ratio.ratioY); Node451_0_1.setWidth(Node451_0_1width); Node451_0_1.setHeight(Node451_0_1height); Node451_0_1._nodeType = 'text'; Node451_0_1._disallowEvert = true; Node451_0_1.setRotation(0*Math.PI/180); Node451_0_1.a('node.width', Node451_0_1width); Node451_0_1.a('node.height', Node451_0_1height); Node451_0_1.a('node.rect', [0, 0, Node451_0_1width, Node451_0_1height]); Node451_0_1.a('node.bordercolor','rgba(255,255,255,1)'); Node451_0_1.a('node.borderwidth', 0); Node451_0_1.a('node.background','' || 'rgba(0,0,0,0)'); Node451_0_1.a('node.gradient',''); Node451_0_1.a('node.gradientcolor',''); Node451_0_1.a('node.text','风速'); Node451_0_1.a('node.textalign','left'); Node451_0_1.a('node.textvAlign','middle'); Node451_0_1.a('node.textrect', [Node451_0_1textStart, 0, Node451_0_1textWidth, Node451_0_1height]); Node451_0_1.a('node.color','rgba(255,255,255,1)'); Node451_0_1.a('node.font',' '+ Node451_0_1fontSize + 'px "Arial"'); Node451_0_1.a('node.textvisible',true); Node451_0_1.a('node.linefeed',false); if (false) { Node451_0_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node451_0_1.a('node.text') || '风速'; var color=Node451_0_1.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node451_0_1width,Node451_0_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node451_0_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node451_0_1.a('node.underlinepoints',[Node451_0_1lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node451_0_1fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width + 6, (Node451_0_1height - Node451_0_1fontSize) * 0.5*_ratio.ratioY + Node451_0_1fontSize + 2 ]); Node451_0_1.a('node.underlinevisible',false); Node451_0_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node451_0_1); zoomNodeList.push({ node: Node451_0_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node451_1points=[130, 362,257, 362], Node451_1rect=ht.Default.unionPoint([{x:130,y:362},{x:257,y:362}]), Node451_1compspts=[]; _ratio = GD.getRatioWithRotation(0, ratio); var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio), _endratio = GD.getRatioWithRotation(0, ratio); 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(((sjgl==1)>0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}} if((1 )>0) {if(((sjgl==1)>0 )){Node31_1.s('2d.visible',true);}else{Node31_1.s('2d.visible',false);}} if((1 )>0) {if(((yfgl==1)>0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}} if((1 )>0) {if(((yfgl==1)>0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}} if((1 )>0) {if(((rfdl==1)>0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}} if((1 )>0) {if(((rfdl==1)>0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}} if((1 )>0) {if(((yfdl==1)>0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}} if((1 )>0) {if(((yfdl==1)>0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}} if((1 )>0) {if(((ylyxx==1)>0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}} if((1 )>0) {if(((ylyxx==1)>0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}} if((1 )>0) {if(((nlyxs==1)>0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}} if((1 )>0) {if(((nlyxs==1)>0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}} if((1 )>0) {if(((llfdl==1)>0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}} if((1 )>0) {if(((llfdl==1)>0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}} if((1 )>0) {if(((whssdl==1)>0 )){Node43_0.s('2d.visible',true);}else{Node43_0.s('2d.visible',false);}} if((1 )>0) {if(((whssdl==1)>0 )){Node43_1.s('2d.visible',true);}else{Node43_1.s('2d.visible',false);}} if((1 )>0) {if(((gzssdl==1)>0 )){Node45_0.s('2d.visible',true);}else{Node45_0.s('2d.visible',false);}} if((1 )>0) {if(((gzssdl==1)>0 )){Node45_1.s('2d.visible',true);}else{Node45_1.s('2d.visible',false);}} if((1 )>0) {if(((xdssdl==1)>0 )){Node47_0.s('2d.visible',true);}else{Node47_0.s('2d.visible',false);}} if((1 )>0) {if(((xdssdl==1)>0 )){Node47_1.s('2d.visible',true);}else{Node47_1.s('2d.visible',false);}} if((1 )>0) {if(((slssdl==1)>0 )){Node49_0.s('2d.visible',true);}else{Node49_0.s('2d.visible',false);}} if((1 )>0) {if(((slssdl==1)>0 )){Node49_1.s('2d.visible',true);}else{Node49_1.s('2d.visible',false);}} if((1 )>0) {if(((xnssdl==1)>0 )){Node51_0.s('2d.visible',true);}else{Node51_0.s('2d.visible',false);}} if((1 )>0) {if(((xnssdl==1)>0 )){Node51_1.s('2d.visible',true);}else{Node51_1.s('2d.visible',false);}} if((1 )>0) {if(((nfdl==1)>0 )){Node450_0.s('2d.visible',true);}else{Node450_0.s('2d.visible',false);}} if((1 )>0) {if(((nfdl==1)>0 )){Node450_1.s('2d.visible',true);}else{Node450_1.s('2d.visible',false);}} if((1 )>0) {if(((fs==1)>0 )){Node451_0_0.s('2d.visible',true);}else{Node451_0_0.s('2d.visible',false);}} if((1 )>0) {if(((fs==1)>0 )){Node451_0_1.s('2d.visible',true);}else{Node451_0_1.s('2d.visible',false);}} if((1 )>0) {if(((sy==1)>0 )){Node452.s('2d.visible',true);}else{Node452.s('2d.visible',false);}} if((1 )>0) {if(((sy==0)>0 )){Node453.s('2d.visible',true);}else{Node453.s('2d.visible',false);}} if((1 )>0) {if(((ldjsc==1)>0 )){Node454.s('2d.visible',true);}else{Node454.s('2d.visible',false);}} if((1 )>0) {if(((ldjsc==0)>0 )){Node455.s('2d.visible',true);}else{Node455.s('2d.visible',false);}} if((1 )>0) {if(((ztjs==1)>0 )){Node456.s('2d.visible',true);}else{Node456.s('2d.visible',false);}} if((1 )>0) {if(((ztjs==0)>0 )){Node457.s('2d.visible',true);}else{Node457.s('2d.visible',false);}} if((1 )>0) {if(((sbjz==1)>0 )){Node458.s('2d.visible',true);}else{Node458.s('2d.visible',false);}} if((1 )>0) {if(((sbjz==0)>0 )){Node459.s('2d.visible',true);}else{Node459.s('2d.visible',false);}} if((1 )>0) {if(((xnfx==1)>0 )){Node460.s('2d.visible',true);}else{Node460.s('2d.visible',false);}} if((1 )>0) {if(((xnfx==0)>0 )){Node461.s('2d.visible',true);}else{Node461.s('2d.visible',false);}} if((1 )>0) {if(((pjgl==1)>0 )){Node462.s('2d.visible',true);}else{Node462.s('2d.visible',false);}} if((1 )>0) {if(((pjgl==0)>0 )){Node463.s('2d.visible',true);}else{Node463.s('2d.visible',false);}} if((1 )>0) {if(((zbph==1)>0 )){Node464.s('2d.visible',true);}else{Node464.s('2d.visible',false);}} if((1 )>0) {if(((zbph==0)>0 )){Node465.s('2d.visible',true);}else{Node465.s('2d.visible',false);}} if((1 )>0) {if(((dbgl==1)>0 )){Node466.s('2d.visible',true);}else{Node466.s('2d.visible',false);}} if((1 )>0) {if(((dbgl==0)>0 )){Node467.s('2d.visible',true);}else{Node467.s('2d.visible',false);}} if((1 )>0) {if(((bjzx==1)>0 )){Node468.s('2d.visible',true);}else{Node468.s('2d.visible',false);}} if((1 )>0) {if(((bjzx==0)>0 )){Node469.s('2d.visible',true);}else{Node469.s('2d.visible',false);}} if((1 )>0) {if(((jrjs==1)>0 )){Node470.s('2d.visible',true);}else{Node470.s('2d.visible',false);}} if((1 )>0) {if(((jrjs==0)>0 )){Node471.s('2d.visible',true);}else{Node471.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(); Node55_chart.setOption({series: { data: [0]}}); Node282_chart.setOption({series: { data: [0]}}); Node283_chart.setOption({series: { data: [0]}}); Node284_chart.setOption({series: { data: [0]}}); Node285_chart.setOption({series: { data: [0]}}); Node295_chart.setOption({series: { data: [0]}}); Node381_chart.setOption({series: { data: [0]}}); Node387_chart.setOption({series: { data: [{value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]}}); Node434_chart.setOption({series: { data: [{value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]}}); /*@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; } /*@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 !== Node31_0&& objMouseOn===Node31_0){sjgl=0; } if(data !== Node31_1&& objMouseOn===Node31_1){sjgl=0; } if(data !== Node32_0&& objMouseOn===Node32_0){yfgl=0; } if(data !== Node32_1&& objMouseOn===Node32_1){yfgl=0; } if(data !== Node33_0&& objMouseOn===Node33_0){rfdl=0; } if(data !== Node33_1&& objMouseOn===Node33_1){rfdl=0; } if(data !== Node35_0&& objMouseOn===Node35_0){yfdl=0; } if(data !== Node35_1&& objMouseOn===Node35_1){yfdl=0; } if(data !== Node37_0&& objMouseOn===Node37_0){ylyxx=0; } if(data !== Node37_1&& objMouseOn===Node37_1){ylyxx=0; } if(data !== Node39_0&& objMouseOn===Node39_0){nlyxs=0; } if(data !== Node39_1&& objMouseOn===Node39_1){nlyxs=0; } if(data !== Node41_0&& objMouseOn===Node41_0){llfdl=0; } if(data !== Node41_1&& objMouseOn===Node41_1){llfdl=0; } if(data !== Node43_0&& objMouseOn===Node43_0){whssdl=0; } if(data !== Node43_1&& objMouseOn===Node43_1){whssdl=0; } if(data !== Node45_0&& objMouseOn===Node45_0){gzssdl=0; } if(data !== Node45_1&& objMouseOn===Node45_1){gzssdl=0; } if(data !== Node47_0&& objMouseOn===Node47_0){xdssdl=0; } if(data !== Node47_1&& objMouseOn===Node47_1){xdssdl=0; } if(data !== Node49_0&& objMouseOn===Node49_0){slssdl=0; } if(data !== Node49_1&& objMouseOn===Node49_1){slssdl=0; } if(data !== Node51_0&& objMouseOn===Node51_0){xnssdl=0; } if(data !== Node51_1&& objMouseOn===Node51_1){xnssdl=0; } if(data !== Node61&& objMouseOn===Node61){Node55.s('2d.visible',false); } if(data !== Node61&& objMouseOn===Node61){Node56.s('2d.visible',true); } if(data !== Node64&& objMouseOn===Node64){Node58.s('2d.visible',false); } if(data !== Node64&& objMouseOn===Node64){Node59.s('2d.visible',true); } if(data !== Node108&& objMouseOn===Node108){Node55.s('2d.visible',false); } if(data !== Node108&& objMouseOn===Node108){Node56.s('2d.visible',true); } if(data !== Node111&& objMouseOn===Node111){Node58.s('2d.visible',false); } if(data !== Node111&& objMouseOn===Node111){Node59.s('2d.visible',true); } if(data !== Node155&& objMouseOn===Node155){Node55.s('2d.visible',false); } if(data !== Node155&& objMouseOn===Node155){Node56.s('2d.visible',true); } if(data !== Node158&& objMouseOn===Node158){Node58.s('2d.visible',false); } if(data !== Node158&& objMouseOn===Node158){Node59.s('2d.visible',true); } if(data !== Node202&& objMouseOn===Node202){Node55.s('2d.visible',false); } if(data !== Node202&& objMouseOn===Node202){Node56.s('2d.visible',true); } if(data !== Node205&& objMouseOn===Node205){Node58.s('2d.visible',false); } if(data !== Node205&& objMouseOn===Node205){Node59.s('2d.visible',true); } if(data !== Node249&& objMouseOn===Node249){Node55.s('2d.visible',false); } if(data !== Node249&& objMouseOn===Node249){Node56.s('2d.visible',true); } if(data !== Node252&& objMouseOn===Node252){Node58.s('2d.visible',false); } if(data !== Node252&& objMouseOn===Node252){Node59.s('2d.visible',true); } if(data !== Node301&& objMouseOn===Node301){Node55.s('2d.visible',false); } if(data !== Node301&& objMouseOn===Node301){Node56.s('2d.visible',true); } if(data !== Node304&& objMouseOn===Node304){Node58.s('2d.visible',false); } if(data !== Node304&& objMouseOn===Node304){Node59.s('2d.visible',true); } if(data !== Node348&& objMouseOn===Node348){Node55.s('2d.visible',false); } if(data !== Node348&& objMouseOn===Node348){Node56.s('2d.visible',true); } if(data !== Node351&& objMouseOn===Node351){Node58.s('2d.visible',false); } if(data !== Node351&& objMouseOn===Node351){Node59.s('2d.visible',true); } if(data !== Node450_0&& objMouseOn===Node450_0){nfdl=0; } if(data !== Node450_1&& objMouseOn===Node450_1){nfdl=0; } if(data !== Node451_0_0&& objMouseOn===Node451_0_0){fs=0; } if(data !== Node451_0_1&& objMouseOn===Node451_0_1){fs=0; } if(data !== Node452&& objMouseOn===Node452){sy=0; } if(data !== Node454&& objMouseOn===Node454){ldjsc=0; } if(data !== Node456&& objMouseOn===Node456){ztjs=0; } if(data !== Node458&& objMouseOn===Node458){sbjz=0; } if(data !== Node460&& objMouseOn===Node460){xnfx=0; } if(data !== Node462&& objMouseOn===Node462){pjgl=0; } if(data !== Node464&& objMouseOn===Node464){zbph=0; } if(data !== Node466&& objMouseOn===Node466){dbgl=0; } if(data !== Node468&& objMouseOn===Node468){bjzx=0; } if(data !== Node470&& objMouseOn===Node470){jrjs=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 === Node27_0){fs=1; } if(data === Node27_1){fs=1; } if(data === Node27_2){fs=1; } if(data === Node27_3){fs=1; } if(data === Node27_4){fs=1; } if(data === Node27_5){fs=1; } if(data === Node27_6){fs=1; } if(data === Node27_7){fs=1; } if(data === Node27_8){fs=1; } if(data === Node27_9){fs=1; } if(data === Node27_10){fs=1; } if(data === Node27_11){fs=1; } if(data === Node27_12){fs=1; } if(data === Node27_13){fs=1; } if(data === Node27_14){fs=1; } if(data === Node27_15){fs=1; } if(data === Node27_16){fs=1; } if(data === Node27_17){fs=1; } if(data === Node27_18){fs=1; } if(data === Node28_0){sjgl=1; } if(data === Node28_1){sjgl=1; } if(data === Node28_2){sjgl=1; } if(data === Node28_3){sjgl=1; } if(data === Node28_4){sjgl=1; } if(data === Node28_5){sjgl=1; } if(data === Node28_6){sjgl=1; } if(data === Node28_7){sjgl=1; } if(data === Node28_8){sjgl=1; } if(data === Node28_9){sjgl=1; } if(data === Node28_10){sjgl=1; } if(data === Node28_11){sjgl=1; } if(data === Node28_12){sjgl=1; } if(data === Node28_13){sjgl=1; } if(data === Node28_14){sjgl=1; } if(data === Node28_15){sjgl=1; } if(data === Node28_16){sjgl=1; } if(data === Node28_17){sjgl=1; } if(data === Node29_0){yfgl=1; } if(data === Node29_1){yfgl=1; } if(data === Node29_2){yfgl=1; } if(data === Node29_3){yfgl=1; } if(data === Node29_4){yfgl=1; } if(data === Node29_5){yfgl=1; } if(data === Node29_6){yfgl=1; } if(data === Node29_7){yfgl=1; } if(data === Node29_8){yfgl=1; } if(data === Node29_9){yfgl=1; } if(data === Node29_10){yfgl=1; } if(data === Node29_11){yfgl=1; } if(data === Node29_12){yfgl=1; } if(data === Node29_13){yfgl=1; } if(data === Node29_14){yfgl=1; } if(data === Node29_15){yfgl=1; } if(data === Node29_16){yfgl=1; } if(data === Node29_17){yfgl=1; } if(data === Node29_18){yfgl=1; } if(data === Node29_19){yfgl=1; } if(data === Node30_0){rfdl=1; } if(data === Node30_1){rfdl=1; } if(data === Node30_2){rfdl=1; } if(data === Node30_3){rfdl=1; } if(data === Node30_4){rfdl=1; } if(data === Node30_5){rfdl=1; } if(data === Node30_6){rfdl=1; } if(data === Node30_7){rfdl=1; } if(data === Node30_8){rfdl=1; } if(data === Node30_9){rfdl=1; } if(data === Node30_10){rfdl=1; } if(data === Node30_11){rfdl=1; } if(data === Node30_12){rfdl=1; } if(data === Node30_13){rfdl=1; } if(data === Node30_14){rfdl=1; } if(data === Node30_15){rfdl=1; } if(data === Node30_16){rfdl=1; } if(data === Node30_17){rfdl=1; } if(data === Node34_0){yfdl=1; } if(data === Node34_1){yfdl=1; } if(data === Node34_2){yfdl=1; } if(data === Node34_3){yfdl=1; } if(data === Node34_4){yfdl=1; } if(data === Node34_5){yfdl=1; } if(data === Node34_6){yfdl=1; } if(data === Node34_7){yfdl=1; } if(data === Node34_8){yfdl=1; } if(data === Node34_9){yfdl=1; } if(data === Node34_10){yfdl=1; } if(data === Node34_11){yfdl=1; } if(data === Node34_12){yfdl=1; } if(data === Node34_13){yfdl=1; } if(data === Node34_14){yfdl=1; } if(data === Node34_15){yfdl=1; } if(data === Node34_16){yfdl=1; } if(data === Node34_17){yfdl=1; } if(data === Node36_0){ylyxx=1; } if(data === Node36_1){ylyxx=1; } if(data === Node36_2){ylyxx=1; } if(data === Node36_3){ylyxx=1; } if(data === Node36_4){ylyxx=1; } if(data === Node36_5){ylyxx=1; } if(data === Node36_6){ylyxx=1; } if(data === Node36_7){ylyxx=1; } if(data === Node36_8){ylyxx=1; } if(data === Node36_9){ylyxx=1; } if(data === Node36_10){ylyxx=1; } if(data === Node36_11){ylyxx=1; } if(data === Node36_12){ylyxx=1; } if(data === Node36_13){ylyxx=1; } if(data === Node36_14){ylyxx=1; } if(data === Node36_15){ylyxx=1; } if(data === Node36_16){ylyxx=1; } if(data === Node36_17){ylyxx=1; } if(data === Node38_0){nlyxs=1; } if(data === Node38_1){nlyxs=1; } if(data === Node38_2){nlyxs=1; } if(data === Node38_3){nlyxs=1; } if(data === Node38_4){nlyxs=1; } if(data === Node38_5){nlyxs=1; } if(data === Node38_6){nlyxs=1; } if(data === Node38_7){nlyxs=1; } if(data === Node38_8){nlyxs=1; } if(data === Node38_9){nlyxs=1; } if(data === Node38_10){nlyxs=1; } if(data === Node38_11){nlyxs=1; } if(data === Node38_12){nlyxs=1; } if(data === Node38_13){nlyxs=1; } if(data === Node38_14){nlyxs=1; } if(data === Node38_15){nlyxs=1; } if(data === Node38_16){nlyxs=1; } if(data === Node38_17){nlyxs=1; } if(data === Node40_0){llfdl=1; } if(data === Node40_1){llfdl=1; } if(data === Node40_2){llfdl=1; } if(data === Node40_3){llfdl=1; } if(data === Node40_4){llfdl=1; } if(data === Node40_5){llfdl=1; } if(data === Node40_6){llfdl=1; } if(data === Node40_7){llfdl=1; } if(data === Node40_8){llfdl=1; } if(data === Node40_9){llfdl=1; } if(data === Node40_10){llfdl=1; } if(data === Node40_11){llfdl=1; } if(data === Node40_12){llfdl=1; } if(data === Node40_13){llfdl=1; } if(data === Node40_14){llfdl=1; } if(data === Node40_15){llfdl=1; } if(data === Node40_16){llfdl=1; } if(data === Node40_17){llfdl=1; } if(data === Node42_0){whssdl=1; } if(data === Node42_1){whssdl=1; } if(data === Node42_2){whssdl=1; } if(data === Node42_3){whssdl=1; } if(data === Node42_4){whssdl=1; } if(data === Node42_5){whssdl=1; } if(data === Node42_6){whssdl=1; } if(data === Node42_7){whssdl=1; } if(data === Node42_8){whssdl=1; } if(data === Node42_9){whssdl=1; } if(data === Node42_10){whssdl=1; } if(data === Node42_11){whssdl=1; } if(data === Node42_12){whssdl=1; } if(data === Node42_13){whssdl=1; } if(data === Node42_14){whssdl=1; } if(data === Node42_15){whssdl=1; } if(data === Node42_16){whssdl=1; } if(data === Node42_17){whssdl=1; } if(data === Node44_0){gzssdl=1; } if(data === Node44_1){gzssdl=1; } if(data === Node44_2){gzssdl=1; } if(data === Node44_3){gzssdl=1; } if(data === Node44_4){gzssdl=1; } if(data === Node44_5){gzssdl=1; } if(data === Node44_6){gzssdl=1; } if(data === Node44_7){gzssdl=1; } if(data === Node44_8){gzssdl=1; } if(data === Node44_9){gzssdl=1; } if(data === Node44_10){gzssdl=1; } if(data === Node44_11){gzssdl=1; } if(data === Node44_12){gzssdl=1; } if(data === Node44_13){gzssdl=1; } if(data === Node44_14){gzssdl=1; } if(data === Node44_15){gzssdl=1; } if(data === Node44_16){gzssdl=1; } if(data === Node44_17){gzssdl=1; } if(data === Node46_0){xdssdl=1; } if(data === Node46_1){xdssdl=1; } if(data === Node46_2){xdssdl=1; } if(data === Node46_3){xdssdl=1; } if(data === Node46_4){xdssdl=1; } if(data === Node46_5){xdssdl=1; } if(data === Node46_6){xdssdl=1; } if(data === Node46_7){xdssdl=1; } if(data === Node46_8){xdssdl=1; } if(data === Node46_9){xdssdl=1; } if(data === Node46_10){xdssdl=1; } if(data === Node46_11){xdssdl=1; } if(data === Node46_12){xdssdl=1; } if(data === Node46_13){xdssdl=1; } if(data === Node46_14){xdssdl=1; } if(data === Node46_15){xdssdl=1; } if(data === Node46_16){xdssdl=1; } if(data === Node46_17){xdssdl=1; } if(data === Node48_0){slssdl=1; } if(data === Node48_1){slssdl=1; } if(data === Node48_2){slssdl=1; } if(data === Node48_3){slssdl=1; } if(data === Node48_4){slssdl=1; } if(data === Node48_5){slssdl=1; } if(data === Node48_6){slssdl=1; } if(data === Node48_7){slssdl=1; } if(data === Node48_8){slssdl=1; } if(data === Node48_9){slssdl=1; } if(data === Node48_10){slssdl=1; } if(data === Node48_11){slssdl=1; } if(data === Node48_12){slssdl=1; } if(data === Node48_13){slssdl=1; } if(data === Node48_14){slssdl=1; } if(data === Node48_15){slssdl=1; } if(data === Node48_16){slssdl=1; } if(data === Node48_17){slssdl=1; } if(data === Node50_0){xnssdl=1; } if(data === Node50_1){xnssdl=1; } if(data === Node50_2){xnssdl=1; } if(data === Node50_3){xnssdl=1; } if(data === Node50_4){xnssdl=1; } if(data === Node50_5){xnssdl=1; } if(data === Node50_6){xnssdl=1; } if(data === Node50_7){xnssdl=1; } if(data === Node50_8){xnssdl=1; } if(data === Node50_9){xnssdl=1; } if(data === Node50_10){xnssdl=1; } if(data === Node50_11){xnssdl=1; } if(data === Node50_12){xnssdl=1; } if(data === Node50_13){xnssdl=1; } if(data === Node50_14){xnssdl=1; } if(data === Node50_15){xnssdl=1; } if(data === Node50_16){xnssdl=1; } if(data === Node50_17){xnssdl=1; } if(data === Node62){Node56.s('2d.visible',false); } if(data === Node62){Node55.s('2d.visible',true); } if(data === Node65){Node59.s('2d.visible',false); } if(data === Node65){Node58.s('2d.visible',true); } if(data === Node109){Node56.s('2d.visible',false); } if(data === Node109){Node55.s('2d.visible',true); } if(data === Node112){Node59.s('2d.visible',false); } if(data === Node112){Node58.s('2d.visible',true); } if(data === Node156){Node56.s('2d.visible',false); } if(data === Node156){Node55.s('2d.visible',true); } if(data === Node159){Node59.s('2d.visible',false); } if(data === Node159){Node58.s('2d.visible',true); } if(data === Node203){Node56.s('2d.visible',false); } if(data === Node203){Node55.s('2d.visible',true); } if(data === Node206){Node59.s('2d.visible',false); } if(data === Node206){Node58.s('2d.visible',true); } if(data === Node250){Node56.s('2d.visible',false); } if(data === Node250){Node55.s('2d.visible',true); } if(data === Node253){Node59.s('2d.visible',false); } if(data === Node253){Node58.s('2d.visible',true); } if(data === Node302){Node56.s('2d.visible',false); } if(data === Node302){Node55.s('2d.visible',true); } if(data === Node305){Node59.s('2d.visible',false); } if(data === Node305){Node58.s('2d.visible',true); } if(data === Node349){Node56.s('2d.visible',false); } if(data === Node349){Node55.s('2d.visible',true); } if(data === Node352){Node59.s('2d.visible',false); } if(data === Node352){Node58.s('2d.visible',true); } if(data === Node449_0){nfdl=1; } if(data === Node449_1){nfdl=1; } if(data === Node449_2){nfdl=1; } if(data === Node449_3){nfdl=1; } if(data === Node449_4){nfdl=1; } if(data === Node449_5){nfdl=1; } if(data === Node449_6){nfdl=1; } if(data === Node449_7){nfdl=1; } if(data === Node449_8){nfdl=1; } if(data === Node449_9){nfdl=1; } if(data === Node449_10){nfdl=1; } if(data === Node449_11){nfdl=1; } if(data === Node449_12){nfdl=1; } if(data === Node449_13){nfdl=1; } if(data === Node449_14){nfdl=1; } if(data === Node449_15){nfdl=1; } if(data === Node449_16){nfdl=1; } if(data === Node449_17){nfdl=1; } if(data === Node453){sy=1; } if(data === Node455){ldjsc=1; } if(data === Node457){ztjs=1; } if(data === Node459){sbjz=1; } if(data === Node461){xnfx=1; } if(data === Node463){pjgl=1; } if(data === Node465){zbph=1; } if(data === Node467){dbgl=1; } if(data === Node469){bjzx=1; } if(data === Node471){jrjs=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(); } })(); })(); }