/*@WebApiFunc@*/ var varList = ['GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192']; 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/pbt_gl': ['lib/排布图图元.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< 29 ;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)'; anniu=0; sy=0; ldjsc=0; ztjs=0; sbjz=0; xnfx=0; pjgl=0; zbph=0; dbgl=0; bjzx=0; jrjs=0; sxxny=0; yygjb=0; plhts=0; tqwns=0; gljf=0; llbts=0; ygcls=0; 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; hyfy=0; A=0; B=0; C=0; D=0; E=0; F=0; Node17_1_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166"; Node17_1_bianhao="A02"; Node17_1_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006"; Node17_1_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002"; Node17_2_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166"; Node17_2_bianhao="A03"; Node17_2_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006"; Node17_2_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002"; Node17_3_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166"; Node17_3_bianhao="A04"; Node17_3_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006"; Node17_3_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002"; Node17_4_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166"; Node17_4_bianhao="A05"; Node17_4_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006"; Node17_4_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002"; Node17_5_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166"; Node17_5_bianhao="A06"; Node17_5_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006"; Node17_5_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002"; Node17_6_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166"; Node17_6_bianhao="A07"; Node17_6_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006"; Node17_6_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002"; Node17_7_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166"; Node17_7_bianhao="A08"; Node17_7_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006"; Node17_7_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002"; Node17_8_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166"; Node17_8_bianhao="A09"; Node17_8_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006"; Node17_8_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002"; Node17_9_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166"; Node17_9_bianhao="A10"; Node17_9_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006"; Node17_9_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002"; Node17_10_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166"; Node17_10_bianhao="A11"; Node17_10_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006"; Node17_10_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002"; Node17_11_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166"; Node17_11_bianhao="A12"; Node17_11_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006"; Node17_11_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002"; Node17_12_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166"; Node17_12_bianhao="B13"; Node17_12_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006"; Node17_12_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002"; Node17_13_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166"; Node17_13_bianhao="B14"; Node17_13_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006"; Node17_13_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002"; Node17_14_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166"; Node17_14_bianhao="B15"; Node17_14_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006"; Node17_14_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002"; Node17_15_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166"; Node17_15_bianhao="B16"; Node17_15_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006"; Node17_15_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002"; Node17_16_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166"; Node17_16_bianhao="B17"; Node17_16_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006"; Node17_16_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002"; Node17_17_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166"; Node17_17_bianhao="B18"; Node17_17_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006"; Node17_17_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002"; Node17_18_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166"; Node17_18_bianhao="B19"; Node17_18_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006"; Node17_18_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002"; Node17_19_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166"; Node17_19_bianhao="B20"; Node17_19_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006"; Node17_19_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002"; Node17_20_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166"; Node17_20_bianhao="B21"; Node17_20_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006"; Node17_20_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002"; Node17_21_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166"; Node17_21_bianhao="B22"; Node17_21_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006"; Node17_21_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002"; Node17_22_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166"; Node17_22_bianhao="B23"; Node17_22_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006"; Node17_22_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002"; Node17_23_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166"; Node17_23_bianhao="B24"; Node17_23_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006"; Node17_23_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002"; Node17_24_zhuangtai="0"; Node17_24_bianhao="xx"; Node17_24_fengsu="xx"; Node17_24_gonglv="xx"; /*@PageBeforeInit@*/ ;(function () { var GD = window.GD; if (!GD || typeof GD.useParams !== 'function') return ; GD.useParams(); })(); var backSize = {width: 1899, height: 944};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, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@')); PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY); PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY); PageBackground.s({ 'pixelPerfect':true /*@AddPara@*/ }); PageBackground.a('node.width', 1899*_ratio.ratioX); PageBackground.a('node.height', 944*_ratio.ratioY); PageBackground.a('node.type', PageBackgroundtype); PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_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 Node0 = new ht.Node(); var Node0textStart, Node0textWidth, Node0lineStart, Node0align = 'left', Node0fontSize = 13.3333*_ratio.ratioY,Node0width = 10*_ratio.ratioX, Node0height = 120*_ratio.ratioY; (function () { if (Node0align === 'left') { Node0textStart = Node0fontSize * 0.2 > 2 ? Node0fontSize * 0.2 - 4 : Node0fontSize * 0.2 - 9; Node0textWidth = Node0width; Node0lineStart = 1; } else if (Node0align === 'right') { Node0textStart = 0; Node0textWidth =Node0fontSize <= 8 ? Node0width + Node0fontSize * 0.2 + 6 : Node0width - Node0fontSize * 0.2; Node0lineStart = (Node0width - (ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node0align === 'center') { Node0textStart = -3; Node0textWidth = Node0width; Node0lineStart = Node0width - ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width - 11; } })(); Node0.setImage(GD.getTextJSON(Node0width, Node0height, false, true, false, 'bold '+ Node0fontSize + 'px "Arial"')) Node0.setPosition(10*ratio.ratioX, 107*ratio.ratioY); Node0.setWidth(Node0width); Node0.setHeight(Node0height); Node0._nodeType = 'text'; Node0._disallowEvert = true; Node0.setRotation(0*Math.PI/180); Node0.a('node.width', Node0width); Node0.a('node.height', Node0height); Node0.a('node.rect', [0, 0, Node0width, Node0height]); Node0.a('node.bordercolor','rgba(255,255,255,1)'); Node0.a('node.borderwidth', 0); Node0.a('node.background','' || 'rgba(0,0,0,0)'); Node0.a('node.gradient',''); Node0.a('node.gradientcolor',''); Node0.a('node.text','综 合 指 标'); Node0.a('node.textalign','left'); Node0.a('node.textvAlign','middle'); Node0.a('node.textrect', [Node0textStart, 0, Node0textWidth, Node0height]); Node0.a('node.color','rgba(255,255,255,1)'); Node0.a('node.font','bold '+ Node0fontSize + 'px "Arial"'); Node0.a('node.textvisible',false); Node0.a('node.linefeed',true); if (true) { Node0.a('node.textfunc',function(g) { g.beginPath(); var str=Node0.a('node.text') || '综 合 指 标'; var color=Node0.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node0width,Node0height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node0fontSize + 'px "Arial"', 0,g); }); } if (false) { Node0.a('node.underlinepoints',[Node0lineStart, (120 - 13.3333) * 0.5 * _ratio.ratioY + Node0fontSize + 2 , ht.Default.getTextSize('综 合 指 标', 'bold '+ Node0fontSize + 'px "Arial"').width + 6, (Node0height - Node0fontSize) * 0.5*_ratio.ratioY + Node0fontSize + 2 ]); Node0.a('node.underlinevisible',false); Node0.a('node.underlineBorderWidth', 1); } dataModel.add(Node0); zoomNodeList.push({ node: Node0, borderWidth: 0, attr: 'node.borderwidth' }); _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(105*_ratio.ratioX, 48*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node1.setPosition(82*ratio.ratioX, 138*ratio.ratioY); Node1.setSize(105*_ratio.ratioX, 48*_ratio.ratioY); Node1.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node1.a('node.width', 105*_ratio.ratioX); Node1.a('node.height', 48*_ratio.ratioY); Node1.a('node.type', Node1type); Node1.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]); Node1.a('node.background', 'rgba(255,255,255,0.003921569)'); Node1.a('node.gradientcolor', ''); Node1.a('node.gradient', ''); Node1.a('node.borderwidth', Node1BorderWidth); Node1.a('node.color', 'rgba(0,0,0,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 Node2 = new ht.Node(); var Node2textStart, Node2textWidth, Node2lineStart, Node2align = 'center', Node2fontSize = 14.66663*_ratio.ratioY,Node2width = 67*_ratio.ratioX, Node2height = 26*_ratio.ratioY; (function () { if (Node2align === 'left') { Node2textStart = Node2fontSize * 0.2 > 2 ? Node2fontSize * 0.2 - 4 : Node2fontSize * 0.2 - 9; Node2textWidth = Node2width; Node2lineStart = 1; } else if (Node2align === 'right') { Node2textStart = 0; Node2textWidth =Node2fontSize <= 8 ? Node2width + Node2fontSize * 0.2 + 6 : Node2width - Node2fontSize * 0.2; Node2lineStart = (Node2width - (ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node2align === 'center') { Node2textStart = -3; Node2textWidth = Node2width; Node2lineStart = Node2width - ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width - 11; } })(); Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, ' '+ Node2fontSize + 'px "Arial"')) Node2.setPosition(1860*ratio.ratioX, 84*ratio.ratioY); Node2.setWidth(Node2width); Node2.setHeight(Node2height); Node2._nodeType = 'text'; Node2._disallowEvert = true; Node2.setRotation(0*Math.PI/180); Node2.a('node.width', Node2width); Node2.a('node.height', Node2height); Node2.a('node.rect', [0, 0, Node2width, Node2height]); Node2.a('node.bordercolor','rgba(105,105,105,1)'); Node2.a('node.borderwidth', 0); Node2.a('node.background','' || 'rgba(0,0,0,0)'); Node2.a('node.gradient',''); Node2.a('node.gradientcolor',''); Node2.a('node.text','台'); Node2.a('node.textalign','center'); Node2.a('node.textvAlign','middle'); Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]); Node2.a('node.color','rgba(105,105,105,1)'); Node2.a('node.font',' '+ Node2fontSize + 'px "Arial"'); Node2.a('node.textvisible',true); Node2.a('node.linefeed',false); if (false) { Node2.a('node.textfunc',function(g) { g.beginPath(); var str=Node2.a('node.text') || '台'; var color=Node2.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node2width,Node2height,14.66663*_ratio.ratioY,"center",color,' '+ Node2fontSize + 'px "Arial"', 0,g); }); } if (false) { Node2.a('node.underlinepoints',[Node2lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]); Node2.a('node.underlinevisible',false); Node2.a('node.underlineBorderWidth', 1); } dataModel.add(Node2); zoomNodeList.push({ node: Node2, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node3 = new ht.Node(); var Node3textStart, Node3textWidth, Node3lineStart, Node3align = 'center', Node3fontSize = 14.66663*_ratio.ratioY,Node3width = 67*_ratio.ratioX, Node3height = 26*_ratio.ratioY; (function () { if (Node3align === 'left') { Node3textStart = Node3fontSize * 0.2 > 2 ? Node3fontSize * 0.2 - 4 : Node3fontSize * 0.2 - 9; Node3textWidth = Node3width; Node3lineStart = 1; } else if (Node3align === 'right') { Node3textStart = 0; Node3textWidth =Node3fontSize <= 8 ? Node3width + Node3fontSize * 0.2 + 6 : Node3width - Node3fontSize * 0.2; Node3lineStart = (Node3width - (ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node3align === 'center') { Node3textStart = -3; Node3textWidth = Node3width; Node3lineStart = Node3width - ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width - 11; } })(); Node3.setImage(GD.getTextJSON(Node3width, Node3height, true, false, false, ' '+ Node3fontSize + 'px "Arial"')) Node3.setPosition(1860*ratio.ratioX, 145*ratio.ratioY); Node3.setWidth(Node3width); Node3.setHeight(Node3height); Node3._nodeType = 'text'; Node3._disallowEvert = true; Node3.setRotation(0*Math.PI/180); Node3.a('node.width', Node3width); Node3.a('node.height', Node3height); Node3.a('node.rect', [0, 0, Node3width, Node3height]); Node3.a('node.bordercolor','rgba(105,105,105,1)'); Node3.a('node.borderwidth', 0); Node3.a('node.background','' || 'rgba(0,0,0,0)'); Node3.a('node.gradient',''); Node3.a('node.gradientcolor',''); Node3.a('node.text','台'); Node3.a('node.textalign','center'); Node3.a('node.textvAlign','middle'); Node3.a('node.textrect', [Node3textStart, 0, Node3textWidth, Node3height]); Node3.a('node.color','rgba(105,105,105,1)'); Node3.a('node.font',' '+ Node3fontSize + 'px "Arial"'); Node3.a('node.textvisible',true); Node3.a('node.linefeed',false); if (false) { Node3.a('node.textfunc',function(g) { g.beginPath(); var str=Node3.a('node.text') || '台'; var color=Node3.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node3width,Node3height,14.66663*_ratio.ratioY,"center",color,' '+ Node3fontSize + 'px "Arial"', 0,g); }); } if (false) { Node3.a('node.underlinepoints',[Node3lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node3fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node3fontSize + 'px "Arial"').width + 6, (Node3height - Node3fontSize) * 0.5*_ratio.ratioY + Node3fontSize + 2 ]); Node3.a('node.underlinevisible',false); Node3.a('node.underlineBorderWidth', 1); } dataModel.add(Node3); zoomNodeList.push({ node: Node3, borderWidth: 0, attr: 'node.borderwidth' }); _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(27*_ratio.ratioX, 121*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node4.setPosition(13*ratio.ratioX, 98*ratio.ratioY); Node4.setSize(27*_ratio.ratioX, 121*_ratio.ratioY); Node4.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node4.a('node.width', 27*_ratio.ratioX); Node4.a('node.height', 121*_ratio.ratioY); Node4.a('node.type', Node4type); Node4.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]); Node4.a('node.background', 'rgba(0,132,216,1)'); Node4.a('node.gradientcolor', 'rgba(0,132,216,1)'); Node4.a('node.gradient', ''); Node4.a('node.borderwidth', Node4BorderWidth); Node4.a('node.color', 'rgba(0,0,255,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 Node5 = new ht.Node(); var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'left', Node5fontSize = 13.3333*_ratio.ratioY,Node5width = 53*_ratio.ratioX, Node5height = 30*_ratio.ratioY; (function () { if (Node5align === 'left') { Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9; Node5textWidth = Node5width; Node5lineStart = 1; } else if (Node5align === 'right') { Node5textStart = 0; Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2; Node5lineStart = (Node5width - (ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node5align === 'center') { Node5textStart = -3; Node5textWidth = Node5width; Node5lineStart = Node5width - ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width - 11; } })(); Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, 'bold '+ Node5fontSize + 'px "Arial"')) Node5.setPosition(29*ratio.ratioX, 55*ratio.ratioY); Node5.setWidth(Node5width); Node5.setHeight(Node5height); Node5._nodeType = 'text'; Node5._disallowEvert = true; Node5.setRotation(0*Math.PI/180); Node5.a('node.width', Node5width); Node5.a('node.height', Node5height); Node5.a('node.rect', [0, 0, Node5width, Node5height]); Node5.a('node.bordercolor','rgba(255,255,255,1)'); Node5.a('node.borderwidth', 0); Node5.a('node.background','' || 'rgba(0,0,0,0)'); Node5.a('node.gradient',''); Node5.a('node.gradientcolor',''); Node5.a('node.text','综'); Node5.a('node.textalign','left'); Node5.a('node.textvAlign','middle'); Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]); Node5.a('node.color','rgba(255,255,255,1)'); Node5.a('node.font','bold '+ Node5fontSize + 'px "Arial"'); Node5.a('node.textvisible',true); Node5.a('node.linefeed',false); if (false) { Node5.a('node.textfunc',function(g) { g.beginPath(); var str=Node5.a('node.text') || '综'; var color=Node5.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node5width,Node5height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node5fontSize + 'px "Arial"', 0,g); }); } if (false) { Node5.a('node.underlinepoints',[Node5lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]); Node5.a('node.underlinevisible',false); Node5.a('node.underlineBorderWidth', 1); } dataModel.add(Node5); zoomNodeList.push({ node: Node5, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node6type = 'rect'; var Node6 = new ht.Node(), Node6BorderWidth = 0*2; if (Node6type === 'arc') { Node6BorderWidth *= 0; } Node6.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node6.setPosition(106*ratio.ratioX, 101*ratio.ratioY); Node6.setSize(156*_ratio.ratioX, 30*_ratio.ratioY); Node6.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node6.a('node.width', 156*_ratio.ratioX); Node6.a('node.height', 30*_ratio.ratioY); Node6.a('node.type', Node6type); Node6.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]); Node6.a('node.background', 'rgba(73,192,209,1)'); Node6.a('node.gradientcolor', 'rgba(73,192,209,1)'); Node6.a('node.gradient', ''); Node6.a('node.borderwidth', Node6BorderWidth); Node6.a('node.color', 'rgba(0,0,0,0)'); Node6.a('node.fillrect', [0,0,0,0]); Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node6.a('node.fillgradient', ''); if (Node6type !== 'rect') { Node6.a('node.arcFrom', parseFloat('@arcFrom@')); Node6.a('node.arcTo', parseFloat('@arcTo@')); Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node6type === 'arc') { Node6.a('node.arcOval', true); } Node6.setRotation(0*Math.PI/180); Node6.borderWidth = Node6BorderWidth; Node6.borderFillwidth = Node6BorderWidth; dataModel.add(Node6); Node6._nodename = 'Node6' Node6._nodeType = 'rect'; zoomNodeList.push({ node: Node6, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node7 = new ht.Node(); var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 14.66663*_ratio.ratioY,Node7width = 157*_ratio.ratioX, Node7height = 24*_ratio.ratioY; (function () { if (Node7align === 'left') { Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9; Node7textWidth = Node7width; Node7lineStart = 1; } else if (Node7align === 'right') { Node7textStart = 0; Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2; Node7lineStart = (Node7width - (ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node7align === 'center') { Node7textStart = -3; Node7textWidth = Node7width; Node7lineStart = Node7width - ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width - 11; } })(); Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, 'bold '+ Node7fontSize + 'px "Arial"')) Node7.setPosition(146*ratio.ratioX, 101*ratio.ratioY); Node7.setWidth(Node7width); Node7.setHeight(Node7height); Node7._nodeType = 'text'; Node7._disallowEvert = true; Node7.setRotation(0*Math.PI/180); Node7.a('node.width', Node7width); Node7.a('node.height', Node7height); Node7.a('node.rect', [0, 0, Node7width, Node7height]); Node7.a('node.bordercolor','rgba(255,255,255,1)'); Node7.a('node.borderwidth', 0); Node7.a('node.background','' || 'rgba(0,0,0,0)'); Node7.a('node.gradient',''); Node7.a('node.gradientcolor',''); Node7.a('node.text','安全天数'); Node7.a('node.textalign','left'); Node7.a('node.textvAlign','middle'); Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]); Node7.a('node.color','rgba(255,255,255,1)'); Node7.a('node.font','bold '+ Node7fontSize + 'px "Arial"'); Node7.a('node.textvisible',true); Node7.a('node.linefeed',false); if (false) { Node7.a('node.textfunc',function(g) { g.beginPath(); var str=Node7.a('node.text') || '安全天数'; var color=Node7.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node7width,Node7height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node7fontSize + 'px "Arial"', 0,g); }); } if (false) { Node7.a('node.underlinepoints',[Node7lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]); Node7.a('node.underlinevisible',false); Node7.a('node.underlineBorderWidth', 1); } dataModel.add(Node7); zoomNodeList.push({ node: Node7, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node8type = 'rect'; var Node8 = new ht.Node(), Node8BorderWidth = 0*2; if (Node8type === 'arc') { Node8BorderWidth *= 0; } Node8.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node8type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node8.setPosition(82*ratio.ratioX, 138*ratio.ratioY); Node8.setSize(105*_ratio.ratioX, 48*_ratio.ratioY); Node8.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node8.a('node.width', 105*_ratio.ratioX); Node8.a('node.height', 48*_ratio.ratioY); Node8.a('node.type', Node8type); Node8.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]); Node8.a('node.background', 'rgba(255,255,255,0.003921569)'); Node8.a('node.gradientcolor', ''); Node8.a('node.gradient', ''); Node8.a('node.borderwidth', Node8BorderWidth); Node8.a('node.color', 'rgba(0,0,0,0)'); Node8.a('node.fillrect', [0,0,0,0]); Node8.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node8.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node8.a('node.fillgradient', ''); if (Node8type !== 'rect') { Node8.a('node.arcFrom', parseFloat('@arcFrom@')); Node8.a('node.arcTo', parseFloat('@arcTo@')); Node8.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node8type === 'arc') { Node8.a('node.arcOval', true); } Node8.setRotation(0*Math.PI/180); Node8.borderWidth = Node8BorderWidth; Node8.borderFillwidth = Node8BorderWidth; dataModel.add(Node8); Node8._nodename = 'Node8' Node8._nodeType = 'rect'; zoomNodeList.push({ node: Node8, 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); } })(Node8, Node8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node9 = new ht.Node(); var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'right', Node9fontSize = 19.99995*_ratio.ratioY,Node9width = 59*_ratio.ratioX, Node9height = 24*_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('0', ' '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node9align === 'center') { Node9textStart = -3; Node9textWidth = Node9width; Node9lineStart = Node9width - ht.Default.getTextSize('0', ' '+ Node9fontSize + 'px "Arial"').width - 11; } })(); Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, ' '+ Node9fontSize + 'px "Arial"')) Node9.setPosition(77*ratio.ratioX, 146*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(0,0,0,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','0'); Node9.a('node.textalign','right'); Node9.a('node.textvAlign','middle'); Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]); Node9.a('node.color','rgba(0,0,0,1)'); Node9.a('node.font',' '+ 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') || '0'; var color=Node9.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node9width,Node9height,19.99995*_ratio.ratioY,"right",color,' '+ Node9fontSize + 'px "Arial"', 0,g); }); } if (false) { Node9.a('node.underlinepoints',[Node9lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 Node10type = 'rect'; var Node10 = new ht.Node(), Node10BorderWidth = 0*2; if (Node10type === 'arc') { Node10BorderWidth *= 0; } Node10.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node10type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node10.setPosition(165*ratio.ratioX, 143*ratio.ratioY); Node10.setSize(31*_ratio.ratioX, 31*_ratio.ratioY); Node10.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node10.a('node.width', 31*_ratio.ratioX); Node10.a('node.height', 31*_ratio.ratioY); Node10.a('node.type', Node10type); Node10.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]); Node10.a('node.background', 'rgba(225,102,38,1)'); Node10.a('node.gradientcolor', 'rgba(225,102,38,1)'); Node10.a('node.gradient', ''); Node10.a('node.borderwidth', Node10BorderWidth); Node10.a('node.color', 'rgba(0,0,0,0)'); Node10.a('node.fillrect', [0,0,0,0]); Node10.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node10.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node10.a('node.fillgradient', ''); if (Node10type !== 'rect') { Node10.a('node.arcFrom', parseFloat('@arcFrom@')); Node10.a('node.arcTo', parseFloat('@arcTo@')); Node10.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node10type === 'arc') { Node10.a('node.arcOval', true); } Node10.setRotation(0*Math.PI/180); Node10.borderWidth = Node10BorderWidth; Node10.borderFillwidth = Node10BorderWidth; dataModel.add(Node10); Node10._nodename = 'Node10' Node10._nodeType = 'rect'; zoomNodeList.push({ node: Node10, 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); } })(Node10, Node10.getImage());_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 = 27*_ratio.ratioX, Node11height = 16*_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(169*ratio.ratioX, 145*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(255,255,255,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(255,255,255,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(255,255,255,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, (16 - 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 Node12 = new ht.Node(); var Node12textStart, Node12textWidth, Node12lineStart, Node12align = 'left', Node12fontSize = 13.3333*_ratio.ratioY,Node12width = 53*_ratio.ratioX, Node12height = 30*_ratio.ratioY; (function () { if (Node12align === 'left') { Node12textStart = Node12fontSize * 0.2 > 2 ? Node12fontSize * 0.2 - 4 : Node12fontSize * 0.2 - 9; Node12textWidth = Node12width; Node12lineStart = 1; } else if (Node12align === 'right') { Node12textStart = 0; Node12textWidth =Node12fontSize <= 8 ? Node12width + Node12fontSize * 0.2 + 6 : Node12width - Node12fontSize * 0.2; Node12lineStart = (Node12width - (ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node12align === 'center') { Node12textStart = -3; Node12textWidth = Node12width; Node12lineStart = Node12width - ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width - 11; } })(); Node12.setImage(GD.getTextJSON(Node12width, Node12height, true, false, false, 'bold '+ Node12fontSize + 'px "Arial"')) Node12.setPosition(30*ratio.ratioX, 83*ratio.ratioY); Node12.setWidth(Node12width); Node12.setHeight(Node12height); Node12._nodeType = 'text'; Node12._disallowEvert = true; Node12.setRotation(0*Math.PI/180); Node12.a('node.width', Node12width); Node12.a('node.height', Node12height); Node12.a('node.rect', [0, 0, Node12width, Node12height]); Node12.a('node.bordercolor','rgba(255,255,255,1)'); Node12.a('node.borderwidth', 0); Node12.a('node.background','' || 'rgba(0,0,0,0)'); Node12.a('node.gradient',''); Node12.a('node.gradientcolor',''); Node12.a('node.text','合'); Node12.a('node.textalign','left'); Node12.a('node.textvAlign','middle'); Node12.a('node.textrect', [Node12textStart, 0, Node12textWidth, Node12height]); Node12.a('node.color','rgba(255,255,255,1)'); Node12.a('node.font','bold '+ Node12fontSize + 'px "Arial"'); Node12.a('node.textvisible',true); Node12.a('node.linefeed',false); if (false) { Node12.a('node.textfunc',function(g) { g.beginPath(); var str=Node12.a('node.text') || '合'; var color=Node12.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node12width,Node12height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node12fontSize + 'px "Arial"', 0,g); }); } if (false) { Node12.a('node.underlinepoints',[Node12lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node12fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node12fontSize + 'px "Arial"').width + 6, (Node12height - Node12fontSize) * 0.5*_ratio.ratioY + Node12fontSize + 2 ]); Node12.a('node.underlinevisible',false); Node12.a('node.underlineBorderWidth', 1); } dataModel.add(Node12); zoomNodeList.push({ node: Node12, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node13 = new ht.Node(); var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 13.3333*_ratio.ratioY,Node13width = 53*_ratio.ratioX, Node13height = 30*_ratio.ratioY; (function () { if (Node13align === 'left') { Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9; Node13textWidth = Node13width; Node13lineStart = 1; } else if (Node13align === 'right') { Node13textStart = 0; Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2; Node13lineStart = (Node13width - (ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node13align === 'center') { Node13textStart = -3; Node13textWidth = Node13width; Node13lineStart = Node13width - ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width - 11; } })(); Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, 'bold '+ Node13fontSize + 'px "Arial"')) Node13.setPosition(30*ratio.ratioX, 110*ratio.ratioY); Node13.setWidth(Node13width); Node13.setHeight(Node13height); Node13._nodeType = 'text'; Node13._disallowEvert = true; Node13.setRotation(0*Math.PI/180); Node13.a('node.width', Node13width); Node13.a('node.height', Node13height); Node13.a('node.rect', [0, 0, Node13width, Node13height]); Node13.a('node.bordercolor','rgba(255,255,255,1)'); Node13.a('node.borderwidth', 0); Node13.a('node.background','' || 'rgba(0,0,0,0)'); Node13.a('node.gradient',''); Node13.a('node.gradientcolor',''); Node13.a('node.text','指'); Node13.a('node.textalign','left'); Node13.a('node.textvAlign','middle'); Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]); Node13.a('node.color','rgba(255,255,255,1)'); Node13.a('node.font','bold '+ Node13fontSize + 'px "Arial"'); Node13.a('node.textvisible',true); Node13.a('node.linefeed',false); if (false) { Node13.a('node.textfunc',function(g) { g.beginPath(); var str=Node13.a('node.text') || '指'; var color=Node13.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node13width,Node13height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node13fontSize + 'px "Arial"', 0,g); }); } if (false) { Node13.a('node.underlinepoints',[Node13lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]); Node13.a('node.underlinevisible',false); Node13.a('node.underlineBorderWidth', 1); } dataModel.add(Node13); zoomNodeList.push({ node: Node13, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node14 = new ht.Node(); var Node14textStart, Node14textWidth, Node14lineStart, Node14align = 'left', Node14fontSize = 13.3333*_ratio.ratioY,Node14width = 53*_ratio.ratioX, Node14height = 30*_ratio.ratioY; (function () { if (Node14align === 'left') { Node14textStart = Node14fontSize * 0.2 > 2 ? Node14fontSize * 0.2 - 4 : Node14fontSize * 0.2 - 9; Node14textWidth = Node14width; Node14lineStart = 1; } else if (Node14align === 'right') { Node14textStart = 0; Node14textWidth =Node14fontSize <= 8 ? Node14width + Node14fontSize * 0.2 + 6 : Node14width - Node14fontSize * 0.2; Node14lineStart = (Node14width - (ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node14align === 'center') { Node14textStart = -3; Node14textWidth = Node14width; Node14lineStart = Node14width - ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width - 11; } })(); Node14.setImage(GD.getTextJSON(Node14width, Node14height, true, false, false, 'bold '+ Node14fontSize + 'px "Arial"')) Node14.setPosition(30*ratio.ratioX, 140*ratio.ratioY); Node14.setWidth(Node14width); Node14.setHeight(Node14height); Node14._nodeType = 'text'; Node14._disallowEvert = true; Node14.setRotation(0*Math.PI/180); Node14.a('node.width', Node14width); Node14.a('node.height', Node14height); Node14.a('node.rect', [0, 0, Node14width, Node14height]); Node14.a('node.bordercolor','rgba(255,255,255,1)'); Node14.a('node.borderwidth', 0); Node14.a('node.background','' || 'rgba(0,0,0,0)'); Node14.a('node.gradient',''); Node14.a('node.gradientcolor',''); Node14.a('node.text','标'); Node14.a('node.textalign','left'); Node14.a('node.textvAlign','middle'); Node14.a('node.textrect', [Node14textStart, 0, Node14textWidth, Node14height]); Node14.a('node.color','rgba(255,255,255,1)'); Node14.a('node.font','bold '+ Node14fontSize + 'px "Arial"'); Node14.a('node.textvisible',true); Node14.a('node.linefeed',false); if (false) { Node14.a('node.textfunc',function(g) { g.beginPath(); var str=Node14.a('node.text') || '标'; var color=Node14.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node14width,Node14height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node14fontSize + 'px "Arial"', 0,g); }); } if (false) { Node14.a('node.underlinepoints',[Node14lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node14fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node14fontSize + 'px "Arial"').width + 6, (Node14height - Node14fontSize) * 0.5*_ratio.ratioY + Node14fontSize + 2 ]); Node14.a('node.underlinevisible',false); Node14.a('node.underlineBorderWidth', 1); } dataModel.add(Node14); zoomNodeList.push({ node: Node14, borderWidth: 0, attr: 'node.borderwidth' }); var Node15; (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//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png'); Node15 = new ht.Node(); Node15.setPosition(106*ratio.ratioX, 61*ratio.ratioY); Node15.setSize(155*ratioX, 45*ratioY); Node15.setImage('imgimage//喜欢的蓝色.png'); Node15.setRotation(0*Math.PI/180); Node15._zoomBy = 'Default'; Node15._nodeType = 'image'; Node15._disallowEvert = true; dataModel.add(Node15); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node16 = new ht.Node(); var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 17.33329*_ratio.ratioY,Node16width = 143*_ratio.ratioX, Node16height = 49*_ratio.ratioY; (function () { if (Node16align === 'left') { Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9; Node16textWidth = Node16width; Node16lineStart = 1; } else if (Node16align === 'right') { Node16textStart = 0; Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2; Node16lineStart = (Node16width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node16align === 'center') { Node16textStart = -3; Node16textWidth = Node16width; Node16lineStart = Node16width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width - 11; } })(); Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"')) Node16.setPosition(115*ratio.ratioX, 63*ratio.ratioY); Node16.setWidth(Node16width); Node16.setHeight(Node16height); Node16._nodeType = 'text'; Node16._disallowEvert = true; Node16.setRotation(0*Math.PI/180); Node16.a('node.width', Node16width); Node16.a('node.height', Node16height); Node16.a('node.rect', [0, 0, Node16width, Node16height]); Node16.a('node.bordercolor','rgba(255,255,255,1)'); Node16.a('node.borderwidth', 0); Node16.a('node.background','' || 'rgba(0,0,0,0)'); Node16.a('node.gradient',''); Node16.a('node.gradientcolor',''); Node16.a('node.text','广灵劲风电场'); Node16.a('node.textalign','left'); Node16.a('node.textvAlign','middle'); Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]); Node16.a('node.color','rgba(255,255,255,1)'); Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"'); Node16.a('node.textvisible',true); Node16.a('node.linefeed',false); if (false) { Node16.a('node.textfunc',function(g) { g.beginPath(); var str=Node16.a('node.text') || '广灵劲风电场'; var color=Node16.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node16width,Node16height,17.33329*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g); }); } if (false) { Node16.a('node.underlinepoints',[Node16lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]); Node16.a('node.underlinevisible',false); Node16.a('node.underlineBorderWidth', 1); } dataModel.add(Node16); zoomNodeList.push({ node: Node16, borderWidth: 0, attr: 'node.borderwidth' }); var Node17_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//劲风排布//jinfeng_bg_n.jpg', PAGEROOTDIR + 'image//劲风排布//jinfeng_bg_n.jpg'); Node17_0 = new ht.Node(); Node17_0.setPosition(940*ratio.ratioX, 509*ratio.ratioY); Node17_0.setSize(1880*ratioX, 680*ratioY); Node17_0.setImage('imgimage//劲风排布//jinfeng_bg_n.jpg'); Node17_0.setRotation(0*Math.PI/180); Node17_0._zoomBy = 'Default'; Node17_0._nodeType = 'image'; Node17_0._disallowEvert = true; dataModel.add(Node17_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_1 = new ht.lib['排布图图元'](1254*ratio.ratioX, 398*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166',bianhao:'A02',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node17_1'); _libModel.add("Node17_1", Node17_1); Node17_1.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_2 = new ht.lib['排布图图元'](1581*ratio.ratioX, 461*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166',bianhao:'A03',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002',}, function (){return {}}, 'Node17_2'); _libModel.add("Node17_2", Node17_2); Node17_2.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_3 = new ht.lib['排布图图元'](1601*ratio.ratioX, 517*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166',bianhao:'A04',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002',}, function (){return {}}, 'Node17_3'); _libModel.add("Node17_3", Node17_3); Node17_3.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_4 = new ht.lib['排布图图元'](1644*ratio.ratioX, 548*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166',bianhao:'A05',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002',}, function (){return {}}, 'Node17_4'); _libModel.add("Node17_4", Node17_4); Node17_4.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_5 = new ht.lib['排布图图元'](1681*ratio.ratioX, 589*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166',bianhao:'A06',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002',}, function (){return {}}, 'Node17_5'); _libModel.add("Node17_5", Node17_5); Node17_5.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_6 = new ht.lib['排布图图元'](1647*ratio.ratioX, 644*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166',bianhao:'A07',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002',}, function (){return {}}, 'Node17_6'); _libModel.add("Node17_6", Node17_6); Node17_6.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_7 = new ht.lib['排布图图元'](1692*ratio.ratioX, 707*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166',bianhao:'A08',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002',}, function (){return {}}, 'Node17_7'); _libModel.add("Node17_7", Node17_7); Node17_7.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_8 = new ht.lib['排布图图元'](1543*ratio.ratioX, 423*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166',bianhao:'A09',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002',}, function (){return {}}, 'Node17_8'); _libModel.add("Node17_8", Node17_8); Node17_8.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_9 = new ht.lib['排布图图元'](1510*ratio.ratioX, 378*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166',bianhao:'A10',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002',}, function (){return {}}, 'Node17_9'); _libModel.add("Node17_9", Node17_9); Node17_9.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_10 = new ht.lib['排布图图元'](1478*ratio.ratioX, 338*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166',bianhao:'A11',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002',}, function (){return {}}, 'Node17_10'); _libModel.add("Node17_10", Node17_10); Node17_10.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_11 = new ht.lib['排布图图元'](1426*ratio.ratioX, 291*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166',bianhao:'A12',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002',}, function (){return {}}, 'Node17_11'); _libModel.add("Node17_11", Node17_11); Node17_11.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_12 = new ht.lib['排布图图元'](1471*ratio.ratioX, 267*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166',bianhao:'B13',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002',}, function (){return {}}, 'Node17_12'); _libModel.add("Node17_12", Node17_12); Node17_12.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_13 = new ht.lib['排布图图元'](1076*ratio.ratioX, 382*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166',bianhao:'B14',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002',}, function (){return {}}, 'Node17_13'); _libModel.add("Node17_13", Node17_13); Node17_13.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_14 = new ht.lib['排布图图元'](1034*ratio.ratioX, 487*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166',bianhao:'B15',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002',}, function (){return {}}, 'Node17_14'); _libModel.add("Node17_14", Node17_14); Node17_14.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_15 = new ht.lib['排布图图元'](729*ratio.ratioX, 451*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166',bianhao:'B16',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002',}, function (){return {}}, 'Node17_15'); _libModel.add("Node17_15", Node17_15); Node17_15.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_16 = new ht.lib['排布图图元'](891*ratio.ratioX, 522*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166',bianhao:'B17',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002',}, function (){return {}}, 'Node17_16'); _libModel.add("Node17_16", Node17_16); Node17_16.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_17 = new ht.lib['排布图图元'](939*ratio.ratioX, 571*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166',bianhao:'B18',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002',}, function (){return {}}, 'Node17_17'); _libModel.add("Node17_17", Node17_17); Node17_17.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_18 = new ht.lib['排布图图元'](868*ratio.ratioX, 624*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166',bianhao:'B19',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002',}, function (){return {}}, 'Node17_18'); _libModel.add("Node17_18", Node17_18); Node17_18.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_19 = new ht.lib['排布图图元'](870*ratio.ratioX, 567*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166',bianhao:'B20',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002',}, function (){return {}}, 'Node17_19'); _libModel.add("Node17_19", Node17_19); Node17_19.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_20 = new ht.lib['排布图图元'](781*ratio.ratioX, 577*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166',bianhao:'B21',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002',}, function (){return {}}, 'Node17_20'); _libModel.add("Node17_20", Node17_20); Node17_20.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_21 = new ht.lib['排布图图元'](490*ratio.ratioX, 492*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166',bianhao:'B22',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002',}, function (){return {}}, 'Node17_21'); _libModel.add("Node17_21", Node17_21); Node17_21.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_22 = new ht.lib['排布图图元'](354*ratio.ratioX, 583*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166',bianhao:'B23',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002',}, function (){return {}}, 'Node17_22'); _libModel.add("Node17_22", Node17_22); Node17_22.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_23 = new ht.lib['排布图图元'](274*ratio.ratioX, 531*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166',bianhao:'B24',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002',}, function (){return {}}, 'Node17_23'); _libModel.add("Node17_23", Node17_23); Node17_23.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node17_24 = new ht.lib['排布图图元'](143*ratio.ratioX, 596*ratio.ratioY, 41*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node17_24'); _libModel.add("Node17_24", Node17_24); Node17_24.setRotation(0*Math.PI/180); ; ; var Node18_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node18_0 = new ht.Node(); Node18_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY); Node18_0.setSize(27*ratioX, 101*ratioY); Node18_0.setImage('imgimage//left_menu_out0.png'); Node18_0.setRotation(0*Math.PI/180); Node18_0._zoomBy = 'Default'; Node18_0._nodeType = 'image'; Node18_0._disallowEvert = true; dataModel.add(Node18_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node18_1 = new ht.Node(); var Node18_1textStart, Node18_1textWidth, Node18_1lineStart, Node18_1align = 'left', Node18_1fontSize = 19.99995*_ratio.ratioY,Node18_1width = 23*_ratio.ratioX, Node18_1height = 76*_ratio.ratioY; (function () { if (Node18_1align === 'left') { Node18_1textStart = Node18_1fontSize * 0.2 > 2 ? Node18_1fontSize * 0.2 - 4 : Node18_1fontSize * 0.2 - 9; Node18_1textWidth = Node18_1width; Node18_1lineStart = 1; } else if (Node18_1align === 'right') { Node18_1textStart = 0; Node18_1textWidth =Node18_1fontSize <= 8 ? Node18_1width + Node18_1fontSize * 0.2 + 6 : Node18_1width - Node18_1fontSize * 0.2; Node18_1lineStart = (Node18_1width - (ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node18_1align === 'center') { Node18_1textStart = -3; Node18_1textWidth = Node18_1width; Node18_1lineStart = Node18_1width - ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width - 11; } })(); Node18_1.setImage(GD.getTextJSON(Node18_1width, Node18_1height, false, true, false, ' '+ Node18_1fontSize + 'px "Arial"')) Node18_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY); Node18_1.setWidth(Node18_1width); Node18_1.setHeight(Node18_1height); Node18_1._nodeType = 'text'; Node18_1._disallowEvert = true; Node18_1.setRotation(0*Math.PI/180); Node18_1.a('node.width', Node18_1width); Node18_1.a('node.height', Node18_1height); Node18_1.a('node.rect', [0, 0, Node18_1width, Node18_1height]); Node18_1.a('node.bordercolor','rgba(0,0,0,1)'); Node18_1.a('node.borderwidth', 0); Node18_1.a('node.background','' || 'rgba(0,0,0,0)'); Node18_1.a('node.gradient',''); Node18_1.a('node.gradientcolor',''); Node18_1.a('node.text','排布图'); Node18_1.a('node.textalign','left'); Node18_1.a('node.textvAlign','middle'); Node18_1.a('node.textrect', [Node18_1textStart, 0, Node18_1textWidth, Node18_1height]); Node18_1.a('node.color','rgba(0,0,0,1)'); Node18_1.a('node.font',' '+ Node18_1fontSize + 'px "Arial"'); Node18_1.a('node.textvisible',false); Node18_1.a('node.linefeed',true); if (true) { Node18_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node18_1.a('node.text') || '排布图'; var color=Node18_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node18_1width,Node18_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node18_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node18_1.a('node.underlinepoints',[Node18_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node18_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node18_1fontSize + 'px "Arial"').width + 6, (Node18_1height - Node18_1fontSize) * 0.5*_ratio.ratioY + Node18_1fontSize + 2 ]); Node18_1.a('node.underlinevisible',false); Node18_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node18_1); zoomNodeList.push({ node: Node18_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node19_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node19_0 = new ht.Node(); Node19_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY); Node19_0.setSize(27*ratioX, 101*ratioY); Node19_0.setImage('imgimage//left_menu_out0.png'); Node19_0.setRotation(0*Math.PI/180); Node19_0._zoomBy = 'Default'; Node19_0._nodeType = 'image'; Node19_0._disallowEvert = true; dataModel.add(Node19_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node19_1 = new ht.Node(); var Node19_1textStart, Node19_1textWidth, Node19_1lineStart, Node19_1align = 'left', Node19_1fontSize = 18.66662*_ratio.ratioY,Node19_1width = 23*_ratio.ratioX, Node19_1height = 76*_ratio.ratioY; (function () { if (Node19_1align === 'left') { Node19_1textStart = Node19_1fontSize * 0.2 > 2 ? Node19_1fontSize * 0.2 - 4 : Node19_1fontSize * 0.2 - 9; Node19_1textWidth = Node19_1width; Node19_1lineStart = 1; } else if (Node19_1align === 'right') { Node19_1textStart = 0; Node19_1textWidth =Node19_1fontSize <= 8 ? Node19_1width + Node19_1fontSize * 0.2 + 6 : Node19_1width - Node19_1fontSize * 0.2; Node19_1lineStart = (Node19_1width - (ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node19_1align === 'center') { Node19_1textStart = -3; Node19_1textWidth = Node19_1width; Node19_1lineStart = Node19_1width - ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width - 11; } })(); Node19_1.setImage(GD.getTextJSON(Node19_1width, Node19_1height, false, true, false, ' '+ Node19_1fontSize + 'px "Arial"')) Node19_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY); Node19_1.setWidth(Node19_1width); Node19_1.setHeight(Node19_1height); Node19_1._nodeType = 'text'; Node19_1._disallowEvert = true; Node19_1.setRotation(0*Math.PI/180); Node19_1.a('node.width', Node19_1width); Node19_1.a('node.height', Node19_1height); Node19_1.a('node.rect', [0, 0, Node19_1width, Node19_1height]); Node19_1.a('node.bordercolor','rgba(0,0,0,1)'); Node19_1.a('node.borderwidth', 0); Node19_1.a('node.background','' || 'rgba(0,0,0,0)'); Node19_1.a('node.gradient',''); Node19_1.a('node.gradientcolor',''); Node19_1.a('node.text','总貌图'); Node19_1.a('node.textalign','left'); Node19_1.a('node.textvAlign','middle'); Node19_1.a('node.textrect', [Node19_1textStart, 0, Node19_1textWidth, Node19_1height]); Node19_1.a('node.color','rgba(0,0,0,1)'); Node19_1.a('node.font',' '+ Node19_1fontSize + 'px "Arial"'); Node19_1.a('node.textvisible',false); Node19_1.a('node.linefeed',true); if (true) { Node19_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node19_1.a('node.text') || '总貌图'; var color=Node19_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node19_1width,Node19_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node19_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node19_1.a('node.underlinepoints',[Node19_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node19_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node19_1fontSize + 'px "Arial"').width + 6, (Node19_1height - Node19_1fontSize) * 0.5*_ratio.ratioY + Node19_1fontSize + 2 ]); Node19_1.a('node.underlinevisible',false); Node19_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node19_1); zoomNodeList.push({ node: Node19_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node20_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node20_0 = new ht.Node(); Node20_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY); Node20_0.setSize(27*ratioX, 101*ratioY); Node20_0.setImage('imgimage//left_menu_out0.png'); Node20_0.setRotation(0*Math.PI/180); Node20_0._zoomBy = 'Default'; Node20_0._nodeType = 'image'; Node20_0._disallowEvert = true; dataModel.add(Node20_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node20_1 = new ht.Node(); var Node20_1textStart, Node20_1textWidth, Node20_1lineStart, Node20_1align = 'left', Node20_1fontSize = 18.66662*_ratio.ratioY,Node20_1width = 23*_ratio.ratioX, Node20_1height = 76*_ratio.ratioY; (function () { if (Node20_1align === 'left') { Node20_1textStart = Node20_1fontSize * 0.2 > 2 ? Node20_1fontSize * 0.2 - 4 : Node20_1fontSize * 0.2 - 9; Node20_1textWidth = Node20_1width; Node20_1lineStart = 1; } else if (Node20_1align === 'right') { Node20_1textStart = 0; Node20_1textWidth =Node20_1fontSize <= 8 ? Node20_1width + Node20_1fontSize * 0.2 + 6 : Node20_1width - Node20_1fontSize * 0.2; Node20_1lineStart = (Node20_1width - (ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node20_1align === 'center') { Node20_1textStart = -3; Node20_1textWidth = Node20_1width; Node20_1lineStart = Node20_1width - ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width - 11; } })(); Node20_1.setImage(GD.getTextJSON(Node20_1width, Node20_1height, false, true, false, ' '+ Node20_1fontSize + 'px "Arial"')) Node20_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY); Node20_1.setWidth(Node20_1width); Node20_1.setHeight(Node20_1height); Node20_1._nodeType = 'text'; Node20_1._disallowEvert = true; Node20_1.setRotation(0*Math.PI/180); Node20_1.a('node.width', Node20_1width); Node20_1.a('node.height', Node20_1height); Node20_1.a('node.rect', [0, 0, Node20_1width, Node20_1height]); Node20_1.a('node.bordercolor','rgba(0,0,0,1)'); Node20_1.a('node.borderwidth', 0); Node20_1.a('node.background','' || 'rgba(0,0,0,0)'); Node20_1.a('node.gradient',''); Node20_1.a('node.gradientcolor',''); Node20_1.a('node.text','升压站'); Node20_1.a('node.textalign','left'); Node20_1.a('node.textvAlign','middle'); Node20_1.a('node.textrect', [Node20_1textStart, 0, Node20_1textWidth, Node20_1height]); Node20_1.a('node.color','rgba(0,0,0,1)'); Node20_1.a('node.font',' '+ Node20_1fontSize + 'px "Arial"'); Node20_1.a('node.textvisible',false); Node20_1.a('node.linefeed',true); if (true) { Node20_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node20_1.a('node.text') || '升压站'; var color=Node20_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node20_1width,Node20_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node20_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node20_1.a('node.underlinepoints',[Node20_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node20_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node20_1fontSize + 'px "Arial"').width + 6, (Node20_1height - Node20_1fontSize) * 0.5*_ratio.ratioY + Node20_1fontSize + 2 ]); Node20_1.a('node.underlinevisible',false); Node20_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node20_1); zoomNodeList.push({ node: Node20_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node21_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node21_0 = new ht.Node(); Node21_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY); Node21_0.setSize(27*ratioX, 101*ratioY); Node21_0.setImage('imgimage//left_menu_out0.png'); Node21_0.setRotation(0*Math.PI/180); Node21_0._zoomBy = 'Default'; Node21_0._nodeType = 'image'; Node21_0._disallowEvert = true; dataModel.add(Node21_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node21_1 = new ht.Node(); var Node21_1textStart, Node21_1textWidth, Node21_1lineStart, Node21_1align = 'left', Node21_1fontSize = 18.66662*_ratio.ratioY,Node21_1width = 23*_ratio.ratioX, Node21_1height = 76*_ratio.ratioY; (function () { if (Node21_1align === 'left') { Node21_1textStart = Node21_1fontSize * 0.2 > 2 ? Node21_1fontSize * 0.2 - 4 : Node21_1fontSize * 0.2 - 9; Node21_1textWidth = Node21_1width; Node21_1lineStart = 1; } else if (Node21_1align === 'right') { Node21_1textStart = 0; Node21_1textWidth =Node21_1fontSize <= 8 ? Node21_1width + Node21_1fontSize * 0.2 + 6 : Node21_1width - Node21_1fontSize * 0.2; Node21_1lineStart = (Node21_1width - (ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node21_1align === 'center') { Node21_1textStart = -3; Node21_1textWidth = Node21_1width; Node21_1lineStart = Node21_1width - ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width - 11; } })(); Node21_1.setImage(GD.getTextJSON(Node21_1width, Node21_1height, false, true, false, ' '+ Node21_1fontSize + 'px "Arial"')) Node21_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY); Node21_1.setWidth(Node21_1width); Node21_1.setHeight(Node21_1height); Node21_1._nodeType = 'text'; Node21_1._disallowEvert = true; Node21_1.setRotation(0*Math.PI/180); Node21_1.a('node.width', Node21_1width); Node21_1.a('node.height', Node21_1height); Node21_1.a('node.rect', [0, 0, Node21_1width, Node21_1height]); Node21_1.a('node.bordercolor','rgba(0,0,0,1)'); Node21_1.a('node.borderwidth', 0); Node21_1.a('node.background','' || 'rgba(0,0,0,0)'); Node21_1.a('node.gradient',''); Node21_1.a('node.gradientcolor',''); Node21_1.a('node.text','风机信息'); Node21_1.a('node.textalign','left'); Node21_1.a('node.textvAlign','middle'); Node21_1.a('node.textrect', [Node21_1textStart, 0, Node21_1textWidth, Node21_1height]); Node21_1.a('node.color','rgba(0,0,0,1)'); Node21_1.a('node.font',' '+ Node21_1fontSize + 'px "Arial"'); Node21_1.a('node.textvisible',false); Node21_1.a('node.linefeed',true); if (true) { Node21_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node21_1.a('node.text') || '风机信息'; var color=Node21_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node21_1width,Node21_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node21_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node21_1.a('node.underlinepoints',[Node21_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node21_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node21_1fontSize + 'px "Arial"').width + 6, (Node21_1height - Node21_1fontSize) * 0.5*_ratio.ratioY + Node21_1fontSize + 2 ]); Node21_1.a('node.underlinevisible',false); Node21_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node21_1); zoomNodeList.push({ node: Node21_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node22_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node22_0 = new ht.Node(); Node22_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY); Node22_0.setSize(27*ratioX, 101*ratioY); Node22_0.setImage('imgimage//left_menu_out0.png'); Node22_0.setRotation(0*Math.PI/180); Node22_0._zoomBy = 'Default'; Node22_0._nodeType = 'image'; Node22_0._disallowEvert = true; dataModel.add(Node22_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node22_1 = new ht.Node(); var Node22_1textStart, Node22_1textWidth, Node22_1lineStart, Node22_1align = 'left', Node22_1fontSize = 18.66662*_ratio.ratioY,Node22_1width = 23*_ratio.ratioX, Node22_1height = 76*_ratio.ratioY; (function () { if (Node22_1align === 'left') { Node22_1textStart = Node22_1fontSize * 0.2 > 2 ? Node22_1fontSize * 0.2 - 4 : Node22_1fontSize * 0.2 - 9; Node22_1textWidth = Node22_1width; Node22_1lineStart = 1; } else if (Node22_1align === 'right') { Node22_1textStart = 0; Node22_1textWidth =Node22_1fontSize <= 8 ? Node22_1width + Node22_1fontSize * 0.2 + 6 : Node22_1width - Node22_1fontSize * 0.2; Node22_1lineStart = (Node22_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node22_1align === 'center') { Node22_1textStart = -3; Node22_1textWidth = Node22_1width; Node22_1lineStart = Node22_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width - 11; } })(); Node22_1.setImage(GD.getTextJSON(Node22_1width, Node22_1height, false, true, false, ' '+ Node22_1fontSize + 'px "Arial"')) Node22_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY); Node22_1.setWidth(Node22_1width); Node22_1.setHeight(Node22_1height); Node22_1._nodeType = 'text'; Node22_1._disallowEvert = true; Node22_1.setRotation(0*Math.PI/180); Node22_1.a('node.width', Node22_1width); Node22_1.a('node.height', Node22_1height); Node22_1.a('node.rect', [0, 0, Node22_1width, Node22_1height]); Node22_1.a('node.bordercolor','rgba(0,0,0,1)'); Node22_1.a('node.borderwidth', 0); Node22_1.a('node.background','' || 'rgba(0,0,0,0)'); Node22_1.a('node.gradient',''); Node22_1.a('node.gradientcolor',''); Node22_1.a('node.text','风机矩阵'); Node22_1.a('node.textalign','left'); Node22_1.a('node.textvAlign','middle'); Node22_1.a('node.textrect', [Node22_1textStart, 0, Node22_1textWidth, Node22_1height]); Node22_1.a('node.color','rgba(0,0,0,1)'); Node22_1.a('node.font',' '+ Node22_1fontSize + 'px "Arial"'); Node22_1.a('node.textvisible',false); Node22_1.a('node.linefeed',true); if (true) { Node22_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node22_1.a('node.text') || '风机矩阵'; var color=Node22_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node22_1width,Node22_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node22_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node22_1.a('node.underlinepoints',[Node22_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node22_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node22_1fontSize + 'px "Arial"').width + 6, (Node22_1height - Node22_1fontSize) * 0.5*_ratio.ratioY + Node22_1fontSize + 2 ]); Node22_1.a('node.underlinevisible',false); Node22_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node22_1); zoomNodeList.push({ node: Node22_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node23_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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node23_0 = new ht.Node(); Node23_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY); Node23_0.setSize(27*ratioX, 101*ratioY); Node23_0.setImage('imgimage//left_menu_out0.png'); Node23_0.setRotation(0*Math.PI/180); Node23_0._zoomBy = 'Default'; Node23_0._nodeType = 'image'; Node23_0._disallowEvert = true; dataModel.add(Node23_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node23_1 = new ht.Node(); var Node23_1textStart, Node23_1textWidth, Node23_1lineStart, Node23_1align = 'left', Node23_1fontSize = 18.66662*_ratio.ratioY,Node23_1width = 23*_ratio.ratioX, Node23_1height = 76*_ratio.ratioY; (function () { if (Node23_1align === 'left') { Node23_1textStart = Node23_1fontSize * 0.2 > 2 ? Node23_1fontSize * 0.2 - 4 : Node23_1fontSize * 0.2 - 9; Node23_1textWidth = Node23_1width; Node23_1lineStart = 1; } else if (Node23_1align === 'right') { Node23_1textStart = 0; Node23_1textWidth =Node23_1fontSize <= 8 ? Node23_1width + Node23_1fontSize * 0.2 + 6 : Node23_1width - Node23_1fontSize * 0.2; Node23_1lineStart = (Node23_1width - (ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node23_1align === 'center') { Node23_1textStart = -3; Node23_1textWidth = Node23_1width; Node23_1lineStart = Node23_1width - ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width - 11; } })(); Node23_1.setImage(GD.getTextJSON(Node23_1width, Node23_1height, false, true, false, ' '+ Node23_1fontSize + 'px "Arial"')) Node23_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY); Node23_1.setWidth(Node23_1width); Node23_1.setHeight(Node23_1height); Node23_1._nodeType = 'text'; Node23_1._disallowEvert = true; Node23_1.setRotation(0*Math.PI/180); Node23_1.a('node.width', Node23_1width); Node23_1.a('node.height', Node23_1height); Node23_1.a('node.rect', [0, 0, Node23_1width, Node23_1height]); Node23_1.a('node.bordercolor','rgba(0,0,0,1)'); Node23_1.a('node.borderwidth', 0); Node23_1.a('node.background','' || 'rgba(0,0,0,0)'); Node23_1.a('node.gradient',''); Node23_1.a('node.gradientcolor',''); Node23_1.a('node.text','测风塔'); Node23_1.a('node.textalign','left'); Node23_1.a('node.textvAlign','middle'); Node23_1.a('node.textrect', [Node23_1textStart, 0, Node23_1textWidth, Node23_1height]); Node23_1.a('node.color','rgba(0,0,0,1)'); Node23_1.a('node.font',' '+ Node23_1fontSize + 'px "Arial"'); Node23_1.a('node.textvisible',false); Node23_1.a('node.linefeed',true); if (true) { Node23_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node23_1.a('node.text') || '测风塔'; var color=Node23_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node23_1width,Node23_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node23_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node23_1.a('node.underlinepoints',[Node23_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node23_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node23_1fontSize + 'px "Arial"').width + 6, (Node23_1height - Node23_1fontSize) * 0.5*_ratio.ratioY + Node23_1fontSize + 2 ]); Node23_1.a('node.underlinevisible',false); Node23_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node23_1); zoomNodeList.push({ node: Node23_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node24_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node24_0 = new ht.Node(); Node24_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY); Node24_0.setSize(27*ratioX, 101*ratioY); Node24_0.setImage('imgimage//left_menu_over0.png'); Node24_0.setRotation(0*Math.PI/180); Node24_0._zoomBy = 'Default'; Node24_0._nodeType = 'image'; Node24_0._disallowEvert = true; dataModel.add(Node24_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node24_1 = new ht.Node(); var Node24_1textStart, Node24_1textWidth, Node24_1lineStart, Node24_1align = 'left', Node24_1fontSize = 19.99995*_ratio.ratioY,Node24_1width = 23*_ratio.ratioX, Node24_1height = 76*_ratio.ratioY; (function () { if (Node24_1align === 'left') { Node24_1textStart = Node24_1fontSize * 0.2 > 2 ? Node24_1fontSize * 0.2 - 4 : Node24_1fontSize * 0.2 - 9; Node24_1textWidth = Node24_1width; Node24_1lineStart = 1; } else if (Node24_1align === 'right') { Node24_1textStart = 0; Node24_1textWidth =Node24_1fontSize <= 8 ? Node24_1width + Node24_1fontSize * 0.2 + 6 : Node24_1width - Node24_1fontSize * 0.2; Node24_1lineStart = (Node24_1width - (ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node24_1align === 'center') { Node24_1textStart = -3; Node24_1textWidth = Node24_1width; Node24_1lineStart = Node24_1width - ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width - 11; } })(); Node24_1.setImage(GD.getTextJSON(Node24_1width, Node24_1height, false, true, false, ' '+ Node24_1fontSize + 'px "Arial"')) Node24_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY); Node24_1.setWidth(Node24_1width); Node24_1.setHeight(Node24_1height); Node24_1._nodeType = 'text'; Node24_1._disallowEvert = true; Node24_1.setRotation(0*Math.PI/180); Node24_1.a('node.width', Node24_1width); Node24_1.a('node.height', Node24_1height); Node24_1.a('node.rect', [0, 0, Node24_1width, Node24_1height]); Node24_1.a('node.bordercolor','rgba(0,0,0,1)'); Node24_1.a('node.borderwidth', 0); Node24_1.a('node.background','' || 'rgba(0,0,0,0)'); Node24_1.a('node.gradient',''); Node24_1.a('node.gradientcolor',''); Node24_1.a('node.text','排布图'); Node24_1.a('node.textalign','left'); Node24_1.a('node.textvAlign','middle'); Node24_1.a('node.textrect', [Node24_1textStart, 0, Node24_1textWidth, Node24_1height]); Node24_1.a('node.color','rgba(0,0,0,1)'); Node24_1.a('node.font',' '+ Node24_1fontSize + 'px "Arial"'); Node24_1.a('node.textvisible',false); Node24_1.a('node.linefeed',true); if (true) { Node24_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node24_1.a('node.text') || '排布图'; var color=Node24_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node24_1width,Node24_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node24_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node24_1.a('node.underlinepoints',[Node24_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node24_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node24_1fontSize + 'px "Arial"').width + 6, (Node24_1height - Node24_1fontSize) * 0.5*_ratio.ratioY + Node24_1fontSize + 2 ]); Node24_1.a('node.underlinevisible',false); Node24_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node24_1); zoomNodeList.push({ node: Node24_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node25_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node25_0 = new ht.Node(); Node25_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY); Node25_0.setSize(27*ratioX, 101*ratioY); Node25_0.setImage('imgimage//left_menu_over0.png'); Node25_0.setRotation(0*Math.PI/180); Node25_0._zoomBy = 'Default'; Node25_0._nodeType = 'image'; Node25_0._disallowEvert = true; dataModel.add(Node25_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node25_1 = new ht.Node(); var Node25_1textStart, Node25_1textWidth, Node25_1lineStart, Node25_1align = 'left', Node25_1fontSize = 18.66662*_ratio.ratioY,Node25_1width = 23*_ratio.ratioX, Node25_1height = 76*_ratio.ratioY; (function () { if (Node25_1align === 'left') { Node25_1textStart = Node25_1fontSize * 0.2 > 2 ? Node25_1fontSize * 0.2 - 4 : Node25_1fontSize * 0.2 - 9; Node25_1textWidth = Node25_1width; Node25_1lineStart = 1; } else if (Node25_1align === 'right') { Node25_1textStart = 0; Node25_1textWidth =Node25_1fontSize <= 8 ? Node25_1width + Node25_1fontSize * 0.2 + 6 : Node25_1width - Node25_1fontSize * 0.2; Node25_1lineStart = (Node25_1width - (ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node25_1align === 'center') { Node25_1textStart = -3; Node25_1textWidth = Node25_1width; Node25_1lineStart = Node25_1width - ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width - 11; } })(); Node25_1.setImage(GD.getTextJSON(Node25_1width, Node25_1height, false, true, false, ' '+ Node25_1fontSize + 'px "Arial"')) Node25_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY); Node25_1.setWidth(Node25_1width); Node25_1.setHeight(Node25_1height); Node25_1._nodeType = 'text'; Node25_1._disallowEvert = true; Node25_1.setRotation(0*Math.PI/180); Node25_1.a('node.width', Node25_1width); Node25_1.a('node.height', Node25_1height); Node25_1.a('node.rect', [0, 0, Node25_1width, Node25_1height]); Node25_1.a('node.bordercolor','rgba(0,0,0,1)'); Node25_1.a('node.borderwidth', 0); Node25_1.a('node.background','' || 'rgba(0,0,0,0)'); Node25_1.a('node.gradient',''); Node25_1.a('node.gradientcolor',''); Node25_1.a('node.text','总貌图'); Node25_1.a('node.textalign','left'); Node25_1.a('node.textvAlign','middle'); Node25_1.a('node.textrect', [Node25_1textStart, 0, Node25_1textWidth, Node25_1height]); Node25_1.a('node.color','rgba(0,0,0,1)'); Node25_1.a('node.font',' '+ Node25_1fontSize + 'px "Arial"'); Node25_1.a('node.textvisible',false); Node25_1.a('node.linefeed',true); if (true) { Node25_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node25_1.a('node.text') || '总貌图'; var color=Node25_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node25_1width,Node25_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node25_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node25_1.a('node.underlinepoints',[Node25_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node25_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node25_1fontSize + 'px "Arial"').width + 6, (Node25_1height - Node25_1fontSize) * 0.5*_ratio.ratioY + Node25_1fontSize + 2 ]); Node25_1.a('node.underlinevisible',false); Node25_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node25_1); zoomNodeList.push({ node: Node25_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node26_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node26_0 = new ht.Node(); Node26_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY); Node26_0.setSize(27*ratioX, 101*ratioY); Node26_0.setImage('imgimage//left_menu_over0.png'); Node26_0.setRotation(0*Math.PI/180); Node26_0._zoomBy = 'Default'; Node26_0._nodeType = 'image'; Node26_0._disallowEvert = true; dataModel.add(Node26_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node26_1 = new ht.Node(); var Node26_1textStart, Node26_1textWidth, Node26_1lineStart, Node26_1align = 'left', Node26_1fontSize = 18.66662*_ratio.ratioY,Node26_1width = 23*_ratio.ratioX, Node26_1height = 76*_ratio.ratioY; (function () { if (Node26_1align === 'left') { Node26_1textStart = Node26_1fontSize * 0.2 > 2 ? Node26_1fontSize * 0.2 - 4 : Node26_1fontSize * 0.2 - 9; Node26_1textWidth = Node26_1width; Node26_1lineStart = 1; } else if (Node26_1align === 'right') { Node26_1textStart = 0; Node26_1textWidth =Node26_1fontSize <= 8 ? Node26_1width + Node26_1fontSize * 0.2 + 6 : Node26_1width - Node26_1fontSize * 0.2; Node26_1lineStart = (Node26_1width - (ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node26_1align === 'center') { Node26_1textStart = -3; Node26_1textWidth = Node26_1width; Node26_1lineStart = Node26_1width - ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width - 11; } })(); Node26_1.setImage(GD.getTextJSON(Node26_1width, Node26_1height, false, true, false, ' '+ Node26_1fontSize + 'px "Arial"')) Node26_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY); Node26_1.setWidth(Node26_1width); Node26_1.setHeight(Node26_1height); Node26_1._nodeType = 'text'; Node26_1._disallowEvert = true; Node26_1.setRotation(0*Math.PI/180); Node26_1.a('node.width', Node26_1width); Node26_1.a('node.height', Node26_1height); Node26_1.a('node.rect', [0, 0, Node26_1width, Node26_1height]); Node26_1.a('node.bordercolor','rgba(0,0,0,1)'); Node26_1.a('node.borderwidth', 0); Node26_1.a('node.background','' || 'rgba(0,0,0,0)'); Node26_1.a('node.gradient',''); Node26_1.a('node.gradientcolor',''); Node26_1.a('node.text','升压站'); Node26_1.a('node.textalign','left'); Node26_1.a('node.textvAlign','middle'); Node26_1.a('node.textrect', [Node26_1textStart, 0, Node26_1textWidth, Node26_1height]); Node26_1.a('node.color','rgba(0,0,0,1)'); Node26_1.a('node.font',' '+ Node26_1fontSize + 'px "Arial"'); Node26_1.a('node.textvisible',false); Node26_1.a('node.linefeed',true); if (true) { Node26_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node26_1.a('node.text') || '升压站'; var color=Node26_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node26_1width,Node26_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node26_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node26_1.a('node.underlinepoints',[Node26_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node26_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node26_1fontSize + 'px "Arial"').width + 6, (Node26_1height - Node26_1fontSize) * 0.5*_ratio.ratioY + Node26_1fontSize + 2 ]); Node26_1.a('node.underlinevisible',false); Node26_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node26_1); zoomNodeList.push({ node: Node26_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node27_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node27_0 = new ht.Node(); Node27_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY); Node27_0.setSize(27*ratioX, 101*ratioY); Node27_0.setImage('imgimage//left_menu_over0.png'); Node27_0.setRotation(0*Math.PI/180); Node27_0._zoomBy = 'Default'; Node27_0._nodeType = 'image'; Node27_0._disallowEvert = true; dataModel.add(Node27_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node27_1 = new ht.Node(); var Node27_1textStart, Node27_1textWidth, Node27_1lineStart, Node27_1align = 'left', Node27_1fontSize = 18.66662*_ratio.ratioY,Node27_1width = 23*_ratio.ratioX, Node27_1height = 76*_ratio.ratioY; (function () { if (Node27_1align === 'left') { Node27_1textStart = Node27_1fontSize * 0.2 > 2 ? Node27_1fontSize * 0.2 - 4 : Node27_1fontSize * 0.2 - 9; Node27_1textWidth = Node27_1width; Node27_1lineStart = 1; } else if (Node27_1align === 'right') { Node27_1textStart = 0; Node27_1textWidth =Node27_1fontSize <= 8 ? Node27_1width + Node27_1fontSize * 0.2 + 6 : Node27_1width - Node27_1fontSize * 0.2; Node27_1lineStart = (Node27_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node27_1align === 'center') { Node27_1textStart = -3; Node27_1textWidth = Node27_1width; Node27_1lineStart = Node27_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width - 11; } })(); Node27_1.setImage(GD.getTextJSON(Node27_1width, Node27_1height, false, true, false, ' '+ Node27_1fontSize + 'px "Arial"')) Node27_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY); Node27_1.setWidth(Node27_1width); Node27_1.setHeight(Node27_1height); Node27_1._nodeType = 'text'; Node27_1._disallowEvert = true; Node27_1.setRotation(0*Math.PI/180); Node27_1.a('node.width', Node27_1width); Node27_1.a('node.height', Node27_1height); Node27_1.a('node.rect', [0, 0, Node27_1width, Node27_1height]); Node27_1.a('node.bordercolor','rgba(0,0,0,1)'); Node27_1.a('node.borderwidth', 0); Node27_1.a('node.background','' || 'rgba(0,0,0,0)'); Node27_1.a('node.gradient',''); Node27_1.a('node.gradientcolor',''); Node27_1.a('node.text','风机矩阵'); Node27_1.a('node.textalign','left'); Node27_1.a('node.textvAlign','middle'); Node27_1.a('node.textrect', [Node27_1textStart, 0, Node27_1textWidth, Node27_1height]); Node27_1.a('node.color','rgba(0,0,0,1)'); Node27_1.a('node.font',' '+ Node27_1fontSize + 'px "Arial"'); Node27_1.a('node.textvisible',false); Node27_1.a('node.linefeed',true); if (true) { Node27_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node27_1.a('node.text') || '风机矩阵'; var color=Node27_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node27_1width,Node27_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node27_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node27_1.a('node.underlinepoints',[Node27_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node27_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node27_1fontSize + 'px "Arial"').width + 6, (Node27_1height - Node27_1fontSize) * 0.5*_ratio.ratioY + Node27_1fontSize + 2 ]); Node27_1.a('node.underlinevisible',false); Node27_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node27_1); zoomNodeList.push({ node: Node27_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node28_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node28_0 = new ht.Node(); Node28_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY); Node28_0.setSize(27*ratioX, 101*ratioY); Node28_0.setImage('imgimage//left_menu_over0.png'); Node28_0.setRotation(0*Math.PI/180); Node28_0._zoomBy = 'Default'; Node28_0._nodeType = 'image'; Node28_0._disallowEvert = true; dataModel.add(Node28_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node28_1 = new ht.Node(); var Node28_1textStart, Node28_1textWidth, Node28_1lineStart, Node28_1align = 'left', Node28_1fontSize = 18.66662*_ratio.ratioY,Node28_1width = 23*_ratio.ratioX, Node28_1height = 76*_ratio.ratioY; (function () { if (Node28_1align === 'left') { Node28_1textStart = Node28_1fontSize * 0.2 > 2 ? Node28_1fontSize * 0.2 - 4 : Node28_1fontSize * 0.2 - 9; Node28_1textWidth = Node28_1width; Node28_1lineStart = 1; } else if (Node28_1align === 'right') { Node28_1textStart = 0; Node28_1textWidth =Node28_1fontSize <= 8 ? Node28_1width + Node28_1fontSize * 0.2 + 6 : Node28_1width - Node28_1fontSize * 0.2; Node28_1lineStart = (Node28_1width - (ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node28_1align === 'center') { Node28_1textStart = -3; Node28_1textWidth = Node28_1width; Node28_1lineStart = Node28_1width - ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width - 11; } })(); Node28_1.setImage(GD.getTextJSON(Node28_1width, Node28_1height, false, true, false, ' '+ Node28_1fontSize + 'px "Arial"')) Node28_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY); Node28_1.setWidth(Node28_1width); Node28_1.setHeight(Node28_1height); Node28_1._nodeType = 'text'; Node28_1._disallowEvert = true; Node28_1.setRotation(0*Math.PI/180); Node28_1.a('node.width', Node28_1width); Node28_1.a('node.height', Node28_1height); Node28_1.a('node.rect', [0, 0, Node28_1width, Node28_1height]); Node28_1.a('node.bordercolor','rgba(0,0,0,1)'); Node28_1.a('node.borderwidth', 0); Node28_1.a('node.background','' || 'rgba(0,0,0,0)'); Node28_1.a('node.gradient',''); Node28_1.a('node.gradientcolor',''); Node28_1.a('node.text','风机信息'); Node28_1.a('node.textalign','left'); Node28_1.a('node.textvAlign','middle'); Node28_1.a('node.textrect', [Node28_1textStart, 0, Node28_1textWidth, Node28_1height]); Node28_1.a('node.color','rgba(0,0,0,1)'); Node28_1.a('node.font',' '+ Node28_1fontSize + 'px "Arial"'); Node28_1.a('node.textvisible',false); Node28_1.a('node.linefeed',true); if (true) { Node28_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node28_1.a('node.text') || '风机信息'; var color=Node28_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node28_1width,Node28_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node28_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node28_1.a('node.underlinepoints',[Node28_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node28_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node28_1fontSize + 'px "Arial"').width + 6, (Node28_1height - Node28_1fontSize) * 0.5*_ratio.ratioY + Node28_1fontSize + 2 ]); Node28_1.a('node.underlinevisible',false); Node28_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node28_1); zoomNodeList.push({ node: Node28_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node29_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//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node29_0 = new ht.Node(); Node29_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY); Node29_0.setSize(27*ratioX, 101*ratioY); Node29_0.setImage('imgimage//left_menu_over0.png'); Node29_0.setRotation(0*Math.PI/180); Node29_0._zoomBy = 'Default'; Node29_0._nodeType = 'image'; Node29_0._disallowEvert = true; dataModel.add(Node29_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node29_1 = new ht.Node(); var Node29_1textStart, Node29_1textWidth, Node29_1lineStart, Node29_1align = 'left', Node29_1fontSize = 18.66662*_ratio.ratioY,Node29_1width = 23*_ratio.ratioX, Node29_1height = 76*_ratio.ratioY; (function () { if (Node29_1align === 'left') { Node29_1textStart = Node29_1fontSize * 0.2 > 2 ? Node29_1fontSize * 0.2 - 4 : Node29_1fontSize * 0.2 - 9; Node29_1textWidth = Node29_1width; Node29_1lineStart = 1; } else if (Node29_1align === 'right') { Node29_1textStart = 0; Node29_1textWidth =Node29_1fontSize <= 8 ? Node29_1width + Node29_1fontSize * 0.2 + 6 : Node29_1width - Node29_1fontSize * 0.2; Node29_1lineStart = (Node29_1width - (ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node29_1align === 'center') { Node29_1textStart = -3; Node29_1textWidth = Node29_1width; Node29_1lineStart = Node29_1width - ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width - 11; } })(); Node29_1.setImage(GD.getTextJSON(Node29_1width, Node29_1height, false, true, false, ' '+ Node29_1fontSize + 'px "Arial"')) Node29_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY); Node29_1.setWidth(Node29_1width); Node29_1.setHeight(Node29_1height); Node29_1._nodeType = 'text'; Node29_1._disallowEvert = true; Node29_1.setRotation(0*Math.PI/180); Node29_1.a('node.width', Node29_1width); Node29_1.a('node.height', Node29_1height); Node29_1.a('node.rect', [0, 0, Node29_1width, Node29_1height]); Node29_1.a('node.bordercolor','rgba(0,0,0,1)'); Node29_1.a('node.borderwidth', 0); Node29_1.a('node.background','' || 'rgba(0,0,0,0)'); Node29_1.a('node.gradient',''); Node29_1.a('node.gradientcolor',''); Node29_1.a('node.text','测风塔'); Node29_1.a('node.textalign','left'); Node29_1.a('node.textvAlign','middle'); Node29_1.a('node.textrect', [Node29_1textStart, 0, Node29_1textWidth, Node29_1height]); Node29_1.a('node.color','rgba(0,0,0,1)'); Node29_1.a('node.font',' '+ Node29_1fontSize + 'px "Arial"'); Node29_1.a('node.textvisible',false); Node29_1.a('node.linefeed',true); if (true) { Node29_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node29_1.a('node.text') || '测风塔'; var color=Node29_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node29_1width,Node29_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node29_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node29_1.a('node.underlinepoints',[Node29_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node29_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node29_1fontSize + 'px "Arial"').width + 6, (Node29_1height - Node29_1fontSize) * 0.5*_ratio.ratioY + Node29_1fontSize + 2 ]); Node29_1.a('node.underlinevisible',false); Node29_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node29_1); zoomNodeList.push({ node: Node29_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node30type = 'rect'; var Node30 = new ht.Node(), Node30BorderWidth = 1*2; if (Node30type === 'arc') { Node30BorderWidth *= 1; } Node30.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node30type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node30.setPosition(1822*ratio.ratioX, 70*ratio.ratioY); Node30.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node30.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node30.a('node.width', 127*_ratio.ratioX); Node30.a('node.height', 60.81538*_ratio.ratioY); Node30.a('node.type', Node30type); Node30.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node30.a('node.background', 'rgba(255,255,255,0.003921569)'); Node30.a('node.gradientcolor', ''); Node30.a('node.gradient', ''); Node30.a('node.borderwidth', Node30BorderWidth); Node30.a('node.color', 'rgba(128,128,128,1)'); Node30.a('node.fillrect', [0,0,0,0]); Node30.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node30.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node30.a('node.fillgradient', ''); if (Node30type !== 'rect') { Node30.a('node.arcFrom', parseFloat('@arcFrom@')); Node30.a('node.arcTo', parseFloat('@arcTo@')); Node30.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node30type === 'arc') { Node30.a('node.arcOval', true); } Node30.setRotation(0*Math.PI/180); Node30.borderWidth = Node30BorderWidth; Node30.borderFillwidth = Node30BorderWidth; dataModel.add(Node30); Node30._nodename = 'Node30' Node30._nodeType = 'rect'; zoomNodeList.push({ node: Node30, 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); } })(Node30, Node30.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node31type = 'rect'; var Node31 = new ht.Node(), Node31BorderWidth = 1*2; if (Node31type === 'arc') { Node31BorderWidth *= 1; } Node31.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node31.setPosition(1822*ratio.ratioX, 131*ratio.ratioY); Node31.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node31.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node31.a('node.width', 127*_ratio.ratioX); Node31.a('node.height', 60.81538*_ratio.ratioY); Node31.a('node.type', Node31type); Node31.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node31.a('node.background', 'rgba(255,255,255,0.003921569)'); Node31.a('node.gradientcolor', ''); Node31.a('node.gradient', ''); Node31.a('node.borderwidth', Node31BorderWidth); Node31.a('node.color', 'rgba(128,128,128,1)'); Node31.a('node.fillrect', [0,0,0,0]); Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node31.a('node.fillgradient', ''); if (Node31type !== 'rect') { Node31.a('node.arcFrom', parseFloat('@arcFrom@')); Node31.a('node.arcTo', parseFloat('@arcTo@')); Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node31type === 'arc') { Node31.a('node.arcOval', true); } Node31.setRotation(0*Math.PI/180); Node31.borderWidth = Node31BorderWidth; Node31.borderFillwidth = Node31BorderWidth; dataModel.add(Node31); Node31._nodename = 'Node31' Node31._nodeType = 'rect'; zoomNodeList.push({ node: Node31, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node32type = 'rect'; var Node32 = new ht.Node(), Node32BorderWidth = 1*2; if (Node32type === 'arc') { Node32BorderWidth *= 1; } Node32.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node32type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node32.setPosition(1328*ratio.ratioX, 100*ratio.ratioY); Node32.setSize(27*_ratio.ratioX, 121*_ratio.ratioY); Node32.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node32.a('node.width', 27*_ratio.ratioX); Node32.a('node.height', 121*_ratio.ratioY); Node32.a('node.type', Node32type); Node32.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]); Node32.a('node.background', 'rgba(0,0,0,1)'); Node32.a('node.gradientcolor', 'rgba(0,0,0,1)'); Node32.a('node.gradient', ''); Node32.a('node.borderwidth', Node32BorderWidth); Node32.a('node.color', 'rgba(0,0,255,1)'); Node32.a('node.fillrect', [0,0,0,0]); Node32.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node32.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node32.a('node.fillgradient', ''); if (Node32type !== 'rect') { Node32.a('node.arcFrom', parseFloat('@arcFrom@')); Node32.a('node.arcTo', parseFloat('@arcTo@')); Node32.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node32type === 'arc') { Node32.a('node.arcOval', true); } Node32.setRotation(0*Math.PI/180); Node32.borderWidth = Node32BorderWidth; Node32.borderFillwidth = Node32BorderWidth; dataModel.add(Node32); Node32._nodename = 'Node32' Node32._nodeType = 'rect'; zoomNodeList.push({ node: Node32, 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); } })(Node32, Node32.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node33 = new ht.Node(); var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 11.99997*_ratio.ratioY,Node33width = 53*_ratio.ratioX, Node33height = 20*_ratio.ratioY; (function () { if (Node33align === 'left') { Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9; Node33textWidth = Node33width; Node33lineStart = 1; } else if (Node33align === 'right') { Node33textStart = 0; Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2; Node33lineStart = (Node33width - (ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node33align === 'center') { Node33textStart = -3; Node33textWidth = Node33width; Node33lineStart = Node33width - ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width - 11; } })(); Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, 'bold '+ Node33fontSize + 'px "Arial"')) Node33.setPosition(1345*ratio.ratioX, 66*ratio.ratioY); Node33.setWidth(Node33width); Node33.setHeight(Node33height); Node33._nodeType = 'text'; Node33._disallowEvert = true; Node33.setRotation(0*Math.PI/180); Node33.a('node.width', Node33width); Node33.a('node.height', Node33height); Node33.a('node.rect', [0, 0, Node33width, Node33height]); Node33.a('node.bordercolor','rgba(255,255,255,1)'); Node33.a('node.borderwidth', 0); Node33.a('node.background','' || 'rgba(0,0,0,0)'); Node33.a('node.gradient',''); Node33.a('node.gradientcolor',''); Node33.a('node.text','风'); Node33.a('node.textalign','left'); Node33.a('node.textvAlign','middle'); Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]); Node33.a('node.color','rgba(255,255,255,1)'); Node33.a('node.font','bold '+ Node33fontSize + 'px "Arial"'); Node33.a('node.textvisible',true); Node33.a('node.linefeed',false); if (false) { Node33.a('node.textfunc',function(g) { g.beginPath(); var str=Node33.a('node.text') || '风'; var color=Node33.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node33width,Node33height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node33fontSize + 'px "Arial"', 0,g); }); } if (false) { Node33.a('node.underlinepoints',[Node33lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]); Node33.a('node.underlinevisible',false); Node33.a('node.underlineBorderWidth', 1); } dataModel.add(Node33); zoomNodeList.push({ node: Node33, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34type = 'rect'; var Node34 = new ht.Node(), Node34BorderWidth = 1*2; if (Node34type === 'arc') { Node34BorderWidth *= 1; } Node34.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node34type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node34.setPosition(1407*ratio.ratioX, 100*ratio.ratioY); Node34.setSize(130*_ratio.ratioX, 121*_ratio.ratioY); Node34.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node34.a('node.width', 130*_ratio.ratioX); Node34.a('node.height', 121*_ratio.ratioY); Node34.a('node.type', Node34type); Node34.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]); Node34.a('node.background', 'rgba(255,255,255,0.003921569)'); Node34.a('node.gradientcolor', ''); Node34.a('node.gradient', ''); Node34.a('node.borderwidth', Node34BorderWidth); Node34.a('node.color', 'rgba(128,128,128,1)'); Node34.a('node.fillrect', [0,0,0,0]); Node34.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node34.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node34.a('node.fillgradient', ''); if (Node34type !== 'rect') { Node34.a('node.arcFrom', parseFloat('@arcFrom@')); Node34.a('node.arcTo', parseFloat('@arcTo@')); Node34.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node34type === 'arc') { Node34.a('node.arcOval', true); } Node34.setRotation(0*Math.PI/180); Node34.borderWidth = Node34BorderWidth; Node34.borderFillwidth = Node34BorderWidth; dataModel.add(Node34); Node34._nodename = 'Node34' Node34._nodeType = 'rect'; zoomNodeList.push({ node: Node34, 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, Node34.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node35 = new ht.Node(); var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 59*_ratio.ratioX, Node35height = 25*_ratio.ratioY; (function () { if (Node35align === 'left') { Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9; Node35textWidth = Node35width; Node35lineStart = 1; } else if (Node35align === 'right') { Node35textStart = 0; Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2; Node35lineStart = (Node35width - (ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node35align === 'center') { Node35textStart = -3; Node35textWidth = Node35width; Node35lineStart = Node35width - ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width - 11; } })(); Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"')) Node35.setPosition(1376*ratio.ratioX, 54*ratio.ratioY); Node35.setWidth(Node35width); Node35.setHeight(Node35height); Node35._nodeType = 'text'; Node35._disallowEvert = true; Node35.setRotation(0*Math.PI/180); Node35.a('node.width', Node35width); Node35.a('node.height', Node35height); Node35.a('node.rect', [0, 0, Node35width, Node35height]); Node35.a('node.bordercolor','rgba(105,105,105,1)'); Node35.a('node.borderwidth', 0); Node35.a('node.background','' || 'rgba(0,0,0,0)'); Node35.a('node.gradient',''); Node35.a('node.gradientcolor',''); Node35.a('node.text','接入'); Node35.a('node.textalign','left'); Node35.a('node.textvAlign','middle'); Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]); Node35.a('node.color','rgba(105,105,105,1)'); Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"'); Node35.a('node.textvisible',true); Node35.a('node.linefeed',false); if (false) { Node35.a('node.textfunc',function(g) { g.beginPath(); var str=Node35.a('node.text') || '接入'; var color=Node35.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g); }); } if (false) { Node35.a('node.underlinepoints',[Node35lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]); Node35.a('node.underlinevisible',false); Node35.a('node.underlineBorderWidth', 1); } dataModel.add(Node35); zoomNodeList.push({ node: Node35, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36 = new ht.Node(); var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'center', Node36fontSize = 26.6666*_ratio.ratioY,Node36width = 87*_ratio.ratioX, Node36height = 36*_ratio.ratioY; (function () { if (Node36align === 'left') { Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9; Node36textWidth = Node36width; Node36lineStart = 1; } else if (Node36align === 'right') { Node36textStart = 0; Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2; Node36lineStart = (Node36width - (ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node36align === 'center') { Node36textStart = -3; Node36textWidth = Node36width; Node36lineStart = Node36width - ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width - 11; } })(); Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"')) Node36.setPosition(1408*ratio.ratioX, 99*ratio.ratioY); Node36.setWidth(Node36width); Node36.setHeight(Node36height); Node36._nodeType = 'text'; Node36._disallowEvert = true; Node36.setRotation(0*Math.PI/180); Node36.a('node.width', Node36width); Node36.a('node.height', Node36height); Node36.a('node.rect', [0, 0, Node36width, Node36height]); Node36.a('node.bordercolor','rgba(0,0,0,1)'); Node36.a('node.borderwidth', 0); Node36.a('node.background','' || 'rgba(0,0,0,0)'); Node36.a('node.gradient',''); Node36.a('node.gradientcolor',''); Node36.a('node.text','0'); Node36.a('node.textalign','center'); Node36.a('node.textvAlign','middle'); Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]); Node36.a('node.color','rgba(0,0,0,1)'); Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"'); Node36.a('node.textvisible',true); Node36.a('node.linefeed',false); if (false) { Node36.a('node.textfunc',function(g) { g.beginPath(); var str=Node36.a('node.text') || '0'; var color=Node36.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node36width,Node36height,26.6666*_ratio.ratioY,"center",color,' '+ Node36fontSize + 'px "Arial"', 0,g); }); } if (false) { Node36.a('node.underlinepoints',[Node36lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]); Node36.a('node.underlinevisible',false); Node36.a('node.underlineBorderWidth', 1); } dataModel.add(Node36); zoomNodeList.push({ node: Node36, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node37 = new ht.Node(); var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'center', Node37fontSize = 14.66663*_ratio.ratioY,Node37width = 87*_ratio.ratioX, Node37height = 26*_ratio.ratioY; (function () { if (Node37align === 'left') { Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9; Node37textWidth = Node37width; Node37lineStart = 1; } else if (Node37align === 'right') { Node37textStart = 0; Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2; Node37lineStart = (Node37width - (ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node37align === 'center') { Node37textStart = -3; Node37textWidth = Node37width; Node37lineStart = Node37width - ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width - 11; } })(); Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"')) Node37.setPosition(1455*ratio.ratioX, 148*ratio.ratioY); Node37.setWidth(Node37width); Node37.setHeight(Node37height); Node37._nodeType = 'text'; Node37._disallowEvert = true; Node37.setRotation(0*Math.PI/180); Node37.a('node.width', Node37width); Node37.a('node.height', Node37height); Node37.a('node.rect', [0, 0, Node37width, Node37height]); Node37.a('node.bordercolor','rgba(105,105,105,1)'); Node37.a('node.borderwidth', 0); Node37.a('node.background','' || 'rgba(0,0,0,0)'); Node37.a('node.gradient',''); Node37.a('node.gradientcolor',''); Node37.a('node.text','台'); Node37.a('node.textalign','center'); Node37.a('node.textvAlign','middle'); Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]); Node37.a('node.color','rgba(105,105,105,1)'); Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"'); Node37.a('node.textvisible',true); Node37.a('node.linefeed',false); if (false) { Node37.a('node.textfunc',function(g) { g.beginPath(); var str=Node37.a('node.text') || '台'; var color=Node37.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node37width,Node37height,14.66663*_ratio.ratioY,"center",color,' '+ Node37fontSize + 'px "Arial"', 0,g); }); } if (false) { Node37.a('node.underlinepoints',[Node37lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]); Node37.a('node.underlinevisible',false); Node37.a('node.underlineBorderWidth', 1); } dataModel.add(Node37); zoomNodeList.push({ node: Node37, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38 = new ht.Node(); var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'center', Node38fontSize = 14.66663*_ratio.ratioY,Node38width = 67*_ratio.ratioX, Node38height = 26*_ratio.ratioY; (function () { if (Node38align === 'left') { Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9; Node38textWidth = Node38width; Node38lineStart = 1; } else if (Node38align === 'right') { Node38textStart = 0; Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2; Node38lineStart = (Node38width - (ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node38align === 'center') { Node38textStart = -3; Node38textWidth = Node38width; Node38lineStart = Node38width - ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width - 11; } })(); Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"')) Node38.setPosition(1588*ratio.ratioX, 146*ratio.ratioY); Node38.setWidth(Node38width); Node38.setHeight(Node38height); Node38._nodeType = 'text'; Node38._disallowEvert = true; Node38.setRotation(0*Math.PI/180); Node38.a('node.width', Node38width); Node38.a('node.height', Node38height); Node38.a('node.rect', [0, 0, Node38width, Node38height]); Node38.a('node.bordercolor','rgba(105,105,105,1)'); Node38.a('node.borderwidth', 0); Node38.a('node.background','' || 'rgba(0,0,0,0)'); Node38.a('node.gradient',''); Node38.a('node.gradientcolor',''); Node38.a('node.text','台'); Node38.a('node.textalign','center'); Node38.a('node.textvAlign','middle'); Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]); Node38.a('node.color','rgba(105,105,105,1)'); Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"'); Node38.a('node.textvisible',true); Node38.a('node.linefeed',false); if (false) { Node38.a('node.textfunc',function(g) { g.beginPath(); var str=Node38.a('node.text') || '台'; var color=Node38.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node38width,Node38height,14.66663*_ratio.ratioY,"center",color,' '+ Node38fontSize + 'px "Arial"', 0,g); }); } if (false) { Node38.a('node.underlinepoints',[Node38lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]); Node38.a('node.underlinevisible',false); Node38.a('node.underlineBorderWidth', 1); } dataModel.add(Node38); zoomNodeList.push({ node: Node38, borderWidth: 0, attr: 'node.borderwidth' }); var Node39; (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//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg'); Node39 = new ht.Node(); Node39.setPosition(1477*ratio.ratioX, 130*ratio.ratioY); Node39.setSize(9*ratioX, 60*ratioY); Node39.setImage('imgimage//page_list_box_left_orange.jpg'); Node39.setRotation(0*Math.PI/180); Node39._zoomBy = 'Default'; Node39._nodeType = 'image'; Node39._disallowEvert = true; dataModel.add(Node39); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40type = 'rect'; var Node40 = new ht.Node(), Node40BorderWidth = 1*2; if (Node40type === 'arc') { Node40BorderWidth *= 1; } Node40.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node40type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node40.setPosition(1546*ratio.ratioX, 131*ratio.ratioY); Node40.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node40.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node40.a('node.width', 127*_ratio.ratioX); Node40.a('node.height', 60.81538*_ratio.ratioY); Node40.a('node.type', Node40type); Node40.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node40.a('node.background', 'rgba(255,255,255,0.003921569)'); Node40.a('node.gradientcolor', ''); Node40.a('node.gradient', ''); Node40.a('node.borderwidth', Node40BorderWidth); Node40.a('node.color', 'rgba(128,128,128,1)'); Node40.a('node.fillrect', [0,0,0,0]); Node40.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node40.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node40.a('node.fillgradient', ''); if (Node40type !== 'rect') { Node40.a('node.arcFrom', parseFloat('@arcFrom@')); Node40.a('node.arcTo', parseFloat('@arcTo@')); Node40.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node40type === 'arc') { Node40.a('node.arcOval', true); } Node40.setRotation(0*Math.PI/180); Node40.borderWidth = Node40BorderWidth; Node40.borderFillwidth = Node40BorderWidth; dataModel.add(Node40); Node40._nodename = 'Node40' Node40._nodeType = 'rect'; zoomNodeList.push({ node: Node40, 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, Node40.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node41 = new ht.Node(); var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 47*_ratio.ratioX, Node41height = 38*_ratio.ratioY; (function () { if (Node41align === 'left') { Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9; Node41textWidth = Node41width; Node41lineStart = 1; } else if (Node41align === 'right') { Node41textStart = 0; Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2; Node41lineStart = (Node41width - (ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node41align === 'center') { Node41textStart = -3; Node41textWidth = Node41width; Node41lineStart = Node41width - ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width - 11; } })(); Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, 'bold '+ Node41fontSize + 'px "Arial"')) Node41.setPosition(1508*ratio.ratioX, 113*ratio.ratioY); Node41.setWidth(Node41width); Node41.setHeight(Node41height); Node41._nodeType = 'text'; Node41._disallowEvert = true; Node41.setRotation(0*Math.PI/180); Node41.a('node.width', Node41width); Node41.a('node.height', Node41height); Node41.a('node.rect', [0, 0, Node41width, Node41height]); Node41.a('node.bordercolor','rgba(0,0,0,1)'); Node41.a('node.borderwidth', 0); Node41.a('node.background','' || 'rgba(0,0,0,0)'); Node41.a('node.gradient',''); Node41.a('node.gradientcolor',''); Node41.a('node.text','维护'); Node41.a('node.textalign','left'); Node41.a('node.textvAlign','middle'); Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]); Node41.a('node.color','rgba(0,0,0,1)'); Node41.a('node.font','bold '+ Node41fontSize + 'px "Arial"'); Node41.a('node.textvisible',true); Node41.a('node.linefeed',false); if (false) { Node41.a('node.textfunc',function(g) { g.beginPath(); var str=Node41.a('node.text') || '维护'; var color=Node41.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node41fontSize + 'px "Arial"', 0,g); }); } if (false) { Node41.a('node.underlinepoints',[Node41lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node41fontSize + 'px "Arial"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]); Node41.a('node.underlinevisible',false); Node41.a('node.underlineBorderWidth', 1); } dataModel.add(Node41); zoomNodeList.push({ node: Node41, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42 = new ht.Node(); var Node42textStart, Node42textWidth, Node42lineStart, Node42align = 'left', Node42fontSize = 15.99996*_ratio.ratioY,Node42width = 29*_ratio.ratioX, Node42height = 25*_ratio.ratioY; (function () { if (Node42align === 'left') { Node42textStart = Node42fontSize * 0.2 > 2 ? Node42fontSize * 0.2 - 4 : Node42fontSize * 0.2 - 9; Node42textWidth = Node42width; Node42lineStart = 1; } else if (Node42align === 'right') { Node42textStart = 0; Node42textWidth =Node42fontSize <= 8 ? Node42width + Node42fontSize * 0.2 + 6 : Node42width - Node42fontSize * 0.2; Node42lineStart = (Node42width - (ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node42align === 'center') { Node42textStart = -3; Node42textWidth = Node42width; Node42lineStart = Node42width - ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width - 11; } })(); Node42.setImage(GD.getTextJSON(Node42width, Node42height, true, false, false, ' '+ Node42fontSize + 'px "Arial"')) Node42.setPosition(1509*ratio.ratioX, 145*ratio.ratioY); Node42.setWidth(Node42width); Node42.setHeight(Node42height); Node42._nodeType = 'text'; Node42._disallowEvert = true; Node42.setRotation(0*Math.PI/180); Node42.a('node.width', Node42width); Node42.a('node.height', Node42height); Node42.a('node.rect', [0, 0, Node42width, Node42height]); Node42.a('node.bordercolor','rgba(0,0,0,1)'); Node42.a('node.borderwidth', 0); Node42.a('node.background','' || 'rgba(0,0,0,0)'); Node42.a('node.gradient',''); Node42.a('node.gradientcolor',''); Node42.a('node.text','0'); Node42.a('node.textalign','left'); Node42.a('node.textvAlign','middle'); Node42.a('node.textrect', [Node42textStart, 0, Node42textWidth, Node42height]); Node42.a('node.color','rgba(0,0,0,1)'); Node42.a('node.font',' '+ Node42fontSize + 'px "Arial"'); Node42.a('node.textvisible',true); Node42.a('node.linefeed',false); if (false) { Node42.a('node.textfunc',function(g) { g.beginPath(); var str=Node42.a('node.text') || '0'; var color=Node42.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node42width,Node42height,15.99996*_ratio.ratioY,"left",color,' '+ Node42fontSize + 'px "Arial"', 0,g); }); } if (false) { Node42.a('node.underlinepoints',[Node42lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node42fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node42fontSize + 'px "Arial"').width + 6, (Node42height - Node42fontSize) * 0.5*_ratio.ratioY + Node42fontSize + 2 ]); Node42.a('node.underlinevisible',false); Node42.a('node.underlineBorderWidth', 1); } dataModel.add(Node42); zoomNodeList.push({ node: Node42, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node43 = new ht.Node(); var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'center', Node43fontSize = 14.66663*_ratio.ratioY,Node43width = 67*_ratio.ratioX, Node43height = 26*_ratio.ratioY; (function () { if (Node43align === 'left') { Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9; Node43textWidth = Node43width; Node43lineStart = 1; } else if (Node43align === 'right') { Node43textStart = 0; Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2; Node43lineStart = (Node43width - (ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node43align === 'center') { Node43textStart = -3; Node43textWidth = Node43width; Node43lineStart = Node43width - ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width - 11; } })(); Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"')) Node43.setPosition(1726*ratio.ratioX, 86*ratio.ratioY); Node43.setWidth(Node43width); Node43.setHeight(Node43height); Node43._nodeType = 'text'; Node43._disallowEvert = true; Node43.setRotation(0*Math.PI/180); Node43.a('node.width', Node43width); Node43.a('node.height', Node43height); Node43.a('node.rect', [0, 0, Node43width, Node43height]); Node43.a('node.bordercolor','rgba(105,105,105,1)'); Node43.a('node.borderwidth', 0); Node43.a('node.background','' || 'rgba(0,0,0,0)'); Node43.a('node.gradient',''); Node43.a('node.gradientcolor',''); Node43.a('node.text','台'); Node43.a('node.textalign','center'); Node43.a('node.textvAlign','middle'); Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]); Node43.a('node.color','rgba(105,105,105,1)'); Node43.a('node.font',' '+ Node43fontSize + 'px "Arial"'); Node43.a('node.textvisible',true); Node43.a('node.linefeed',false); if (false) { Node43.a('node.textfunc',function(g) { g.beginPath(); var str=Node43.a('node.text') || '台'; var color=Node43.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node43width,Node43height,14.66663*_ratio.ratioY,"center",color,' '+ Node43fontSize + 'px "Arial"', 0,g); }); } if (false) { Node43.a('node.underlinepoints',[Node43lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node43fontSize + 'px "Arial"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]); Node43.a('node.underlinevisible',false); Node43.a('node.underlineBorderWidth', 1); } dataModel.add(Node43); zoomNodeList.push({ node: Node43, borderWidth: 0, attr: 'node.borderwidth' }); var Node44; (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//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg'); Node44 = new ht.Node(); Node44.setPosition(1615*ratio.ratioX, 70*ratio.ratioY); Node44.setSize(9*ratioX, 60*ratioY); Node44.setImage('imgimage//page_list_box_left_green.jpg'); Node44.setRotation(0*Math.PI/180); Node44._zoomBy = 'Default'; Node44._nodeType = 'image'; Node44._disallowEvert = true; dataModel.add(Node44); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node45type = 'rect'; var Node45 = new ht.Node(), Node45BorderWidth = 1*2; if (Node45type === 'arc') { Node45BorderWidth *= 1; } Node45.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node45.setPosition(1684*ratio.ratioX, 70*ratio.ratioY); Node45.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node45.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node45.a('node.width', 127*_ratio.ratioX); Node45.a('node.height', 60.81538*_ratio.ratioY); Node45.a('node.type', Node45type); Node45.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node45.a('node.background', 'rgba(255,255,255,0.003921569)'); Node45.a('node.gradientcolor', ''); Node45.a('node.gradient', ''); Node45.a('node.borderwidth', Node45BorderWidth); Node45.a('node.color', 'rgba(128,128,128,1)'); Node45.a('node.fillrect', [0,0,0,0]); Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node45.a('node.fillgradient', ''); if (Node45type !== 'rect') { Node45.a('node.arcFrom', parseFloat('@arcFrom@')); Node45.a('node.arcTo', parseFloat('@arcTo@')); Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node45type === 'arc') { Node45.a('node.arcOval', true); } Node45.setRotation(0*Math.PI/180); Node45.borderWidth = Node45BorderWidth; Node45.borderFillwidth = Node45BorderWidth; dataModel.add(Node45); Node45._nodename = 'Node45' Node45._nodeType = 'rect'; zoomNodeList.push({ node: Node45, 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); } })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node46 = new ht.Node(); var Node46textStart, Node46textWidth, Node46lineStart, Node46align = 'left', Node46fontSize = 15.99996*_ratio.ratioY,Node46width = 29*_ratio.ratioX, Node46height = 25*_ratio.ratioY; (function () { if (Node46align === 'left') { Node46textStart = Node46fontSize * 0.2 > 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9; Node46textWidth = Node46width; Node46lineStart = 1; } else if (Node46align === 'right') { Node46textStart = 0; Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2; Node46lineStart = (Node46width - (ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node46align === 'center') { Node46textStart = -3; Node46textWidth = Node46width; Node46lineStart = Node46width - ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width - 11; } })(); Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"')) Node46.setPosition(1647*ratio.ratioX, 85*ratio.ratioY); Node46.setWidth(Node46width); Node46.setHeight(Node46height); Node46._nodeType = 'text'; Node46._disallowEvert = true; Node46.setRotation(0*Math.PI/180); Node46.a('node.width', Node46width); Node46.a('node.height', Node46height); Node46.a('node.rect', [0, 0, Node46width, Node46height]); Node46.a('node.bordercolor','rgba(0,0,0,1)'); Node46.a('node.borderwidth', 0); Node46.a('node.background','' || 'rgba(0,0,0,0)'); Node46.a('node.gradient',''); Node46.a('node.gradientcolor',''); Node46.a('node.text','0'); Node46.a('node.textalign','left'); Node46.a('node.textvAlign','middle'); Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]); Node46.a('node.color','rgba(0,0,0,1)'); Node46.a('node.font',' '+ Node46fontSize + 'px "Arial"'); Node46.a('node.textvisible',true); Node46.a('node.linefeed',false); if (false) { Node46.a('node.textfunc',function(g) { g.beginPath(); var str=Node46.a('node.text') || '0'; var color=Node46.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node46width,Node46height,15.99996*_ratio.ratioY,"left",color,' '+ Node46fontSize + 'px "Arial"', 0,g); }); } if (false) { Node46.a('node.underlinepoints',[Node46lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node46fontSize + 'px "Arial"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]); Node46.a('node.underlinevisible',false); Node46.a('node.underlineBorderWidth', 1); } dataModel.add(Node46); zoomNodeList.push({ node: Node46, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node47 = new ht.Node(); var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'center', Node47fontSize = 14.66663*_ratio.ratioY,Node47width = 67*_ratio.ratioX, Node47height = 26*_ratio.ratioY; (function () { if (Node47align === 'left') { Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9; Node47textWidth = Node47width; Node47lineStart = 1; } else if (Node47align === 'right') { Node47textStart = 0; Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2; Node47lineStart = (Node47width - (ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node47align === 'center') { Node47textStart = -3; Node47textWidth = Node47width; Node47lineStart = Node47width - ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width - 11; } })(); Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"')) Node47.setPosition(1726*ratio.ratioX, 147*ratio.ratioY); Node47.setWidth(Node47width); Node47.setHeight(Node47height); Node47._nodeType = 'text'; Node47._disallowEvert = true; Node47.setRotation(0*Math.PI/180); Node47.a('node.width', Node47width); Node47.a('node.height', Node47height); Node47.a('node.rect', [0, 0, Node47width, Node47height]); Node47.a('node.bordercolor','rgba(105,105,105,1)'); Node47.a('node.borderwidth', 0); Node47.a('node.background','' || 'rgba(0,0,0,0)'); Node47.a('node.gradient',''); Node47.a('node.gradientcolor',''); Node47.a('node.text','台'); Node47.a('node.textalign','center'); Node47.a('node.textvAlign','middle'); Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]); Node47.a('node.color','rgba(105,105,105,1)'); Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"'); Node47.a('node.textvisible',true); Node47.a('node.linefeed',false); if (false) { Node47.a('node.textfunc',function(g) { g.beginPath(); var str=Node47.a('node.text') || '台'; var color=Node47.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node47width,Node47height,14.66663*_ratio.ratioY,"center",color,' '+ Node47fontSize + 'px "Arial"', 0,g); }); } if (false) { Node47.a('node.underlinepoints',[Node47lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]); Node47.a('node.underlinevisible',false); Node47.a('node.underlineBorderWidth', 1); } dataModel.add(Node47); zoomNodeList.push({ node: Node47, borderWidth: 0, attr: 'node.borderwidth' }); var Node48; (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//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg'); Node48 = new ht.Node(); Node48.setPosition(1615*ratio.ratioX, 131*ratio.ratioY); Node48.setSize(9*ratioX, 60*ratioY); Node48.setImage('imgimage//page_list_box_left_pink.jpg'); Node48.setRotation(0*Math.PI/180); Node48._zoomBy = 'Default'; Node48._nodeType = 'image'; Node48._disallowEvert = true; dataModel.add(Node48); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node49type = 'rect'; var Node49 = new ht.Node(), Node49BorderWidth = 1*2; if (Node49type === 'arc') { Node49BorderWidth *= 1; } Node49.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node49type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node49.setPosition(1684*ratio.ratioX, 131*ratio.ratioY); Node49.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node49.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node49.a('node.width', 127*_ratio.ratioX); Node49.a('node.height', 60.81538*_ratio.ratioY); Node49.a('node.type', Node49type); Node49.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node49.a('node.background', 'rgba(255,255,255,0.003921569)'); Node49.a('node.gradientcolor', ''); Node49.a('node.gradient', ''); Node49.a('node.borderwidth', Node49BorderWidth); Node49.a('node.color', 'rgba(128,128,128,1)'); Node49.a('node.fillrect', [0,0,0,0]); Node49.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node49.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node49.a('node.fillgradient', ''); if (Node49type !== 'rect') { Node49.a('node.arcFrom', parseFloat('@arcFrom@')); Node49.a('node.arcTo', parseFloat('@arcTo@')); Node49.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node49type === 'arc') { Node49.a('node.arcOval', true); } Node49.setRotation(0*Math.PI/180); Node49.borderWidth = Node49BorderWidth; Node49.borderFillwidth = Node49BorderWidth; dataModel.add(Node49); Node49._nodename = 'Node49' Node49._nodeType = 'rect'; zoomNodeList.push({ node: Node49, 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); } })(Node49, Node49.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50 = new ht.Node(); var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 47*_ratio.ratioX, Node50height = 38*_ratio.ratioY; (function () { if (Node50align === 'left') { Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9; Node50textWidth = Node50width; Node50lineStart = 1; } else if (Node50align === 'right') { Node50textStart = 0; Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2; Node50lineStart = (Node50width - (ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node50align === 'center') { Node50textStart = -3; Node50textWidth = Node50width; Node50lineStart = Node50width - ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width - 11; } })(); Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, 'bold '+ Node50fontSize + 'px "Arial"')) Node50.setPosition(1646*ratio.ratioX, 114*ratio.ratioY); Node50.setWidth(Node50width); Node50.setHeight(Node50height); Node50._nodeType = 'text'; Node50._disallowEvert = true; Node50.setRotation(0*Math.PI/180); Node50.a('node.width', Node50width); Node50.a('node.height', Node50height); Node50.a('node.rect', [0, 0, Node50width, Node50height]); Node50.a('node.bordercolor','rgba(0,0,0,1)'); Node50.a('node.borderwidth', 0); Node50.a('node.background','' || 'rgba(0,0,0,0)'); Node50.a('node.gradient',''); Node50.a('node.gradientcolor',''); Node50.a('node.text','限电'); Node50.a('node.textalign','left'); Node50.a('node.textvAlign','middle'); Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]); Node50.a('node.color','rgba(0,0,0,1)'); Node50.a('node.font','bold '+ Node50fontSize + 'px "Arial"'); Node50.a('node.textvisible',true); Node50.a('node.linefeed',false); if (false) { Node50.a('node.textfunc',function(g) { g.beginPath(); var str=Node50.a('node.text') || '限电'; var color=Node50.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node50fontSize + 'px "Arial"', 0,g); }); } if (false) { Node50.a('node.underlinepoints',[Node50lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]); Node50.a('node.underlinevisible',false); Node50.a('node.underlineBorderWidth', 1); } dataModel.add(Node50); zoomNodeList.push({ node: Node50, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node51 = new ht.Node(); var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 15.99996*_ratio.ratioY,Node51width = 29*_ratio.ratioX, Node51height = 25*_ratio.ratioY; (function () { if (Node51align === 'left') { Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9; Node51textWidth = Node51width; Node51lineStart = 1; } else if (Node51align === 'right') { Node51textStart = 0; Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2; Node51lineStart = (Node51width - (ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node51align === 'center') { Node51textStart = -3; Node51textWidth = Node51width; Node51lineStart = Node51width - ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width - 11; } })(); Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"')) Node51.setPosition(1647*ratio.ratioX, 146*ratio.ratioY); Node51.setWidth(Node51width); Node51.setHeight(Node51height); Node51._nodeType = 'text'; Node51._disallowEvert = true; Node51.setRotation(0*Math.PI/180); Node51.a('node.width', Node51width); Node51.a('node.height', Node51height); Node51.a('node.rect', [0, 0, Node51width, Node51height]); Node51.a('node.bordercolor','rgba(0,0,0,1)'); Node51.a('node.borderwidth', 0); Node51.a('node.background','' || 'rgba(0,0,0,0)'); Node51.a('node.gradient',''); Node51.a('node.gradientcolor',''); Node51.a('node.text','0'); Node51.a('node.textalign','left'); Node51.a('node.textvAlign','middle'); Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]); Node51.a('node.color','rgba(0,0,0,1)'); Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"'); Node51.a('node.textvisible',true); Node51.a('node.linefeed',false); if (false) { Node51.a('node.textfunc',function(g) { g.beginPath(); var str=Node51.a('node.text') || '0'; var color=Node51.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node51width,Node51height,15.99996*_ratio.ratioY,"left",color,' '+ Node51fontSize + 'px "Arial"', 0,g); }); } if (false) { Node51.a('node.underlinepoints',[Node51lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]); Node51.a('node.underlinevisible',false); Node51.a('node.underlineBorderWidth', 1); } dataModel.add(Node51); zoomNodeList.push({ node: Node51, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node52type = 'rect'; var Node52 = new ht.Node(), Node52BorderWidth = 1*2; if (Node52type === 'arc') { Node52BorderWidth *= 1; } Node52.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node52.setPosition(248*ratio.ratioX, 100*ratio.ratioY); Node52.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node52.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node52.a('node.width', 121*_ratio.ratioX); Node52.a('node.height', 24.33138*_ratio.ratioY); Node52.a('node.type', Node52type); Node52.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node52.a('node.background', 'rgba(240,240,240,1)'); Node52.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node52.a('node.gradient', ''); Node52.a('node.borderwidth', Node52BorderWidth); Node52.a('node.color', 'rgba(224,224,224,1)'); Node52.a('node.fillrect', [0,0,0,0]); Node52.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node52.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node52.a('node.fillgradient', ''); if (Node52type !== 'rect') { Node52.a('node.arcFrom', parseFloat('@arcFrom@')); Node52.a('node.arcTo', parseFloat('@arcTo@')); Node52.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node52type === 'arc') { Node52.a('node.arcOval', true); } Node52.setRotation(0*Math.PI/180); Node52.borderWidth = Node52BorderWidth; Node52.borderFillwidth = Node52BorderWidth; dataModel.add(Node52); Node52._nodename = 'Node52' Node52._nodeType = 'rect'; zoomNodeList.push({ node: Node52, 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); } })(Node52, Node52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node53type = 'rect'; var Node53 = new ht.Node(), Node53BorderWidth = 1*2; if (Node53type === 'arc') { Node53BorderWidth *= 1; } Node53.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node53type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node53.setPosition(248*ratio.ratioX, 76*ratio.ratioY); Node53.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node53.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node53.a('node.width', 121*_ratio.ratioX); Node53.a('node.height', 24.33138*_ratio.ratioY); Node53.a('node.type', Node53type); Node53.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node53.a('node.background', 'rgba(240,240,240,1)'); Node53.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node53.a('node.gradient', ''); Node53.a('node.borderwidth', Node53BorderWidth); Node53.a('node.color', 'rgba(224,224,224,1)'); Node53.a('node.fillrect', [0,0,0,0]); Node53.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node53.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node53.a('node.fillgradient', ''); if (Node53type !== 'rect') { Node53.a('node.arcFrom', parseFloat('@arcFrom@')); Node53.a('node.arcTo', parseFloat('@arcTo@')); Node53.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node53type === 'arc') { Node53.a('node.arcOval', true); } Node53.setRotation(0*Math.PI/180); Node53.borderWidth = Node53BorderWidth; Node53.borderFillwidth = Node53BorderWidth; dataModel.add(Node53); Node53._nodename = 'Node53' Node53._nodeType = 'rect'; zoomNodeList.push({ node: Node53, 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); } })(Node53, Node53.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node54type = 'rect'; var Node54 = new ht.Node(), Node54BorderWidth = 1*2; if (Node54type === 'arc') { Node54BorderWidth *= 1; } Node54.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node54.setPosition(248*ratio.ratioX, 125*ratio.ratioY); Node54.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node54.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node54.a('node.width', 121*_ratio.ratioX); Node54.a('node.height', 24.33136*_ratio.ratioY); Node54.a('node.type', Node54type); Node54.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node54.a('node.background', 'rgba(240,240,240,1)'); Node54.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node54.a('node.gradient', ''); Node54.a('node.borderwidth', Node54BorderWidth); Node54.a('node.color', 'rgba(224,224,224,1)'); Node54.a('node.fillrect', [0,0,0,0]); Node54.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node54.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node54.a('node.fillgradient', ''); if (Node54type !== 'rect') { Node54.a('node.arcFrom', parseFloat('@arcFrom@')); Node54.a('node.arcTo', parseFloat('@arcTo@')); Node54.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node54type === 'arc') { Node54.a('node.arcOval', true); } Node54.setRotation(0*Math.PI/180); Node54.borderWidth = Node54BorderWidth; Node54.borderFillwidth = Node54BorderWidth; dataModel.add(Node54); Node54._nodename = 'Node54' Node54._nodeType = 'rect'; zoomNodeList.push({ node: Node54, 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); } })(Node54, Node54.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node55type = 'rect'; var Node55 = new ht.Node(), Node55BorderWidth = 1*2; if (Node55type === 'arc') { Node55BorderWidth *= 1; } Node55.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node55type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node55.setPosition(248*ratio.ratioX, 52*ratio.ratioY); Node55.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node55.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node55.a('node.width', 121*_ratio.ratioX); Node55.a('node.height', 24.33136*_ratio.ratioY); Node55.a('node.type', Node55type); Node55.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node55.a('node.background', 'rgba(240,240,240,1)'); Node55.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node55.a('node.gradient', ''); Node55.a('node.borderwidth', Node55BorderWidth); Node55.a('node.color', 'rgba(224,224,224,1)'); Node55.a('node.fillrect', [0,0,0,0]); Node55.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node55.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node55.a('node.fillgradient', ''); if (Node55type !== 'rect') { Node55.a('node.arcFrom', parseFloat('@arcFrom@')); Node55.a('node.arcTo', parseFloat('@arcTo@')); Node55.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node55type === 'arc') { Node55.a('node.arcOval', true); } Node55.setRotation(0*Math.PI/180); Node55.borderWidth = Node55BorderWidth; Node55.borderFillwidth = Node55BorderWidth; dataModel.add(Node55); Node55._nodename = 'Node55' Node55._nodeType = 'rect'; zoomNodeList.push({ node: Node55, 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); } })(Node55, Node55.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node56type = 'rect'; var Node56 = new ht.Node(), Node56BorderWidth = 1*2; if (Node56type === 'arc') { Node56BorderWidth *= 1; } Node56.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node56type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node56.setPosition(248*ratio.ratioX, 149*ratio.ratioY); Node56.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node56.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node56.a('node.width', 121*_ratio.ratioX); Node56.a('node.height', 24.33138*_ratio.ratioY); Node56.a('node.type', Node56type); Node56.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node56.a('node.background', 'rgba(240,240,240,1)'); Node56.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node56.a('node.gradient', ''); Node56.a('node.borderwidth', Node56BorderWidth); Node56.a('node.color', 'rgba(224,224,224,1)'); Node56.a('node.fillrect', [0,0,0,0]); Node56.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node56.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node56.a('node.fillgradient', ''); if (Node56type !== 'rect') { Node56.a('node.arcFrom', parseFloat('@arcFrom@')); Node56.a('node.arcTo', parseFloat('@arcTo@')); Node56.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node56type === 'arc') { Node56.a('node.arcOval', true); } Node56.setRotation(0*Math.PI/180); Node56.borderWidth = Node56BorderWidth; Node56.borderFillwidth = Node56BorderWidth; dataModel.add(Node56); Node56._nodename = 'Node56' Node56._nodeType = 'rect'; zoomNodeList.push({ node: Node56, 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); } })(Node56, Node56.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node57 = new ht.Node(); var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 61*_ratio.ratioX, Node57height = 26*_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('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node57align === 'center') { Node57textStart = -3; Node57textWidth = Node57width; Node57lineStart = Node57width - ht.Default.getTextSize('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width - 11; } })(); Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "微软雅黑"')) Node57.setPosition(222*ratio.ratioX, 78*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','功率'); 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 "微软雅黑"'); 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') || '功率'; var color=Node57.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node57.a('node.underlinepoints',[Node57lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]); Node57.a('node.underlinevisible',false); Node57.a('node.underlineBorderWidth', 1); } dataModel.add(Node57); zoomNodeList.push({ node: Node57, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node58 = new ht.Node(); var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 61*_ratio.ratioX, Node58height = 26*_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('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node58align === 'center') { Node58textStart = -3; Node58textWidth = Node58width; Node58lineStart = Node58width - ht.Default.getTextSize('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width - 11; } })(); Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "微软雅黑"')) Node58.setPosition(222*ratio.ratioX, 102*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(0,0,0,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(0,0,0,1)'); Node58.a('node.font',' '+ Node58fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node58.a('node.underlinepoints',[Node58lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]); Node58.a('node.underlinevisible',false); Node58.a('node.underlineBorderWidth', 1); } dataModel.add(Node58); zoomNodeList.push({ node: Node58, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node59 = new ht.Node(); var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 77*_ratio.ratioX, Node59height = 26*_ratio.ratioY; (function () { if (Node59align === 'left') { Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9; Node59textWidth = Node59width; Node59lineStart = 1; } else if (Node59align === 'right') { Node59textStart = 0; Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2; Node59lineStart = (Node59width - (ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node59align === 'center') { Node59textStart = -3; Node59textWidth = Node59width; Node59lineStart = Node59width - ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').width - 11; } })(); Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "微软雅黑"')) Node59.setPosition(228*ratio.ratioX, 127*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(0,0,0,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(0,0,0,1)'); Node59.a('node.font',' '+ Node59fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node59.a('node.underlinepoints',[Node59lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node59fontSize + 'px "微软雅黑"').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 Node60type = 'rect'; var Node60 = new ht.Node(), Node60BorderWidth = 1*2; if (Node60type === 'arc') { Node60BorderWidth *= 1; } Node60.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node60type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node60.setPosition(532*ratio.ratioX, 100*ratio.ratioY); Node60.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node60.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node60.a('node.width', 121*_ratio.ratioX); Node60.a('node.height', 24.33138*_ratio.ratioY); Node60.a('node.type', Node60type); Node60.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node60.a('node.background', 'rgba(240,240,240,1)'); Node60.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node60.a('node.gradient', ''); Node60.a('node.borderwidth', Node60BorderWidth); Node60.a('node.color', 'rgba(224,224,224,1)'); Node60.a('node.fillrect', [0,0,0,0]); Node60.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node60.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node60.a('node.fillgradient', ''); if (Node60type !== 'rect') { Node60.a('node.arcFrom', parseFloat('@arcFrom@')); Node60.a('node.arcTo', parseFloat('@arcTo@')); Node60.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node60type === 'arc') { Node60.a('node.arcOval', true); } Node60.setRotation(0*Math.PI/180); Node60.borderWidth = Node60BorderWidth; Node60.borderFillwidth = Node60BorderWidth; dataModel.add(Node60); Node60._nodename = 'Node60' Node60._nodeType = 'rect'; zoomNodeList.push({ node: Node60, 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); } })(Node60, Node60.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node61type = 'rect'; var Node61 = new ht.Node(), Node61BorderWidth = 1*2; if (Node61type === 'arc') { Node61BorderWidth *= 1; } Node61.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node61type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node61.setPosition(532*ratio.ratioX, 76*ratio.ratioY); Node61.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node61.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node61.a('node.width', 121*_ratio.ratioX); Node61.a('node.height', 24.33138*_ratio.ratioY); Node61.a('node.type', Node61type); Node61.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node61.a('node.background', 'rgba(240,240,240,1)'); Node61.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node61.a('node.gradient', ''); Node61.a('node.borderwidth', Node61BorderWidth); Node61.a('node.color', 'rgba(224,224,224,1)'); Node61.a('node.fillrect', [0,0,0,0]); Node61.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node61.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node61.a('node.fillgradient', ''); if (Node61type !== 'rect') { Node61.a('node.arcFrom', parseFloat('@arcFrom@')); Node61.a('node.arcTo', parseFloat('@arcTo@')); Node61.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node61type === 'arc') { Node61.a('node.arcOval', true); } Node61.setRotation(0*Math.PI/180); Node61.borderWidth = Node61BorderWidth; Node61.borderFillwidth = Node61BorderWidth; dataModel.add(Node61); Node61._nodename = 'Node61' Node61._nodeType = 'rect'; zoomNodeList.push({ node: Node61, 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); } })(Node61, Node61.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node62type = 'rect'; var Node62 = new ht.Node(), Node62BorderWidth = 1*2; if (Node62type === 'arc') { Node62BorderWidth *= 1; } Node62.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node62type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node62.setPosition(532*ratio.ratioX, 125*ratio.ratioY); Node62.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node62.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node62.a('node.width', 121*_ratio.ratioX); Node62.a('node.height', 24.33136*_ratio.ratioY); Node62.a('node.type', Node62type); Node62.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node62.a('node.background', 'rgba(240,240,240,1)'); Node62.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node62.a('node.gradient', ''); Node62.a('node.borderwidth', Node62BorderWidth); Node62.a('node.color', 'rgba(224,224,224,1)'); Node62.a('node.fillrect', [0,0,0,0]); Node62.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node62.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node62.a('node.fillgradient', ''); if (Node62type !== 'rect') { Node62.a('node.arcFrom', parseFloat('@arcFrom@')); Node62.a('node.arcTo', parseFloat('@arcTo@')); Node62.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node62type === 'arc') { Node62.a('node.arcOval', true); } Node62.setRotation(0*Math.PI/180); Node62.borderWidth = Node62BorderWidth; Node62.borderFillwidth = Node62BorderWidth; dataModel.add(Node62); Node62._nodename = 'Node62' Node62._nodeType = 'rect'; zoomNodeList.push({ node: Node62, 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); } })(Node62, Node62.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node63type = 'rect'; var Node63 = new ht.Node(), Node63BorderWidth = 1*2; if (Node63type === 'arc') { Node63BorderWidth *= 1; } Node63.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node63.setPosition(532*ratio.ratioX, 52*ratio.ratioY); Node63.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node63.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node63.a('node.width', 121*_ratio.ratioX); Node63.a('node.height', 24.33136*_ratio.ratioY); Node63.a('node.type', Node63type); Node63.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node63.a('node.background', 'rgba(240,240,240,1)'); Node63.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node63.a('node.gradient', ''); Node63.a('node.borderwidth', Node63BorderWidth); Node63.a('node.color', 'rgba(224,224,224,1)'); Node63.a('node.fillrect', [0,0,0,0]); Node63.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node63.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node63.a('node.fillgradient', ''); if (Node63type !== 'rect') { Node63.a('node.arcFrom', parseFloat('@arcFrom@')); Node63.a('node.arcTo', parseFloat('@arcTo@')); Node63.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node63type === 'arc') { Node63.a('node.arcOval', true); } Node63.setRotation(0*Math.PI/180); Node63.borderWidth = Node63BorderWidth; Node63.borderFillwidth = Node63BorderWidth; dataModel.add(Node63); Node63._nodename = 'Node63' Node63._nodeType = 'rect'; zoomNodeList.push({ node: Node63, 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); } })(Node63, Node63.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node64type = 'rect'; var Node64 = new ht.Node(), Node64BorderWidth = 1*2; if (Node64type === 'arc') { Node64BorderWidth *= 1; } Node64.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node64type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node64.setPosition(532*ratio.ratioX, 149*ratio.ratioY); Node64.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node64.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node64.a('node.width', 121*_ratio.ratioX); Node64.a('node.height', 24.33138*_ratio.ratioY); Node64.a('node.type', Node64type); Node64.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node64.a('node.background', 'rgba(240,240,240,1)'); Node64.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node64.a('node.gradient', ''); Node64.a('node.borderwidth', Node64BorderWidth); Node64.a('node.color', 'rgba(224,224,224,1)'); Node64.a('node.fillrect', [0,0,0,0]); Node64.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node64.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node64.a('node.fillgradient', ''); if (Node64type !== 'rect') { Node64.a('node.arcFrom', parseFloat('@arcFrom@')); Node64.a('node.arcTo', parseFloat('@arcTo@')); Node64.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node64type === 'arc') { Node64.a('node.arcOval', true); } Node64.setRotation(0*Math.PI/180); Node64.borderWidth = Node64BorderWidth; Node64.borderFillwidth = Node64BorderWidth; dataModel.add(Node64); Node64._nodename = 'Node64' Node64._nodeType = 'rect'; zoomNodeList.push({ node: Node64, 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); } })(Node64, Node64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node65 = new ht.Node(); var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'center', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 113*_ratio.ratioX, Node65height = 26*_ratio.ratioY; (function () { if (Node65align === 'left') { Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9; Node65textWidth = Node65width; Node65lineStart = 1; } else if (Node65align === 'right') { Node65textStart = 0; Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2; Node65lineStart = (Node65width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node65align === 'center') { Node65textStart = -3; Node65textWidth = Node65width; Node65lineStart = Node65width - ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width - 11; } })(); Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "微软雅黑"')) Node65.setPosition(532*ratio.ratioX, 54*ratio.ratioY); Node65.setWidth(Node65width); Node65.setHeight(Node65height); Node65._nodeType = 'text'; Node65._disallowEvert = true; Node65.setRotation(0*Math.PI/180); Node65.a('node.width', Node65width); Node65.a('node.height', Node65height); Node65.a('node.rect', [0, 0, Node65width, Node65height]); Node65.a('node.bordercolor','rgba(0,0,0,1)'); Node65.a('node.borderwidth', 0); Node65.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node65.a('node.gradient',''); Node65.a('node.gradientcolor','rgba(255,255,255,0)'); Node65.a('node.text','日维护损失电量'); Node65.a('node.textalign','center'); Node65.a('node.textvAlign','middle'); Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]); Node65.a('node.color','rgba(0,0,0,1)'); Node65.a('node.font',' '+ Node65fontSize + 'px "微软雅黑"'); Node65.a('node.textvisible',true); Node65.a('node.linefeed',false); if (false) { Node65.a('node.textfunc',function(g) { g.beginPath(); var str=Node65.a('node.text') || '日维护损失电量'; var color=Node65.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"center",color,' '+ Node65fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node65.a('node.underlinepoints',[Node65lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node65fontSize + 'px "微软雅黑"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]); Node65.a('node.underlinevisible',false); Node65.a('node.underlineBorderWidth', 1); } dataModel.add(Node65); zoomNodeList.push({ node: Node65, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node66 = new ht.Node(); var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'center', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 113*_ratio.ratioX, Node66height = 26*_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('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node66align === 'center') { Node66textStart = -3; Node66textWidth = Node66width; Node66lineStart = Node66width - ht.Default.getTextSize('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').width - 11; } })(); Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "微软雅黑"')) Node66.setPosition(533*ratio.ratioX, 78*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(0,0,0,1)'); Node66.a('node.borderwidth', 0); Node66.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node66.a('node.gradient',''); Node66.a('node.gradientcolor','rgba(255,255,255,0)'); Node66.a('node.text','日故障损失电量'); Node66.a('node.textalign','center'); Node66.a('node.textvAlign','middle'); Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]); Node66.a('node.color','rgba(0,0,0,1)'); Node66.a('node.font',' '+ Node66fontSize + 'px "微软雅黑"'); 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') || '日故障损失电量'; var color=Node66.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"center",color,' '+ Node66fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node66.a('node.underlinepoints',[Node66lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node66fontSize + 'px "微软雅黑"').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 Node67 = new ht.Node(); var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'center', Node67fontSize = 13.3333*_ratio.ratioY,Node67width = 113*_ratio.ratioX, Node67height = 26*_ratio.ratioY; (function () { if (Node67align === 'left') { Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9; Node67textWidth = Node67width; Node67lineStart = 1; } else if (Node67align === 'right') { Node67textStart = 0; Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2; Node67lineStart = (Node67width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node67align === 'center') { Node67textStart = -3; Node67textWidth = Node67width; Node67lineStart = Node67width - ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width - 11; } })(); Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "微软雅黑"')) Node67.setPosition(533*ratio.ratioX, 103*ratio.ratioY); Node67.setWidth(Node67width); Node67.setHeight(Node67height); Node67._nodeType = 'text'; Node67._disallowEvert = true; Node67.setRotation(0*Math.PI/180); Node67.a('node.width', Node67width); Node67.a('node.height', Node67height); Node67.a('node.rect', [0, 0, Node67width, Node67height]); Node67.a('node.bordercolor','rgba(0,0,0,1)'); Node67.a('node.borderwidth', 0); Node67.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node67.a('node.gradient',''); Node67.a('node.gradientcolor','rgba(255,255,255,0)'); Node67.a('node.text','日限电损失电量'); Node67.a('node.textalign','center'); Node67.a('node.textvAlign','middle'); Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]); Node67.a('node.color','rgba(0,0,0,1)'); Node67.a('node.font',' '+ Node67fontSize + 'px "微软雅黑"'); Node67.a('node.textvisible',true); Node67.a('node.linefeed',false); if (false) { Node67.a('node.textfunc',function(g) { g.beginPath(); var str=Node67.a('node.text') || '日限电损失电量'; var color=Node67.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node67width,Node67height,13.3333*_ratio.ratioY,"center",color,' '+ Node67fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node67.a('node.underlinepoints',[Node67lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node67fontSize + 'px "微软雅黑"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]); Node67.a('node.underlinevisible',false); Node67.a('node.underlineBorderWidth', 1); } dataModel.add(Node67); zoomNodeList.push({ node: Node67, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node68 = new ht.Node(); var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'center', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 113*_ratio.ratioX, Node68height = 26*_ratio.ratioY; (function () { if (Node68align === 'left') { Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9; Node68textWidth = Node68width; Node68lineStart = 1; } else if (Node68align === 'right') { Node68textStart = 0; Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2; Node68lineStart = (Node68width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node68align === 'center') { Node68textStart = -3; Node68textWidth = Node68width; Node68lineStart = Node68width - ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width - 11; } })(); Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "微软雅黑"')) Node68.setPosition(533*ratio.ratioX, 127*ratio.ratioY); Node68.setWidth(Node68width); Node68.setHeight(Node68height); Node68._nodeType = 'text'; Node68._disallowEvert = true; Node68.setRotation(0*Math.PI/180); Node68.a('node.width', Node68width); Node68.a('node.height', Node68height); Node68.a('node.rect', [0, 0, Node68width, Node68height]); Node68.a('node.bordercolor','rgba(0,0,0,1)'); Node68.a('node.borderwidth', 0); Node68.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node68.a('node.gradient',''); Node68.a('node.gradientcolor','rgba(255,255,255,0)'); Node68.a('node.text','日受累损失电量'); Node68.a('node.textalign','center'); Node68.a('node.textvAlign','middle'); Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]); Node68.a('node.color','rgba(0,0,0,1)'); Node68.a('node.font',' '+ Node68fontSize + 'px "微软雅黑"'); Node68.a('node.textvisible',true); Node68.a('node.linefeed',false); if (false) { Node68.a('node.textfunc',function(g) { g.beginPath(); var str=Node68.a('node.text') || '日受累损失电量'; var color=Node68.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"center",color,' '+ Node68fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node68.a('node.underlinepoints',[Node68lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node68fontSize + 'px "微软雅黑"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]); Node68.a('node.underlinevisible',false); Node68.a('node.underlineBorderWidth', 1); } dataModel.add(Node68); zoomNodeList.push({ node: Node68, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node69type = 'rect'; var Node69 = new ht.Node(), Node69BorderWidth = 1*2; if (Node69type === 'arc') { Node69BorderWidth *= 1; } Node69.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node69.setPosition(813*ratio.ratioX, 100*ratio.ratioY); Node69.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node69.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node69.a('node.width', 117*_ratio.ratioX); Node69.a('node.height', 24.33138*_ratio.ratioY); Node69.a('node.type', Node69type); Node69.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node69.a('node.background', 'rgba(240,240,240,1)'); Node69.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node69.a('node.gradient', ''); Node69.a('node.borderwidth', Node69BorderWidth); Node69.a('node.color', 'rgba(224,224,224,1)'); Node69.a('node.fillrect', [0,0,0,0]); Node69.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node69.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node69.a('node.fillgradient', ''); if (Node69type !== 'rect') { Node69.a('node.arcFrom', parseFloat('@arcFrom@')); Node69.a('node.arcTo', parseFloat('@arcTo@')); Node69.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node69type === 'arc') { Node69.a('node.arcOval', true); } Node69.setRotation(0*Math.PI/180); Node69.borderWidth = Node69BorderWidth; Node69.borderFillwidth = Node69BorderWidth; dataModel.add(Node69); Node69._nodename = 'Node69' Node69._nodeType = 'rect'; zoomNodeList.push({ node: Node69, 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); } })(Node69, Node69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node70type = 'rect'; var Node70 = new ht.Node(), Node70BorderWidth = 1*2; if (Node70type === 'arc') { Node70BorderWidth *= 1; } Node70.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node70.setPosition(813*ratio.ratioX, 76*ratio.ratioY); Node70.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node70.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node70.a('node.width', 117*_ratio.ratioX); Node70.a('node.height', 24.33138*_ratio.ratioY); Node70.a('node.type', Node70type); Node70.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node70.a('node.background', 'rgba(240,240,240,1)'); Node70.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node70.a('node.gradient', ''); Node70.a('node.borderwidth', Node70BorderWidth); Node70.a('node.color', 'rgba(224,224,224,1)'); Node70.a('node.fillrect', [0,0,0,0]); Node70.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node70.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node70.a('node.fillgradient', ''); if (Node70type !== 'rect') { Node70.a('node.arcFrom', parseFloat('@arcFrom@')); Node70.a('node.arcTo', parseFloat('@arcTo@')); Node70.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node70type === 'arc') { Node70.a('node.arcOval', true); } Node70.setRotation(0*Math.PI/180); Node70.borderWidth = Node70BorderWidth; Node70.borderFillwidth = Node70BorderWidth; dataModel.add(Node70); Node70._nodename = 'Node70' Node70._nodeType = 'rect'; zoomNodeList.push({ node: Node70, 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); } })(Node70, Node70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node71type = 'rect'; var Node71 = new ht.Node(), Node71BorderWidth = 1*2; if (Node71type === 'arc') { Node71BorderWidth *= 1; } Node71.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node71type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node71.setPosition(813*ratio.ratioX, 125*ratio.ratioY); Node71.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node71.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node71.a('node.width', 117*_ratio.ratioX); Node71.a('node.height', 24.33136*_ratio.ratioY); Node71.a('node.type', Node71type); Node71.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node71.a('node.background', 'rgba(240,240,240,1)'); Node71.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node71.a('node.gradient', ''); Node71.a('node.borderwidth', Node71BorderWidth); Node71.a('node.color', 'rgba(224,224,224,1)'); Node71.a('node.fillrect', [0,0,0,0]); Node71.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node71.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node71.a('node.fillgradient', ''); if (Node71type !== 'rect') { Node71.a('node.arcFrom', parseFloat('@arcFrom@')); Node71.a('node.arcTo', parseFloat('@arcTo@')); Node71.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node71type === 'arc') { Node71.a('node.arcOval', true); } Node71.setRotation(0*Math.PI/180); Node71.borderWidth = Node71BorderWidth; Node71.borderFillwidth = Node71BorderWidth; dataModel.add(Node71); Node71._nodename = 'Node71' Node71._nodeType = 'rect'; zoomNodeList.push({ node: Node71, 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); } })(Node71, Node71.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node72type = 'rect'; var Node72 = new ht.Node(), Node72BorderWidth = 1*2; if (Node72type === 'arc') { Node72BorderWidth *= 1; } Node72.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node72type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node72.setPosition(813*ratio.ratioX, 52*ratio.ratioY); Node72.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node72.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node72.a('node.width', 117*_ratio.ratioX); Node72.a('node.height', 24.33136*_ratio.ratioY); Node72.a('node.type', Node72type); Node72.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node72.a('node.background', 'rgba(240,240,240,1)'); Node72.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node72.a('node.gradient', ''); Node72.a('node.borderwidth', Node72BorderWidth); Node72.a('node.color', 'rgba(224,224,224,1)'); Node72.a('node.fillrect', [0,0,0,0]); Node72.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node72.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node72.a('node.fillgradient', ''); if (Node72type !== 'rect') { Node72.a('node.arcFrom', parseFloat('@arcFrom@')); Node72.a('node.arcTo', parseFloat('@arcTo@')); Node72.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node72type === 'arc') { Node72.a('node.arcOval', true); } Node72.setRotation(0*Math.PI/180); Node72.borderWidth = Node72BorderWidth; Node72.borderFillwidth = Node72BorderWidth; dataModel.add(Node72); Node72._nodename = 'Node72' Node72._nodeType = 'rect'; zoomNodeList.push({ node: Node72, 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); } })(Node72, Node72.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node73type = 'rect'; var Node73 = new ht.Node(), Node73BorderWidth = 1*2; if (Node73type === 'arc') { Node73BorderWidth *= 1; } Node73.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node73type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node73.setPosition(813*ratio.ratioX, 149*ratio.ratioY); Node73.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node73.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node73.a('node.width', 117*_ratio.ratioX); Node73.a('node.height', 24.33138*_ratio.ratioY); Node73.a('node.type', Node73type); Node73.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node73.a('node.background', 'rgba(240,240,240,1)'); Node73.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node73.a('node.gradient', ''); Node73.a('node.borderwidth', Node73BorderWidth); Node73.a('node.color', 'rgba(224,224,224,1)'); Node73.a('node.fillrect', [0,0,0,0]); Node73.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node73.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node73.a('node.fillgradient', ''); if (Node73type !== 'rect') { Node73.a('node.arcFrom', parseFloat('@arcFrom@')); Node73.a('node.arcTo', parseFloat('@arcTo@')); Node73.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node73type === 'arc') { Node73.a('node.arcOval', true); } Node73.setRotation(0*Math.PI/180); Node73.borderWidth = Node73BorderWidth; Node73.borderFillwidth = Node73BorderWidth; dataModel.add(Node73); Node73._nodename = 'Node73' Node73._nodeType = 'rect'; zoomNodeList.push({ node: Node73, 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); } })(Node73, Node73.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node74 = new ht.Node(); var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'center', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 110*_ratio.ratioX, Node74height = 26*_ratio.ratioY; (function () { if (Node74align === 'left') { Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9; Node74textWidth = Node74width; Node74lineStart = 1; } else if (Node74align === 'right') { Node74textStart = 0; Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2; Node74lineStart = (Node74width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node74align === 'center') { Node74textStart = -3; Node74textWidth = Node74width; Node74lineStart = Node74width - ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width - 11; } })(); Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "微软雅黑"')) Node74.setPosition(813*ratio.ratioX, 54*ratio.ratioY); Node74.setWidth(Node74width); Node74.setHeight(Node74height); Node74._nodeType = 'text'; Node74._disallowEvert = true; Node74.setRotation(0*Math.PI/180); Node74.a('node.width', Node74width); Node74.a('node.height', Node74height); Node74.a('node.rect', [0, 0, Node74width, Node74height]); Node74.a('node.bordercolor','rgba(0,0,0,1)'); Node74.a('node.borderwidth', 0); Node74.a('node.background','' || 'rgba(0,0,0,0)'); Node74.a('node.gradient',''); Node74.a('node.gradientcolor',''); Node74.a('node.text','月维护损失电量'); Node74.a('node.textalign','center'); Node74.a('node.textvAlign','middle'); Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]); Node74.a('node.color','rgba(0,0,0,1)'); Node74.a('node.font',' '+ Node74fontSize + 'px "微软雅黑"'); Node74.a('node.textvisible',true); Node74.a('node.linefeed',false); if (false) { Node74.a('node.textfunc',function(g) { g.beginPath(); var str=Node74.a('node.text') || '月维护损失电量'; var color=Node74.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"center",color,' '+ Node74fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node74.a('node.underlinepoints',[Node74lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]); Node74.a('node.underlinevisible',false); Node74.a('node.underlineBorderWidth', 1); } dataModel.add(Node74); zoomNodeList.push({ node: Node74, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node75 = new ht.Node(); var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'center', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 110*_ratio.ratioX, Node75height = 26*_ratio.ratioY; (function () { if (Node75align === 'left') { Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9; Node75textWidth = Node75width; Node75lineStart = 1; } else if (Node75align === 'right') { Node75textStart = 0; Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2; Node75lineStart = (Node75width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node75align === 'center') { Node75textStart = -3; Node75textWidth = Node75width; Node75lineStart = Node75width - ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width - 11; } })(); Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "微软雅黑"')) Node75.setPosition(813*ratio.ratioX, 78*ratio.ratioY); Node75.setWidth(Node75width); Node75.setHeight(Node75height); Node75._nodeType = 'text'; Node75._disallowEvert = true; Node75.setRotation(0*Math.PI/180); Node75.a('node.width', Node75width); Node75.a('node.height', Node75height); Node75.a('node.rect', [0, 0, Node75width, Node75height]); Node75.a('node.bordercolor','rgba(0,0,0,1)'); Node75.a('node.borderwidth', 0); Node75.a('node.background','' || 'rgba(0,0,0,0)'); Node75.a('node.gradient',''); Node75.a('node.gradientcolor',''); Node75.a('node.text','月故障损失电量'); Node75.a('node.textalign','center'); Node75.a('node.textvAlign','middle'); Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]); Node75.a('node.color','rgba(0,0,0,1)'); Node75.a('node.font',' '+ Node75fontSize + 'px "微软雅黑"'); Node75.a('node.textvisible',true); Node75.a('node.linefeed',false); if (false) { Node75.a('node.textfunc',function(g) { g.beginPath(); var str=Node75.a('node.text') || '月故障损失电量'; var color=Node75.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"center",color,' '+ Node75fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node75.a('node.underlinepoints',[Node75lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]); Node75.a('node.underlinevisible',false); Node75.a('node.underlineBorderWidth', 1); } dataModel.add(Node75); zoomNodeList.push({ node: Node75, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node76 = new ht.Node(); var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'center', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 110*_ratio.ratioX, Node76height = 26*_ratio.ratioY; (function () { if (Node76align === 'left') { Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9; Node76textWidth = Node76width; Node76lineStart = 1; } else if (Node76align === 'right') { Node76textStart = 0; Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2; Node76lineStart = (Node76width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node76align === 'center') { Node76textStart = -3; Node76textWidth = Node76width; Node76lineStart = Node76width - ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').width - 11; } })(); Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "微软雅黑"')) Node76.setPosition(813*ratio.ratioX, 103*ratio.ratioY); Node76.setWidth(Node76width); Node76.setHeight(Node76height); Node76._nodeType = 'text'; Node76._disallowEvert = true; Node76.setRotation(0*Math.PI/180); Node76.a('node.width', Node76width); Node76.a('node.height', Node76height); Node76.a('node.rect', [0, 0, Node76width, Node76height]); Node76.a('node.bordercolor','rgba(0,0,0,1)'); Node76.a('node.borderwidth', 0); Node76.a('node.background','' || 'rgba(0,0,0,0)'); Node76.a('node.gradient',''); Node76.a('node.gradientcolor',''); Node76.a('node.text','月限电损失电量'); Node76.a('node.textalign','center'); Node76.a('node.textvAlign','middle'); Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]); Node76.a('node.color','rgba(0,0,0,1)'); Node76.a('node.font',' '+ Node76fontSize + 'px "微软雅黑"'); Node76.a('node.textvisible',true); Node76.a('node.linefeed',false); if (false) { Node76.a('node.textfunc',function(g) { g.beginPath(); var str=Node76.a('node.text') || '月限电损失电量'; var color=Node76.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"center",color,' '+ Node76fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node76.a('node.underlinepoints',[Node76lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node76fontSize + 'px "微软雅黑"').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 = 'center', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 110*_ratio.ratioX, Node77height = 26*_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 "微软雅黑"').width + 6)) * 0.5; } else if (Node77align === 'center') { Node77textStart = -3; Node77textWidth = Node77width; Node77lineStart = Node77width - ht.Default.getTextSize('月受累损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width - 11; } })(); Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "微软雅黑"')) Node77.setPosition(813*ratio.ratioX, 127*ratio.ratioY); Node77.setWidth(Node77width); Node77.setHeight(Node77height); Node77._nodeType = 'text'; Node77._disallowEvert = true; Node77.setRotation(0*Math.PI/180); Node77.a('node.width', Node77width); Node77.a('node.height', Node77height); Node77.a('node.rect', [0, 0, Node77width, Node77height]); Node77.a('node.bordercolor','rgba(0,0,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','center'); Node77.a('node.textvAlign','middle'); Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]); Node77.a('node.color','rgba(0,0,0,1)'); Node77.a('node.font',' '+ Node77fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"center",color,' '+ Node77fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node77.a('node.underlinepoints',[Node77lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').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 Node78type = 'rect'; var Node78 = new ht.Node(), Node78BorderWidth = 1*2; if (Node78type === 'arc') { Node78BorderWidth *= 1; } Node78.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node78.setPosition(919*ratio.ratioX, 52*ratio.ratioY); Node78.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node78.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node78.a('node.width', 95*_ratio.ratioX); Node78.a('node.height', 24.33136*_ratio.ratioY); Node78.a('node.type', Node78type); Node78.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node78.a('node.background', 'rgba(255,255,255,0.003921569)'); Node78.a('node.gradientcolor', ''); Node78.a('node.gradient', ''); Node78.a('node.borderwidth', Node78BorderWidth); Node78.a('node.color', 'rgba(224,224,224,1)'); Node78.a('node.fillrect', [0,0,0,0]); Node78.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node78.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node78.a('node.fillgradient', ''); if (Node78type !== 'rect') { Node78.a('node.arcFrom', parseFloat('@arcFrom@')); Node78.a('node.arcTo', parseFloat('@arcTo@')); Node78.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node78type === 'arc') { Node78.a('node.arcOval', true); } Node78.setRotation(0*Math.PI/180); Node78.borderWidth = Node78BorderWidth; Node78.borderFillwidth = Node78BorderWidth; dataModel.add(Node78); Node78._nodename = 'Node78' Node78._nodeType = 'rect'; zoomNodeList.push({ node: Node78, 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); } })(Node78, Node78.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node79type = 'rect'; var Node79 = new ht.Node(), Node79BorderWidth = 1*2; if (Node79type === 'arc') { Node79BorderWidth *= 1; } Node79.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node79.setPosition(919*ratio.ratioX, 76*ratio.ratioY); Node79.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node79.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node79.a('node.width', 95*_ratio.ratioX); Node79.a('node.height', 24.33138*_ratio.ratioY); Node79.a('node.type', Node79type); Node79.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node79.a('node.background', 'rgba(255,255,255,0.003921569)'); Node79.a('node.gradientcolor', ''); Node79.a('node.gradient', ''); Node79.a('node.borderwidth', Node79BorderWidth); Node79.a('node.color', 'rgba(224,224,224,1)'); Node79.a('node.fillrect', [0,0,0,0]); Node79.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node79.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node79.a('node.fillgradient', ''); if (Node79type !== 'rect') { Node79.a('node.arcFrom', parseFloat('@arcFrom@')); Node79.a('node.arcTo', parseFloat('@arcTo@')); Node79.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node79type === 'arc') { Node79.a('node.arcOval', true); } Node79.setRotation(0*Math.PI/180); Node79.borderWidth = Node79BorderWidth; Node79.borderFillwidth = Node79BorderWidth; dataModel.add(Node79); Node79._nodename = 'Node79' Node79._nodeType = 'rect'; zoomNodeList.push({ node: Node79, 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); } })(Node79, Node79.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node80type = 'rect'; var Node80 = new ht.Node(), Node80BorderWidth = 1*2; if (Node80type === 'arc') { Node80BorderWidth *= 1; } Node80.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node80type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node80.setPosition(919*ratio.ratioX, 100*ratio.ratioY); Node80.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node80.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node80.a('node.width', 95*_ratio.ratioX); Node80.a('node.height', 24.33138*_ratio.ratioY); Node80.a('node.type', Node80type); Node80.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node80.a('node.background', 'rgba(255,255,255,0.003921569)'); Node80.a('node.gradientcolor', ''); Node80.a('node.gradient', ''); Node80.a('node.borderwidth', Node80BorderWidth); Node80.a('node.color', 'rgba(224,224,224,1)'); Node80.a('node.fillrect', [0,0,0,0]); Node80.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node80.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node80.a('node.fillgradient', ''); if (Node80type !== 'rect') { Node80.a('node.arcFrom', parseFloat('@arcFrom@')); Node80.a('node.arcTo', parseFloat('@arcTo@')); Node80.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node80type === 'arc') { Node80.a('node.arcOval', true); } Node80.setRotation(0*Math.PI/180); Node80.borderWidth = Node80BorderWidth; Node80.borderFillwidth = Node80BorderWidth; dataModel.add(Node80); Node80._nodename = 'Node80' Node80._nodeType = 'rect'; zoomNodeList.push({ node: Node80, 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); } })(Node80, Node80.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node81type = 'rect'; var Node81 = new ht.Node(), Node81BorderWidth = 1*2; if (Node81type === 'arc') { Node81BorderWidth *= 1; } Node81.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node81type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node81.setPosition(919*ratio.ratioX, 125*ratio.ratioY); Node81.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node81.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node81.a('node.width', 95*_ratio.ratioX); Node81.a('node.height', 24.33136*_ratio.ratioY); Node81.a('node.type', Node81type); Node81.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node81.a('node.background', 'rgba(255,255,255,0.003921569)'); Node81.a('node.gradientcolor', ''); Node81.a('node.gradient', ''); Node81.a('node.borderwidth', Node81BorderWidth); Node81.a('node.color', 'rgba(224,224,224,1)'); Node81.a('node.fillrect', [0,0,0,0]); Node81.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node81.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node81.a('node.fillgradient', ''); if (Node81type !== 'rect') { Node81.a('node.arcFrom', parseFloat('@arcFrom@')); Node81.a('node.arcTo', parseFloat('@arcTo@')); Node81.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node81type === 'arc') { Node81.a('node.arcOval', true); } Node81.setRotation(0*Math.PI/180); Node81.borderWidth = Node81BorderWidth; Node81.borderFillwidth = Node81BorderWidth; dataModel.add(Node81); Node81._nodename = 'Node81' Node81._nodeType = 'rect'; zoomNodeList.push({ node: Node81, 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); } })(Node81, Node81.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node82type = 'rect'; var Node82 = new ht.Node(), Node82BorderWidth = 1*2; if (Node82type === 'arc') { Node82BorderWidth *= 1; } Node82.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node82.setPosition(919*ratio.ratioX, 149*ratio.ratioY); Node82.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node82.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node82.a('node.width', 95*_ratio.ratioX); Node82.a('node.height', 24.33138*_ratio.ratioY); Node82.a('node.type', Node82type); Node82.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node82.a('node.background', 'rgba(255,255,255,0.003921569)'); Node82.a('node.gradientcolor', ''); Node82.a('node.gradient', ''); Node82.a('node.borderwidth', Node82BorderWidth); Node82.a('node.color', 'rgba(224,224,224,1)'); Node82.a('node.fillrect', [0,0,0,0]); Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node82.a('node.fillgradient', ''); if (Node82type !== 'rect') { Node82.a('node.arcFrom', parseFloat('@arcFrom@')); Node82.a('node.arcTo', parseFloat('@arcTo@')); Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node82type === 'arc') { Node82.a('node.arcOval', true); } Node82.setRotation(0*Math.PI/180); Node82.borderWidth = Node82BorderWidth; Node82.borderFillwidth = Node82BorderWidth; dataModel.add(Node82); Node82._nodename = 'Node82' Node82._nodeType = 'rect'; zoomNodeList.push({ node: Node82, 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); } })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node83type = 'rect'; var Node83 = new ht.Node(), Node83BorderWidth = 1*2; if (Node83type === 'arc') { Node83BorderWidth *= 1; } Node83.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node83.setPosition(999*ratio.ratioX, 52*ratio.ratioY); Node83.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node83.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node83.a('node.width', 65*_ratio.ratioX); Node83.a('node.height', 24.33136*_ratio.ratioY); Node83.a('node.type', Node83type); Node83.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node83.a('node.background', 'rgba(255,255,255,0.003921569)'); Node83.a('node.gradientcolor', ''); Node83.a('node.gradient', ''); Node83.a('node.borderwidth', Node83BorderWidth); Node83.a('node.color', 'rgba(224,224,224,1)'); Node83.a('node.fillrect', [0,0,0,0]); Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node83.a('node.fillgradient', ''); if (Node83type !== 'rect') { Node83.a('node.arcFrom', parseFloat('@arcFrom@')); Node83.a('node.arcTo', parseFloat('@arcTo@')); Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node83type === 'arc') { Node83.a('node.arcOval', true); } Node83.setRotation(0*Math.PI/180); Node83.borderWidth = Node83BorderWidth; Node83.borderFillwidth = Node83BorderWidth; dataModel.add(Node83); Node83._nodename = 'Node83' Node83._nodeType = 'rect'; zoomNodeList.push({ node: Node83, 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); } })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node84 = new ht.Node(); var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'center', Node84fontSize = 14.66663*_ratio.ratioY,Node84width = 59*_ratio.ratioX, Node84height = 26*_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('0', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node84align === 'center') { Node84textStart = -3; Node84textWidth = Node84width; Node84lineStart = Node84width - ht.Default.getTextSize('0', ' '+ Node84fontSize + 'px "Arial"').width - 11; } })(); Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"')) Node84.setPosition(919*ratio.ratioX, 54*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(0,0,0,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','0'); Node84.a('node.textalign','center'); Node84.a('node.textvAlign','middle'); Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]); Node84.a('node.color','rgba(0,0,0,1)'); Node84.a('node.font',' '+ Node84fontSize + 'px "Arial"'); 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') || '0'; var color=Node84.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node84width,Node84height,14.66663*_ratio.ratioY,"center",color,' '+ Node84fontSize + 'px "Arial"', 0,g); }); } if (false) { Node84.a('node.underlinepoints',[Node84lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node84fontSize + 'px "Arial"').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 = 'center', Node85fontSize = 14.66663*_ratio.ratioY,Node85width = 59*_ratio.ratioX, Node85height = 26*_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('0', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node85align === 'center') { Node85textStart = -3; Node85textWidth = Node85width; Node85lineStart = Node85width - ht.Default.getTextSize('0', ' '+ Node85fontSize + 'px "Arial"').width - 11; } })(); Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"')) Node85.setPosition(919*ratio.ratioX, 78*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(0,0,0,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','0'); Node85.a('node.textalign','center'); Node85.a('node.textvAlign','middle'); Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]); Node85.a('node.color','rgba(0,0,0,1)'); Node85.a('node.font',' '+ Node85fontSize + 'px "Arial"'); 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') || '0'; var color=Node85.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node85width,Node85height,14.66663*_ratio.ratioY,"center",color,' '+ Node85fontSize + 'px "Arial"', 0,g); }); } if (false) { Node85.a('node.underlinepoints',[Node85lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node85fontSize + 'px "Arial"').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 = 'center', Node86fontSize = 14.66663*_ratio.ratioY,Node86width = 59*_ratio.ratioX, Node86height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node86align === 'center') { Node86textStart = -3; Node86textWidth = Node86width; Node86lineStart = Node86width - ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "Arial"').width - 11; } })(); Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"')) Node86.setPosition(919*ratio.ratioX, 103*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(0,0,0,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','center'); Node86.a('node.textvAlign','middle'); Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]); Node86.a('node.color','rgba(0,0,0,1)'); Node86.a('node.font',' '+ Node86fontSize + 'px "Arial"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node86width,Node86height,14.66663*_ratio.ratioY,"center",color,' '+ Node86fontSize + 'px "Arial"', 0,g); }); } if (false) { Node86.a('node.underlinepoints',[Node86lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "Arial"').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 = 'center', Node87fontSize = 14.66663*_ratio.ratioY,Node87width = 59*_ratio.ratioX, Node87height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node87align === 'center') { Node87textStart = -3; Node87textWidth = Node87width; Node87lineStart = Node87width - ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "Arial"').width - 11; } })(); Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "Arial"')) Node87.setPosition(919*ratio.ratioX, 126*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(0,0,0,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','center'); Node87.a('node.textvAlign','middle'); Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]); Node87.a('node.color','rgba(0,0,0,1)'); Node87.a('node.font',' '+ Node87fontSize + 'px "Arial"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node87width,Node87height,14.66663*_ratio.ratioY,"center",color,' '+ Node87fontSize + 'px "Arial"', 0,g); }); } if (false) { Node87.a('node.underlinepoints',[Node87lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "Arial"').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 = 'center', Node88fontSize = 14.66663*_ratio.ratioY,Node88width = 59*_ratio.ratioX, Node88height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node88align === 'center') { Node88textStart = -3; Node88textWidth = Node88width; Node88lineStart = Node88width - ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "Arial"').width - 11; } })(); Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "Arial"')) Node88.setPosition(919*ratio.ratioX, 150*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(0,0,0,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','center'); Node88.a('node.textvAlign','middle'); Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]); Node88.a('node.color','rgba(0,0,0,1)'); Node88.a('node.font',' '+ Node88fontSize + 'px "Arial"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node88width,Node88height,14.66663*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "Arial"', 0,g); }); } if (false) { Node88.a('node.underlinepoints',[Node88lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "Arial"').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 Node89type = 'rect'; var Node89 = new ht.Node(), Node89BorderWidth = 1*2; if (Node89type === 'arc') { Node89BorderWidth *= 1; } Node89.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node89type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node89.setPosition(999*ratio.ratioX, 76*ratio.ratioY); Node89.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node89.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node89.a('node.width', 65*_ratio.ratioX); Node89.a('node.height', 24.33138*_ratio.ratioY); Node89.a('node.type', Node89type); Node89.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node89.a('node.background', 'rgba(255,255,255,0.003921569)'); Node89.a('node.gradientcolor', ''); Node89.a('node.gradient', ''); Node89.a('node.borderwidth', Node89BorderWidth); Node89.a('node.color', 'rgba(224,224,224,1)'); Node89.a('node.fillrect', [0,0,0,0]); Node89.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node89.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node89.a('node.fillgradient', ''); if (Node89type !== 'rect') { Node89.a('node.arcFrom', parseFloat('@arcFrom@')); Node89.a('node.arcTo', parseFloat('@arcTo@')); Node89.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node89type === 'arc') { Node89.a('node.arcOval', true); } Node89.setRotation(0*Math.PI/180); Node89.borderWidth = Node89BorderWidth; Node89.borderFillwidth = Node89BorderWidth; dataModel.add(Node89); Node89._nodename = 'Node89' Node89._nodeType = 'rect'; zoomNodeList.push({ node: Node89, 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); } })(Node89, Node89.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node90type = 'rect'; var Node90 = new ht.Node(), Node90BorderWidth = 1*2; if (Node90type === 'arc') { Node90BorderWidth *= 1; } Node90.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node90type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node90.setPosition(999*ratio.ratioX, 100*ratio.ratioY); Node90.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node90.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node90.a('node.width', 65*_ratio.ratioX); Node90.a('node.height', 24.33138*_ratio.ratioY); Node90.a('node.type', Node90type); Node90.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node90.a('node.background', 'rgba(255,255,255,0.003921569)'); Node90.a('node.gradientcolor', ''); Node90.a('node.gradient', ''); Node90.a('node.borderwidth', Node90BorderWidth); Node90.a('node.color', 'rgba(224,224,224,1)'); Node90.a('node.fillrect', [0,0,0,0]); Node90.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node90.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node90.a('node.fillgradient', ''); if (Node90type !== 'rect') { Node90.a('node.arcFrom', parseFloat('@arcFrom@')); Node90.a('node.arcTo', parseFloat('@arcTo@')); Node90.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node90type === 'arc') { Node90.a('node.arcOval', true); } Node90.setRotation(0*Math.PI/180); Node90.borderWidth = Node90BorderWidth; Node90.borderFillwidth = Node90BorderWidth; dataModel.add(Node90); Node90._nodename = 'Node90' Node90._nodeType = 'rect'; zoomNodeList.push({ node: Node90, 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); } })(Node90, Node90.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node91type = 'rect'; var Node91 = new ht.Node(), Node91BorderWidth = 1*2; if (Node91type === 'arc') { Node91BorderWidth *= 1; } Node91.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node91type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node91.setPosition(999*ratio.ratioX, 125*ratio.ratioY); Node91.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node91.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node91.a('node.width', 65*_ratio.ratioX); Node91.a('node.height', 24.33136*_ratio.ratioY); Node91.a('node.type', Node91type); Node91.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node91.a('node.background', 'rgba(255,255,255,0.003921569)'); Node91.a('node.gradientcolor', ''); Node91.a('node.gradient', ''); Node91.a('node.borderwidth', Node91BorderWidth); Node91.a('node.color', 'rgba(224,224,224,1)'); Node91.a('node.fillrect', [0,0,0,0]); Node91.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node91.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node91.a('node.fillgradient', ''); if (Node91type !== 'rect') { Node91.a('node.arcFrom', parseFloat('@arcFrom@')); Node91.a('node.arcTo', parseFloat('@arcTo@')); Node91.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node91type === 'arc') { Node91.a('node.arcOval', true); } Node91.setRotation(0*Math.PI/180); Node91.borderWidth = Node91BorderWidth; Node91.borderFillwidth = Node91BorderWidth; dataModel.add(Node91); Node91._nodename = 'Node91' Node91._nodeType = 'rect'; zoomNodeList.push({ node: Node91, 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); } })(Node91, Node91.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node92type = 'rect'; var Node92 = new ht.Node(), Node92BorderWidth = 1*2; if (Node92type === 'arc') { Node92BorderWidth *= 1; } Node92.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node92.setPosition(999*ratio.ratioX, 149*ratio.ratioY); Node92.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node92.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node92.a('node.width', 65*_ratio.ratioX); Node92.a('node.height', 24.33138*_ratio.ratioY); Node92.a('node.type', Node92type); Node92.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node92.a('node.background', 'rgba(255,255,255,0.003921569)'); Node92.a('node.gradientcolor', ''); Node92.a('node.gradient', ''); Node92.a('node.borderwidth', Node92BorderWidth); Node92.a('node.color', 'rgba(224,224,224,1)'); Node92.a('node.fillrect', [0,0,0,0]); Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node92.a('node.fillgradient', ''); if (Node92type !== 'rect') { Node92.a('node.arcFrom', parseFloat('@arcFrom@')); Node92.a('node.arcTo', parseFloat('@arcTo@')); Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node92type === 'arc') { Node92.a('node.arcOval', true); } Node92.setRotation(0*Math.PI/180); Node92.borderWidth = Node92BorderWidth; Node92.borderFillwidth = Node92BorderWidth; dataModel.add(Node92); Node92._nodename = 'Node92' Node92._nodeType = 'rect'; zoomNodeList.push({ node: Node92, 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); } })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node93 = new ht.Node(); var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'center', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 59*_ratio.ratioX, Node93height = 26*_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('万kWh', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node93align === 'center') { Node93textStart = -3; Node93textWidth = Node93width; Node93lineStart = Node93width - ht.Default.getTextSize('万kWh', ' '+ Node93fontSize + 'px "Arial"').width - 11; } })(); Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"')) Node93.setPosition(1000*ratio.ratioX, 54*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(128,128,128,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','万kWh'); Node93.a('node.textalign','center'); Node93.a('node.textvAlign','middle'); Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]); Node93.a('node.color','rgba(128,128,128,1)'); Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"'); Node93.a('node.textvisible',true); Node93.a('node.linefeed',false); if (false) { Node93.a('node.textfunc',function(g) { g.beginPath(); var str=Node93.a('node.text') || '万kWh'; var color=Node93.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"center",color,' '+ Node93fontSize + 'px "Arial"', 0,g); }); } if (false) { Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]); Node93.a('node.underlinevisible',false); Node93.a('node.underlineBorderWidth', 1); } dataModel.add(Node93); zoomNodeList.push({ node: Node93, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node94 = new ht.Node(); var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'center', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 59*_ratio.ratioX, Node94height = 26*_ratio.ratioY; (function () { if (Node94align === 'left') { Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9; Node94textWidth = Node94width; Node94lineStart = 1; } else if (Node94align === 'right') { Node94textStart = 0; Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2; Node94lineStart = (Node94width - (ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node94align === 'center') { Node94textStart = -3; Node94textWidth = Node94width; Node94lineStart = Node94width - ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width - 11; } })(); Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"')) Node94.setPosition(1000*ratio.ratioX, 78*ratio.ratioY); Node94.setWidth(Node94width); Node94.setHeight(Node94height); Node94._nodeType = 'text'; Node94._disallowEvert = true; Node94.setRotation(0*Math.PI/180); Node94.a('node.width', Node94width); Node94.a('node.height', Node94height); Node94.a('node.rect', [0, 0, Node94width, Node94height]); Node94.a('node.bordercolor','rgba(128,128,128,1)'); Node94.a('node.borderwidth', 0); Node94.a('node.background','' || 'rgba(0,0,0,0)'); Node94.a('node.gradient',''); Node94.a('node.gradientcolor',''); Node94.a('node.text','万kWh'); Node94.a('node.textalign','center'); Node94.a('node.textvAlign','middle'); Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]); Node94.a('node.color','rgba(128,128,128,1)'); Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"'); Node94.a('node.textvisible',true); Node94.a('node.linefeed',false); if (false) { Node94.a('node.textfunc',function(g) { g.beginPath(); var str=Node94.a('node.text') || '万kWh'; var color=Node94.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"center",color,' '+ Node94fontSize + 'px "Arial"', 0,g); }); } if (false) { Node94.a('node.underlinepoints',[Node94lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]); Node94.a('node.underlinevisible',false); Node94.a('node.underlineBorderWidth', 1); } dataModel.add(Node94); zoomNodeList.push({ node: Node94, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node95 = new ht.Node(); var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'center', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 59*_ratio.ratioX, Node95height = 26*_ratio.ratioY; (function () { if (Node95align === 'left') { Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9; Node95textWidth = Node95width; Node95lineStart = 1; } else if (Node95align === 'right') { Node95textStart = 0; Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2; Node95lineStart = (Node95width - (ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node95align === 'center') { Node95textStart = -3; Node95textWidth = Node95width; Node95lineStart = Node95width - ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width - 11; } })(); Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "Arial"')) Node95.setPosition(1000*ratio.ratioX, 101*ratio.ratioY); Node95.setWidth(Node95width); Node95.setHeight(Node95height); Node95._nodeType = 'text'; Node95._disallowEvert = true; Node95.setRotation(0*Math.PI/180); Node95.a('node.width', Node95width); Node95.a('node.height', Node95height); Node95.a('node.rect', [0, 0, Node95width, Node95height]); Node95.a('node.bordercolor','rgba(128,128,128,1)'); Node95.a('node.borderwidth', 0); Node95.a('node.background','' || 'rgba(0,0,0,0)'); Node95.a('node.gradient',''); Node95.a('node.gradientcolor',''); Node95.a('node.text','万kWh'); Node95.a('node.textalign','center'); Node95.a('node.textvAlign','middle'); Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]); Node95.a('node.color','rgba(128,128,128,1)'); Node95.a('node.font',' '+ Node95fontSize + 'px "Arial"'); Node95.a('node.textvisible',true); Node95.a('node.linefeed',false); if (false) { Node95.a('node.textfunc',function(g) { g.beginPath(); var str=Node95.a('node.text') || '万kWh'; var color=Node95.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"center",color,' '+ Node95fontSize + 'px "Arial"', 0,g); }); } if (false) { Node95.a('node.underlinepoints',[Node95lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]); Node95.a('node.underlinevisible',false); Node95.a('node.underlineBorderWidth', 1); } dataModel.add(Node95); zoomNodeList.push({ node: Node95, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node96 = new ht.Node(); var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'center', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 59*_ratio.ratioX, Node96height = 26*_ratio.ratioY; (function () { if (Node96align === 'left') { Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9; Node96textWidth = Node96width; Node96lineStart = 1; } else if (Node96align === 'right') { Node96textStart = 0; Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2; Node96lineStart = (Node96width - (ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node96align === 'center') { Node96textStart = -3; Node96textWidth = Node96width; Node96lineStart = Node96width - ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width - 11; } })(); Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"')) Node96.setPosition(1000*ratio.ratioX, 127*ratio.ratioY); Node96.setWidth(Node96width); Node96.setHeight(Node96height); Node96._nodeType = 'text'; Node96._disallowEvert = true; Node96.setRotation(0*Math.PI/180); Node96.a('node.width', Node96width); Node96.a('node.height', Node96height); Node96.a('node.rect', [0, 0, Node96width, Node96height]); Node96.a('node.bordercolor','rgba(128,128,128,1)'); Node96.a('node.borderwidth', 0); Node96.a('node.background','' || 'rgba(0,0,0,0)'); Node96.a('node.gradient',''); Node96.a('node.gradientcolor',''); Node96.a('node.text','万kWh'); Node96.a('node.textalign','center'); Node96.a('node.textvAlign','middle'); Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]); Node96.a('node.color','rgba(128,128,128,1)'); Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"'); Node96.a('node.textvisible',true); Node96.a('node.linefeed',false); if (false) { Node96.a('node.textfunc',function(g) { g.beginPath(); var str=Node96.a('node.text') || '万kWh'; var color=Node96.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"center",color,' '+ Node96fontSize + 'px "Arial"', 0,g); }); } if (false) { Node96.a('node.underlinepoints',[Node96lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]); Node96.a('node.underlinevisible',false); Node96.a('node.underlineBorderWidth', 1); } dataModel.add(Node96); zoomNodeList.push({ node: Node96, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node97 = new ht.Node(); var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'center', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 59*_ratio.ratioX, Node97height = 26*_ratio.ratioY; (function () { if (Node97align === 'left') { Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9; Node97textWidth = Node97width; Node97lineStart = 1; } else if (Node97align === 'right') { Node97textStart = 0; Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2; Node97lineStart = (Node97width - (ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node97align === 'center') { Node97textStart = -3; Node97textWidth = Node97width; Node97lineStart = Node97width - ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width - 11; } })(); Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"')) Node97.setPosition(1000*ratio.ratioX, 151*ratio.ratioY); Node97.setWidth(Node97width); Node97.setHeight(Node97height); Node97._nodeType = 'text'; Node97._disallowEvert = true; Node97.setRotation(0*Math.PI/180); Node97.a('node.width', Node97width); Node97.a('node.height', Node97height); Node97.a('node.rect', [0, 0, Node97width, Node97height]); Node97.a('node.bordercolor','rgba(128,128,128,1)'); Node97.a('node.borderwidth', 0); Node97.a('node.background','' || 'rgba(0,0,0,0)'); Node97.a('node.gradient',''); Node97.a('node.gradientcolor',''); Node97.a('node.text','万kWh'); Node97.a('node.textalign','center'); Node97.a('node.textvAlign','middle'); Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]); Node97.a('node.color','rgba(128,128,128,1)'); Node97.a('node.font',' '+ Node97fontSize + 'px "Arial"'); Node97.a('node.textvisible',true); Node97.a('node.linefeed',false); if (false) { Node97.a('node.textfunc',function(g) { g.beginPath(); var str=Node97.a('node.text') || '万kWh'; var color=Node97.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"center",color,' '+ Node97fontSize + 'px "Arial"', 0,g); }); } if (false) { Node97.a('node.underlinepoints',[Node97lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]); Node97.a('node.underlinevisible',false); Node97.a('node.underlineBorderWidth', 1); } dataModel.add(Node97); zoomNodeList.push({ node: Node97, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node98type = 'rect'; var Node98 = new ht.Node(), Node98BorderWidth = 1*2; if (Node98type === 'arc') { Node98BorderWidth *= 1; } Node98.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node98.setPosition(1093*ratio.ratioX, 100*ratio.ratioY); Node98.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node98.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node98.a('node.width', 117*_ratio.ratioX); Node98.a('node.height', 24.33138*_ratio.ratioY); Node98.a('node.type', Node98type); Node98.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node98.a('node.background', 'rgba(240,240,240,1)'); Node98.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node98.a('node.gradient', ''); Node98.a('node.borderwidth', Node98BorderWidth); Node98.a('node.color', 'rgba(224,224,224,1)'); 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 = 1*2; if (Node99type === 'arc') { Node99BorderWidth *= 1; } Node99.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node99.setPosition(1093*ratio.ratioX, 76*ratio.ratioY); Node99.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node99.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node99.a('node.width', 117*_ratio.ratioX); Node99.a('node.height', 24.33138*_ratio.ratioY); Node99.a('node.type', Node99type); Node99.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node99.a('node.background', 'rgba(240,240,240,1)'); Node99.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node99.a('node.gradient', ''); Node99.a('node.borderwidth', Node99BorderWidth); Node99.a('node.color', 'rgba(224,224,224,1)'); 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 Node100type = 'rect'; var Node100 = new ht.Node(), Node100BorderWidth = 1*2; if (Node100type === 'arc') { Node100BorderWidth *= 1; } Node100.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node100.setPosition(1093*ratio.ratioX, 125*ratio.ratioY); Node100.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node100.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node100.a('node.width', 117*_ratio.ratioX); Node100.a('node.height', 24.33136*_ratio.ratioY); Node100.a('node.type', Node100type); Node100.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node100.a('node.background', 'rgba(240,240,240,1)'); Node100.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node100.a('node.gradient', ''); Node100.a('node.borderwidth', Node100BorderWidth); Node100.a('node.color', 'rgba(224,224,224,1)'); Node100.a('node.fillrect', [0,0,0,0]); Node100.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node100.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node100.a('node.fillgradient', ''); if (Node100type !== 'rect') { Node100.a('node.arcFrom', parseFloat('@arcFrom@')); Node100.a('node.arcTo', parseFloat('@arcTo@')); Node100.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node100type === 'arc') { Node100.a('node.arcOval', true); } Node100.setRotation(0*Math.PI/180); Node100.borderWidth = Node100BorderWidth; Node100.borderFillwidth = Node100BorderWidth; dataModel.add(Node100); Node100._nodename = 'Node100' Node100._nodeType = 'rect'; zoomNodeList.push({ node: Node100, 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); } })(Node100, Node100.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node101type = 'rect'; var Node101 = new ht.Node(), Node101BorderWidth = 1*2; if (Node101type === 'arc') { Node101BorderWidth *= 1; } Node101.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node101type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node101.setPosition(1093*ratio.ratioX, 52*ratio.ratioY); Node101.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node101.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node101.a('node.width', 117*_ratio.ratioX); Node101.a('node.height', 24.33136*_ratio.ratioY); Node101.a('node.type', Node101type); Node101.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node101.a('node.background', 'rgba(240,240,240,1)'); Node101.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node101.a('node.gradient', ''); Node101.a('node.borderwidth', Node101BorderWidth); Node101.a('node.color', 'rgba(224,224,224,1)'); Node101.a('node.fillrect', [0,0,0,0]); Node101.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node101.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node101.a('node.fillgradient', ''); if (Node101type !== 'rect') { Node101.a('node.arcFrom', parseFloat('@arcFrom@')); Node101.a('node.arcTo', parseFloat('@arcTo@')); Node101.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node101type === 'arc') { Node101.a('node.arcOval', true); } Node101.setRotation(0*Math.PI/180); Node101.borderWidth = Node101BorderWidth; Node101.borderFillwidth = Node101BorderWidth; dataModel.add(Node101); Node101._nodename = 'Node101' Node101._nodeType = 'rect'; zoomNodeList.push({ node: Node101, 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); } })(Node101, Node101.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node102type = 'rect'; var Node102 = new ht.Node(), Node102BorderWidth = 1*2; if (Node102type === 'arc') { Node102BorderWidth *= 1; } Node102.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node102type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node102.setPosition(1093*ratio.ratioX, 149*ratio.ratioY); Node102.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node102.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node102.a('node.width', 117*_ratio.ratioX); Node102.a('node.height', 24.33138*_ratio.ratioY); Node102.a('node.type', Node102type); Node102.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node102.a('node.background', 'rgba(240,240,240,1)'); Node102.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node102.a('node.gradient', ''); Node102.a('node.borderwidth', Node102BorderWidth); Node102.a('node.color', 'rgba(224,224,224,1)'); Node102.a('node.fillrect', [0,0,0,0]); Node102.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node102.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node102.a('node.fillgradient', ''); if (Node102type !== 'rect') { Node102.a('node.arcFrom', parseFloat('@arcFrom@')); Node102.a('node.arcTo', parseFloat('@arcTo@')); Node102.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node102type === 'arc') { Node102.a('node.arcOval', true); } Node102.setRotation(0*Math.PI/180); Node102.borderWidth = Node102BorderWidth; Node102.borderFillwidth = Node102BorderWidth; dataModel.add(Node102); Node102._nodename = 'Node102' Node102._nodeType = 'rect'; zoomNodeList.push({ node: Node102, 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); } })(Node102, Node102.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node103 = new ht.Node(); var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'center', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 110*_ratio.ratioX, Node103height = 26*_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('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node103align === 'center') { Node103textStart = -3; Node103textWidth = Node103width; Node103lineStart = Node103width - ht.Default.getTextSize('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width - 11; } })(); Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "微软雅黑"')) Node103.setPosition(1093*ratio.ratioX, 54*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','年维护损失电量'); Node103.a('node.textalign','center'); 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 "微软雅黑"'); 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') || '年维护损失电量'; var color=Node103.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"center",color,' '+ Node103fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node103.a('node.underlinepoints',[Node103lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').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 = 'center', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 110*_ratio.ratioX, Node104height = 26*_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('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node104align === 'center') { Node104textStart = -3; Node104textWidth = Node104width; Node104lineStart = Node104width - ht.Default.getTextSize('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width - 11; } })(); Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "微软雅黑"')) Node104.setPosition(1093*ratio.ratioX, 77*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','年故障损失电量'); Node104.a('node.textalign','center'); 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 "微软雅黑"'); 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') || '年故障损失电量'; var color=Node104.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"center",color,' '+ Node104fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node104.a('node.underlinepoints',[Node104lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').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 = 'center', Node105fontSize = 13.3333*_ratio.ratioY,Node105width = 110*_ratio.ratioX, Node105height = 26*_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('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node105align === 'center') { Node105textStart = -3; Node105textWidth = Node105width; Node105lineStart = Node105width - ht.Default.getTextSize('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').width - 11; } })(); Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "微软雅黑"')) Node105.setPosition(1093*ratio.ratioX, 102*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(0,0,0,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','center'); Node105.a('node.textvAlign','middle'); Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]); Node105.a('node.color','rgba(0,0,0,1)'); Node105.a('node.font',' '+ Node105fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node105width,Node105height,13.3333*_ratio.ratioY,"center",color,' '+ Node105fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node105.a('node.underlinepoints',[Node105lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node105fontSize + 'px "微软雅黑"').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 = 'center', Node106fontSize = 13.3333*_ratio.ratioY,Node106width = 110*_ratio.ratioX, Node106height = 26*_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('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node106align === 'center') { Node106textStart = -3; Node106textWidth = Node106width; Node106lineStart = Node106width - ht.Default.getTextSize('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').width - 11; } })(); Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "微软雅黑"')) Node106.setPosition(1093*ratio.ratioX, 127*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(0,0,0,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','center'); Node106.a('node.textvAlign','middle'); Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]); Node106.a('node.color','rgba(0,0,0,1)'); Node106.a('node.font',' '+ Node106fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node106width,Node106height,13.3333*_ratio.ratioY,"center",color,' '+ Node106fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node106.a('node.underlinepoints',[Node106lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node106fontSize + 'px "微软雅黑"').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 Node107type = 'rect'; var Node107 = new ht.Node(), Node107BorderWidth = 1*2; if (Node107type === 'arc') { Node107BorderWidth *= 1; } Node107.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node107type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node107.setPosition(1199*ratio.ratioX, 52*ratio.ratioY); Node107.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node107.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node107.a('node.width', 95*_ratio.ratioX); Node107.a('node.height', 24.33136*_ratio.ratioY); Node107.a('node.type', Node107type); Node107.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node107.a('node.background', 'rgba(255,255,255,0.003921569)'); Node107.a('node.gradientcolor', ''); Node107.a('node.gradient', ''); Node107.a('node.borderwidth', Node107BorderWidth); Node107.a('node.color', 'rgba(224,224,224,1)'); Node107.a('node.fillrect', [0,0,0,0]); Node107.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node107.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node107.a('node.fillgradient', ''); if (Node107type !== 'rect') { Node107.a('node.arcFrom', parseFloat('@arcFrom@')); Node107.a('node.arcTo', parseFloat('@arcTo@')); Node107.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node107type === 'arc') { Node107.a('node.arcOval', true); } Node107.setRotation(0*Math.PI/180); Node107.borderWidth = Node107BorderWidth; Node107.borderFillwidth = Node107BorderWidth; dataModel.add(Node107); Node107._nodename = 'Node107' Node107._nodeType = 'rect'; zoomNodeList.push({ node: Node107, 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); } })(Node107, Node107.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node108type = 'rect'; var Node108 = new ht.Node(), Node108BorderWidth = 1*2; if (Node108type === 'arc') { Node108BorderWidth *= 1; } Node108.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node108type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node108.setPosition(1199*ratio.ratioX, 76*ratio.ratioY); Node108.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node108.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node108.a('node.width', 95*_ratio.ratioX); Node108.a('node.height', 24.33138*_ratio.ratioY); Node108.a('node.type', Node108type); Node108.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node108.a('node.background', 'rgba(255,255,255,0.003921569)'); Node108.a('node.gradientcolor', ''); Node108.a('node.gradient', ''); Node108.a('node.borderwidth', Node108BorderWidth); Node108.a('node.color', 'rgba(224,224,224,1)'); Node108.a('node.fillrect', [0,0,0,0]); Node108.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node108.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node108.a('node.fillgradient', ''); if (Node108type !== 'rect') { Node108.a('node.arcFrom', parseFloat('@arcFrom@')); Node108.a('node.arcTo', parseFloat('@arcTo@')); Node108.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node108type === 'arc') { Node108.a('node.arcOval', true); } Node108.setRotation(0*Math.PI/180); Node108.borderWidth = Node108BorderWidth; Node108.borderFillwidth = Node108BorderWidth; dataModel.add(Node108); Node108._nodename = 'Node108' Node108._nodeType = 'rect'; zoomNodeList.push({ node: Node108, 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); } })(Node108, Node108.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node109type = 'rect'; var Node109 = new ht.Node(), Node109BorderWidth = 1*2; if (Node109type === 'arc') { Node109BorderWidth *= 1; } Node109.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node109type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node109.setPosition(1199*ratio.ratioX, 100*ratio.ratioY); Node109.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node109.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node109.a('node.width', 95*_ratio.ratioX); Node109.a('node.height', 24.33138*_ratio.ratioY); Node109.a('node.type', Node109type); Node109.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node109.a('node.background', 'rgba(255,255,255,0.003921569)'); Node109.a('node.gradientcolor', ''); Node109.a('node.gradient', ''); Node109.a('node.borderwidth', Node109BorderWidth); Node109.a('node.color', 'rgba(224,224,224,1)'); Node109.a('node.fillrect', [0,0,0,0]); Node109.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node109.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node109.a('node.fillgradient', ''); if (Node109type !== 'rect') { Node109.a('node.arcFrom', parseFloat('@arcFrom@')); Node109.a('node.arcTo', parseFloat('@arcTo@')); Node109.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node109type === 'arc') { Node109.a('node.arcOval', true); } Node109.setRotation(0*Math.PI/180); Node109.borderWidth = Node109BorderWidth; Node109.borderFillwidth = Node109BorderWidth; dataModel.add(Node109); Node109._nodename = 'Node109' Node109._nodeType = 'rect'; zoomNodeList.push({ node: Node109, 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); } })(Node109, Node109.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node110type = 'rect'; var Node110 = new ht.Node(), Node110BorderWidth = 1*2; if (Node110type === 'arc') { Node110BorderWidth *= 1; } Node110.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node110type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node110.setPosition(1199*ratio.ratioX, 125*ratio.ratioY); Node110.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node110.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node110.a('node.width', 95*_ratio.ratioX); Node110.a('node.height', 24.33136*_ratio.ratioY); Node110.a('node.type', Node110type); Node110.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node110.a('node.background', 'rgba(255,255,255,0.003921569)'); Node110.a('node.gradientcolor', ''); Node110.a('node.gradient', ''); Node110.a('node.borderwidth', Node110BorderWidth); Node110.a('node.color', 'rgba(224,224,224,1)'); Node110.a('node.fillrect', [0,0,0,0]); Node110.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node110.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node110.a('node.fillgradient', ''); if (Node110type !== 'rect') { Node110.a('node.arcFrom', parseFloat('@arcFrom@')); Node110.a('node.arcTo', parseFloat('@arcTo@')); Node110.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node110type === 'arc') { Node110.a('node.arcOval', true); } Node110.setRotation(0*Math.PI/180); Node110.borderWidth = Node110BorderWidth; Node110.borderFillwidth = Node110BorderWidth; dataModel.add(Node110); Node110._nodename = 'Node110' Node110._nodeType = 'rect'; zoomNodeList.push({ node: Node110, 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); } })(Node110, Node110.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node111type = 'rect'; var Node111 = new ht.Node(), Node111BorderWidth = 1*2; if (Node111type === 'arc') { Node111BorderWidth *= 1; } Node111.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node111type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node111.setPosition(1199*ratio.ratioX, 149*ratio.ratioY); Node111.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node111.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node111.a('node.width', 95*_ratio.ratioX); Node111.a('node.height', 24.33138*_ratio.ratioY); Node111.a('node.type', Node111type); Node111.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node111.a('node.background', 'rgba(255,255,255,0.003921569)'); Node111.a('node.gradientcolor', ''); Node111.a('node.gradient', ''); Node111.a('node.borderwidth', Node111BorderWidth); Node111.a('node.color', 'rgba(224,224,224,1)'); Node111.a('node.fillrect', [0,0,0,0]); Node111.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node111.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node111.a('node.fillgradient', ''); if (Node111type !== 'rect') { Node111.a('node.arcFrom', parseFloat('@arcFrom@')); Node111.a('node.arcTo', parseFloat('@arcTo@')); Node111.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node111type === 'arc') { Node111.a('node.arcOval', true); } Node111.setRotation(0*Math.PI/180); Node111.borderWidth = Node111BorderWidth; Node111.borderFillwidth = Node111BorderWidth; dataModel.add(Node111); Node111._nodename = 'Node111' Node111._nodeType = 'rect'; zoomNodeList.push({ node: Node111, 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); } })(Node111, Node111.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node112type = 'rect'; var Node112 = new ht.Node(), Node112BorderWidth = 1*2; if (Node112type === 'arc') { Node112BorderWidth *= 1; } Node112.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node112type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node112.setPosition(1279*ratio.ratioX, 52*ratio.ratioY); Node112.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node112.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node112.a('node.width', 65*_ratio.ratioX); Node112.a('node.height', 24.33136*_ratio.ratioY); Node112.a('node.type', Node112type); Node112.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node112.a('node.background', 'rgba(255,255,255,0.003921569)'); Node112.a('node.gradientcolor', ''); Node112.a('node.gradient', ''); Node112.a('node.borderwidth', Node112BorderWidth); Node112.a('node.color', 'rgba(224,224,224,1)'); Node112.a('node.fillrect', [0,0,0,0]); Node112.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node112.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node112.a('node.fillgradient', ''); if (Node112type !== 'rect') { Node112.a('node.arcFrom', parseFloat('@arcFrom@')); Node112.a('node.arcTo', parseFloat('@arcTo@')); Node112.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node112type === 'arc') { Node112.a('node.arcOval', true); } Node112.setRotation(0*Math.PI/180); Node112.borderWidth = Node112BorderWidth; Node112.borderFillwidth = Node112BorderWidth; dataModel.add(Node112); Node112._nodename = 'Node112' Node112._nodeType = 'rect'; zoomNodeList.push({ node: Node112, 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); } })(Node112, Node112.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node113 = new ht.Node(); var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'center', Node113fontSize = 14.66663*_ratio.ratioY,Node113width = 59*_ratio.ratioX, Node113height = 26*_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('0', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node113align === 'center') { Node113textStart = -3; Node113textWidth = Node113width; Node113lineStart = Node113width - ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width - 11; } })(); Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"')) Node113.setPosition(1199*ratio.ratioX, 54*ratio.ratioY); Node113.setWidth(Node113width); Node113.setHeight(Node113height); Node113._nodeType = 'text'; Node113._disallowEvert = true; Node113.setRotation(0*Math.PI/180); Node113.a('node.width', Node113width); Node113.a('node.height', Node113height); Node113.a('node.rect', [0, 0, Node113width, Node113height]); Node113.a('node.bordercolor','rgba(0,0,0,1)'); Node113.a('node.borderwidth', 0); Node113.a('node.background','' || 'rgba(0,0,0,0)'); Node113.a('node.gradient',''); Node113.a('node.gradientcolor',''); Node113.a('node.text','0'); Node113.a('node.textalign','center'); Node113.a('node.textvAlign','middle'); Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]); Node113.a('node.color','rgba(0,0,0,1)'); Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"'); Node113.a('node.textvisible',true); Node113.a('node.linefeed',false); if (false) { Node113.a('node.textfunc',function(g) { g.beginPath(); var str=Node113.a('node.text') || '0'; var color=Node113.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node113width,Node113height,14.66663*_ratio.ratioY,"center",color,' '+ Node113fontSize + 'px "Arial"', 0,g); }); } if (false) { Node113.a('node.underlinepoints',[Node113lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]); Node113.a('node.underlinevisible',false); Node113.a('node.underlineBorderWidth', 1); } dataModel.add(Node113); zoomNodeList.push({ node: Node113, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node114 = new ht.Node(); var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'center', Node114fontSize = 14.66663*_ratio.ratioY,Node114width = 59*_ratio.ratioX, Node114height = 26*_ratio.ratioY; (function () { if (Node114align === 'left') { Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9; Node114textWidth = Node114width; Node114lineStart = 1; } else if (Node114align === 'right') { Node114textStart = 0; Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2; Node114lineStart = (Node114width - (ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node114align === 'center') { Node114textStart = -3; Node114textWidth = Node114width; Node114lineStart = Node114width - ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width - 11; } })(); Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"')) Node114.setPosition(1199*ratio.ratioX, 78*ratio.ratioY); Node114.setWidth(Node114width); Node114.setHeight(Node114height); Node114._nodeType = 'text'; Node114._disallowEvert = true; Node114.setRotation(0*Math.PI/180); Node114.a('node.width', Node114width); Node114.a('node.height', Node114height); Node114.a('node.rect', [0, 0, Node114width, Node114height]); Node114.a('node.bordercolor','rgba(0,0,0,1)'); Node114.a('node.borderwidth', 0); Node114.a('node.background','' || 'rgba(0,0,0,0)'); Node114.a('node.gradient',''); Node114.a('node.gradientcolor',''); Node114.a('node.text','0'); Node114.a('node.textalign','center'); Node114.a('node.textvAlign','middle'); Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]); Node114.a('node.color','rgba(0,0,0,1)'); Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"'); Node114.a('node.textvisible',true); Node114.a('node.linefeed',false); if (false) { Node114.a('node.textfunc',function(g) { g.beginPath(); var str=Node114.a('node.text') || '0'; var color=Node114.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node114width,Node114height,14.66663*_ratio.ratioY,"center",color,' '+ Node114fontSize + 'px "Arial"', 0,g); }); } if (false) { Node114.a('node.underlinepoints',[Node114lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]); Node114.a('node.underlinevisible',false); Node114.a('node.underlineBorderWidth', 1); } dataModel.add(Node114); zoomNodeList.push({ node: Node114, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node115 = new ht.Node(); var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'center', Node115fontSize = 14.66663*_ratio.ratioY,Node115width = 59*_ratio.ratioX, Node115height = 26*_ratio.ratioY; (function () { if (Node115align === 'left') { Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9; Node115textWidth = Node115width; Node115lineStart = 1; } else if (Node115align === 'right') { Node115textStart = 0; Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2; Node115lineStart = (Node115width - (ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node115align === 'center') { Node115textStart = -3; Node115textWidth = Node115width; Node115lineStart = Node115width - ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width - 11; } })(); Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"')) Node115.setPosition(1199*ratio.ratioX, 103*ratio.ratioY); Node115.setWidth(Node115width); Node115.setHeight(Node115height); Node115._nodeType = 'text'; Node115._disallowEvert = true; Node115.setRotation(0*Math.PI/180); Node115.a('node.width', Node115width); Node115.a('node.height', Node115height); Node115.a('node.rect', [0, 0, Node115width, Node115height]); Node115.a('node.bordercolor','rgba(0,0,0,1)'); Node115.a('node.borderwidth', 0); Node115.a('node.background','' || 'rgba(0,0,0,0)'); Node115.a('node.gradient',''); Node115.a('node.gradientcolor',''); Node115.a('node.text','0'); Node115.a('node.textalign','center'); Node115.a('node.textvAlign','middle'); Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]); Node115.a('node.color','rgba(0,0,0,1)'); Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"'); Node115.a('node.textvisible',true); Node115.a('node.linefeed',false); if (false) { Node115.a('node.textfunc',function(g) { g.beginPath(); var str=Node115.a('node.text') || '0'; var color=Node115.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node115width,Node115height,14.66663*_ratio.ratioY,"center",color,' '+ Node115fontSize + 'px "Arial"', 0,g); }); } if (false) { Node115.a('node.underlinepoints',[Node115lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]); Node115.a('node.underlinevisible',false); Node115.a('node.underlineBorderWidth', 1); } dataModel.add(Node115); zoomNodeList.push({ node: Node115, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node116 = new ht.Node(); var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'center', Node116fontSize = 14.66663*_ratio.ratioY,Node116width = 59*_ratio.ratioX, Node116height = 26*_ratio.ratioY; (function () { if (Node116align === 'left') { Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9; Node116textWidth = Node116width; Node116lineStart = 1; } else if (Node116align === 'right') { Node116textStart = 0; Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2; Node116lineStart = (Node116width - (ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node116align === 'center') { Node116textStart = -3; Node116textWidth = Node116width; Node116lineStart = Node116width - ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width - 11; } })(); Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"')) Node116.setPosition(1199*ratio.ratioX, 126*ratio.ratioY); Node116.setWidth(Node116width); Node116.setHeight(Node116height); Node116._nodeType = 'text'; Node116._disallowEvert = true; Node116.setRotation(0*Math.PI/180); Node116.a('node.width', Node116width); Node116.a('node.height', Node116height); Node116.a('node.rect', [0, 0, Node116width, Node116height]); Node116.a('node.bordercolor','rgba(0,0,0,1)'); Node116.a('node.borderwidth', 0); Node116.a('node.background','' || 'rgba(0,0,0,0)'); Node116.a('node.gradient',''); Node116.a('node.gradientcolor',''); Node116.a('node.text','0'); Node116.a('node.textalign','center'); Node116.a('node.textvAlign','middle'); Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]); Node116.a('node.color','rgba(0,0,0,1)'); Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"'); Node116.a('node.textvisible',true); Node116.a('node.linefeed',false); if (false) { Node116.a('node.textfunc',function(g) { g.beginPath(); var str=Node116.a('node.text') || '0'; var color=Node116.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node116width,Node116height,14.66663*_ratio.ratioY,"center",color,' '+ Node116fontSize + 'px "Arial"', 0,g); }); } if (false) { Node116.a('node.underlinepoints',[Node116lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]); Node116.a('node.underlinevisible',false); Node116.a('node.underlineBorderWidth', 1); } dataModel.add(Node116); zoomNodeList.push({ node: Node116, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node117 = new ht.Node(); var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 14.66663*_ratio.ratioY,Node117width = 59*_ratio.ratioX, Node117height = 26*_ratio.ratioY; (function () { if (Node117align === 'left') { Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9; Node117textWidth = Node117width; Node117lineStart = 1; } else if (Node117align === 'right') { Node117textStart = 0; Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2; Node117lineStart = (Node117width - (ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node117align === 'center') { Node117textStart = -3; Node117textWidth = Node117width; Node117lineStart = Node117width - ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width - 11; } })(); Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "Arial"')) Node117.setPosition(1199*ratio.ratioX, 150*ratio.ratioY); Node117.setWidth(Node117width); Node117.setHeight(Node117height); Node117._nodeType = 'text'; Node117._disallowEvert = true; Node117.setRotation(0*Math.PI/180); Node117.a('node.width', Node117width); Node117.a('node.height', Node117height); Node117.a('node.rect', [0, 0, Node117width, Node117height]); Node117.a('node.bordercolor','rgba(0,0,0,1)'); Node117.a('node.borderwidth', 0); Node117.a('node.background','' || 'rgba(0,0,0,0)'); Node117.a('node.gradient',''); Node117.a('node.gradientcolor',''); Node117.a('node.text','0'); Node117.a('node.textalign','center'); Node117.a('node.textvAlign','middle'); Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]); Node117.a('node.color','rgba(0,0,0,1)'); Node117.a('node.font',' '+ Node117fontSize + 'px "Arial"'); Node117.a('node.textvisible',true); Node117.a('node.linefeed',false); if (false) { Node117.a('node.textfunc',function(g) { g.beginPath(); var str=Node117.a('node.text') || '0'; var color=Node117.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node117width,Node117height,14.66663*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "Arial"', 0,g); }); } if (false) { Node117.a('node.underlinepoints',[Node117lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]); Node117.a('node.underlinevisible',false); Node117.a('node.underlineBorderWidth', 1); } dataModel.add(Node117); zoomNodeList.push({ node: Node117, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node118type = 'rect'; var Node118 = new ht.Node(), Node118BorderWidth = 1*2; if (Node118type === 'arc') { Node118BorderWidth *= 1; } Node118.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node118type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node118.setPosition(1279*ratio.ratioX, 76*ratio.ratioY); Node118.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node118.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node118.a('node.width', 65*_ratio.ratioX); Node118.a('node.height', 24.33138*_ratio.ratioY); Node118.a('node.type', Node118type); Node118.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node118.a('node.background', 'rgba(255,255,255,0.003921569)'); Node118.a('node.gradientcolor', ''); Node118.a('node.gradient', ''); Node118.a('node.borderwidth', Node118BorderWidth); Node118.a('node.color', 'rgba(224,224,224,1)'); Node118.a('node.fillrect', [0,0,0,0]); Node118.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node118.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node118.a('node.fillgradient', ''); if (Node118type !== 'rect') { Node118.a('node.arcFrom', parseFloat('@arcFrom@')); Node118.a('node.arcTo', parseFloat('@arcTo@')); Node118.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node118type === 'arc') { Node118.a('node.arcOval', true); } Node118.setRotation(0*Math.PI/180); Node118.borderWidth = Node118BorderWidth; Node118.borderFillwidth = Node118BorderWidth; dataModel.add(Node118); Node118._nodename = 'Node118' Node118._nodeType = 'rect'; zoomNodeList.push({ node: Node118, 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); } })(Node118, Node118.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node119type = 'rect'; var Node119 = new ht.Node(), Node119BorderWidth = 1*2; if (Node119type === 'arc') { Node119BorderWidth *= 1; } Node119.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node119type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node119.setPosition(1279*ratio.ratioX, 100*ratio.ratioY); Node119.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node119.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node119.a('node.width', 65*_ratio.ratioX); Node119.a('node.height', 24.33138*_ratio.ratioY); Node119.a('node.type', Node119type); Node119.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node119.a('node.background', 'rgba(255,255,255,0.003921569)'); Node119.a('node.gradientcolor', ''); Node119.a('node.gradient', ''); Node119.a('node.borderwidth', Node119BorderWidth); Node119.a('node.color', 'rgba(224,224,224,1)'); Node119.a('node.fillrect', [0,0,0,0]); Node119.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node119.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node119.a('node.fillgradient', ''); if (Node119type !== 'rect') { Node119.a('node.arcFrom', parseFloat('@arcFrom@')); Node119.a('node.arcTo', parseFloat('@arcTo@')); Node119.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node119type === 'arc') { Node119.a('node.arcOval', true); } Node119.setRotation(0*Math.PI/180); Node119.borderWidth = Node119BorderWidth; Node119.borderFillwidth = Node119BorderWidth; dataModel.add(Node119); Node119._nodename = 'Node119' Node119._nodeType = 'rect'; zoomNodeList.push({ node: Node119, 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); } })(Node119, Node119.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node120type = 'rect'; var Node120 = new ht.Node(), Node120BorderWidth = 1*2; if (Node120type === 'arc') { Node120BorderWidth *= 1; } Node120.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node120type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node120.setPosition(1279*ratio.ratioX, 125*ratio.ratioY); Node120.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node120.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node120.a('node.width', 65*_ratio.ratioX); Node120.a('node.height', 24.33136*_ratio.ratioY); Node120.a('node.type', Node120type); Node120.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node120.a('node.background', 'rgba(255,255,255,0.003921569)'); Node120.a('node.gradientcolor', ''); Node120.a('node.gradient', ''); Node120.a('node.borderwidth', Node120BorderWidth); Node120.a('node.color', 'rgba(224,224,224,1)'); Node120.a('node.fillrect', [0,0,0,0]); Node120.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node120.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node120.a('node.fillgradient', ''); if (Node120type !== 'rect') { Node120.a('node.arcFrom', parseFloat('@arcFrom@')); Node120.a('node.arcTo', parseFloat('@arcTo@')); Node120.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node120type === 'arc') { Node120.a('node.arcOval', true); } Node120.setRotation(0*Math.PI/180); Node120.borderWidth = Node120BorderWidth; Node120.borderFillwidth = Node120BorderWidth; dataModel.add(Node120); Node120._nodename = 'Node120' Node120._nodeType = 'rect'; zoomNodeList.push({ node: Node120, 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); } })(Node120, Node120.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node121type = 'rect'; var Node121 = new ht.Node(), Node121BorderWidth = 1*2; if (Node121type === 'arc') { Node121BorderWidth *= 1; } Node121.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node121.setPosition(1279*ratio.ratioX, 149*ratio.ratioY); Node121.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node121.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node121.a('node.width', 65*_ratio.ratioX); Node121.a('node.height', 24.33138*_ratio.ratioY); Node121.a('node.type', Node121type); Node121.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node121.a('node.background', 'rgba(255,255,255,0.003921569)'); Node121.a('node.gradientcolor', ''); Node121.a('node.gradient', ''); Node121.a('node.borderwidth', Node121BorderWidth); Node121.a('node.color', 'rgba(224,224,224,1)'); Node121.a('node.fillrect', [0,0,0,0]); Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node121.a('node.fillgradient', ''); if (Node121type !== 'rect') { Node121.a('node.arcFrom', parseFloat('@arcFrom@')); Node121.a('node.arcTo', parseFloat('@arcTo@')); Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node121type === 'arc') { Node121.a('node.arcOval', true); } Node121.setRotation(0*Math.PI/180); Node121.borderWidth = Node121BorderWidth; Node121.borderFillwidth = Node121BorderWidth; dataModel.add(Node121); Node121._nodename = 'Node121' Node121._nodeType = 'rect'; zoomNodeList.push({ node: Node121, 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); } })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node122 = new ht.Node(); var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'center', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 59*_ratio.ratioX, Node122height = 26*_ratio.ratioY; (function () { if (Node122align === 'left') { Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9; Node122textWidth = Node122width; Node122lineStart = 1; } else if (Node122align === 'right') { Node122textStart = 0; Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2; Node122lineStart = (Node122width - (ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node122align === 'center') { Node122textStart = -3; Node122textWidth = Node122width; Node122lineStart = Node122width - ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width - 11; } })(); Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "Arial"')) Node122.setPosition(1280*ratio.ratioX, 54*ratio.ratioY); Node122.setWidth(Node122width); Node122.setHeight(Node122height); Node122._nodeType = 'text'; Node122._disallowEvert = true; Node122.setRotation(0*Math.PI/180); Node122.a('node.width', Node122width); Node122.a('node.height', Node122height); Node122.a('node.rect', [0, 0, Node122width, Node122height]); Node122.a('node.bordercolor','rgba(128,128,128,1)'); Node122.a('node.borderwidth', 0); Node122.a('node.background','' || 'rgba(0,0,0,0)'); Node122.a('node.gradient',''); Node122.a('node.gradientcolor',''); Node122.a('node.text','万kWh'); Node122.a('node.textalign','center'); Node122.a('node.textvAlign','middle'); Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]); Node122.a('node.color','rgba(128,128,128,1)'); Node122.a('node.font',' '+ Node122fontSize + 'px "Arial"'); Node122.a('node.textvisible',true); Node122.a('node.linefeed',false); if (false) { Node122.a('node.textfunc',function(g) { g.beginPath(); var str=Node122.a('node.text') || '万kWh'; var color=Node122.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"center",color,' '+ Node122fontSize + 'px "Arial"', 0,g); }); } if (false) { Node122.a('node.underlinepoints',[Node122lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node122fontSize + 'px "Arial"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]); Node122.a('node.underlinevisible',false); Node122.a('node.underlineBorderWidth', 1); } dataModel.add(Node122); zoomNodeList.push({ node: Node122, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node123 = new ht.Node(); var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'center', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 59*_ratio.ratioX, Node123height = 26*_ratio.ratioY; (function () { if (Node123align === 'left') { Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9; Node123textWidth = Node123width; Node123lineStart = 1; } else if (Node123align === 'right') { Node123textStart = 0; Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2; Node123lineStart = (Node123width - (ht.Default.getTextSize('万kWh', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node123align === 'center') { Node123textStart = -3; Node123textWidth = Node123width; Node123lineStart = Node123width - ht.Default.getTextSize('万kWh', ' '+ Node123fontSize + 'px "Arial"').width - 11; } })(); Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"')) Node123.setPosition(1280*ratio.ratioX, 78*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,128,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','万kWh'); Node123.a('node.textalign','center'); Node123.a('node.textvAlign','middle'); Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]); Node123.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node123.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"center",color,' '+ Node123fontSize + 'px "Arial"', 0,g); }); } if (false) { Node123.a('node.underlinepoints',[Node123lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 59*_ratio.ratioX, Node124height = 26*_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('万kWh', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node124align === 'center') { Node124textStart = -3; Node124textWidth = Node124width; Node124lineStart = Node124width - ht.Default.getTextSize('万kWh', ' '+ Node124fontSize + 'px "Arial"').width - 11; } })(); Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"')) Node124.setPosition(1280*ratio.ratioX, 101*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(128,128,128,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','万kWh'); Node124.a('node.textalign','center'); Node124.a('node.textvAlign','middle'); Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]); Node124.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node124.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"center",color,' '+ Node124fontSize + 'px "Arial"', 0,g); }); } if (false) { Node124.a('node.underlinepoints',[Node124lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 59*_ratio.ratioX, Node125height = 26*_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('万kWh', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node125align === 'center') { Node125textStart = -3; Node125textWidth = Node125width; Node125lineStart = Node125width - ht.Default.getTextSize('万kWh', ' '+ Node125fontSize + 'px "Arial"').width - 11; } })(); Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"')) Node125.setPosition(1280*ratio.ratioX, 127*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,128,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','万kWh'); Node125.a('node.textalign','center'); Node125.a('node.textvAlign','middle'); Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]); Node125.a('node.color','rgba(128,128,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') || '万kWh'; var color=Node125.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"center",color,' '+ Node125fontSize + 'px "Arial"', 0,g); }); } if (false) { Node125.a('node.underlinepoints',[Node125lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 59*_ratio.ratioX, Node126height = 26*_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('万kWh', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node126align === 'center') { Node126textStart = -3; Node126textWidth = Node126width; Node126lineStart = Node126width - ht.Default.getTextSize('万kWh', ' '+ Node126fontSize + 'px "Arial"').width - 11; } })(); Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"')) Node126.setPosition(1280*ratio.ratioX, 151*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(128,128,128,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','万kWh'); Node126.a('node.textalign','center'); Node126.a('node.textvAlign','middle'); Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]); Node126.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node126.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"center",color,' '+ Node126fontSize + 'px "Arial"', 0,g); }); } if (false) { Node126.a('node.underlinepoints',[Node126lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 67*_ratio.ratioX, Node127height = 26*_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 "微软雅黑"').width + 6)) * 0.5; } else if (Node127align === 'center') { Node127textStart = -3; Node127textWidth = Node127width; Node127lineStart = Node127width - ht.Default.getTextSize('装机容量', ' '+ Node127fontSize + 'px "微软雅黑"').width - 11; } })(); Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "微软雅黑"')) Node127.setPosition(225*ratio.ratioX, 53*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(0,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(0,0,0,1)'); Node127.a('node.font',' '+ Node127fontSize + 'px "微软雅黑"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node127.a('node.underlinepoints',[Node127lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node127fontSize + 'px "微软雅黑"').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 Node128type = 'rect'; var Node128 = new ht.Node(), Node128BorderWidth = 1*2; if (Node128type === 'arc') { Node128BorderWidth *= 1; } Node128.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node128type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node128.setPosition(356*ratio.ratioX, 52*ratio.ratioY); Node128.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node128.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node128.a('node.width', 94*_ratio.ratioX); Node128.a('node.height', 24.33136*_ratio.ratioY); Node128.a('node.type', Node128type); Node128.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node128.a('node.background', 'rgba(255,255,255,0.003921569)'); Node128.a('node.gradientcolor', ''); Node128.a('node.gradient', ''); Node128.a('node.borderwidth', Node128BorderWidth); Node128.a('node.color', 'rgba(224,224,224,1)'); Node128.a('node.fillrect', [0,0,0,0]); Node128.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node128.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node128.a('node.fillgradient', ''); if (Node128type !== 'rect') { Node128.a('node.arcFrom', parseFloat('@arcFrom@')); Node128.a('node.arcTo', parseFloat('@arcTo@')); Node128.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node128type === 'arc') { Node128.a('node.arcOval', true); } Node128.setRotation(0*Math.PI/180); Node128.borderWidth = Node128BorderWidth; Node128.borderFillwidth = Node128BorderWidth; dataModel.add(Node128); Node128._nodename = 'Node128' Node128._nodeType = 'rect'; zoomNodeList.push({ node: Node128, 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); } })(Node128, Node128.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node129type = 'rect'; var Node129 = new ht.Node(), Node129BorderWidth = 1*2; if (Node129type === 'arc') { Node129BorderWidth *= 1; } Node129.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node129type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node129.setPosition(356*ratio.ratioX, 76*ratio.ratioY); Node129.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node129.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node129.a('node.width', 94*_ratio.ratioX); Node129.a('node.height', 24.33138*_ratio.ratioY); Node129.a('node.type', Node129type); Node129.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node129.a('node.background', 'rgba(255,255,255,0.003921569)'); Node129.a('node.gradientcolor', ''); Node129.a('node.gradient', ''); Node129.a('node.borderwidth', Node129BorderWidth); Node129.a('node.color', 'rgba(224,224,224,1)'); Node129.a('node.fillrect', [0,0,0,0]); Node129.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node129.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node129.a('node.fillgradient', ''); if (Node129type !== 'rect') { Node129.a('node.arcFrom', parseFloat('@arcFrom@')); Node129.a('node.arcTo', parseFloat('@arcTo@')); Node129.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node129type === 'arc') { Node129.a('node.arcOval', true); } Node129.setRotation(0*Math.PI/180); Node129.borderWidth = Node129BorderWidth; Node129.borderFillwidth = Node129BorderWidth; dataModel.add(Node129); Node129._nodename = 'Node129' Node129._nodeType = 'rect'; zoomNodeList.push({ node: Node129, 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); } })(Node129, Node129.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node130type = 'rect'; var Node130 = new ht.Node(), Node130BorderWidth = 1*2; if (Node130type === 'arc') { Node130BorderWidth *= 1; } Node130.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node130type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node130.setPosition(356*ratio.ratioX, 100*ratio.ratioY); Node130.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node130.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node130.a('node.width', 94*_ratio.ratioX); Node130.a('node.height', 24.33138*_ratio.ratioY); Node130.a('node.type', Node130type); Node130.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node130.a('node.background', 'rgba(255,255,255,0.003921569)'); Node130.a('node.gradientcolor', ''); Node130.a('node.gradient', ''); Node130.a('node.borderwidth', Node130BorderWidth); Node130.a('node.color', 'rgba(224,224,224,1)'); Node130.a('node.fillrect', [0,0,0,0]); Node130.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node130.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node130.a('node.fillgradient', ''); if (Node130type !== 'rect') { Node130.a('node.arcFrom', parseFloat('@arcFrom@')); Node130.a('node.arcTo', parseFloat('@arcTo@')); Node130.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node130type === 'arc') { Node130.a('node.arcOval', true); } Node130.setRotation(0*Math.PI/180); Node130.borderWidth = Node130BorderWidth; Node130.borderFillwidth = Node130BorderWidth; dataModel.add(Node130); Node130._nodename = 'Node130' Node130._nodeType = 'rect'; zoomNodeList.push({ node: Node130, 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); } })(Node130, Node130.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node131type = 'rect'; var Node131 = new ht.Node(), Node131BorderWidth = 1*2; if (Node131type === 'arc') { Node131BorderWidth *= 1; } Node131.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node131.setPosition(356*ratio.ratioX, 125*ratio.ratioY); Node131.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node131.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node131.a('node.width', 94*_ratio.ratioX); Node131.a('node.height', 24.33136*_ratio.ratioY); Node131.a('node.type', Node131type); Node131.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node131.a('node.background', 'rgba(255,255,255,0.003921569)'); Node131.a('node.gradientcolor', ''); Node131.a('node.gradient', ''); Node131.a('node.borderwidth', Node131BorderWidth); Node131.a('node.color', 'rgba(224,224,224,1)'); Node131.a('node.fillrect', [0,0,0,0]); Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node131.a('node.fillgradient', ''); if (Node131type !== 'rect') { Node131.a('node.arcFrom', parseFloat('@arcFrom@')); Node131.a('node.arcTo', parseFloat('@arcTo@')); Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node131type === 'arc') { Node131.a('node.arcOval', true); } Node131.setRotation(0*Math.PI/180); Node131.borderWidth = Node131BorderWidth; Node131.borderFillwidth = Node131BorderWidth; dataModel.add(Node131); Node131._nodename = 'Node131' Node131._nodeType = 'rect'; zoomNodeList.push({ node: Node131, 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); } })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node132type = 'rect'; var Node132 = new ht.Node(), Node132BorderWidth = 1*2; if (Node132type === 'arc') { Node132BorderWidth *= 1; } Node132.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node132.setPosition(356*ratio.ratioX, 149*ratio.ratioY); Node132.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node132.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node132.a('node.width', 94*_ratio.ratioX); Node132.a('node.height', 24.33138*_ratio.ratioY); Node132.a('node.type', Node132type); Node132.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node132.a('node.background', 'rgba(255,255,255,0.003921569)'); Node132.a('node.gradientcolor', ''); Node132.a('node.gradient', ''); Node132.a('node.borderwidth', Node132BorderWidth); Node132.a('node.color', 'rgba(224,224,224,1)'); Node132.a('node.fillrect', [0,0,0,0]); Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node132.a('node.fillgradient', ''); if (Node132type !== 'rect') { Node132.a('node.arcFrom', parseFloat('@arcFrom@')); Node132.a('node.arcTo', parseFloat('@arcTo@')); Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node132type === 'arc') { Node132.a('node.arcOval', true); } Node132.setRotation(0*Math.PI/180); Node132.borderWidth = Node132BorderWidth; Node132.borderFillwidth = Node132BorderWidth; dataModel.add(Node132); Node132._nodename = 'Node132' Node132._nodeType = 'rect'; zoomNodeList.push({ node: Node132, 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); } })(Node132, Node132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node133 = new ht.Node(); var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'center', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 58*_ratio.ratioX, Node133height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node133align === 'center') { Node133textStart = -3; Node133textWidth = Node133width; Node133lineStart = Node133width - ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width - 11; } })(); Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"')) Node133.setPosition(356*ratio.ratioX, 54*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(0,0,0,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','center'); Node133.a('node.textvAlign','middle'); Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]); Node133.a('node.color','rgba(0,0,0,1)'); Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"center",color,' '+ Node133fontSize + 'px "Arial"', 0,g); }); } if (false) { Node133.a('node.underlinepoints',[Node133lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').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 = 'center', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 58*_ratio.ratioX, Node134height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node134align === 'center') { Node134textStart = -3; Node134textWidth = Node134width; Node134lineStart = Node134width - ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width - 11; } })(); Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"')) Node134.setPosition(356*ratio.ratioX, 78*ratio.ratioY); Node134.setWidth(Node134width); Node134.setHeight(Node134height); Node134._nodeType = 'text'; Node134._disallowEvert = true; Node134.setRotation(0*Math.PI/180); Node134.a('node.width', Node134width); Node134.a('node.height', Node134height); Node134.a('node.rect', [0, 0, Node134width, Node134height]); Node134.a('node.bordercolor','rgba(0,0,0,1)'); Node134.a('node.borderwidth', 0); Node134.a('node.background','' || 'rgba(0,0,0,0)'); Node134.a('node.gradient',''); Node134.a('node.gradientcolor',''); Node134.a('node.text','0'); Node134.a('node.textalign','center'); Node134.a('node.textvAlign','middle'); Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]); Node134.a('node.color','rgba(0,0,0,1)'); Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"'); Node134.a('node.textvisible',true); Node134.a('node.linefeed',false); if (false) { Node134.a('node.textfunc',function(g) { g.beginPath(); var str=Node134.a('node.text') || '0'; var color=Node134.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"center",color,' '+ Node134fontSize + 'px "Arial"', 0,g); }); } if (false) { Node134.a('node.underlinepoints',[Node134lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]); Node134.a('node.underlinevisible',false); Node134.a('node.underlineBorderWidth', 1); } dataModel.add(Node134); zoomNodeList.push({ node: Node134, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node135 = new ht.Node(); var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'center', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 58*_ratio.ratioX, Node135height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node135align === 'center') { Node135textStart = -3; Node135textWidth = Node135width; Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width - 11; } })(); Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"')) Node135.setPosition(356*ratio.ratioX, 103*ratio.ratioY); Node135.setWidth(Node135width); Node135.setHeight(Node135height); Node135._nodeType = 'text'; Node135._disallowEvert = true; Node135.setRotation(0*Math.PI/180); Node135.a('node.width', Node135width); Node135.a('node.height', Node135height); Node135.a('node.rect', [0, 0, Node135width, Node135height]); Node135.a('node.bordercolor','rgba(0,0,0,1)'); Node135.a('node.borderwidth', 0); Node135.a('node.background','' || 'rgba(0,0,0,0)'); Node135.a('node.gradient',''); Node135.a('node.gradientcolor',''); Node135.a('node.text','0'); Node135.a('node.textalign','center'); Node135.a('node.textvAlign','middle'); Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]); Node135.a('node.color','rgba(0,0,0,1)'); Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"'); Node135.a('node.textvisible',true); Node135.a('node.linefeed',false); if (false) { Node135.a('node.textfunc',function(g) { g.beginPath(); var str=Node135.a('node.text') || '0'; var color=Node135.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"center",color,' '+ Node135fontSize + 'px "Arial"', 0,g); }); } if (false) { Node135.a('node.underlinepoints',[Node135lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]); Node135.a('node.underlinevisible',false); Node135.a('node.underlineBorderWidth', 1); } dataModel.add(Node135); zoomNodeList.push({ node: Node135, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node136 = new ht.Node(); var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'center', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 58*_ratio.ratioX, Node136height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node136align === 'center') { Node136textStart = -3; Node136textWidth = Node136width; Node136lineStart = Node136width - ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width - 11; } })(); Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"')) Node136.setPosition(356*ratio.ratioX, 126*ratio.ratioY); Node136.setWidth(Node136width); Node136.setHeight(Node136height); Node136._nodeType = 'text'; Node136._disallowEvert = true; Node136.setRotation(0*Math.PI/180); Node136.a('node.width', Node136width); Node136.a('node.height', Node136height); Node136.a('node.rect', [0, 0, Node136width, Node136height]); Node136.a('node.bordercolor','rgba(0,0,0,1)'); Node136.a('node.borderwidth', 0); Node136.a('node.background','' || 'rgba(0,0,0,0)'); Node136.a('node.gradient',''); Node136.a('node.gradientcolor',''); Node136.a('node.text','0'); Node136.a('node.textalign','center'); Node136.a('node.textvAlign','middle'); Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]); Node136.a('node.color','rgba(0,0,0,1)'); Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"'); Node136.a('node.textvisible',true); Node136.a('node.linefeed',false); if (false) { Node136.a('node.textfunc',function(g) { g.beginPath(); var str=Node136.a('node.text') || '0'; var color=Node136.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"center",color,' '+ Node136fontSize + 'px "Arial"', 0,g); }); } if (false) { Node136.a('node.underlinepoints',[Node136lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]); Node136.a('node.underlinevisible',false); Node136.a('node.underlineBorderWidth', 1); } dataModel.add(Node136); zoomNodeList.push({ node: Node136, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node137 = new ht.Node(); var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'center', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 58*_ratio.ratioX, Node137height = 26*_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 "Arial"').width + 6)) * 0.5; } else if (Node137align === 'center') { Node137textStart = -3; Node137textWidth = Node137width; Node137lineStart = Node137width - ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width - 11; } })(); Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"')) Node137.setPosition(356*ratio.ratioX, 150*ratio.ratioY); Node137.setWidth(Node137width); Node137.setHeight(Node137height); Node137._nodeType = 'text'; Node137._disallowEvert = true; Node137.setRotation(0*Math.PI/180); Node137.a('node.width', Node137width); Node137.a('node.height', Node137height); Node137.a('node.rect', [0, 0, Node137width, Node137height]); Node137.a('node.bordercolor','rgba(0,0,0,1)'); Node137.a('node.borderwidth', 0); Node137.a('node.background','' || 'rgba(0,0,0,0)'); Node137.a('node.gradient',''); Node137.a('node.gradientcolor',''); Node137.a('node.text','0'); Node137.a('node.textalign','center'); Node137.a('node.textvAlign','middle'); Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]); Node137.a('node.color','rgba(0,0,0,1)'); Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"'); Node137.a('node.textvisible',true); Node137.a('node.linefeed',false); if (false) { Node137.a('node.textfunc',function(g) { g.beginPath(); var str=Node137.a('node.text') || '0'; var color=Node137.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"center",color,' '+ Node137fontSize + 'px "Arial"', 0,g); }); } if (false) { Node137.a('node.underlinepoints',[Node137lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]); Node137.a('node.underlinevisible',false); Node137.a('node.underlineBorderWidth', 1); } dataModel.add(Node137); zoomNodeList.push({ node: Node137, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node138type = 'rect'; var Node138 = new ht.Node(), Node138BorderWidth = 1*2; if (Node138type === 'arc') { Node138BorderWidth *= 1; } Node138.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node138type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node138.setPosition(435*ratio.ratioX, 52*ratio.ratioY); Node138.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node138.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node138.a('node.width', 65*_ratio.ratioX); Node138.a('node.height', 24.33136*_ratio.ratioY); Node138.a('node.type', Node138type); Node138.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node138.a('node.background', 'rgba(255,255,255,0.003921569)'); Node138.a('node.gradientcolor', ''); Node138.a('node.gradient', ''); Node138.a('node.borderwidth', Node138BorderWidth); Node138.a('node.color', 'rgba(224,224,224,1)'); Node138.a('node.fillrect', [0,0,0,0]); Node138.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node138.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node138.a('node.fillgradient', ''); if (Node138type !== 'rect') { Node138.a('node.arcFrom', parseFloat('@arcFrom@')); Node138.a('node.arcTo', parseFloat('@arcTo@')); Node138.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node138type === 'arc') { Node138.a('node.arcOval', true); } Node138.setRotation(0*Math.PI/180); Node138.borderWidth = Node138BorderWidth; Node138.borderFillwidth = Node138BorderWidth; dataModel.add(Node138); Node138._nodename = 'Node138' Node138._nodeType = 'rect'; zoomNodeList.push({ node: Node138, 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); } })(Node138, Node138.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node139type = 'rect'; var Node139 = new ht.Node(), Node139BorderWidth = 1*2; if (Node139type === 'arc') { Node139BorderWidth *= 1; } Node139.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node139type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node139.setPosition(435*ratio.ratioX, 76*ratio.ratioY); Node139.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node139.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node139.a('node.width', 65*_ratio.ratioX); Node139.a('node.height', 24.33138*_ratio.ratioY); Node139.a('node.type', Node139type); Node139.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node139.a('node.background', 'rgba(255,255,255,0.003921569)'); Node139.a('node.gradientcolor', ''); Node139.a('node.gradient', ''); Node139.a('node.borderwidth', Node139BorderWidth); Node139.a('node.color', 'rgba(224,224,224,1)'); Node139.a('node.fillrect', [0,0,0,0]); Node139.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node139.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node139.a('node.fillgradient', ''); if (Node139type !== 'rect') { Node139.a('node.arcFrom', parseFloat('@arcFrom@')); Node139.a('node.arcTo', parseFloat('@arcTo@')); Node139.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node139type === 'arc') { Node139.a('node.arcOval', true); } Node139.setRotation(0*Math.PI/180); Node139.borderWidth = Node139BorderWidth; Node139.borderFillwidth = Node139BorderWidth; dataModel.add(Node139); Node139._nodename = 'Node139' Node139._nodeType = 'rect'; zoomNodeList.push({ node: Node139, 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); } })(Node139, Node139.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node140type = 'rect'; var Node140 = new ht.Node(), Node140BorderWidth = 1*2; if (Node140type === 'arc') { Node140BorderWidth *= 1; } Node140.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node140type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node140.setPosition(435*ratio.ratioX, 100*ratio.ratioY); Node140.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node140.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node140.a('node.width', 65*_ratio.ratioX); Node140.a('node.height', 24.33138*_ratio.ratioY); Node140.a('node.type', Node140type); Node140.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node140.a('node.background', 'rgba(255,255,255,0.003921569)'); Node140.a('node.gradientcolor', ''); Node140.a('node.gradient', ''); Node140.a('node.borderwidth', Node140BorderWidth); Node140.a('node.color', 'rgba(224,224,224,1)'); Node140.a('node.fillrect', [0,0,0,0]); Node140.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node140.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node140.a('node.fillgradient', ''); if (Node140type !== 'rect') { Node140.a('node.arcFrom', parseFloat('@arcFrom@')); Node140.a('node.arcTo', parseFloat('@arcTo@')); Node140.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node140type === 'arc') { Node140.a('node.arcOval', true); } Node140.setRotation(0*Math.PI/180); Node140.borderWidth = Node140BorderWidth; Node140.borderFillwidth = Node140BorderWidth; dataModel.add(Node140); Node140._nodename = 'Node140' Node140._nodeType = 'rect'; zoomNodeList.push({ node: Node140, 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); } })(Node140, Node140.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node141type = 'rect'; var Node141 = new ht.Node(), Node141BorderWidth = 1*2; if (Node141type === 'arc') { Node141BorderWidth *= 1; } Node141.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node141type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node141.setPosition(435*ratio.ratioX, 125*ratio.ratioY); Node141.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node141.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node141.a('node.width', 65*_ratio.ratioX); Node141.a('node.height', 24.33136*_ratio.ratioY); Node141.a('node.type', Node141type); Node141.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node141.a('node.background', 'rgba(255,255,255,0.003921569)'); Node141.a('node.gradientcolor', ''); Node141.a('node.gradient', ''); Node141.a('node.borderwidth', Node141BorderWidth); Node141.a('node.color', 'rgba(224,224,224,1)'); 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 = 1*2; if (Node142type === 'arc') { Node142BorderWidth *= 1; } Node142.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node142.setPosition(435*ratio.ratioX, 149*ratio.ratioY); Node142.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node142.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node142.a('node.width', 65*_ratio.ratioX); Node142.a('node.height', 24.33138*_ratio.ratioY); Node142.a('node.type', Node142type); Node142.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node142.a('node.background', 'rgba(255,255,255,0.003921569)'); Node142.a('node.gradientcolor', ''); Node142.a('node.gradient', ''); Node142.a('node.borderwidth', Node142BorderWidth); Node142.a('node.color', 'rgba(224,224,224,1)'); 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 Node143 = new ht.Node(); var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'center', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 59*_ratio.ratioX, Node143height = 26*_ratio.ratioY; (function () { if (Node143align === 'left') { Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9; Node143textWidth = Node143width; Node143lineStart = 1; } else if (Node143align === 'right') { Node143textStart = 0; Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2; Node143lineStart = (Node143width - (ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node143align === 'center') { Node143textStart = -3; Node143textWidth = Node143width; Node143lineStart = Node143width - ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width - 11; } })(); Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"')) Node143.setPosition(436*ratio.ratioX, 54*ratio.ratioY); Node143.setWidth(Node143width); Node143.setHeight(Node143height); Node143._nodeType = 'text'; Node143._disallowEvert = true; Node143.setRotation(0*Math.PI/180); Node143.a('node.width', Node143width); Node143.a('node.height', Node143height); Node143.a('node.rect', [0, 0, Node143width, Node143height]); Node143.a('node.bordercolor','rgba(128,128,128,1)'); Node143.a('node.borderwidth', 0); Node143.a('node.background','' || 'rgba(0,0,0,0)'); Node143.a('node.gradient',''); Node143.a('node.gradientcolor',''); Node143.a('node.text','万kW'); Node143.a('node.textalign','center'); Node143.a('node.textvAlign','middle'); Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]); Node143.a('node.color','rgba(128,128,128,1)'); Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"'); Node143.a('node.textvisible',true); Node143.a('node.linefeed',false); if (false) { Node143.a('node.textfunc',function(g) { g.beginPath(); var str=Node143.a('node.text') || '万kW'; var color=Node143.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"center",color,' '+ Node143fontSize + 'px "Arial"', 0,g); }); } if (false) { Node143.a('node.underlinepoints',[Node143lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]); Node143.a('node.underlinevisible',false); Node143.a('node.underlineBorderWidth', 1); } dataModel.add(Node143); zoomNodeList.push({ node: Node143, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node144 = new ht.Node(); var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'center', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 59*_ratio.ratioX, Node144height = 26*_ratio.ratioY; (function () { if (Node144align === 'left') { Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9; Node144textWidth = Node144width; Node144lineStart = 1; } else if (Node144align === 'right') { Node144textStart = 0; Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2; Node144lineStart = (Node144width - (ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node144align === 'center') { Node144textStart = -3; Node144textWidth = Node144width; Node144lineStart = Node144width - ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width - 11; } })(); Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, ' '+ Node144fontSize + 'px "Arial"')) Node144.setPosition(436*ratio.ratioX, 78*ratio.ratioY); Node144.setWidth(Node144width); Node144.setHeight(Node144height); Node144._nodeType = 'text'; Node144._disallowEvert = true; Node144.setRotation(0*Math.PI/180); Node144.a('node.width', Node144width); Node144.a('node.height', Node144height); Node144.a('node.rect', [0, 0, Node144width, Node144height]); Node144.a('node.bordercolor','rgba(128,128,128,1)'); Node144.a('node.borderwidth', 0); Node144.a('node.background','' || 'rgba(0,0,0,0)'); Node144.a('node.gradient',''); Node144.a('node.gradientcolor',''); Node144.a('node.text','MW'); Node144.a('node.textalign','center'); Node144.a('node.textvAlign','middle'); Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]); Node144.a('node.color','rgba(128,128,128,1)'); Node144.a('node.font',' '+ Node144fontSize + 'px "Arial"'); Node144.a('node.textvisible',true); Node144.a('node.linefeed',false); if (false) { Node144.a('node.textfunc',function(g) { g.beginPath(); var str=Node144.a('node.text') || 'MW'; var color=Node144.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"center",color,' '+ Node144fontSize + 'px "Arial"', 0,g); }); } if (false) { Node144.a('node.underlinepoints',[Node144lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]); Node144.a('node.underlinevisible',false); Node144.a('node.underlineBorderWidth', 1); } dataModel.add(Node144); zoomNodeList.push({ node: Node144, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node145 = new ht.Node(); var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'center', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 59*_ratio.ratioX, Node145height = 26*_ratio.ratioY; (function () { if (Node145align === 'left') { Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9; Node145textWidth = Node145width; Node145lineStart = 1; } else if (Node145align === 'right') { Node145textStart = 0; Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2; Node145lineStart = (Node145width - (ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node145align === 'center') { Node145textStart = -3; Node145textWidth = Node145width; Node145lineStart = Node145width - ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width - 11; } })(); Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"')) Node145.setPosition(436*ratio.ratioX, 101*ratio.ratioY); Node145.setWidth(Node145width); Node145.setHeight(Node145height); Node145._nodeType = 'text'; Node145._disallowEvert = true; Node145.setRotation(0*Math.PI/180); Node145.a('node.width', Node145width); Node145.a('node.height', Node145height); Node145.a('node.rect', [0, 0, Node145width, Node145height]); Node145.a('node.bordercolor','rgba(128,128,128,1)'); Node145.a('node.borderwidth', 0); Node145.a('node.background','' || 'rgba(0,0,0,0)'); Node145.a('node.gradient',''); Node145.a('node.gradientcolor',''); Node145.a('node.text','m/s'); Node145.a('node.textalign','center'); Node145.a('node.textvAlign','middle'); Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]); Node145.a('node.color','rgba(128,128,128,1)'); Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"'); Node145.a('node.textvisible',true); Node145.a('node.linefeed',false); if (false) { Node145.a('node.textfunc',function(g) { g.beginPath(); var str=Node145.a('node.text') || 'm/s'; var color=Node145.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"center",color,' '+ Node145fontSize + 'px "Arial"', 0,g); }); } if (false) { Node145.a('node.underlinepoints',[Node145lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]); Node145.a('node.underlinevisible',false); Node145.a('node.underlineBorderWidth', 1); } dataModel.add(Node145); zoomNodeList.push({ node: Node145, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node146 = new ht.Node(); var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'center', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 59*_ratio.ratioX, Node146height = 26*_ratio.ratioY; (function () { if (Node146align === 'left') { Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9; Node146textWidth = Node146width; Node146lineStart = 1; } else if (Node146align === 'right') { Node146textStart = 0; Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2; Node146lineStart = (Node146width - (ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node146align === 'center') { Node146textStart = -3; Node146textWidth = Node146width; Node146lineStart = Node146width - ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width - 11; } })(); Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"')) Node146.setPosition(436*ratio.ratioX, 127*ratio.ratioY); Node146.setWidth(Node146width); Node146.setHeight(Node146height); Node146._nodeType = 'text'; Node146._disallowEvert = true; Node146.setRotation(0*Math.PI/180); Node146.a('node.width', Node146width); Node146.a('node.height', Node146height); Node146.a('node.rect', [0, 0, Node146width, Node146height]); Node146.a('node.bordercolor','rgba(128,128,128,1)'); Node146.a('node.borderwidth', 0); Node146.a('node.background','' || 'rgba(0,0,0,0)'); Node146.a('node.gradient',''); Node146.a('node.gradientcolor',''); Node146.a('node.text','万kWh'); Node146.a('node.textalign','center'); Node146.a('node.textvAlign','middle'); Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]); Node146.a('node.color','rgba(128,128,128,1)'); Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"'); Node146.a('node.textvisible',true); Node146.a('node.linefeed',false); if (false) { Node146.a('node.textfunc',function(g) { g.beginPath(); var str=Node146.a('node.text') || '万kWh'; var color=Node146.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"center",color,' '+ Node146fontSize + 'px "Arial"', 0,g); }); } if (false) { Node146.a('node.underlinepoints',[Node146lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]); Node146.a('node.underlinevisible',false); Node146.a('node.underlineBorderWidth', 1); } dataModel.add(Node146); zoomNodeList.push({ node: Node146, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node147 = new ht.Node(); var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'center', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 59*_ratio.ratioX, Node147height = 26*_ratio.ratioY; (function () { if (Node147align === 'left') { Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9; Node147textWidth = Node147width; Node147lineStart = 1; } else if (Node147align === 'right') { Node147textStart = 0; Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2; Node147lineStart = (Node147width - (ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node147align === 'center') { Node147textStart = -3; Node147textWidth = Node147width; Node147lineStart = Node147width - ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width - 11; } })(); Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"')) Node147.setPosition(436*ratio.ratioX, 151*ratio.ratioY); Node147.setWidth(Node147width); Node147.setHeight(Node147height); Node147._nodeType = 'text'; Node147._disallowEvert = true; Node147.setRotation(0*Math.PI/180); Node147.a('node.width', Node147width); Node147.a('node.height', Node147height); Node147.a('node.rect', [0, 0, Node147width, Node147height]); Node147.a('node.bordercolor','rgba(128,128,128,1)'); Node147.a('node.borderwidth', 0); Node147.a('node.background','' || 'rgba(0,0,0,0)'); Node147.a('node.gradient',''); Node147.a('node.gradientcolor',''); Node147.a('node.text','万kWh'); Node147.a('node.textalign','center'); Node147.a('node.textvAlign','middle'); Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]); Node147.a('node.color','rgba(128,128,128,1)'); Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"'); Node147.a('node.textvisible',true); Node147.a('node.linefeed',false); if (false) { Node147.a('node.textfunc',function(g) { g.beginPath(); var str=Node147.a('node.text') || '万kWh'; var color=Node147.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"center",color,' '+ Node147fontSize + 'px "Arial"', 0,g); }); } if (false) { Node147.a('node.underlinepoints',[Node147lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]); Node147.a('node.underlinevisible',false); Node147.a('node.underlineBorderWidth', 1); } dataModel.add(Node147); zoomNodeList.push({ node: Node147, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node148type = 'rect'; var Node148 = new ht.Node(), Node148BorderWidth = 1*2; if (Node148type === 'arc') { Node148BorderWidth *= 1; } Node148.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node148type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node148.setPosition(640*ratio.ratioX, 52*ratio.ratioY); Node148.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node148.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node148.a('node.width', 94*_ratio.ratioX); Node148.a('node.height', 24.33136*_ratio.ratioY); Node148.a('node.type', Node148type); Node148.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node148.a('node.background', 'rgba(255,255,255,0.003921569)'); Node148.a('node.gradientcolor', ''); Node148.a('node.gradient', ''); Node148.a('node.borderwidth', Node148BorderWidth); Node148.a('node.color', 'rgba(224,224,224,1)'); Node148.a('node.fillrect', [0,0,0,0]); Node148.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node148.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node148.a('node.fillgradient', ''); if (Node148type !== 'rect') { Node148.a('node.arcFrom', parseFloat('@arcFrom@')); Node148.a('node.arcTo', parseFloat('@arcTo@')); Node148.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node148type === 'arc') { Node148.a('node.arcOval', true); } Node148.setRotation(0*Math.PI/180); Node148.borderWidth = Node148BorderWidth; Node148.borderFillwidth = Node148BorderWidth; dataModel.add(Node148); Node148._nodename = 'Node148' Node148._nodeType = 'rect'; zoomNodeList.push({ node: Node148, 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); } })(Node148, Node148.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node149type = 'rect'; var Node149 = new ht.Node(), Node149BorderWidth = 1*2; if (Node149type === 'arc') { Node149BorderWidth *= 1; } Node149.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node149type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node149.setPosition(640*ratio.ratioX, 76*ratio.ratioY); Node149.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node149.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node149.a('node.width', 94*_ratio.ratioX); Node149.a('node.height', 24.33138*_ratio.ratioY); Node149.a('node.type', Node149type); Node149.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node149.a('node.background', 'rgba(255,255,255,0.003921569)'); Node149.a('node.gradientcolor', ''); Node149.a('node.gradient', ''); Node149.a('node.borderwidth', Node149BorderWidth); Node149.a('node.color', 'rgba(224,224,224,1)'); Node149.a('node.fillrect', [0,0,0,0]); Node149.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node149.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node149.a('node.fillgradient', ''); if (Node149type !== 'rect') { Node149.a('node.arcFrom', parseFloat('@arcFrom@')); Node149.a('node.arcTo', parseFloat('@arcTo@')); Node149.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node149type === 'arc') { Node149.a('node.arcOval', true); } Node149.setRotation(0*Math.PI/180); Node149.borderWidth = Node149BorderWidth; Node149.borderFillwidth = Node149BorderWidth; dataModel.add(Node149); Node149._nodename = 'Node149' Node149._nodeType = 'rect'; zoomNodeList.push({ node: Node149, 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); } })(Node149, Node149.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node150type = 'rect'; var Node150 = new ht.Node(), Node150BorderWidth = 1*2; if (Node150type === 'arc') { Node150BorderWidth *= 1; } Node150.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node150type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node150.setPosition(640*ratio.ratioX, 100*ratio.ratioY); Node150.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node150.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node150.a('node.width', 94*_ratio.ratioX); Node150.a('node.height', 24.33138*_ratio.ratioY); Node150.a('node.type', Node150type); Node150.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node150.a('node.background', 'rgba(255,255,255,0.003921569)'); Node150.a('node.gradientcolor', ''); Node150.a('node.gradient', ''); Node150.a('node.borderwidth', Node150BorderWidth); Node150.a('node.color', 'rgba(224,224,224,1)'); Node150.a('node.fillrect', [0,0,0,0]); Node150.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node150.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node150.a('node.fillgradient', ''); if (Node150type !== 'rect') { Node150.a('node.arcFrom', parseFloat('@arcFrom@')); Node150.a('node.arcTo', parseFloat('@arcTo@')); Node150.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node150type === 'arc') { Node150.a('node.arcOval', true); } Node150.setRotation(0*Math.PI/180); Node150.borderWidth = Node150BorderWidth; Node150.borderFillwidth = Node150BorderWidth; dataModel.add(Node150); Node150._nodename = 'Node150' Node150._nodeType = 'rect'; zoomNodeList.push({ node: Node150, 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); } })(Node150, Node150.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node151type = 'rect'; var Node151 = new ht.Node(), Node151BorderWidth = 1*2; if (Node151type === 'arc') { Node151BorderWidth *= 1; } Node151.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node151type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node151.setPosition(640*ratio.ratioX, 125*ratio.ratioY); Node151.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node151.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node151.a('node.width', 94*_ratio.ratioX); Node151.a('node.height', 24.33136*_ratio.ratioY); Node151.a('node.type', Node151type); Node151.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node151.a('node.background', 'rgba(255,255,255,0.003921569)'); Node151.a('node.gradientcolor', ''); Node151.a('node.gradient', ''); Node151.a('node.borderwidth', Node151BorderWidth); Node151.a('node.color', 'rgba(224,224,224,1)'); Node151.a('node.fillrect', [0,0,0,0]); Node151.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node151.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node151.a('node.fillgradient', ''); if (Node151type !== 'rect') { Node151.a('node.arcFrom', parseFloat('@arcFrom@')); Node151.a('node.arcTo', parseFloat('@arcTo@')); Node151.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node151type === 'arc') { Node151.a('node.arcOval', true); } Node151.setRotation(0*Math.PI/180); Node151.borderWidth = Node151BorderWidth; Node151.borderFillwidth = Node151BorderWidth; dataModel.add(Node151); Node151._nodename = 'Node151' Node151._nodeType = 'rect'; zoomNodeList.push({ node: Node151, 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); } })(Node151, Node151.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node152type = 'rect'; var Node152 = new ht.Node(), Node152BorderWidth = 1*2; if (Node152type === 'arc') { Node152BorderWidth *= 1; } Node152.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node152.setPosition(640*ratio.ratioX, 149*ratio.ratioY); Node152.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node152.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node152.a('node.width', 94*_ratio.ratioX); Node152.a('node.height', 24.33138*_ratio.ratioY); Node152.a('node.type', Node152type); Node152.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node152.a('node.background', 'rgba(255,255,255,0.003921569)'); Node152.a('node.gradientcolor', ''); Node152.a('node.gradient', ''); Node152.a('node.borderwidth', Node152BorderWidth); Node152.a('node.color', 'rgba(224,224,224,1)'); Node152.a('node.fillrect', [0,0,0,0]); Node152.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node152.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node152.a('node.fillgradient', ''); if (Node152type !== 'rect') { Node152.a('node.arcFrom', parseFloat('@arcFrom@')); Node152.a('node.arcTo', parseFloat('@arcTo@')); Node152.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node152type === 'arc') { Node152.a('node.arcOval', true); } Node152.setRotation(0*Math.PI/180); Node152.borderWidth = Node152BorderWidth; Node152.borderFillwidth = Node152BorderWidth; dataModel.add(Node152); Node152._nodename = 'Node152' Node152._nodeType = 'rect'; zoomNodeList.push({ node: Node152, 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); } })(Node152, Node152.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node153 = new ht.Node(); var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'center', Node153fontSize = 13.3333*_ratio.ratioY,Node153width = 58*_ratio.ratioX, Node153height = 26*_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('0', ' '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node153align === 'center') { Node153textStart = -3; Node153textWidth = Node153width; Node153lineStart = Node153width - ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width - 11; } })(); Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, ' '+ Node153fontSize + 'px "Arial"')) Node153.setPosition(640*ratio.ratioX, 54*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(0,0,0,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','0'); Node153.a('node.textalign','center'); Node153.a('node.textvAlign','middle'); Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]); Node153.a('node.color','rgba(0,0,0,1)'); Node153.a('node.font',' '+ 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') || '0'; var color=Node153.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153width,Node153height,13.3333*_ratio.ratioY,"center",color,' '+ Node153fontSize + 'px "Arial"', 0,g); }); } if (false) { Node153.a('node.underlinepoints',[Node153lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node154fontSize = 13.3333*_ratio.ratioY,Node154width = 58*_ratio.ratioX, Node154height = 26*_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('0', ' '+ Node154fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node154align === 'center') { Node154textStart = -3; Node154textWidth = Node154width; Node154lineStart = Node154width - ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "Arial"').width - 11; } })(); Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, ' '+ Node154fontSize + 'px "Arial"')) Node154.setPosition(640*ratio.ratioX, 78*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(0,0,0,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','0'); Node154.a('node.textalign','center'); Node154.a('node.textvAlign','middle'); Node154.a('node.textrect', [Node154textStart, 0, Node154textWidth, Node154height]); Node154.a('node.color','rgba(0,0,0,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') || '0'; var color=Node154.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154width,Node154height,13.3333*_ratio.ratioY,"center",color,' '+ Node154fontSize + 'px "Arial"', 0,g); }); } if (false) { Node154.a('node.underlinepoints',[Node154lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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*Math.PI/180, ratio); var Node155 = new ht.Node(); var Node155textStart, Node155textWidth, Node155lineStart, Node155align = 'center', Node155fontSize = 13.3333*_ratio.ratioY,Node155width = 58*_ratio.ratioX, Node155height = 26*_ratio.ratioY; (function () { if (Node155align === 'left') { Node155textStart = Node155fontSize * 0.2 > 2 ? Node155fontSize * 0.2 - 4 : Node155fontSize * 0.2 - 9; Node155textWidth = Node155width; Node155lineStart = 1; } else if (Node155align === 'right') { Node155textStart = 0; Node155textWidth =Node155fontSize <= 8 ? Node155width + Node155fontSize * 0.2 + 6 : Node155width - Node155fontSize * 0.2; Node155lineStart = (Node155width - (ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node155align === 'center') { Node155textStart = -3; Node155textWidth = Node155width; Node155lineStart = Node155width - ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width - 11; } })(); Node155.setImage(GD.getTextJSON(Node155width, Node155height, true, false, false, ' '+ Node155fontSize + 'px "Arial"')) Node155.setPosition(640*ratio.ratioX, 103*ratio.ratioY); Node155.setWidth(Node155width); Node155.setHeight(Node155height); Node155._nodeType = 'text'; Node155._disallowEvert = true; Node155.setRotation(0*Math.PI/180); Node155.a('node.width', Node155width); Node155.a('node.height', Node155height); Node155.a('node.rect', [0, 0, Node155width, Node155height]); Node155.a('node.bordercolor','rgba(0,0,0,1)'); Node155.a('node.borderwidth', 0); Node155.a('node.background','' || 'rgba(0,0,0,0)'); Node155.a('node.gradient',''); Node155.a('node.gradientcolor',''); Node155.a('node.text','0'); Node155.a('node.textalign','center'); Node155.a('node.textvAlign','middle'); Node155.a('node.textrect', [Node155textStart, 0, Node155textWidth, Node155height]); Node155.a('node.color','rgba(0,0,0,1)'); Node155.a('node.font',' '+ Node155fontSize + 'px "Arial"'); Node155.a('node.textvisible',true); Node155.a('node.linefeed',false); if (false) { Node155.a('node.textfunc',function(g) { g.beginPath(); var str=Node155.a('node.text') || '0'; var color=Node155.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155width,Node155height,13.3333*_ratio.ratioY,"center",color,' '+ Node155fontSize + 'px "Arial"', 0,g); }); } if (false) { Node155.a('node.underlinepoints',[Node155lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node155fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "Arial"').width + 6, (Node155height - Node155fontSize) * 0.5*_ratio.ratioY + Node155fontSize + 2 ]); Node155.a('node.underlinevisible',false); Node155.a('node.underlineBorderWidth', 1); } dataModel.add(Node155); zoomNodeList.push({ node: Node155, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node156 = new ht.Node(); var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'center', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 58*_ratio.ratioX, Node156height = 26*_ratio.ratioY; (function () { if (Node156align === 'left') { Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9; Node156textWidth = Node156width; Node156lineStart = 1; } else if (Node156align === 'right') { Node156textStart = 0; Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2; Node156lineStart = (Node156width - (ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node156align === 'center') { Node156textStart = -3; Node156textWidth = Node156width; Node156lineStart = Node156width - ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width - 11; } })(); Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "Arial"')) Node156.setPosition(640*ratio.ratioX, 126*ratio.ratioY); Node156.setWidth(Node156width); Node156.setHeight(Node156height); Node156._nodeType = 'text'; Node156._disallowEvert = true; Node156.setRotation(0*Math.PI/180); Node156.a('node.width', Node156width); Node156.a('node.height', Node156height); Node156.a('node.rect', [0, 0, Node156width, Node156height]); Node156.a('node.bordercolor','rgba(0,0,0,1)'); Node156.a('node.borderwidth', 0); Node156.a('node.background','' || 'rgba(0,0,0,0)'); Node156.a('node.gradient',''); Node156.a('node.gradientcolor',''); Node156.a('node.text','0'); Node156.a('node.textalign','center'); Node156.a('node.textvAlign','middle'); Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]); Node156.a('node.color','rgba(0,0,0,1)'); Node156.a('node.font',' '+ Node156fontSize + 'px "Arial"'); Node156.a('node.textvisible',true); Node156.a('node.linefeed',false); if (false) { Node156.a('node.textfunc',function(g) { g.beginPath(); var str=Node156.a('node.text') || '0'; var color=Node156.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"center",color,' '+ Node156fontSize + 'px "Arial"', 0,g); }); } if (false) { Node156.a('node.underlinepoints',[Node156lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]); Node156.a('node.underlinevisible',false); Node156.a('node.underlineBorderWidth', 1); } dataModel.add(Node156); zoomNodeList.push({ node: Node156, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node157 = new ht.Node(); var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'center', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 58*_ratio.ratioX, Node157height = 26*_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('0', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node157align === 'center') { Node157textStart = -3; Node157textWidth = Node157width; Node157lineStart = Node157width - ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "Arial"').width - 11; } })(); Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"')) Node157.setPosition(640*ratio.ratioX, 150*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(0,0,0,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','0'); Node157.a('node.textalign','center'); Node157.a('node.textvAlign','middle'); Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]); Node157.a('node.color','rgba(0,0,0,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') || '0'; var color=Node157.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"center",color,' '+ Node157fontSize + 'px "Arial"', 0,g); }); } if (false) { Node157.a('node.underlinepoints',[Node157lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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*Math.PI/180, ratio); var Node158type = 'rect'; var Node158 = new ht.Node(), Node158BorderWidth = 1*2; if (Node158type === 'arc') { Node158BorderWidth *= 1; } Node158.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node158type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node158.setPosition(719*ratio.ratioX, 52*ratio.ratioY); Node158.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node158.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node158.a('node.width', 65*_ratio.ratioX); Node158.a('node.height', 24.33136*_ratio.ratioY); Node158.a('node.type', Node158type); Node158.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node158.a('node.background', 'rgba(255,255,255,0.003921569)'); Node158.a('node.gradientcolor', ''); Node158.a('node.gradient', ''); Node158.a('node.borderwidth', Node158BorderWidth); Node158.a('node.color', 'rgba(224,224,224,1)'); Node158.a('node.fillrect', [0,0,0,0]); Node158.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node158.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node158.a('node.fillgradient', ''); if (Node158type !== 'rect') { Node158.a('node.arcFrom', parseFloat('@arcFrom@')); Node158.a('node.arcTo', parseFloat('@arcTo@')); Node158.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node158type === 'arc') { Node158.a('node.arcOval', true); } Node158.setRotation(0*Math.PI/180); Node158.borderWidth = Node158BorderWidth; Node158.borderFillwidth = Node158BorderWidth; dataModel.add(Node158); Node158._nodename = 'Node158' Node158._nodeType = 'rect'; zoomNodeList.push({ node: Node158, 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); } })(Node158, Node158.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node159type = 'rect'; var Node159 = new ht.Node(), Node159BorderWidth = 1*2; if (Node159type === 'arc') { Node159BorderWidth *= 1; } Node159.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node159type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node159.setPosition(719*ratio.ratioX, 76*ratio.ratioY); Node159.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node159.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node159.a('node.width', 65*_ratio.ratioX); Node159.a('node.height', 24.33138*_ratio.ratioY); Node159.a('node.type', Node159type); Node159.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node159.a('node.background', 'rgba(255,255,255,0.003921569)'); Node159.a('node.gradientcolor', ''); Node159.a('node.gradient', ''); Node159.a('node.borderwidth', Node159BorderWidth); Node159.a('node.color', 'rgba(224,224,224,1)'); Node159.a('node.fillrect', [0,0,0,0]); Node159.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node159.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node159.a('node.fillgradient', ''); if (Node159type !== 'rect') { Node159.a('node.arcFrom', parseFloat('@arcFrom@')); Node159.a('node.arcTo', parseFloat('@arcTo@')); Node159.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node159type === 'arc') { Node159.a('node.arcOval', true); } Node159.setRotation(0*Math.PI/180); Node159.borderWidth = Node159BorderWidth; Node159.borderFillwidth = Node159BorderWidth; dataModel.add(Node159); Node159._nodename = 'Node159' Node159._nodeType = 'rect'; zoomNodeList.push({ node: Node159, 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); } })(Node159, Node159.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node160type = 'rect'; var Node160 = new ht.Node(), Node160BorderWidth = 1*2; if (Node160type === 'arc') { Node160BorderWidth *= 1; } Node160.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node160type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node160.setPosition(719*ratio.ratioX, 100*ratio.ratioY); Node160.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node160.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node160.a('node.width', 65*_ratio.ratioX); Node160.a('node.height', 24.33138*_ratio.ratioY); Node160.a('node.type', Node160type); Node160.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node160.a('node.background', 'rgba(255,255,255,0.003921569)'); Node160.a('node.gradientcolor', ''); Node160.a('node.gradient', ''); Node160.a('node.borderwidth', Node160BorderWidth); Node160.a('node.color', 'rgba(224,224,224,1)'); Node160.a('node.fillrect', [0,0,0,0]); Node160.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node160.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node160.a('node.fillgradient', ''); if (Node160type !== 'rect') { Node160.a('node.arcFrom', parseFloat('@arcFrom@')); Node160.a('node.arcTo', parseFloat('@arcTo@')); Node160.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node160type === 'arc') { Node160.a('node.arcOval', true); } Node160.setRotation(0*Math.PI/180); Node160.borderWidth = Node160BorderWidth; Node160.borderFillwidth = Node160BorderWidth; dataModel.add(Node160); Node160._nodename = 'Node160' Node160._nodeType = 'rect'; zoomNodeList.push({ node: Node160, 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); } })(Node160, Node160.getImage());_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(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node161.setPosition(719*ratio.ratioX, 125*ratio.ratioY); Node161.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node161.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node161.a('node.width', 65*_ratio.ratioX); Node161.a('node.height', 24.33136*_ratio.ratioY); Node161.a('node.type', Node161type); Node161.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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(224,224,224,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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node162type = 'rect'; var Node162 = new ht.Node(), Node162BorderWidth = 1*2; if (Node162type === 'arc') { Node162BorderWidth *= 1; } Node162.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node162.setPosition(719*ratio.ratioX, 149*ratio.ratioY); Node162.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node162.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node162.a('node.width', 65*_ratio.ratioX); Node162.a('node.height', 24.33138*_ratio.ratioY); Node162.a('node.type', Node162type); Node162.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node162.a('node.background', 'rgba(255,255,255,0.003921569)'); Node162.a('node.gradientcolor', ''); Node162.a('node.gradient', ''); Node162.a('node.borderwidth', Node162BorderWidth); Node162.a('node.color', 'rgba(224,224,224,1)'); Node162.a('node.fillrect', [0,0,0,0]); Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node162.a('node.fillgradient', ''); if (Node162type !== 'rect') { Node162.a('node.arcFrom', parseFloat('@arcFrom@')); Node162.a('node.arcTo', parseFloat('@arcTo@')); Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node162type === 'arc') { Node162.a('node.arcOval', true); } Node162.setRotation(0*Math.PI/180); Node162.borderWidth = Node162BorderWidth; Node162.borderFillwidth = Node162BorderWidth; dataModel.add(Node162); Node162._nodename = 'Node162' Node162._nodeType = 'rect'; zoomNodeList.push({ node: Node162, 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); } })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node163 = new ht.Node(); var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'center', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 59*_ratio.ratioX, Node163height = 26*_ratio.ratioY; (function () { if (Node163align === 'left') { Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9; Node163textWidth = Node163width; Node163lineStart = 1; } else if (Node163align === 'right') { Node163textStart = 0; Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2; Node163lineStart = (Node163width - (ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node163align === 'center') { Node163textStart = -3; Node163textWidth = Node163width; Node163lineStart = Node163width - ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width - 11; } })(); Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"')) Node163.setPosition(720*ratio.ratioX, 54*ratio.ratioY); Node163.setWidth(Node163width); Node163.setHeight(Node163height); Node163._nodeType = 'text'; Node163._disallowEvert = true; Node163.setRotation(0*Math.PI/180); Node163.a('node.width', Node163width); Node163.a('node.height', Node163height); Node163.a('node.rect', [0, 0, Node163width, Node163height]); Node163.a('node.bordercolor','rgba(128,128,128,1)'); Node163.a('node.borderwidth', 0); Node163.a('node.background','' || 'rgba(0,0,0,0)'); Node163.a('node.gradient',''); Node163.a('node.gradientcolor',''); Node163.a('node.text','万kWh'); Node163.a('node.textalign','center'); Node163.a('node.textvAlign','middle'); Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]); Node163.a('node.color','rgba(128,128,128,1)'); Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"'); Node163.a('node.textvisible',true); Node163.a('node.linefeed',false); if (false) { Node163.a('node.textfunc',function(g) { g.beginPath(); var str=Node163.a('node.text') || '万kWh'; var color=Node163.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"center",color,' '+ Node163fontSize + 'px "Arial"', 0,g); }); } if (false) { Node163.a('node.underlinepoints',[Node163lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]); Node163.a('node.underlinevisible',false); Node163.a('node.underlineBorderWidth', 1); } dataModel.add(Node163); zoomNodeList.push({ node: Node163, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node164 = new ht.Node(); var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'center', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 59*_ratio.ratioX, Node164height = 26*_ratio.ratioY; (function () { if (Node164align === 'left') { Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9; Node164textWidth = Node164width; Node164lineStart = 1; } else if (Node164align === 'right') { Node164textStart = 0; Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2; Node164lineStart = (Node164width - (ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node164align === 'center') { Node164textStart = -3; Node164textWidth = Node164width; Node164lineStart = Node164width - ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width - 11; } })(); Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"')) Node164.setPosition(720*ratio.ratioX, 78*ratio.ratioY); Node164.setWidth(Node164width); Node164.setHeight(Node164height); Node164._nodeType = 'text'; Node164._disallowEvert = true; Node164.setRotation(0*Math.PI/180); Node164.a('node.width', Node164width); Node164.a('node.height', Node164height); Node164.a('node.rect', [0, 0, Node164width, Node164height]); Node164.a('node.bordercolor','rgba(128,128,128,1)'); Node164.a('node.borderwidth', 0); Node164.a('node.background','' || 'rgba(0,0,0,0)'); Node164.a('node.gradient',''); Node164.a('node.gradientcolor',''); Node164.a('node.text','万kWh'); Node164.a('node.textalign','center'); Node164.a('node.textvAlign','middle'); Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]); Node164.a('node.color','rgba(128,128,128,1)'); Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"'); Node164.a('node.textvisible',true); Node164.a('node.linefeed',false); if (false) { Node164.a('node.textfunc',function(g) { g.beginPath(); var str=Node164.a('node.text') || '万kWh'; var color=Node164.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"center",color,' '+ Node164fontSize + 'px "Arial"', 0,g); }); } if (false) { Node164.a('node.underlinepoints',[Node164lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]); Node164.a('node.underlinevisible',false); Node164.a('node.underlineBorderWidth', 1); } dataModel.add(Node164); zoomNodeList.push({ node: Node164, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node165 = new ht.Node(); var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'center', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 59*_ratio.ratioX, Node165height = 26*_ratio.ratioY; (function () { if (Node165align === 'left') { Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9; Node165textWidth = Node165width; Node165lineStart = 1; } else if (Node165align === 'right') { Node165textStart = 0; Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2; Node165lineStart = (Node165width - (ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node165align === 'center') { Node165textStart = -3; Node165textWidth = Node165width; Node165lineStart = Node165width - ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width - 11; } })(); Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"')) Node165.setPosition(720*ratio.ratioX, 101*ratio.ratioY); Node165.setWidth(Node165width); Node165.setHeight(Node165height); Node165._nodeType = 'text'; Node165._disallowEvert = true; Node165.setRotation(0*Math.PI/180); Node165.a('node.width', Node165width); Node165.a('node.height', Node165height); Node165.a('node.rect', [0, 0, Node165width, Node165height]); Node165.a('node.bordercolor','rgba(128,128,128,1)'); Node165.a('node.borderwidth', 0); Node165.a('node.background','' || 'rgba(0,0,0,0)'); Node165.a('node.gradient',''); Node165.a('node.gradientcolor',''); Node165.a('node.text','万kWh'); Node165.a('node.textalign','center'); Node165.a('node.textvAlign','middle'); Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]); Node165.a('node.color','rgba(128,128,128,1)'); Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"'); Node165.a('node.textvisible',true); Node165.a('node.linefeed',false); if (false) { Node165.a('node.textfunc',function(g) { g.beginPath(); var str=Node165.a('node.text') || '万kWh'; var color=Node165.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"center",color,' '+ Node165fontSize + 'px "Arial"', 0,g); }); } if (false) { Node165.a('node.underlinepoints',[Node165lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]); Node165.a('node.underlinevisible',false); Node165.a('node.underlineBorderWidth', 1); } dataModel.add(Node165); zoomNodeList.push({ node: Node165, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node166 = new ht.Node(); var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'center', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 59*_ratio.ratioX, Node166height = 26*_ratio.ratioY; (function () { if (Node166align === 'left') { Node166textStart = Node166fontSize * 0.2 > 2 ? Node166fontSize * 0.2 - 4 : Node166fontSize * 0.2 - 9; Node166textWidth = Node166width; Node166lineStart = 1; } else if (Node166align === 'right') { Node166textStart = 0; Node166textWidth =Node166fontSize <= 8 ? Node166width + Node166fontSize * 0.2 + 6 : Node166width - Node166fontSize * 0.2; Node166lineStart = (Node166width - (ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node166align === 'center') { Node166textStart = -3; Node166textWidth = Node166width; Node166lineStart = Node166width - ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width - 11; } })(); Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"')) Node166.setPosition(720*ratio.ratioX, 127*ratio.ratioY); Node166.setWidth(Node166width); Node166.setHeight(Node166height); Node166._nodeType = 'text'; Node166._disallowEvert = true; Node166.setRotation(0*Math.PI/180); Node166.a('node.width', Node166width); Node166.a('node.height', Node166height); Node166.a('node.rect', [0, 0, Node166width, Node166height]); Node166.a('node.bordercolor','rgba(128,128,128,1)'); Node166.a('node.borderwidth', 0); Node166.a('node.background','' || 'rgba(0,0,0,0)'); Node166.a('node.gradient',''); Node166.a('node.gradientcolor',''); Node166.a('node.text','万kWh'); Node166.a('node.textalign','center'); Node166.a('node.textvAlign','middle'); Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]); Node166.a('node.color','rgba(128,128,128,1)'); Node166.a('node.font',' '+ Node166fontSize + 'px "Arial"'); Node166.a('node.textvisible',true); Node166.a('node.linefeed',false); if (false) { Node166.a('node.textfunc',function(g) { g.beginPath(); var str=Node166.a('node.text') || '万kWh'; var color=Node166.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"center",color,' '+ Node166fontSize + 'px "Arial"', 0,g); }); } if (false) { Node166.a('node.underlinepoints',[Node166lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]); Node166.a('node.underlinevisible',false); Node166.a('node.underlineBorderWidth', 1); } dataModel.add(Node166); zoomNodeList.push({ node: Node166, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node167 = new ht.Node(); var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'center', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 59*_ratio.ratioX, Node167height = 26*_ratio.ratioY; (function () { if (Node167align === 'left') { Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9; Node167textWidth = Node167width; Node167lineStart = 1; } else if (Node167align === 'right') { Node167textStart = 0; Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2; Node167lineStart = (Node167width - (ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node167align === 'center') { Node167textStart = -3; Node167textWidth = Node167width; Node167lineStart = Node167width - ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width - 11; } })(); Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"')) Node167.setPosition(720*ratio.ratioX, 151*ratio.ratioY); Node167.setWidth(Node167width); Node167.setHeight(Node167height); Node167._nodeType = 'text'; Node167._disallowEvert = true; Node167.setRotation(0*Math.PI/180); Node167.a('node.width', Node167width); Node167.a('node.height', Node167height); Node167.a('node.rect', [0, 0, Node167width, Node167height]); Node167.a('node.bordercolor','rgba(128,128,128,1)'); Node167.a('node.borderwidth', 0); Node167.a('node.background','' || 'rgba(0,0,0,0)'); Node167.a('node.gradient',''); Node167.a('node.gradientcolor',''); Node167.a('node.text','万kWh'); Node167.a('node.textalign','center'); Node167.a('node.textvAlign','middle'); Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]); Node167.a('node.color','rgba(128,128,128,1)'); Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"'); Node167.a('node.textvisible',true); Node167.a('node.linefeed',false); if (false) { Node167.a('node.textfunc',function(g) { g.beginPath(); var str=Node167.a('node.text') || '万kWh'; var color=Node167.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"center",color,' '+ Node167fontSize + 'px "Arial"', 0,g); }); } if (false) { Node167.a('node.underlinepoints',[Node167lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]); Node167.a('node.underlinevisible',false); Node167.a('node.underlineBorderWidth', 1); } dataModel.add(Node167); zoomNodeList.push({ node: Node167, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node168 = new ht.Node(); var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 11.99997*_ratio.ratioY,Node168width = 53*_ratio.ratioX, Node168height = 20*_ratio.ratioY; (function () { if (Node168align === 'left') { Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9; Node168textWidth = Node168width; Node168lineStart = 1; } else if (Node168align === 'right') { Node168textStart = 0; Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2; Node168lineStart = (Node168width - (ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node168align === 'center') { Node168textStart = -3; Node168textWidth = Node168width; Node168lineStart = Node168width - ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width - 11; } })(); Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, 'bold '+ Node168fontSize + 'px "Arial"')) Node168.setPosition(1345*ratio.ratioX, 88*ratio.ratioY); Node168.setWidth(Node168width); Node168.setHeight(Node168height); Node168._nodeType = 'text'; Node168._disallowEvert = true; Node168.setRotation(0*Math.PI/180); Node168.a('node.width', Node168width); Node168.a('node.height', Node168height); Node168.a('node.rect', [0, 0, Node168width, Node168height]); Node168.a('node.bordercolor','rgba(255,255,255,1)'); Node168.a('node.borderwidth', 0); Node168.a('node.background','' || 'rgba(0,0,0,0)'); Node168.a('node.gradient',''); Node168.a('node.gradientcolor',''); Node168.a('node.text','机'); Node168.a('node.textalign','left'); Node168.a('node.textvAlign','middle'); Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]); Node168.a('node.color','rgba(255,255,255,1)'); Node168.a('node.font','bold '+ Node168fontSize + 'px "Arial"'); Node168.a('node.textvisible',true); Node168.a('node.linefeed',false); if (false) { Node168.a('node.textfunc',function(g) { g.beginPath(); var str=Node168.a('node.text') || '机'; var color=Node168.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node168width,Node168height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node168fontSize + 'px "Arial"', 0,g); }); } if (false) { Node168.a('node.underlinepoints',[Node168lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]); Node168.a('node.underlinevisible',false); Node168.a('node.underlineBorderWidth', 1); } dataModel.add(Node168); zoomNodeList.push({ node: Node168, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node169 = new ht.Node(); var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 11.99997*_ratio.ratioY,Node169width = 53*_ratio.ratioX, Node169height = 20*_ratio.ratioY; (function () { if (Node169align === 'left') { Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9; Node169textWidth = Node169width; Node169lineStart = 1; } else if (Node169align === 'right') { Node169textStart = 0; Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2; Node169lineStart = (Node169width - (ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node169align === 'center') { Node169textStart = -3; Node169textWidth = Node169width; Node169lineStart = Node169width - ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width - 11; } })(); Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, 'bold '+ Node169fontSize + 'px "Arial"')) Node169.setPosition(1345*ratio.ratioX, 111*ratio.ratioY); Node169.setWidth(Node169width); Node169.setHeight(Node169height); Node169._nodeType = 'text'; Node169._disallowEvert = true; Node169.setRotation(0*Math.PI/180); Node169.a('node.width', Node169width); Node169.a('node.height', Node169height); Node169.a('node.rect', [0, 0, Node169width, Node169height]); Node169.a('node.bordercolor','rgba(255,255,255,1)'); Node169.a('node.borderwidth', 0); Node169.a('node.background','' || 'rgba(0,0,0,0)'); Node169.a('node.gradient',''); Node169.a('node.gradientcolor',''); Node169.a('node.text','状'); Node169.a('node.textalign','left'); Node169.a('node.textvAlign','middle'); Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]); Node169.a('node.color','rgba(255,255,255,1)'); Node169.a('node.font','bold '+ Node169fontSize + 'px "Arial"'); Node169.a('node.textvisible',true); Node169.a('node.linefeed',false); if (false) { Node169.a('node.textfunc',function(g) { g.beginPath(); var str=Node169.a('node.text') || '状'; var color=Node169.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node169width,Node169height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node169fontSize + 'px "Arial"', 0,g); }); } if (false) { Node169.a('node.underlinepoints',[Node169lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]); Node169.a('node.underlinevisible',false); Node169.a('node.underlineBorderWidth', 1); } dataModel.add(Node169); zoomNodeList.push({ node: Node169, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node170 = new ht.Node(); var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 11.99997*_ratio.ratioY,Node170width = 53*_ratio.ratioX, Node170height = 20*_ratio.ratioY; (function () { if (Node170align === 'left') { Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9; Node170textWidth = Node170width; Node170lineStart = 1; } else if (Node170align === 'right') { Node170textStart = 0; Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2; Node170lineStart = (Node170width - (ht.Default.getTextSize('态', 'bold '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node170align === 'center') { Node170textStart = -3; Node170textWidth = Node170width; Node170lineStart = Node170width - ht.Default.getTextSize('态', 'bold '+ Node170fontSize + 'px "Arial"').width - 11; } })(); Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, 'bold '+ Node170fontSize + 'px "Arial"')) Node170.setPosition(1345*ratio.ratioX, 133*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(255,255,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(255,255,255,1)'); Node170.a('node.font','bold '+ 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(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node170width,Node170height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node170fontSize + 'px "Arial"', 0,g); }); } if (false) { Node170.a('node.underlinepoints',[Node170lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ 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 = 'center', Node171fontSize = 14.66663*_ratio.ratioY,Node171width = 67*_ratio.ratioX, Node171height = 26*_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(1588*ratio.ratioX, 86*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(105,105,105,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','center'); Node171.a('node.textvAlign','middle'); Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]); Node171.a('node.color','rgba(105,105,105,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(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node171width,Node171height,14.66663*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "Arial"', 0,g); }); } if (false) { Node171.a('node.underlinepoints',[Node171lineStart, (26 - 14.66663) * 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' }); var Node172; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg'); Node172 = new ht.Node(); Node172.setPosition(1477*ratio.ratioX, 70*ratio.ratioY); Node172.setSize(9*ratioX, 60*ratioY); Node172.setImage('imgimage//page_list_box_left_blue.jpg'); Node172.setRotation(0*Math.PI/180); Node172._zoomBy = 'Default'; Node172._nodeType = 'image'; Node172._disallowEvert = true; dataModel.add(Node172); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node173type = 'rect'; var Node173 = new ht.Node(), Node173BorderWidth = 1*2; if (Node173type === 'arc') { Node173BorderWidth *= 1; } Node173.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node173.setPosition(1546*ratio.ratioX, 70*ratio.ratioY); Node173.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node173.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node173.a('node.width', 127*_ratio.ratioX); Node173.a('node.height', 60.81538*_ratio.ratioY); Node173.a('node.type', Node173type); Node173.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node173.a('node.background', 'rgba(255,255,255,0.003921569)'); Node173.a('node.gradientcolor', ''); Node173.a('node.gradient', ''); Node173.a('node.borderwidth', Node173BorderWidth); Node173.a('node.color', 'rgba(128,128,128,1)'); Node173.a('node.fillrect', [0,0,0,0]); Node173.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node173.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node173.a('node.fillgradient', ''); if (Node173type !== 'rect') { Node173.a('node.arcFrom', parseFloat('@arcFrom@')); Node173.a('node.arcTo', parseFloat('@arcTo@')); Node173.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node173type === 'arc') { Node173.a('node.arcOval', true); } Node173.setRotation(0*Math.PI/180); Node173.borderWidth = Node173BorderWidth; Node173.borderFillwidth = Node173BorderWidth; dataModel.add(Node173); Node173._nodename = 'Node173' Node173._nodeType = 'rect'; zoomNodeList.push({ node: Node173, 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); } })(Node173, Node173.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node174 = new ht.Node(); var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 15.99996*_ratio.ratioY,Node174width = 29*_ratio.ratioX, Node174height = 25*_ratio.ratioY; (function () { if (Node174align === 'left') { Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9; Node174textWidth = Node174width; Node174lineStart = 1; } else if (Node174align === 'right') { Node174textStart = 0; Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2; Node174lineStart = (Node174width - (ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node174align === 'center') { Node174textStart = -3; Node174textWidth = Node174width; Node174lineStart = Node174width - ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width - 11; } })(); Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"')) Node174.setPosition(1509*ratio.ratioX, 85*ratio.ratioY); Node174.setWidth(Node174width); Node174.setHeight(Node174height); Node174._nodeType = 'text'; Node174._disallowEvert = true; Node174.setRotation(0*Math.PI/180); Node174.a('node.width', Node174width); Node174.a('node.height', Node174height); Node174.a('node.rect', [0, 0, Node174width, Node174height]); Node174.a('node.bordercolor','rgba(0,0,0,1)'); Node174.a('node.borderwidth', 0); Node174.a('node.background','' || 'rgba(0,0,0,0)'); Node174.a('node.gradient',''); Node174.a('node.gradientcolor',''); Node174.a('node.text','0'); Node174.a('node.textalign','left'); Node174.a('node.textvAlign','middle'); Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]); Node174.a('node.color','rgba(0,0,0,1)'); Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"'); Node174.a('node.textvisible',true); Node174.a('node.linefeed',false); if (false) { Node174.a('node.textfunc',function(g) { g.beginPath(); var str=Node174.a('node.text') || '0'; var color=Node174.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node174width,Node174height,15.99996*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g); }); } if (false) { Node174.a('node.underlinepoints',[Node174lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]); Node174.a('node.underlinevisible',false); Node174.a('node.underlineBorderWidth', 1); } dataModel.add(Node174); zoomNodeList.push({ node: Node174, borderWidth: 0, attr: 'node.borderwidth' }); var Node175; (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//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg'); Node175 = new ht.Node(); Node175.setPosition(1753*ratio.ratioX, 70*ratio.ratioY); Node175.setSize(9*ratioX, 60*ratioY); Node175.setImage('imgimage//page_list_box_left_red.jpg'); Node175.setRotation(0*Math.PI/180); Node175._zoomBy = 'Default'; Node175._nodeType = 'image'; Node175._disallowEvert = true; dataModel.add(Node175); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node176 = new ht.Node(); var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'left', Node176fontSize = 15.99996*_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('0', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node176align === 'center') { Node176textStart = -3; Node176textWidth = Node176width; Node176lineStart = Node176width - ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "Arial"').width - 11; } })(); Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"')) Node176.setPosition(1785*ratio.ratioX, 85*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(0,0,0,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','0'); Node176.a('node.textalign','left'); Node176.a('node.textvAlign','middle'); Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]); Node176.a('node.color','rgba(0,0,0,1)'); Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"'); 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') || '0'; var color=Node176.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node176width,Node176height,15.99996*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "Arial"', 0,g); }); } if (false) { Node176.a('node.underlinepoints',[Node176lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "Arial"').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' }); var Node177; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg'); Node177 = new ht.Node(); Node177.setPosition(1753*ratio.ratioX, 131*ratio.ratioY); Node177.setSize(9*ratioX, 60*ratioY); Node177.setImage('imgimage//page_list_box_left_black.jpg'); Node177.setRotation(0*Math.PI/180); Node177._zoomBy = 'Default'; Node177._nodeType = 'image'; Node177._disallowEvert = true; dataModel.add(Node177); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node178 = new ht.Node(); var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 47*_ratio.ratioX, Node178height = 38*_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('离线', 'bold '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node178align === 'center') { Node178textStart = -3; Node178textWidth = Node178width; Node178lineStart = Node178width - ht.Default.getTextSize('离线', 'bold '+ Node178fontSize + 'px "Arial"').width - 11; } })(); Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, 'bold '+ Node178fontSize + 'px "Arial"')) Node178.setPosition(1784*ratio.ratioX, 114*ratio.ratioY); Node178.setWidth(Node178width); Node178.setHeight(Node178height); Node178._nodeType = 'text'; Node178._disallowEvert = true; Node178.setRotation(0*Math.PI/180); Node178.a('node.width', Node178width); Node178.a('node.height', Node178height); Node178.a('node.rect', [0, 0, Node178width, Node178height]); Node178.a('node.bordercolor','rgba(0,0,0,1)'); Node178.a('node.borderwidth', 0); Node178.a('node.background','' || 'rgba(0,0,0,0)'); Node178.a('node.gradient',''); Node178.a('node.gradientcolor',''); Node178.a('node.text','离线'); Node178.a('node.textalign','left'); Node178.a('node.textvAlign','middle'); Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]); Node178.a('node.color','rgba(0,0,0,1)'); Node178.a('node.font','bold '+ Node178fontSize + 'px "Arial"'); Node178.a('node.textvisible',true); Node178.a('node.linefeed',false); if (false) { Node178.a('node.textfunc',function(g) { g.beginPath(); var str=Node178.a('node.text') || '离线'; var color=Node178.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node178fontSize + 'px "Arial"', 0,g); }); } if (false) { Node178.a('node.underlinepoints',[Node178lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]); Node178.a('node.underlinevisible',false); Node178.a('node.underlineBorderWidth', 1); } dataModel.add(Node178); zoomNodeList.push({ node: Node178, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node179 = new ht.Node(); var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 15.99996*_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('0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node179align === 'center') { Node179textStart = -3; Node179textWidth = Node179width; Node179lineStart = Node179width - ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width - 11; } })(); Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"')) Node179.setPosition(1785*ratio.ratioX, 146*ratio.ratioY); Node179.setWidth(Node179width); Node179.setHeight(Node179height); Node179._nodeType = 'text'; Node179._disallowEvert = true; Node179.setRotation(0*Math.PI/180); Node179.a('node.width', Node179width); Node179.a('node.height', Node179height); Node179.a('node.rect', [0, 0, Node179width, Node179height]); Node179.a('node.bordercolor','rgba(0,0,0,1)'); Node179.a('node.borderwidth', 0); Node179.a('node.background','' || 'rgba(0,0,0,0)'); Node179.a('node.gradient',''); Node179.a('node.gradientcolor',''); Node179.a('node.text','0'); Node179.a('node.textalign','left'); Node179.a('node.textvAlign','middle'); Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]); Node179.a('node.color','rgba(0,0,0,1)'); Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"'); Node179.a('node.textvisible',true); Node179.a('node.linefeed',false); if (false) { Node179.a('node.textfunc',function(g) { g.beginPath(); var str=Node179.a('node.text') || '0'; var color=Node179.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node179width,Node179height,15.99996*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g); }); } if (false) { Node179.a('node.underlinepoints',[Node179lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]); Node179.a('node.underlinevisible',false); Node179.a('node.underlineBorderWidth', 1); } dataModel.add(Node179); zoomNodeList.push({ node: Node179, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node180 = new ht.Node(); var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 77*_ratio.ratioX, Node180height = 26*_ratio.ratioY; (function () { if (Node180align === 'left') { Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9; Node180textWidth = Node180width; Node180lineStart = 1; } else if (Node180align === 'right') { Node180textStart = 0; Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2; Node180lineStart = (Node180width - (ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node180align === 'center') { Node180textStart = -3; Node180textWidth = Node180width; Node180lineStart = Node180width - ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').width - 11; } })(); Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "微软雅黑"')) Node180.setPosition(228*ratio.ratioX, 149*ratio.ratioY); Node180.setWidth(Node180width); Node180.setHeight(Node180height); Node180._nodeType = 'text'; Node180._disallowEvert = true; Node180.setRotation(0*Math.PI/180); Node180.a('node.width', Node180width); Node180.a('node.height', Node180height); Node180.a('node.rect', [0, 0, Node180width, Node180height]); Node180.a('node.bordercolor','rgba(0,0,0,1)'); Node180.a('node.borderwidth', 0); Node180.a('node.background','' || 'rgba(0,0,0,0)'); Node180.a('node.gradient',''); Node180.a('node.gradientcolor',''); Node180.a('node.text','上网电量'); Node180.a('node.textalign','left'); Node180.a('node.textvAlign','middle'); Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]); Node180.a('node.color','rgba(0,0,0,1)'); Node180.a('node.font',' '+ Node180fontSize + 'px "微软雅黑"'); Node180.a('node.textvisible',true); Node180.a('node.linefeed',false); if (false) { Node180.a('node.textfunc',function(g) { g.beginPath(); var str=Node180.a('node.text') || '上网电量'; var color=Node180.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node180.a('node.underlinepoints',[Node180lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node180fontSize + 'px "微软雅黑"').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 = 'center', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 113*_ratio.ratioX, Node181height = 26*_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('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node181align === 'center') { Node181textStart = -3; Node181textWidth = Node181width; Node181lineStart = Node181width - ht.Default.getTextSize('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').width - 11; } })(); Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "微软雅黑"')) Node181.setPosition(533*ratio.ratioX, 150*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(0,0,0,1)'); Node181.a('node.borderwidth', 0); Node181.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node181.a('node.gradient',''); Node181.a('node.gradientcolor','rgba(255,255,255,0)'); Node181.a('node.text','日性能损失电量'); Node181.a('node.textalign','center'); Node181.a('node.textvAlign','middle'); Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]); Node181.a('node.color','rgba(0,0,0,1)'); Node181.a('node.font',' '+ Node181fontSize + 'px "微软雅黑"'); 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') || '日性能损失电量'; var color=Node181.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node181.a('node.underlinepoints',[Node181lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node181fontSize + 'px "微软雅黑"').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 = 'center', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 110*_ratio.ratioX, Node182height = 26*_ratio.ratioY; (function () { if (Node182align === 'left') { Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9; Node182textWidth = Node182width; Node182lineStart = 1; } else if (Node182align === 'right') { Node182textStart = 0; Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2; Node182lineStart = (Node182width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node182align === 'center') { Node182textStart = -3; Node182textWidth = Node182width; Node182lineStart = Node182width - ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').width - 11; } })(); Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "微软雅黑"')) Node182.setPosition(814*ratio.ratioX, 150*ratio.ratioY); Node182.setWidth(Node182width); Node182.setHeight(Node182height); Node182._nodeType = 'text'; Node182._disallowEvert = true; Node182.setRotation(0*Math.PI/180); Node182.a('node.width', Node182width); Node182.a('node.height', Node182height); Node182.a('node.rect', [0, 0, Node182width, Node182height]); Node182.a('node.bordercolor','rgba(0,0,0,1)'); Node182.a('node.borderwidth', 0); Node182.a('node.background','' || 'rgba(0,0,0,0)'); Node182.a('node.gradient',''); Node182.a('node.gradientcolor',''); Node182.a('node.text','月性能损失电量'); Node182.a('node.textalign','center'); Node182.a('node.textvAlign','middle'); Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]); Node182.a('node.color','rgba(0,0,0,1)'); Node182.a('node.font',' '+ Node182fontSize + 'px "微软雅黑"'); Node182.a('node.textvisible',true); Node182.a('node.linefeed',false); if (false) { Node182.a('node.textfunc',function(g) { g.beginPath(); var str=Node182.a('node.text') || '月性能损失电量'; var color=Node182.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"center",color,' '+ Node182fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node182.a('node.underlinepoints',[Node182lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node182fontSize + 'px "微软雅黑"').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 = 'center', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 110*_ratio.ratioX, Node183height = 26*_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('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node183align === 'center') { Node183textStart = -3; Node183textWidth = Node183width; Node183lineStart = Node183width - ht.Default.getTextSize('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').width - 11; } })(); Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "微软雅黑"')) Node183.setPosition(1094*ratio.ratioX, 149*ratio.ratioY); Node183.setWidth(Node183width); Node183.setHeight(Node183height); Node183._nodeType = 'text'; Node183._disallowEvert = true; Node183.setRotation(0*Math.PI/180); Node183.a('node.width', Node183width); Node183.a('node.height', Node183height); Node183.a('node.rect', [0, 0, Node183width, Node183height]); Node183.a('node.bordercolor','rgba(0,0,0,1)'); Node183.a('node.borderwidth', 0); Node183.a('node.background','' || 'rgba(0,0,0,0)'); Node183.a('node.gradient',''); Node183.a('node.gradientcolor',''); Node183.a('node.text','年性能损失电量'); Node183.a('node.textalign','center'); Node183.a('node.textvAlign','middle'); Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]); Node183.a('node.color','rgba(0,0,0,1)'); Node183.a('node.font',' '+ Node183fontSize + 'px "微软雅黑"'); 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') || '年性能损失电量'; var color=Node183.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"center",color,' '+ Node183fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node183.a('node.underlinepoints',[Node183lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node183fontSize + 'px "微软雅黑"').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 = 47*_ratio.ratioX, Node184height = 38*_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('运行', 'bold '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node184align === 'center') { Node184textStart = -3; Node184textWidth = Node184width; Node184lineStart = Node184width - ht.Default.getTextSize('运行', 'bold '+ Node184fontSize + 'px "Arial"').width - 11; } })(); Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, 'bold '+ Node184fontSize + 'px "Arial"')) Node184.setPosition(1508*ratio.ratioX, 52*ratio.ratioY); Node184.setWidth(Node184width); Node184.setHeight(Node184height); Node184._nodeType = 'text'; Node184._disallowEvert = true; Node184.setRotation(0*Math.PI/180); Node184.a('node.width', Node184width); Node184.a('node.height', Node184height); Node184.a('node.rect', [0, 0, Node184width, Node184height]); Node184.a('node.bordercolor','rgba(0,0,0,1)'); Node184.a('node.borderwidth', 0); Node184.a('node.background','' || 'rgba(0,0,0,0)'); Node184.a('node.gradient',''); Node184.a('node.gradientcolor',''); Node184.a('node.text','运行'); Node184.a('node.textalign','left'); Node184.a('node.textvAlign','middle'); Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]); Node184.a('node.color','rgba(0,0,0,1)'); Node184.a('node.font','bold '+ Node184fontSize + 'px "Arial"'); Node184.a('node.textvisible',true); Node184.a('node.linefeed',false); if (false) { Node184.a('node.textfunc',function(g) { g.beginPath(); var str=Node184.a('node.text') || '运行'; var color=Node184.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node184fontSize + 'px "Arial"', 0,g); }); } if (false) { Node184.a('node.underlinepoints',[Node184lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]); Node184.a('node.underlinevisible',false); Node184.a('node.underlineBorderWidth', 1); } dataModel.add(Node184); zoomNodeList.push({ node: Node184, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node185 = new ht.Node(); var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 47*_ratio.ratioX, Node185height = 38*_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('待机', 'bold '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node185align === 'center') { Node185textStart = -3; Node185textWidth = Node185width; Node185lineStart = Node185width - ht.Default.getTextSize('待机', 'bold '+ Node185fontSize + 'px "Arial"').width - 11; } })(); Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, 'bold '+ Node185fontSize + 'px "Arial"')) Node185.setPosition(1646*ratio.ratioX, 52*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(0,0,0,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(0,0,0,1)'); Node185.a('node.font','bold '+ Node185fontSize + 'px "Arial"'); 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(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node185fontSize + 'px "Arial"', 0,g); }); } if (false) { Node185.a('node.underlinepoints',[Node185lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node185fontSize + 'px "Arial"').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 = 47*_ratio.ratioX, Node186height = 38*_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('故障', 'bold '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node186align === 'center') { Node186textStart = -3; Node186textWidth = Node186width; Node186lineStart = Node186width - ht.Default.getTextSize('故障', 'bold '+ Node186fontSize + 'px "Arial"').width - 11; } })(); Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, 'bold '+ Node186fontSize + 'px "Arial"')) Node186.setPosition(1784*ratio.ratioX, 52*ratio.ratioY); Node186.setWidth(Node186width); Node186.setHeight(Node186height); Node186._nodeType = 'text'; Node186._disallowEvert = true; Node186.setRotation(0*Math.PI/180); Node186.a('node.width', Node186width); Node186.a('node.height', Node186height); Node186.a('node.rect', [0, 0, Node186width, Node186height]); Node186.a('node.bordercolor','rgba(0,0,0,1)'); Node186.a('node.borderwidth', 0); Node186.a('node.background','' || 'rgba(0,0,0,0)'); Node186.a('node.gradient',''); Node186.a('node.gradientcolor',''); Node186.a('node.text','故障'); Node186.a('node.textalign','left'); Node186.a('node.textvAlign','middle'); Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]); Node186.a('node.color','rgba(0,0,0,1)'); Node186.a('node.font','bold '+ Node186fontSize + 'px "Arial"'); Node186.a('node.textvisible',true); Node186.a('node.linefeed',false); if (false) { Node186.a('node.textfunc',function(g) { g.beginPath(); var str=Node186.a('node.text') || '故障'; var color=Node186.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node186fontSize + 'px "Arial"', 0,g); }); } if (false) { Node186.a('node.underlinepoints',[Node186lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]); Node186.a('node.underlinevisible',false); Node186.a('node.underlineBorderWidth', 1); } dataModel.add(Node186); zoomNodeList.push({ node: Node186, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node187 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node188 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node189 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node190 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node191 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node192 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node193 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node194 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node195 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node196 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node197 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node198 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node199 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node200 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node201 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio); var Node202 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'}); /*@GraphList@*/ var datas = dataModel.getDatas(); ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'hyfy':PageBackground_hyfy,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}}); if(typeof(Node1.borderWidth)!="undefined"){setDashStyle(Node1,"Node1",'NoDash',Node1.borderWidth);} if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);} if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);} if(typeof(Node8.borderWidth)!="undefined"){setDashStyle(Node8,"Node8",'NoDash',Node8.borderWidth);} if(typeof(Node10.borderWidth)!="undefined"){setDashStyle(Node10,"Node10",'NoDash',Node10.borderWidth);} ;(typeof Node17_1 != "undefined") && (Node17_1.localDynamicVar = function ( ) {return {'zhuangtai':Node17_1_zhuangtai,'bianhao':Node17_1_bianhao,'fengsu':Node17_1_fengsu,'gonglv':Node17_1_gonglv,}}); ;(typeof Node17_2 != "undefined") && (Node17_2.localDynamicVar = function ( ) {return {'zhuangtai':Node17_2_zhuangtai,'bianhao':Node17_2_bianhao,'fengsu':Node17_2_fengsu,'gonglv':Node17_2_gonglv,}}); ;(typeof Node17_3 != "undefined") && (Node17_3.localDynamicVar = function ( ) {return {'zhuangtai':Node17_3_zhuangtai,'bianhao':Node17_3_bianhao,'fengsu':Node17_3_fengsu,'gonglv':Node17_3_gonglv,}}); ;(typeof Node17_4 != "undefined") && (Node17_4.localDynamicVar = function ( ) {return {'zhuangtai':Node17_4_zhuangtai,'bianhao':Node17_4_bianhao,'fengsu':Node17_4_fengsu,'gonglv':Node17_4_gonglv,}}); ;(typeof Node17_5 != "undefined") && (Node17_5.localDynamicVar = function ( ) {return {'zhuangtai':Node17_5_zhuangtai,'bianhao':Node17_5_bianhao,'fengsu':Node17_5_fengsu,'gonglv':Node17_5_gonglv,}}); ;(typeof Node17_6 != "undefined") && (Node17_6.localDynamicVar = function ( ) {return {'zhuangtai':Node17_6_zhuangtai,'bianhao':Node17_6_bianhao,'fengsu':Node17_6_fengsu,'gonglv':Node17_6_gonglv,}}); ;(typeof Node17_7 != "undefined") && (Node17_7.localDynamicVar = function ( ) {return {'zhuangtai':Node17_7_zhuangtai,'bianhao':Node17_7_bianhao,'fengsu':Node17_7_fengsu,'gonglv':Node17_7_gonglv,}}); ;(typeof Node17_8 != "undefined") && (Node17_8.localDynamicVar = function ( ) {return {'zhuangtai':Node17_8_zhuangtai,'bianhao':Node17_8_bianhao,'fengsu':Node17_8_fengsu,'gonglv':Node17_8_gonglv,}}); ;(typeof Node17_9 != "undefined") && (Node17_9.localDynamicVar = function ( ) {return {'zhuangtai':Node17_9_zhuangtai,'bianhao':Node17_9_bianhao,'fengsu':Node17_9_fengsu,'gonglv':Node17_9_gonglv,}}); ;(typeof Node17_10 != "undefined") && (Node17_10.localDynamicVar = function ( ) {return {'zhuangtai':Node17_10_zhuangtai,'bianhao':Node17_10_bianhao,'fengsu':Node17_10_fengsu,'gonglv':Node17_10_gonglv,}}); ;(typeof Node17_11 != "undefined") && (Node17_11.localDynamicVar = function ( ) {return {'zhuangtai':Node17_11_zhuangtai,'bianhao':Node17_11_bianhao,'fengsu':Node17_11_fengsu,'gonglv':Node17_11_gonglv,}}); ;(typeof Node17_12 != "undefined") && (Node17_12.localDynamicVar = function ( ) {return {'zhuangtai':Node17_12_zhuangtai,'bianhao':Node17_12_bianhao,'fengsu':Node17_12_fengsu,'gonglv':Node17_12_gonglv,}}); ;(typeof Node17_13 != "undefined") && (Node17_13.localDynamicVar = function ( ) {return {'zhuangtai':Node17_13_zhuangtai,'bianhao':Node17_13_bianhao,'fengsu':Node17_13_fengsu,'gonglv':Node17_13_gonglv,}}); ;(typeof Node17_14 != "undefined") && (Node17_14.localDynamicVar = function ( ) {return {'zhuangtai':Node17_14_zhuangtai,'bianhao':Node17_14_bianhao,'fengsu':Node17_14_fengsu,'gonglv':Node17_14_gonglv,}}); ;(typeof Node17_15 != "undefined") && (Node17_15.localDynamicVar = function ( ) {return {'zhuangtai':Node17_15_zhuangtai,'bianhao':Node17_15_bianhao,'fengsu':Node17_15_fengsu,'gonglv':Node17_15_gonglv,}}); ;(typeof Node17_16 != "undefined") && (Node17_16.localDynamicVar = function ( ) {return {'zhuangtai':Node17_16_zhuangtai,'bianhao':Node17_16_bianhao,'fengsu':Node17_16_fengsu,'gonglv':Node17_16_gonglv,}}); ;(typeof Node17_17 != "undefined") && (Node17_17.localDynamicVar = function ( ) {return {'zhuangtai':Node17_17_zhuangtai,'bianhao':Node17_17_bianhao,'fengsu':Node17_17_fengsu,'gonglv':Node17_17_gonglv,}}); ;(typeof Node17_18 != "undefined") && (Node17_18.localDynamicVar = function ( ) {return {'zhuangtai':Node17_18_zhuangtai,'bianhao':Node17_18_bianhao,'fengsu':Node17_18_fengsu,'gonglv':Node17_18_gonglv,}}); ;(typeof Node17_19 != "undefined") && (Node17_19.localDynamicVar = function ( ) {return {'zhuangtai':Node17_19_zhuangtai,'bianhao':Node17_19_bianhao,'fengsu':Node17_19_fengsu,'gonglv':Node17_19_gonglv,}}); ;(typeof Node17_20 != "undefined") && (Node17_20.localDynamicVar = function ( ) {return {'zhuangtai':Node17_20_zhuangtai,'bianhao':Node17_20_bianhao,'fengsu':Node17_20_fengsu,'gonglv':Node17_20_gonglv,}}); ;(typeof Node17_21 != "undefined") && (Node17_21.localDynamicVar = function ( ) {return {'zhuangtai':Node17_21_zhuangtai,'bianhao':Node17_21_bianhao,'fengsu':Node17_21_fengsu,'gonglv':Node17_21_gonglv,}}); ;(typeof Node17_22 != "undefined") && (Node17_22.localDynamicVar = function ( ) {return {'zhuangtai':Node17_22_zhuangtai,'bianhao':Node17_22_bianhao,'fengsu':Node17_22_fengsu,'gonglv':Node17_22_gonglv,}}); ;(typeof Node17_23 != "undefined") && (Node17_23.localDynamicVar = function ( ) {return {'zhuangtai':Node17_23_zhuangtai,'bianhao':Node17_23_bianhao,'fengsu':Node17_23_fengsu,'gonglv':Node17_23_gonglv,}}); ;(typeof Node17_24 != "undefined") && (Node17_24.localDynamicVar = function ( ) {return {'zhuangtai':Node17_24_zhuangtai,'bianhao':Node17_24_bianhao,'fengsu':Node17_24_fengsu,'gonglv':Node17_24_gonglv,}}); if((0 )){Node187.s('2d.visible',true);}else{Node187.s('2d.visible',false);} if((0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);} if((0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);} if((0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);} if((0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);} if((0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);} if((0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);} if((0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);} /*@PageInit@*/ function DatarefreshTask(callback){ /*@DataVarText@*/ callback = callback || function () {}; if(varList.length <= 0){ return callback(); } var ajaxdata = {}; var ajaxtype = 'GET'; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; var snapshots = eval(data); //判断快照是否为空 if (snapshots != null) { for (var i = 0; i < snapshots.length; i++) { var index = varList.indexOf (snapshots[i].TagName); var tagName = snapshots[i].TagName.toLowerCase(); if(index >= 0 && index< varList.length){ if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){ varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value); VarSnapshotTime[tagName]=snapshots[i].Time; }else{ varListObj[tagName] = VarValue[index] = snapshots[i].Value; VarSnapshotTime[tagName]=snapshots[i].Time; } } } } }, complete: function (XHR, TS) { XHR = null; callback(); } } ); } ;(function () { var i = 0; function getdata() { DatarefreshTask(function () { i++; Timer1sCmd(); Timer100msCmd(); Timer500msCmd(); if (i <= 4) { setTimeout(getdata, 50); } }); } setTimeout(getdata, 20); })(); intervalTimers.push(setInterval(DatarefreshTask, 500)); /*@DataRefresh@*/ function GetTagsProperty(){ /*@DataVarText@*/ if(varList.length <= 0){ return; } var ajaxtype = 'GET'; var ajaxdata = {}; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; for(var i=0;i0) {if(((A==0)>0 )){Node18_0.s('2d.visible',true);}else{Node18_0.s('2d.visible',false);}} if((1 )>0) {if(((A==0)>0 )){Node18_1.s('2d.visible',true);}else{Node18_1.s('2d.visible',false);}} if((1 )>0) {if(((B==0)>0 )){Node19_0.s('2d.visible',true);}else{Node19_0.s('2d.visible',false);}} if((1 )>0) {if(((B==0)>0 )){Node19_1.s('2d.visible',true);}else{Node19_1.s('2d.visible',false);}} if((1 )>0) {if(((C==0)>0 )){Node20_0.s('2d.visible',true);}else{Node20_0.s('2d.visible',false);}} if((1 )>0) {if(((C==0)>0 )){Node20_1.s('2d.visible',true);}else{Node20_1.s('2d.visible',false);}} if((1 )>0) {if(((E==0)>0 )){Node21_0.s('2d.visible',true);}else{Node21_0.s('2d.visible',false);}} if((1 )>0) {if(((E==0)>0 )){Node21_1.s('2d.visible',true);}else{Node21_1.s('2d.visible',false);}} if((1 )>0) {if(((F==0)>0 )){Node22_0.s('2d.visible',true);}else{Node22_0.s('2d.visible',false);}} if((1 )>0) {if(((F==0)>0 )){Node22_1.s('2d.visible',true);}else{Node22_1.s('2d.visible',false);}} if((1 )>0) {if(((D==0)>0 )){Node23_0.s('2d.visible',true);}else{Node23_0.s('2d.visible',false);}} if((1 )>0) {if(((D==0)>0 )){Node23_1.s('2d.visible',true);}else{Node23_1.s('2d.visible',false);}} if((1 )>0) {if(((A==1)>0 )){Node24_0.s('2d.visible',true);}else{Node24_0.s('2d.visible',false);}} if((1 )>0) {if(((A==1)>0 )){Node24_1.s('2d.visible',true);}else{Node24_1.s('2d.visible',false);}} if((1 )>0) {if(((B==1)>0 )){Node25_0.s('2d.visible',true);}else{Node25_0.s('2d.visible',false);}} if((1 )>0) {if(((B==1)>0 )){Node25_1.s('2d.visible',true);}else{Node25_1.s('2d.visible',false);}} if((1 )>0) {if(((C==1)>0 )){Node26_0.s('2d.visible',true);}else{Node26_0.s('2d.visible',false);}} if((1 )>0) {if(((C==1)>0 )){Node26_1.s('2d.visible',true);}else{Node26_1.s('2d.visible',false);}} if((1 )>0) {if(((F==1)>0 )){Node27_0.s('2d.visible',true);}else{Node27_0.s('2d.visible',false);}} if((1 )>0) {if(((F==1)>0 )){Node27_1.s('2d.visible',true);}else{Node27_1.s('2d.visible',false);}} if((1 )>0) {if(((E==1)>0 )){Node28_0.s('2d.visible',true);}else{Node28_0.s('2d.visible',false);}} if((1 )>0) {if(((E==1)>0 )){Node28_1.s('2d.visible',true);}else{Node28_1.s('2d.visible',false);}} if((1 )>0) {if(((D==1)>0 )){Node29_0.s('2d.visible',true);}else{Node29_0.s('2d.visible',false);}} if((1 )>0) {if(((D==1)>0 )){Node29_1.s('2d.visible',true);}else{Node29_1.s('2d.visible',false);}} if((1 )>0) {if(((sxxny==1)>0 )){Node187.s('2d.visible',true);}else{Node187.s('2d.visible',false);}} if((1 )>0) {if(((sxxny==0)>0 )){Node188.s('2d.visible',true);}else{Node188.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==1)>0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==0)>0 )){Node190.s('2d.visible',true);}else{Node190.s('2d.visible',false);}} if((1 )>0) {if(((plhts==1)>0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}} if((1 )>0) {if(((plhts==0)>0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==1)>0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==0)>0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}} if((1 )>0) {if(((gljf==1)>0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}} if((1 )>0) {if(((gljf==0)>0 )){Node196.s('2d.visible',true);}else{Node196.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==1)>0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==0)>0 )){Node198.s('2d.visible',true);}else{Node198.s('2d.visible',false);}} if((1 )>0) {if(((llbts==1)>0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}} if((1 )>0) {if(((llbts==0)>0 )){Node200.s('2d.visible',true);}else{Node200.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==1)>0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==0)>0 )){Node202.s('2d.visible',true);}else{Node202.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(); Node17_1.refresh1s(Counter1s); Node17_2.refresh1s(Counter1s); Node17_3.refresh1s(Counter1s); Node17_4.refresh1s(Counter1s); Node17_5.refresh1s(Counter1s); Node17_6.refresh1s(Counter1s); Node17_7.refresh1s(Counter1s); Node17_8.refresh1s(Counter1s); Node17_9.refresh1s(Counter1s); Node17_10.refresh1s(Counter1s); Node17_11.refresh1s(Counter1s); Node17_12.refresh1s(Counter1s); Node17_13.refresh1s(Counter1s); Node17_14.refresh1s(Counter1s); Node17_15.refresh1s(Counter1s); Node17_16.refresh1s(Counter1s); Node17_17.refresh1s(Counter1s); Node17_18.refresh1s(Counter1s); Node17_19.refresh1s(Counter1s); Node17_20.refresh1s(Counter1s); Node17_21.refresh1s(Counter1s); Node17_22.refresh1s(Counter1s); Node17_23.refresh1s(Counter1s); Node17_24.refresh1s(Counter1s); /*@Timer1000ms@*/ // graphView.redraw(); } Timer1sCmd(); intervalTimers.push(setInterval(Timer1sCmd, 1000)); function Timer5sCmd() { Counter5s++; Node17_1.refresh5s(); Node17_2.refresh5s(); Node17_3.refresh5s(); Node17_4.refresh5s(); Node17_5.refresh5s(); Node17_6.refresh5s(); Node17_7.refresh5s(); Node17_8.refresh5s(); Node17_9.refresh5s(); Node17_10.refresh5s(); Node17_11.refresh5s(); Node17_12.refresh5s(); Node17_13.refresh5s(); Node17_14.refresh5s(); Node17_15.refresh5s(); Node17_16.refresh5s(); Node17_17.refresh5s(); Node17_18.refresh5s(); Node17_19.refresh5s(); Node17_20.refresh5s(); Node17_21.refresh5s(); Node17_22.refresh5s(); Node17_23.refresh5s(); Node17_24.refresh5s(); /*@Timer5000ms@*/ // graphView.redraw(); } // intervalTimers.push(setInterval(Timer5sCmd, 5000)); /*@EventTimer@*/ //graphView.setInteractors(null); if (!!view) { view.eventList = view.eventList || {}; } function blockDataFilter (data) { return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false); } var type ='mousedown'; function doMouseDown (e, origin) { if(!ht.Default.isLeftButton(e)){return;} mouseX=e.clientX; mouseY=e.clientY; origin = origin || graphView; window.GD && GD.hideTagInfo(); var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin); return; } if(data === Node24_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node24_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node25_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node25_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node26_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node26_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node27_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node27_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node28_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node28_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node29_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node29_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node189){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node191){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node193){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node195){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } if(data === Node197){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} } /*@EvnentMouseDown@*/ } view.eventList[type] = doMouseDown; view['on'+type] = function(e){ doMouseDown(e); e.preventDefault(); }; type ='mouseup'; function doMouseUp (e, origin) { if(!ht.Default.isLeftButton(e)){return;} origin = origin || graphView; var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin); return; } /*@EvnentMouseUp@*/ } view.eventList[type] = doMouseUp; view['on'+type] = function(e){ doMouseUp(e); e.preventDefault(); }; type ='click'; function doClick (e, origin) { if(!ht.Default.isLeftButton(e)){return;} origin = origin || graphView; var data = origin.getDataAt(e, blockDataFilter); if (data && data.__parentLib) { _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin); return; } /*@EvnentClicked@*/ } view.eventList[type] = doClick; view['on'+type] = function(e){ doClick(e); e.preventDefault(); }; type ='mousemove'; var objMouseOn = null, _objMouseOn = null; function doMouseMove (e, origin, offset) { var positon, data, zoom, _data, libData; origin = origin || graphView; position=origin.getLogicalPoint(e); zoom = graphView.getZoom(); if (origin === graphView) { mouseX= position.x + origin.tx(); mouseY = position.y + origin.ty(); } else { offset = offset || {x: 0, y: 0}; mouseX = position.x / zoom + offset.x + origin.tx(); mouseY = position.y / zoom + offset.y + origin.ty(); } data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)}); if(data === objMouseOn || data === _objMouseOn) return; // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用 if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) { _data = data; data = libData = _libModel.getDataByKey(_data.__parentLib); } if(data !== Node24_0&& objMouseOn===Node24_0){A=0; } if(data !== Node24_1&& objMouseOn===Node24_1){A=0; } if(data !== Node25_0&& objMouseOn===Node25_0){B=0; } if(data !== Node25_1&& objMouseOn===Node25_1){B=0; } if(data !== Node26_0&& objMouseOn===Node26_0){C=0; } if(data !== Node26_1&& objMouseOn===Node26_1){C=0; } if(data !== Node27_0&& objMouseOn===Node27_0){F=0; } if(data !== Node27_1&& objMouseOn===Node27_1){F=0; } if(data !== Node28_0&& objMouseOn===Node28_0){E=0; } if(data !== Node28_1&& objMouseOn===Node28_1){E=0; } if(data !== Node29_0&& objMouseOn===Node29_0){D=0; } if(data !== Node29_1&& objMouseOn===Node29_1){D=0; } if(data !== Node187&& objMouseOn===Node187){sxxny=0; } if(data !== Node189&& objMouseOn===Node189){yygjb=0; } if(data !== Node191&& objMouseOn===Node191){plhts=0; } if(data !== Node193&& objMouseOn===Node193){tqwns=0; } if(data !== Node195&& objMouseOn===Node195){gljf=0; } if(data !== Node197&& objMouseOn===Node197){hyfy=0; } if(data !== Node199&& objMouseOn===Node199){llbts=0; } if(data !== Node201&& objMouseOn===Node201){ygcls=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 === Node18_0){A=1; } if(data === Node18_1){A=1; } if(data === Node19_0){B=1; } if(data === Node19_1){B=1; } if(data === Node20_0){C=1; } if(data === Node20_1){C=1; } if(data === Node21_0){E=1; } if(data === Node21_1){E=1; } if(data === Node22_0){F=1; } if(data === Node22_1){F=1; } if(data === Node23_0){D=1; } if(data === Node23_1){D=1; } if(data === Node188){sxxny=1; } if(data === Node190){yygjb=1; } if(data === Node192){plhts=1; } if(data === Node194){tqwns=1; } if(data === Node196){gljf=1; } if(data === Node198){hyfy=1; } if(data === Node200){llbts=1; } if(data === Node202){ygcls=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(); } })(); })(); }