/*@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: 'adaptBrowser', 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/jz_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; hyfy=0; llbts=0; ygcls=0; fs=0; sjgl=0; yfgl=0; rfdl=0; yfdl=0; ylyxs=0; nfdl=0; nlyxs=0; llfdl=0; whssdl=0; gzssdl=0; xdssdl=0; slssdl=0; xnssdl=0; A=0; B=0; C=0; D=0; E=0; F=0; Node0_0_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_001_CI0166"; Node0_0_bianhao="A01"; Node0_0_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006"; Node0_0_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0002"; Node0_1_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_002_CI0166"; Node0_1_bianhao="A02"; Node0_1_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0006"; Node0_1_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002"; Node0_2_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_003_CI0166"; Node0_2_bianhao="A03"; Node0_2_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0006"; Node0_2_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_003_AI0002"; Node0_3_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_004_CI0166"; Node0_3_bianhao="A04"; Node0_3_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0006"; Node0_3_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_004_AI0002"; Node0_4_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_005_CI0166"; Node0_4_bianhao="A05"; Node0_4_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0006"; Node0_4_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_005_AI0002"; Node0_5_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_006_CI0166"; Node0_5_bianhao="A06"; Node0_5_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_006_AI0006"; Node0_5_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_002_AI0002"; Node0_6_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_007_CI0166"; Node0_6_bianhao="A07"; Node0_6_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0006"; Node0_6_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_007_AI0002"; Node0_7_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_008_CI0166"; Node0_7_bianhao="A08"; Node0_7_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0006"; Node0_7_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_008_AI0002"; Node0_8_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_009_CI0166"; Node0_8_bianhao="A09"; Node0_8_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0006"; Node0_8_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_009_AI0002"; Node0_9_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_010_CI0166"; Node0_9_bianhao="A10"; Node0_9_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0006"; Node0_9_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_010_AI0002"; Node0_10_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_011_CI0166"; Node0_10_bianhao="A11"; Node0_10_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0006"; Node0_10_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_011_AI0002"; Node0_11_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P1_L1_012_CI0166"; Node0_11_bianhao="A12"; Node0_11_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0006"; Node0_11_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L1_012_AI0002"; Node0_12_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_013_CI0166"; Node0_12_bianhao="B13"; Node0_12_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0006"; Node0_12_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_013_AI0002"; Node0_13_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_014_CI0166"; Node0_13_bianhao="B14"; Node0_13_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0006"; Node0_13_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_014_AI0002"; Node0_14_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_015_CI0166"; Node0_14_bianhao="B15"; Node0_14_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0006"; Node0_14_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_015_AI0002"; Node0_15_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_016_CI0166"; Node0_15_bianhao="B16"; Node0_15_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0006"; Node0_15_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_016_AI0002"; Node0_16_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_017_CI0166"; Node0_16_bianhao="B17"; Node0_16_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0006"; Node0_16_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_017_AI0002"; Node0_17_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_018_CI0166"; Node0_17_bianhao="B18"; Node0_17_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0006"; Node0_17_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_018_AI0002"; Node0_18_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_019_CI0166"; Node0_18_bianhao="B19"; Node0_18_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0006"; Node0_18_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_019_AI0002"; Node0_19_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_020_CI0166"; Node0_19_bianhao="B20"; Node0_19_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0006"; Node0_19_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_020_AI0002"; Node0_20_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_021_CI0166"; Node0_20_bianhao="B21"; Node0_20_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0006"; Node0_20_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_021_AI0002"; Node0_21_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_022_CI0166"; Node0_21_bianhao="B22"; Node0_21_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0006"; Node0_21_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_022_AI0002"; Node0_22_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_023_CI0166"; Node0_22_bianhao="B23"; Node0_22_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0006"; Node0_22_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_023_AI0002"; Node0_23_zhuangtai="GL_FJ_JSD.SXGD_GLF_JS_P2_L2_024_CI0166"; Node0_23_bianhao="B24"; Node0_23_fengsu="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0006"; Node0_23_gonglv="GL_FJ.SX_GD_GLF_FJ_P1_L2_024_AI0002"; /*@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_0 = new ht.lib['叠加'](68*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'GL_FJ_JSD.SXGD_GLF_JS_P1_L1_001_CI0166',bianhao:'A01',fengsu:'GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006',gonglv:'GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0002',}, function (){return {}}, 'Node0_0'); _libModel.add("Node0_0", Node0_0); Node0_0.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_1 = new ht.lib['叠加'](209*ratio.ratioX, 45*ratio.ratioY, 135*_ratio.ratioX, 90*_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 {}}, 'Node0_1'); _libModel.add("Node0_1", Node0_1); Node0_1.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_2 = new ht.lib['叠加'](351*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_2'); _libModel.add("Node0_2", Node0_2); Node0_2.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_3 = new ht.lib['叠加'](492*ratio.ratioX, 45*ratio.ratioY, 135*_ratio.ratioX, 90*_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 {}}, 'Node0_3'); _libModel.add("Node0_3", Node0_3); Node0_3.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_4 = new ht.lib['叠加'](634*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_4'); _libModel.add("Node0_4", Node0_4); Node0_4.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_5 = new ht.lib['叠加'](775*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_5'); _libModel.add("Node0_5", Node0_5); Node0_5.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_6 = new ht.lib['叠加'](917*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_6'); _libModel.add("Node0_6", Node0_6); Node0_6.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_7 = new ht.lib['叠加'](1058*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_7'); _libModel.add("Node0_7", Node0_7); Node0_7.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_8 = new ht.lib['叠加'](1200*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_8'); _libModel.add("Node0_8", Node0_8); Node0_8.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_9 = new ht.lib['叠加'](1341*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_9'); _libModel.add("Node0_9", Node0_9); Node0_9.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_10 = new ht.lib['叠加'](1483*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_10'); _libModel.add("Node0_10", Node0_10); Node0_10.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_11 = new ht.lib['叠加'](1624*ratio.ratioX, 45*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_11'); _libModel.add("Node0_11", Node0_11); Node0_11.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_12 = new ht.lib['叠加'](68*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_12'); _libModel.add("Node0_12", Node0_12); Node0_12.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_13 = new ht.lib['叠加'](209*ratio.ratioX, 140*ratio.ratioY, 135*_ratio.ratioX, 90*_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 {}}, 'Node0_13'); _libModel.add("Node0_13", Node0_13); Node0_13.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_14 = new ht.lib['叠加'](351*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_14'); _libModel.add("Node0_14", Node0_14); Node0_14.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_15 = new ht.lib['叠加'](492*ratio.ratioX, 140*ratio.ratioY, 135*_ratio.ratioX, 90*_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 {}}, 'Node0_15'); _libModel.add("Node0_15", Node0_15); Node0_15.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_16 = new ht.lib['叠加'](634*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_16'); _libModel.add("Node0_16", Node0_16); Node0_16.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_17 = new ht.lib['叠加'](775*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_17'); _libModel.add("Node0_17", Node0_17); Node0_17.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_18 = new ht.lib['叠加'](917*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_18'); _libModel.add("Node0_18", Node0_18); Node0_18.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_19 = new ht.lib['叠加'](1058*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_19'); _libModel.add("Node0_19", Node0_19); Node0_19.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_20 = new ht.lib['叠加'](1200*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_20'); _libModel.add("Node0_20", Node0_20); Node0_20.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_21 = new ht.lib['叠加'](1341*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_21'); _libModel.add("Node0_21", Node0_21); Node0_21.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_22 = new ht.lib['叠加'](1483*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_22'); _libModel.add("Node0_22", Node0_22); Node0_22.setRotation(0*Math.PI/180); ; ; _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node0_23 = new ht.lib['叠加'](1624*ratio.ratioX, 140*ratio.ratioY, 136*_ratio.ratioX, 90*_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 {}}, 'Node0_23'); _libModel.add("Node0_23", Node0_23); Node0_23.setRotation(0*Math.PI/180); ; ; Node0DataModel = new ht.DataModel(); globalVarNameList.push('Node0DataModel'); //Node0graphPane = new GraphPaneContainer(Node0DataModel,979,499,1840,640,'rgba(255,255,255,1)'); //document.body.appendChild(Node0graphPane.getView()); //Node0graphPane.getGraphView().setEditable(true); Node0graphPane= new ht.graph.GraphView(Node0DataModel); globalVarNameList.push('Node0graphPane'); jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node0graphPane); Node0graphPane.setScrollBarSize(6); $(Node0graphPane.getView()).css({ border: "1px solid rgba(255,255,255,1)", boxSizing: 'content-box' }); var Node0 = new ht.HtmlNode(); Node0.setScalable(false); Node0.s({ '2d.selectable': true, '2d.movable': false }); Node0.setHtml(Node0graphPane); Node0.setPosition({x:979*ratio.ratioX,y:499*ratio.ratioY}); Node0.setWidth(1840*ratio.ratioX); Node0.setHeight(640*ratio.ratioY); Node0.setPadding(0); dataModel.add(Node0); globalAliasObj['Node0Alias'] = Node0; Node0._allowChildScale = false; (function () { var s = Node0.s; Node0.s = function () { var args = Array.prototype.slice.call(arguments, 0); var paneView = Node0graphPane.getView(); if (args[0] === '2d.visible' && args[1] !== undefined) { if (args[1] === false) { paneView.style.display = 'none'; } else { paneView.style.display = 'block'; } } return s.apply(Node0, args); } })(); var Node0timer = setTimeout(function setFanContainer() { var graphPane = Node0graphPane, hNode = Node0, zoomValue = graphView.getZoom(); function resetZoomAndPosition(zoom) { graphPane.setZoom(zoom); graphPane.tx(0); graphPane.ty(0); } function resizeOverEvent (e) { var blockList = graphPane.blockList; var bw = blockList[0].getWidth(), bh = blockList[0].getHeight(), halfBw = bw * 0.5, halfBh = bh * 0.5, verticalInterval = 5; if (graphPane.ty() !== 0) { graphPane.ty(0); } if (graphPane.tx() !== 0) { graphPane.tx(0); } function reArrange() { var w = $(graphPane.getView()).width()-10, h = $(graphPane.getView()).height(); var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp; if (blockList.length === 1) { graphPane.adjustTranslateY = function () { return 0; } // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)'); graphPane.setScrollBarColor('rgba(211,211,211,1)'); } else { graphPane.adjustTranslateY = adjustTranslateY; //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)'); graphPane.setScrollBarColor('rgba(211,211,211,1)'); } graphPane.totalWidth = w; count = Math.floor(w / bw) || 1; totalInterval = w % bw; totalInterval = totalInterval < 0 ? 0 : totalInterval; hInterval = Math.floor(totalInterval/count); for ( var i = 0, len = blockList.length; i < len; i++) { block = blockList[i]; index = i % count; if (index === 0) { rowIndex++; } px = index * (bw + hInterval) + halfBw; py = rowIndex * (bh + verticalInterval) + halfBh; fp = block.getPosition(); fx = fp.x; fy = fp.y; ox = px - fx; oy = py - fy; // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条 if (len > 1) { ox += 1; oy += 1; } if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列 block.setPosition(px, py); } else { block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列 } } } reArrange(); setTimeout(reArrange, 50); } function adjustTranslateY (value) { var contentSize = graphPane.getContentRect(); var min = graphPane.getHeight() - contentSize.height - 50; value = value > 0 ? 0 : value; value = value < min ? min : value; return value; } function adjustTranslateX (value) { return 0; } graphView.mp(function(e) { if (e.property !== 'zoom') { return ; } resetZoomAndPosition(e.newValue); }) graphPane.getView().addEventListener('mouseover', function (e) { e.preventDefault(); e.stopPropagation(); graphView.setInteractors(null); }); graphPane.getView().addEventListener('mouseleave', function (e) { e.preventDefault(); e.stopPropagation(); graphView.setEditable(false); }) graphPane.getView().addEventListener('mousedown', function (e) { e.preventDefault(); e.stopPropagation(); graphView.setEditable(true); }) // graphPane.getView().addEventListener('mouseup', function (e) { // e.preventDefault(); // e.stopPropagation(); // graphView.setEditable(false); // }) graphPane.setZoom(zoomValue); resetZoomAndPosition(zoomValue); // graphPane.setAutoHideScrollBar(false); graphPane.setAutoHideScrollBar(true); graphPane.setScrollBarSize(6); graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)'); graphPane.setInteractors(null); graphPane.setInteractors([ // new ht.graph.ScrollBarInteractor(graphPane), new ht.graph.DefaultInteractor(graphPane) ]); graphPane.adjustTranslateY = adjustTranslateY; graphPane.adjustTranslateX = adjustTranslateX; graphPane.handleScroll = function(data) { var t = graphPane.ty() - data.deltaY; var contentSize = graphPane.getContentRect(); var min = contentSize.height - graphPane.getHeight() + 50; if (min <= 50) return ; graphPane.setTranslate(0, t, true); } graphPane.setPannable(false); graphPane.setMovableFunc(function(data){return false}); resizeOverEvent(); $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent); clearTimeout(Node0timer); }, 80);addNodeToContainer(dataModel,Node0,Node0graphPane,[Node0_0,Node0_1,Node0_2,Node0_3,Node0_4,Node0_5,Node0_6,Node0_7,Node0_8,Node0_9,Node0_10,Node0_11,Node0_12,Node0_13,Node0_14,Node0_15,Node0_16,Node0_17,Node0_18,Node0_19,Node0_20,Node0_21,Node0_22,Node0_23]);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node1 = new ht.Node(); var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'center', Node1fontSize = 14.66663*_ratio.ratioY,Node1width = 67*_ratio.ratioX, Node1height = 26*_ratio.ratioY; (function () { if (Node1align === 'left') { Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9; Node1textWidth = Node1width; Node1lineStart = 1; } else if (Node1align === 'right') { Node1textStart = 0; Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2; Node1lineStart = (Node1width - (ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node1align === 'center') { Node1textStart = -3; Node1textWidth = Node1width; Node1lineStart = Node1width - ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width - 11; } })(); Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, ' '+ Node1fontSize + 'px "Arial"')) Node1.setPosition(1865*ratio.ratioX, 86*ratio.ratioY); Node1.setWidth(Node1width); Node1.setHeight(Node1height); Node1._nodeType = 'text'; Node1._disallowEvert = true; Node1.setRotation(0*Math.PI/180); Node1.a('node.width', Node1width); Node1.a('node.height', Node1height); Node1.a('node.rect', [0, 0, Node1width, Node1height]); Node1.a('node.bordercolor','rgba(105,105,105,1)'); Node1.a('node.borderwidth', 0); Node1.a('node.background','' || 'rgba(0,0,0,0)'); Node1.a('node.gradient',''); Node1.a('node.gradientcolor',''); Node1.a('node.text','台'); Node1.a('node.textalign','center'); Node1.a('node.textvAlign','middle'); Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]); Node1.a('node.color','rgba(105,105,105,1)'); Node1.a('node.font',' '+ Node1fontSize + 'px "Arial"'); Node1.a('node.textvisible',true); Node1.a('node.linefeed',false); if (false) { Node1.a('node.textfunc',function(g) { g.beginPath(); var str=Node1.a('node.text') || '台'; var color=Node1.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node1width,Node1height,14.66663*_ratio.ratioY,"center",color,' '+ Node1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node1.a('node.underlinepoints',[Node1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]); Node1.a('node.underlinevisible',false); Node1.a('node.underlineBorderWidth', 1); } dataModel.add(Node1); zoomNodeList.push({ node: Node1, borderWidth: 0, attr: 'node.borderwidth' }); _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(1865*ratio.ratioX, 147*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 Node3type = 'rect'; var Node3 = new ht.Node(), Node3BorderWidth = 0*2; if (Node3type === 'arc') { Node3BorderWidth *= 0; } Node3.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node3.setPosition(18*ratio.ratioX, 100*ratio.ratioY); Node3.setSize(27*_ratio.ratioX, 121*_ratio.ratioY); Node3.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node3.a('node.width', 27*_ratio.ratioX); Node3.a('node.height', 121*_ratio.ratioY); Node3.a('node.type', Node3type); Node3.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]); Node3.a('node.background', 'rgba(0,132,216,1)'); Node3.a('node.gradientcolor', 'rgba(0,132,216,1)'); Node3.a('node.gradient', ''); Node3.a('node.borderwidth', Node3BorderWidth); Node3.a('node.color', 'rgba(0,0,255,0)'); Node3.a('node.fillrect', [0,0,0,0]); Node3.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node3.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node3.a('node.fillgradient', ''); if (Node3type !== 'rect') { Node3.a('node.arcFrom', parseFloat('@arcFrom@')); Node3.a('node.arcTo', parseFloat('@arcTo@')); Node3.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node3type === 'arc') { Node3.a('node.arcOval', true); } Node3.setRotation(0*Math.PI/180); Node3.borderWidth = Node3BorderWidth; Node3.borderFillwidth = Node3BorderWidth; dataModel.add(Node3); Node3._nodename = 'Node3' Node3._nodeType = 'rect'; zoomNodeList.push({ node: Node3, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node3, Node3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node4 = new ht.Node(); var Node4textStart, Node4textWidth, Node4lineStart, Node4align = 'left', Node4fontSize = 13.3333*_ratio.ratioY,Node4width = 53*_ratio.ratioX, Node4height = 30*_ratio.ratioY; (function () { if (Node4align === 'left') { Node4textStart = Node4fontSize * 0.2 > 2 ? Node4fontSize * 0.2 - 4 : Node4fontSize * 0.2 - 9; Node4textWidth = Node4width; Node4lineStart = 1; } else if (Node4align === 'right') { Node4textStart = 0; Node4textWidth =Node4fontSize <= 8 ? Node4width + Node4fontSize * 0.2 + 6 : Node4width - Node4fontSize * 0.2; Node4lineStart = (Node4width - (ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node4align === 'center') { Node4textStart = -3; Node4textWidth = Node4width; Node4lineStart = Node4width - ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width - 11; } })(); Node4.setImage(GD.getTextJSON(Node4width, Node4height, true, false, false, 'bold '+ Node4fontSize + 'px "Arial"')) Node4.setPosition(34*ratio.ratioX, 57*ratio.ratioY); Node4.setWidth(Node4width); Node4.setHeight(Node4height); Node4._nodeType = 'text'; Node4._disallowEvert = true; Node4.setRotation(0*Math.PI/180); Node4.a('node.width', Node4width); Node4.a('node.height', Node4height); Node4.a('node.rect', [0, 0, Node4width, Node4height]); Node4.a('node.bordercolor','rgba(255,255,255,1)'); Node4.a('node.borderwidth', 0); Node4.a('node.background','' || 'rgba(0,0,0,0)'); Node4.a('node.gradient',''); Node4.a('node.gradientcolor',''); Node4.a('node.text','综'); Node4.a('node.textalign','left'); Node4.a('node.textvAlign','middle'); Node4.a('node.textrect', [Node4textStart, 0, Node4textWidth, Node4height]); Node4.a('node.color','rgba(255,255,255,1)'); Node4.a('node.font','bold '+ Node4fontSize + 'px "Arial"'); Node4.a('node.textvisible',true); Node4.a('node.linefeed',false); if (false) { Node4.a('node.textfunc',function(g) { g.beginPath(); var str=Node4.a('node.text') || '综'; var color=Node4.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node4width,Node4height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node4fontSize + 'px "Arial"', 0,g); }); } if (false) { Node4.a('node.underlinepoints',[Node4lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node4fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node4fontSize + 'px "Arial"').width + 6, (Node4height - Node4fontSize) * 0.5*_ratio.ratioY + Node4fontSize + 2 ]); Node4.a('node.underlinevisible',false); Node4.a('node.underlineBorderWidth', 1); } dataModel.add(Node4); zoomNodeList.push({ node: Node4, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node5type = 'rect'; var Node5 = new ht.Node(), Node5BorderWidth = 0*2; if (Node5type === 'arc') { Node5BorderWidth *= 0; } Node5.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node5.setPosition(111*ratio.ratioX, 103*ratio.ratioY); Node5.setSize(156*_ratio.ratioX, 30*_ratio.ratioY); Node5.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node5.a('node.width', 156*_ratio.ratioX); Node5.a('node.height', 30*_ratio.ratioY); Node5.a('node.type', Node5type); Node5.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]); Node5.a('node.background', 'rgba(73,192,209,1)'); Node5.a('node.gradientcolor', 'rgba(73,192,209,1)'); Node5.a('node.gradient', ''); Node5.a('node.borderwidth', Node5BorderWidth); Node5.a('node.color', 'rgba(0,0,0,0)'); Node5.a('node.fillrect', [0,0,0,0]); Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node5.a('node.fillgradient', ''); if (Node5type !== 'rect') { Node5.a('node.arcFrom', parseFloat('@arcFrom@')); Node5.a('node.arcTo', parseFloat('@arcTo@')); Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node5type === 'arc') { Node5.a('node.arcOval', true); } Node5.setRotation(0*Math.PI/180); Node5.borderWidth = Node5BorderWidth; Node5.borderFillwidth = Node5BorderWidth; dataModel.add(Node5); Node5._nodename = 'Node5' Node5._nodeType = 'rect'; zoomNodeList.push({ node: Node5, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node6 = new ht.Node(); var Node6textStart, Node6textWidth, Node6lineStart, Node6align = 'left', Node6fontSize = 14.66663*_ratio.ratioY,Node6width = 157*_ratio.ratioX, Node6height = 24*_ratio.ratioY; (function () { if (Node6align === 'left') { Node6textStart = Node6fontSize * 0.2 > 2 ? Node6fontSize * 0.2 - 4 : Node6fontSize * 0.2 - 9; Node6textWidth = Node6width; Node6lineStart = 1; } else if (Node6align === 'right') { Node6textStart = 0; Node6textWidth =Node6fontSize <= 8 ? Node6width + Node6fontSize * 0.2 + 6 : Node6width - Node6fontSize * 0.2; Node6lineStart = (Node6width - (ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node6align === 'center') { Node6textStart = -3; Node6textWidth = Node6width; Node6lineStart = Node6width - ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width - 11; } })(); Node6.setImage(GD.getTextJSON(Node6width, Node6height, true, false, false, 'bold '+ Node6fontSize + 'px "Arial"')) Node6.setPosition(151*ratio.ratioX, 103*ratio.ratioY); Node6.setWidth(Node6width); Node6.setHeight(Node6height); Node6._nodeType = 'text'; Node6._disallowEvert = true; Node6.setRotation(0*Math.PI/180); Node6.a('node.width', Node6width); Node6.a('node.height', Node6height); Node6.a('node.rect', [0, 0, Node6width, Node6height]); Node6.a('node.bordercolor','rgba(255,255,255,1)'); Node6.a('node.borderwidth', 0); Node6.a('node.background','' || 'rgba(0,0,0,0)'); Node6.a('node.gradient',''); Node6.a('node.gradientcolor',''); Node6.a('node.text','安全天数'); Node6.a('node.textalign','left'); Node6.a('node.textvAlign','middle'); Node6.a('node.textrect', [Node6textStart, 0, Node6textWidth, Node6height]); Node6.a('node.color','rgba(255,255,255,1)'); Node6.a('node.font','bold '+ Node6fontSize + 'px "Arial"'); Node6.a('node.textvisible',true); Node6.a('node.linefeed',false); if (false) { Node6.a('node.textfunc',function(g) { g.beginPath(); var str=Node6.a('node.text') || '安全天数'; var color=Node6.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node6width,Node6height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node6fontSize + 'px "Arial"', 0,g); }); } if (false) { Node6.a('node.underlinepoints',[Node6lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node6fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node6fontSize + 'px "Arial"').width + 6, (Node6height - Node6fontSize) * 0.5*_ratio.ratioY + Node6fontSize + 2 ]); Node6.a('node.underlinevisible',false); Node6.a('node.underlineBorderWidth', 1); } dataModel.add(Node6); zoomNodeList.push({ node: Node6, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node7type = 'rect'; var Node7 = new ht.Node(), Node7BorderWidth = 0*2; if (Node7type === 'arc') { Node7BorderWidth *= 0; } Node7.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node7type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node7.setPosition(87*ratio.ratioX, 140*ratio.ratioY); Node7.setSize(105*_ratio.ratioX, 48*_ratio.ratioY); Node7.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node7.a('node.width', 105*_ratio.ratioX); Node7.a('node.height', 48*_ratio.ratioY); Node7.a('node.type', Node7type); Node7.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]); Node7.a('node.background', 'rgba(255,255,255,0.003921569)'); Node7.a('node.gradientcolor', ''); Node7.a('node.gradient', ''); Node7.a('node.borderwidth', Node7BorderWidth); Node7.a('node.color', 'rgba(0,0,0,0)'); Node7.a('node.fillrect', [0,0,0,0]); Node7.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node7.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node7.a('node.fillgradient', ''); if (Node7type !== 'rect') { Node7.a('node.arcFrom', parseFloat('@arcFrom@')); Node7.a('node.arcTo', parseFloat('@arcTo@')); Node7.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node7type === 'arc') { Node7.a('node.arcOval', true); } Node7.setRotation(0*Math.PI/180); Node7.borderWidth = Node7BorderWidth; Node7.borderFillwidth = Node7BorderWidth; dataModel.add(Node7); Node7._nodename = 'Node7' Node7._nodeType = 'rect'; zoomNodeList.push({ node: Node7, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node7, Node7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node8 = new ht.Node(); var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'right', Node8fontSize = 19.99995*_ratio.ratioY,Node8width = 59*_ratio.ratioX, Node8height = 24*_ratio.ratioY; (function () { if (Node8align === 'left') { Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9; Node8textWidth = Node8width; Node8lineStart = 1; } else if (Node8align === 'right') { Node8textStart = 0; Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2; Node8lineStart = (Node8width - (ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node8align === 'center') { Node8textStart = -3; Node8textWidth = Node8width; Node8lineStart = Node8width - ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width - 11; } })(); Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, ' '+ Node8fontSize + 'px "Arial"')) Node8.setPosition(82*ratio.ratioX, 148*ratio.ratioY); Node8.setWidth(Node8width); Node8.setHeight(Node8height); Node8._nodeType = 'text'; Node8._disallowEvert = true; Node8.setRotation(0*Math.PI/180); Node8.a('node.width', Node8width); Node8.a('node.height', Node8height); Node8.a('node.rect', [0, 0, Node8width, Node8height]); Node8.a('node.bordercolor','rgba(0,0,0,1)'); Node8.a('node.borderwidth', 0); Node8.a('node.background','' || 'rgba(0,0,0,0)'); Node8.a('node.gradient',''); Node8.a('node.gradientcolor',''); Node8.a('node.text','0'); Node8.a('node.textalign','right'); Node8.a('node.textvAlign','middle'); Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]); Node8.a('node.color','rgba(0,0,0,1)'); Node8.a('node.font',' '+ Node8fontSize + 'px "Arial"'); Node8.a('node.textvisible',true); Node8.a('node.linefeed',false); if (false) { Node8.a('node.textfunc',function(g) { g.beginPath(); var str=Node8.a('node.text') || '0'; var color=Node8.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node8width,Node8height,19.99995*_ratio.ratioY,"right",color,' '+ Node8fontSize + 'px "Arial"', 0,g); }); } if (false) { Node8.a('node.underlinepoints',[Node8lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]); Node8.a('node.underlinevisible',false); Node8.a('node.underlineBorderWidth', 1); } dataModel.add(Node8); zoomNodeList.push({ node: Node8, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node9type = 'rect'; var Node9 = new ht.Node(), Node9BorderWidth = 0*2; if (Node9type === 'arc') { Node9BorderWidth *= 0; } Node9.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node9type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node9.setPosition(170*ratio.ratioX, 145*ratio.ratioY); Node9.setSize(31*_ratio.ratioX, 31*_ratio.ratioY); Node9.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node9.a('node.width', 31*_ratio.ratioX); Node9.a('node.height', 31*_ratio.ratioY); Node9.a('node.type', Node9type); Node9.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]); Node9.a('node.background', 'rgba(225,102,38,1)'); Node9.a('node.gradientcolor', 'rgba(225,102,38,1)'); Node9.a('node.gradient', ''); Node9.a('node.borderwidth', Node9BorderWidth); Node9.a('node.color', 'rgba(0,0,0,0)'); Node9.a('node.fillrect', [0,0,0,0]); Node9.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node9.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node9.a('node.fillgradient', ''); if (Node9type !== 'rect') { Node9.a('node.arcFrom', parseFloat('@arcFrom@')); Node9.a('node.arcTo', parseFloat('@arcTo@')); Node9.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node9type === 'arc') { Node9.a('node.arcOval', true); } Node9.setRotation(0*Math.PI/180); Node9.borderWidth = Node9BorderWidth; Node9.borderFillwidth = Node9BorderWidth; dataModel.add(Node9); Node9._nodename = 'Node9' Node9._nodeType = 'rect'; zoomNodeList.push({ node: Node9, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node9, Node9.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node10 = new ht.Node(); var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 27*_ratio.ratioX, Node10height = 16*_ratio.ratioY; (function () { if (Node10align === 'left') { Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9; Node10textWidth = Node10width; Node10lineStart = 1; } else if (Node10align === 'right') { Node10textStart = 0; Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2; Node10lineStart = (Node10width - (ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node10align === 'center') { Node10textStart = -3; Node10textWidth = Node10width; Node10lineStart = Node10width - ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width - 11; } })(); Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"')) Node10.setPosition(174*ratio.ratioX, 147*ratio.ratioY); Node10.setWidth(Node10width); Node10.setHeight(Node10height); Node10._nodeType = 'text'; Node10._disallowEvert = true; Node10.setRotation(0*Math.PI/180); Node10.a('node.width', Node10width); Node10.a('node.height', Node10height); Node10.a('node.rect', [0, 0, Node10width, Node10height]); Node10.a('node.bordercolor','rgba(255,255,255,1)'); Node10.a('node.borderwidth', 0); Node10.a('node.background','' || 'rgba(0,0,0,0)'); Node10.a('node.gradient',''); Node10.a('node.gradientcolor',''); Node10.a('node.text','天'); Node10.a('node.textalign','left'); Node10.a('node.textvAlign','middle'); Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]); Node10.a('node.color','rgba(255,255,255,1)'); Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"'); Node10.a('node.textvisible',true); Node10.a('node.linefeed',false); if (false) { Node10.a('node.textfunc',function(g) { g.beginPath(); var str=Node10.a('node.text') || '天'; var color=Node10.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g); }); } if (false) { Node10.a('node.underlinepoints',[Node10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]); Node10.a('node.underlinevisible',false); Node10.a('node.underlineBorderWidth', 1); } dataModel.add(Node10); zoomNodeList.push({ node: Node10, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node11 = new ht.Node(); var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 53*_ratio.ratioX, Node11height = 30*_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(35*ratio.ratioX, 85*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, (30 - 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(35*ratio.ratioX, 112*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(35*ratio.ratioX, 142*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' }); var Node14; (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'); Node14 = new ht.Node(); Node14.setPosition(111*ratio.ratioX, 62*ratio.ratioY); Node14.setSize(155*ratioX, 45*ratioY); Node14.setImage('imgimage//喜欢的蓝色.png'); Node14.setRotation(0*Math.PI/180); Node14._zoomBy = 'Default'; Node14._nodeType = 'image'; Node14._disallowEvert = true; dataModel.add(Node14); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node15 = new ht.Node(); var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 17.33329*_ratio.ratioY,Node15width = 143*_ratio.ratioX, Node15height = 49*_ratio.ratioY; (function () { if (Node15align === 'left') { Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9; Node15textWidth = Node15width; Node15lineStart = 1; } else if (Node15align === 'right') { Node15textStart = 0; Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2; Node15lineStart = (Node15width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node15align === 'center') { Node15textStart = -3; Node15textWidth = Node15width; Node15lineStart = Node15width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width - 11; } })(); Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, ' '+ Node15fontSize + 'px "Arial"')) Node15.setPosition(123*ratio.ratioX, 64*ratio.ratioY); Node15.setWidth(Node15width); Node15.setHeight(Node15height); Node15._nodeType = 'text'; Node15._disallowEvert = true; Node15.setRotation(0*Math.PI/180); Node15.a('node.width', Node15width); Node15.a('node.height', Node15height); Node15.a('node.rect', [0, 0, Node15width, Node15height]); Node15.a('node.bordercolor','rgba(255,255,255,1)'); Node15.a('node.borderwidth', 0); Node15.a('node.background','' || 'rgba(0,0,0,0)'); Node15.a('node.gradient',''); Node15.a('node.gradientcolor',''); Node15.a('node.text','广灵劲风电场'); Node15.a('node.textalign','left'); Node15.a('node.textvAlign','middle'); Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]); Node15.a('node.color','rgba(255,255,255,1)'); Node15.a('node.font',' '+ Node15fontSize + 'px "Arial"'); Node15.a('node.textvisible',true); Node15.a('node.linefeed',false); if (false) { Node15.a('node.textfunc',function(g) { g.beginPath(); var str=Node15.a('node.text') || '广灵劲风电场'; var color=Node15.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node15width,Node15height,17.33329*_ratio.ratioY,"left",color,' '+ Node15fontSize + 'px "Arial"', 0,g); }); } if (false) { Node15.a('node.underlinepoints',[Node15lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]); Node15.a('node.underlinevisible',false); Node15.a('node.underlineBorderWidth', 1); } dataModel.add(Node15); zoomNodeList.push({ node: Node15, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0, ratio); var Node16 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*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 Node17 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 55*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 Node18 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*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 Node19 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 165*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 Node20 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*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 Node21 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 275*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 Node22 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*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 Node23 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 384*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 Node24 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*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 Node25 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 495*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 Node26 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*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 Node27 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 605*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 Node28 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*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 Node29 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 715*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 Node30 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*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 Node31 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 825*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'});var Node32_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node32_0 = new ht.Node(); Node32_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY); Node32_0.setSize(27*ratioX, 101*ratioY); Node32_0.setImage('imgimage//left_menu_out0.png'); Node32_0.setRotation(0*Math.PI/180); Node32_0._zoomBy = 'Default'; Node32_0._nodeType = 'image'; Node32_0._disallowEvert = true; dataModel.add(Node32_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node32_1 = new ht.Node(); var Node32_1textStart, Node32_1textWidth, Node32_1lineStart, Node32_1align = 'left', Node32_1fontSize = 19.99995*_ratio.ratioY,Node32_1width = 23*_ratio.ratioX, Node32_1height = 76*_ratio.ratioY; (function () { if (Node32_1align === 'left') { Node32_1textStart = Node32_1fontSize * 0.2 > 2 ? Node32_1fontSize * 0.2 - 4 : Node32_1fontSize * 0.2 - 9; Node32_1textWidth = Node32_1width; Node32_1lineStart = 1; } else if (Node32_1align === 'right') { Node32_1textStart = 0; Node32_1textWidth =Node32_1fontSize <= 8 ? Node32_1width + Node32_1fontSize * 0.2 + 6 : Node32_1width - Node32_1fontSize * 0.2; Node32_1lineStart = (Node32_1width - (ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node32_1align === 'center') { Node32_1textStart = -3; Node32_1textWidth = Node32_1width; Node32_1lineStart = Node32_1width - ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width - 11; } })(); Node32_1.setImage(GD.getTextJSON(Node32_1width, Node32_1height, false, true, false, ' '+ Node32_1fontSize + 'px "Arial"')) Node32_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY); Node32_1.setWidth(Node32_1width); Node32_1.setHeight(Node32_1height); Node32_1._nodeType = 'text'; Node32_1._disallowEvert = true; Node32_1.setRotation(0*Math.PI/180); Node32_1.a('node.width', Node32_1width); Node32_1.a('node.height', Node32_1height); Node32_1.a('node.rect', [0, 0, Node32_1width, Node32_1height]); Node32_1.a('node.bordercolor','rgba(0,0,0,1)'); Node32_1.a('node.borderwidth', 0); Node32_1.a('node.background','' || 'rgba(0,0,0,0)'); Node32_1.a('node.gradient',''); Node32_1.a('node.gradientcolor',''); Node32_1.a('node.text','排布图'); Node32_1.a('node.textalign','left'); Node32_1.a('node.textvAlign','middle'); Node32_1.a('node.textrect', [Node32_1textStart, 0, Node32_1textWidth, Node32_1height]); Node32_1.a('node.color','rgba(0,0,0,1)'); Node32_1.a('node.font',' '+ Node32_1fontSize + 'px "Arial"'); Node32_1.a('node.textvisible',false); Node32_1.a('node.linefeed',true); if (true) { Node32_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node32_1.a('node.text') || '排布图'; var color=Node32_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node32_1width,Node32_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node32_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node32_1.a('node.underlinepoints',[Node32_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node32_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node32_1fontSize + 'px "Arial"').width + 6, (Node32_1height - Node32_1fontSize) * 0.5*_ratio.ratioY + Node32_1fontSize + 2 ]); Node32_1.a('node.underlinevisible',false); Node32_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node32_1); zoomNodeList.push({ node: Node32_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node33_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node33_0 = new ht.Node(); Node33_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY); Node33_0.setSize(27*ratioX, 101*ratioY); Node33_0.setImage('imgimage//left_menu_out0.png'); Node33_0.setRotation(0*Math.PI/180); Node33_0._zoomBy = 'Default'; Node33_0._nodeType = 'image'; Node33_0._disallowEvert = true; dataModel.add(Node33_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node33_1 = new ht.Node(); var Node33_1textStart, Node33_1textWidth, Node33_1lineStart, Node33_1align = 'left', Node33_1fontSize = 18.66662*_ratio.ratioY,Node33_1width = 23*_ratio.ratioX, Node33_1height = 76*_ratio.ratioY; (function () { if (Node33_1align === 'left') { Node33_1textStart = Node33_1fontSize * 0.2 > 2 ? Node33_1fontSize * 0.2 - 4 : Node33_1fontSize * 0.2 - 9; Node33_1textWidth = Node33_1width; Node33_1lineStart = 1; } else if (Node33_1align === 'right') { Node33_1textStart = 0; Node33_1textWidth =Node33_1fontSize <= 8 ? Node33_1width + Node33_1fontSize * 0.2 + 6 : Node33_1width - Node33_1fontSize * 0.2; Node33_1lineStart = (Node33_1width - (ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node33_1align === 'center') { Node33_1textStart = -3; Node33_1textWidth = Node33_1width; Node33_1lineStart = Node33_1width - ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width - 11; } })(); Node33_1.setImage(GD.getTextJSON(Node33_1width, Node33_1height, false, true, false, ' '+ Node33_1fontSize + 'px "Arial"')) Node33_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY); Node33_1.setWidth(Node33_1width); Node33_1.setHeight(Node33_1height); Node33_1._nodeType = 'text'; Node33_1._disallowEvert = true; Node33_1.setRotation(0*Math.PI/180); Node33_1.a('node.width', Node33_1width); Node33_1.a('node.height', Node33_1height); Node33_1.a('node.rect', [0, 0, Node33_1width, Node33_1height]); Node33_1.a('node.bordercolor','rgba(0,0,0,1)'); Node33_1.a('node.borderwidth', 0); Node33_1.a('node.background','' || 'rgba(0,0,0,0)'); Node33_1.a('node.gradient',''); Node33_1.a('node.gradientcolor',''); Node33_1.a('node.text','总貌图'); Node33_1.a('node.textalign','left'); Node33_1.a('node.textvAlign','middle'); Node33_1.a('node.textrect', [Node33_1textStart, 0, Node33_1textWidth, Node33_1height]); Node33_1.a('node.color','rgba(0,0,0,1)'); Node33_1.a('node.font',' '+ Node33_1fontSize + 'px "Arial"'); Node33_1.a('node.textvisible',false); Node33_1.a('node.linefeed',true); if (true) { Node33_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node33_1.a('node.text') || '总貌图'; var color=Node33_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node33_1width,Node33_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node33_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node33_1.a('node.underlinepoints',[Node33_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node33_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node33_1fontSize + 'px "Arial"').width + 6, (Node33_1height - Node33_1fontSize) * 0.5*_ratio.ratioY + Node33_1fontSize + 2 ]); Node33_1.a('node.underlinevisible',false); Node33_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node33_1); zoomNodeList.push({ node: Node33_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node34_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'); Node34_0 = new ht.Node(); Node34_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY); Node34_0.setSize(27*ratioX, 101*ratioY); Node34_0.setImage('imgimage//left_menu_out0.png'); Node34_0.setRotation(0*Math.PI/180); Node34_0._zoomBy = 'Default'; Node34_0._nodeType = 'image'; Node34_0._disallowEvert = true; dataModel.add(Node34_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node34_1 = new ht.Node(); var Node34_1textStart, Node34_1textWidth, Node34_1lineStart, Node34_1align = 'left', Node34_1fontSize = 18.66662*_ratio.ratioY,Node34_1width = 23*_ratio.ratioX, Node34_1height = 76*_ratio.ratioY; (function () { if (Node34_1align === 'left') { Node34_1textStart = Node34_1fontSize * 0.2 > 2 ? Node34_1fontSize * 0.2 - 4 : Node34_1fontSize * 0.2 - 9; Node34_1textWidth = Node34_1width; Node34_1lineStart = 1; } else if (Node34_1align === 'right') { Node34_1textStart = 0; Node34_1textWidth =Node34_1fontSize <= 8 ? Node34_1width + Node34_1fontSize * 0.2 + 6 : Node34_1width - Node34_1fontSize * 0.2; Node34_1lineStart = (Node34_1width - (ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node34_1align === 'center') { Node34_1textStart = -3; Node34_1textWidth = Node34_1width; Node34_1lineStart = Node34_1width - ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width - 11; } })(); Node34_1.setImage(GD.getTextJSON(Node34_1width, Node34_1height, false, true, false, ' '+ Node34_1fontSize + 'px "Arial"')) Node34_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY); Node34_1.setWidth(Node34_1width); Node34_1.setHeight(Node34_1height); Node34_1._nodeType = 'text'; Node34_1._disallowEvert = true; Node34_1.setRotation(0*Math.PI/180); Node34_1.a('node.width', Node34_1width); Node34_1.a('node.height', Node34_1height); Node34_1.a('node.rect', [0, 0, Node34_1width, Node34_1height]); Node34_1.a('node.bordercolor','rgba(0,0,0,1)'); Node34_1.a('node.borderwidth', 0); Node34_1.a('node.background','' || 'rgba(0,0,0,0)'); Node34_1.a('node.gradient',''); Node34_1.a('node.gradientcolor',''); Node34_1.a('node.text','升压站'); Node34_1.a('node.textalign','left'); Node34_1.a('node.textvAlign','middle'); Node34_1.a('node.textrect', [Node34_1textStart, 0, Node34_1textWidth, Node34_1height]); Node34_1.a('node.color','rgba(0,0,0,1)'); Node34_1.a('node.font',' '+ Node34_1fontSize + 'px "Arial"'); Node34_1.a('node.textvisible',false); Node34_1.a('node.linefeed',true); if (true) { Node34_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node34_1.a('node.text') || '升压站'; var color=Node34_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node34_1width,Node34_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node34_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node34_1.a('node.underlinepoints',[Node34_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node34_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node34_1fontSize + 'px "Arial"').width + 6, (Node34_1height - Node34_1fontSize) * 0.5*_ratio.ratioY + Node34_1fontSize + 2 ]); Node34_1.a('node.underlinevisible',false); Node34_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node34_1); zoomNodeList.push({ node: Node34_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node35_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node35_0 = new ht.Node(); Node35_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY); Node35_0.setSize(27*ratioX, 101*ratioY); Node35_0.setImage('imgimage//left_menu_out0.png'); Node35_0.setRotation(0*Math.PI/180); Node35_0._zoomBy = 'Default'; Node35_0._nodeType = 'image'; Node35_0._disallowEvert = true; dataModel.add(Node35_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node35_1 = new ht.Node(); var Node35_1textStart, Node35_1textWidth, Node35_1lineStart, Node35_1align = 'left', Node35_1fontSize = 18.66662*_ratio.ratioY,Node35_1width = 23*_ratio.ratioX, Node35_1height = 76*_ratio.ratioY; (function () { if (Node35_1align === 'left') { Node35_1textStart = Node35_1fontSize * 0.2 > 2 ? Node35_1fontSize * 0.2 - 4 : Node35_1fontSize * 0.2 - 9; Node35_1textWidth = Node35_1width; Node35_1lineStart = 1; } else if (Node35_1align === 'right') { Node35_1textStart = 0; Node35_1textWidth =Node35_1fontSize <= 8 ? Node35_1width + Node35_1fontSize * 0.2 + 6 : Node35_1width - Node35_1fontSize * 0.2; Node35_1lineStart = (Node35_1width - (ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node35_1align === 'center') { Node35_1textStart = -3; Node35_1textWidth = Node35_1width; Node35_1lineStart = Node35_1width - ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width - 11; } })(); Node35_1.setImage(GD.getTextJSON(Node35_1width, Node35_1height, false, true, false, ' '+ Node35_1fontSize + 'px "Arial"')) Node35_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY); Node35_1.setWidth(Node35_1width); Node35_1.setHeight(Node35_1height); Node35_1._nodeType = 'text'; Node35_1._disallowEvert = true; Node35_1.setRotation(0*Math.PI/180); Node35_1.a('node.width', Node35_1width); Node35_1.a('node.height', Node35_1height); Node35_1.a('node.rect', [0, 0, Node35_1width, Node35_1height]); Node35_1.a('node.bordercolor','rgba(0,0,0,1)'); Node35_1.a('node.borderwidth', 0); Node35_1.a('node.background','' || 'rgba(0,0,0,0)'); Node35_1.a('node.gradient',''); Node35_1.a('node.gradientcolor',''); Node35_1.a('node.text','风机信息'); Node35_1.a('node.textalign','left'); Node35_1.a('node.textvAlign','middle'); Node35_1.a('node.textrect', [Node35_1textStart, 0, Node35_1textWidth, Node35_1height]); Node35_1.a('node.color','rgba(0,0,0,1)'); Node35_1.a('node.font',' '+ Node35_1fontSize + 'px "Arial"'); Node35_1.a('node.textvisible',false); Node35_1.a('node.linefeed',true); if (true) { Node35_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node35_1.a('node.text') || '风机信息'; var color=Node35_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node35_1width,Node35_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node35_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node35_1.a('node.underlinepoints',[Node35_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node35_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node35_1fontSize + 'px "Arial"').width + 6, (Node35_1height - Node35_1fontSize) * 0.5*_ratio.ratioY + Node35_1fontSize + 2 ]); Node35_1.a('node.underlinevisible',false); Node35_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node35_1); zoomNodeList.push({ node: Node35_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node36_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'); Node36_0 = new ht.Node(); Node36_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY); Node36_0.setSize(27*ratioX, 101*ratioY); Node36_0.setImage('imgimage//left_menu_out0.png'); Node36_0.setRotation(0*Math.PI/180); Node36_0._zoomBy = 'Default'; Node36_0._nodeType = 'image'; Node36_0._disallowEvert = true; dataModel.add(Node36_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node36_1 = new ht.Node(); var Node36_1textStart, Node36_1textWidth, Node36_1lineStart, Node36_1align = 'left', Node36_1fontSize = 18.66662*_ratio.ratioY,Node36_1width = 23*_ratio.ratioX, Node36_1height = 76*_ratio.ratioY; (function () { if (Node36_1align === 'left') { Node36_1textStart = Node36_1fontSize * 0.2 > 2 ? Node36_1fontSize * 0.2 - 4 : Node36_1fontSize * 0.2 - 9; Node36_1textWidth = Node36_1width; Node36_1lineStart = 1; } else if (Node36_1align === 'right') { Node36_1textStart = 0; Node36_1textWidth =Node36_1fontSize <= 8 ? Node36_1width + Node36_1fontSize * 0.2 + 6 : Node36_1width - Node36_1fontSize * 0.2; Node36_1lineStart = (Node36_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node36_1align === 'center') { Node36_1textStart = -3; Node36_1textWidth = Node36_1width; Node36_1lineStart = Node36_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width - 11; } })(); Node36_1.setImage(GD.getTextJSON(Node36_1width, Node36_1height, false, true, false, ' '+ Node36_1fontSize + 'px "Arial"')) Node36_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY); Node36_1.setWidth(Node36_1width); Node36_1.setHeight(Node36_1height); Node36_1._nodeType = 'text'; Node36_1._disallowEvert = true; Node36_1.setRotation(0*Math.PI/180); Node36_1.a('node.width', Node36_1width); Node36_1.a('node.height', Node36_1height); Node36_1.a('node.rect', [0, 0, Node36_1width, Node36_1height]); Node36_1.a('node.bordercolor','rgba(0,0,0,1)'); Node36_1.a('node.borderwidth', 0); Node36_1.a('node.background','' || 'rgba(0,0,0,0)'); Node36_1.a('node.gradient',''); Node36_1.a('node.gradientcolor',''); Node36_1.a('node.text','风机矩阵'); Node36_1.a('node.textalign','left'); Node36_1.a('node.textvAlign','middle'); Node36_1.a('node.textrect', [Node36_1textStart, 0, Node36_1textWidth, Node36_1height]); Node36_1.a('node.color','rgba(0,0,0,1)'); Node36_1.a('node.font',' '+ Node36_1fontSize + 'px "Arial"'); Node36_1.a('node.textvisible',false); Node36_1.a('node.linefeed',true); if (true) { Node36_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node36_1.a('node.text') || '风机矩阵'; var color=Node36_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node36_1width,Node36_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node36_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node36_1.a('node.underlinepoints',[Node36_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node36_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node36_1fontSize + 'px "Arial"').width + 6, (Node36_1height - Node36_1fontSize) * 0.5*_ratio.ratioY + Node36_1fontSize + 2 ]); Node36_1.a('node.underlinevisible',false); Node36_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node36_1); zoomNodeList.push({ node: Node36_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node37_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png'); Node37_0 = new ht.Node(); Node37_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY); Node37_0.setSize(27*ratioX, 101*ratioY); Node37_0.setImage('imgimage//left_menu_out0.png'); Node37_0.setRotation(0*Math.PI/180); Node37_0._zoomBy = 'Default'; Node37_0._nodeType = 'image'; Node37_0._disallowEvert = true; dataModel.add(Node37_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node37_1 = new ht.Node(); var Node37_1textStart, Node37_1textWidth, Node37_1lineStart, Node37_1align = 'left', Node37_1fontSize = 18.66662*_ratio.ratioY,Node37_1width = 23*_ratio.ratioX, Node37_1height = 76*_ratio.ratioY; (function () { if (Node37_1align === 'left') { Node37_1textStart = Node37_1fontSize * 0.2 > 2 ? Node37_1fontSize * 0.2 - 4 : Node37_1fontSize * 0.2 - 9; Node37_1textWidth = Node37_1width; Node37_1lineStart = 1; } else if (Node37_1align === 'right') { Node37_1textStart = 0; Node37_1textWidth =Node37_1fontSize <= 8 ? Node37_1width + Node37_1fontSize * 0.2 + 6 : Node37_1width - Node37_1fontSize * 0.2; Node37_1lineStart = (Node37_1width - (ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node37_1align === 'center') { Node37_1textStart = -3; Node37_1textWidth = Node37_1width; Node37_1lineStart = Node37_1width - ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width - 11; } })(); Node37_1.setImage(GD.getTextJSON(Node37_1width, Node37_1height, false, true, false, ' '+ Node37_1fontSize + 'px "Arial"')) Node37_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY); Node37_1.setWidth(Node37_1width); Node37_1.setHeight(Node37_1height); Node37_1._nodeType = 'text'; Node37_1._disallowEvert = true; Node37_1.setRotation(0*Math.PI/180); Node37_1.a('node.width', Node37_1width); Node37_1.a('node.height', Node37_1height); Node37_1.a('node.rect', [0, 0, Node37_1width, Node37_1height]); Node37_1.a('node.bordercolor','rgba(0,0,0,1)'); Node37_1.a('node.borderwidth', 0); Node37_1.a('node.background','' || 'rgba(0,0,0,0)'); Node37_1.a('node.gradient',''); Node37_1.a('node.gradientcolor',''); Node37_1.a('node.text','测风塔'); Node37_1.a('node.textalign','left'); Node37_1.a('node.textvAlign','middle'); Node37_1.a('node.textrect', [Node37_1textStart, 0, Node37_1textWidth, Node37_1height]); Node37_1.a('node.color','rgba(0,0,0,1)'); Node37_1.a('node.font',' '+ Node37_1fontSize + 'px "Arial"'); Node37_1.a('node.textvisible',false); Node37_1.a('node.linefeed',true); if (true) { Node37_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node37_1.a('node.text') || '测风塔'; var color=Node37_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node37_1width,Node37_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node37_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node37_1.a('node.underlinepoints',[Node37_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node37_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node37_1fontSize + 'px "Arial"').width + 6, (Node37_1height - Node37_1fontSize) * 0.5*_ratio.ratioY + Node37_1fontSize + 2 ]); Node37_1.a('node.underlinevisible',false); Node37_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node37_1); zoomNodeList.push({ node: Node37_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node38_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'); Node38_0 = new ht.Node(); Node38_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY); Node38_0.setSize(27*ratioX, 101*ratioY); Node38_0.setImage('imgimage//left_menu_over0.png'); Node38_0.setRotation(0*Math.PI/180); Node38_0._zoomBy = 'Default'; Node38_0._nodeType = 'image'; Node38_0._disallowEvert = true; dataModel.add(Node38_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node38_1 = new ht.Node(); var Node38_1textStart, Node38_1textWidth, Node38_1lineStart, Node38_1align = 'left', Node38_1fontSize = 19.99995*_ratio.ratioY,Node38_1width = 23*_ratio.ratioX, Node38_1height = 76*_ratio.ratioY; (function () { if (Node38_1align === 'left') { Node38_1textStart = Node38_1fontSize * 0.2 > 2 ? Node38_1fontSize * 0.2 - 4 : Node38_1fontSize * 0.2 - 9; Node38_1textWidth = Node38_1width; Node38_1lineStart = 1; } else if (Node38_1align === 'right') { Node38_1textStart = 0; Node38_1textWidth =Node38_1fontSize <= 8 ? Node38_1width + Node38_1fontSize * 0.2 + 6 : Node38_1width - Node38_1fontSize * 0.2; Node38_1lineStart = (Node38_1width - (ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node38_1align === 'center') { Node38_1textStart = -3; Node38_1textWidth = Node38_1width; Node38_1lineStart = Node38_1width - ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width - 11; } })(); Node38_1.setImage(GD.getTextJSON(Node38_1width, Node38_1height, false, true, false, ' '+ Node38_1fontSize + 'px "Arial"')) Node38_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY); Node38_1.setWidth(Node38_1width); Node38_1.setHeight(Node38_1height); Node38_1._nodeType = 'text'; Node38_1._disallowEvert = true; Node38_1.setRotation(0*Math.PI/180); Node38_1.a('node.width', Node38_1width); Node38_1.a('node.height', Node38_1height); Node38_1.a('node.rect', [0, 0, Node38_1width, Node38_1height]); Node38_1.a('node.bordercolor','rgba(0,0,0,1)'); Node38_1.a('node.borderwidth', 0); Node38_1.a('node.background','' || 'rgba(0,0,0,0)'); Node38_1.a('node.gradient',''); Node38_1.a('node.gradientcolor',''); Node38_1.a('node.text','排布图'); Node38_1.a('node.textalign','left'); Node38_1.a('node.textvAlign','middle'); Node38_1.a('node.textrect', [Node38_1textStart, 0, Node38_1textWidth, Node38_1height]); Node38_1.a('node.color','rgba(0,0,0,1)'); Node38_1.a('node.font',' '+ Node38_1fontSize + 'px "Arial"'); Node38_1.a('node.textvisible',false); Node38_1.a('node.linefeed',true); if (true) { Node38_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node38_1.a('node.text') || '排布图'; var color=Node38_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node38_1width,Node38_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node38_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node38_1.a('node.underlinepoints',[Node38_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node38_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node38_1fontSize + 'px "Arial"').width + 6, (Node38_1height - Node38_1fontSize) * 0.5*_ratio.ratioY + Node38_1fontSize + 2 ]); Node38_1.a('node.underlinevisible',false); Node38_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node38_1); zoomNodeList.push({ node: Node38_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node39_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node39_0 = new ht.Node(); Node39_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY); Node39_0.setSize(27*ratioX, 101*ratioY); Node39_0.setImage('imgimage//left_menu_over0.png'); Node39_0.setRotation(0*Math.PI/180); Node39_0._zoomBy = 'Default'; Node39_0._nodeType = 'image'; Node39_0._disallowEvert = true; dataModel.add(Node39_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node39_1 = new ht.Node(); var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'left', Node39_1fontSize = 18.66662*_ratio.ratioY,Node39_1width = 23*_ratio.ratioX, Node39_1height = 76*_ratio.ratioY; (function () { if (Node39_1align === 'left') { Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9; Node39_1textWidth = Node39_1width; Node39_1lineStart = 1; } else if (Node39_1align === 'right') { Node39_1textStart = 0; Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2; Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node39_1align === 'center') { Node39_1textStart = -3; Node39_1textWidth = Node39_1width; Node39_1lineStart = Node39_1width - ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width - 11; } })(); Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, false, true, false, ' '+ Node39_1fontSize + 'px "Arial"')) Node39_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY); Node39_1.setWidth(Node39_1width); Node39_1.setHeight(Node39_1height); Node39_1._nodeType = 'text'; Node39_1._disallowEvert = true; Node39_1.setRotation(0*Math.PI/180); Node39_1.a('node.width', Node39_1width); Node39_1.a('node.height', Node39_1height); Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]); Node39_1.a('node.bordercolor','rgba(0,0,0,1)'); Node39_1.a('node.borderwidth', 0); Node39_1.a('node.background','' || 'rgba(0,0,0,0)'); Node39_1.a('node.gradient',''); Node39_1.a('node.gradientcolor',''); Node39_1.a('node.text','总貌图'); Node39_1.a('node.textalign','left'); Node39_1.a('node.textvAlign','middle'); Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]); Node39_1.a('node.color','rgba(0,0,0,1)'); Node39_1.a('node.font',' '+ Node39_1fontSize + 'px "Arial"'); Node39_1.a('node.textvisible',false); Node39_1.a('node.linefeed',true); if (true) { Node39_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node39_1.a('node.text') || '总貌图'; var color=Node39_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node39_1width,Node39_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node39_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node39_1.a('node.underlinepoints',[Node39_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]); Node39_1.a('node.underlinevisible',false); Node39_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node39_1); zoomNodeList.push({ node: Node39_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node40_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'); Node40_0 = new ht.Node(); Node40_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY); Node40_0.setSize(27*ratioX, 101*ratioY); Node40_0.setImage('imgimage//left_menu_over0.png'); Node40_0.setRotation(0*Math.PI/180); Node40_0._zoomBy = 'Default'; Node40_0._nodeType = 'image'; Node40_0._disallowEvert = true; dataModel.add(Node40_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node40_1 = new ht.Node(); var Node40_1textStart, Node40_1textWidth, Node40_1lineStart, Node40_1align = 'left', Node40_1fontSize = 18.66662*_ratio.ratioY,Node40_1width = 23*_ratio.ratioX, Node40_1height = 76*_ratio.ratioY; (function () { if (Node40_1align === 'left') { Node40_1textStart = Node40_1fontSize * 0.2 > 2 ? Node40_1fontSize * 0.2 - 4 : Node40_1fontSize * 0.2 - 9; Node40_1textWidth = Node40_1width; Node40_1lineStart = 1; } else if (Node40_1align === 'right') { Node40_1textStart = 0; Node40_1textWidth =Node40_1fontSize <= 8 ? Node40_1width + Node40_1fontSize * 0.2 + 6 : Node40_1width - Node40_1fontSize * 0.2; Node40_1lineStart = (Node40_1width - (ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node40_1align === 'center') { Node40_1textStart = -3; Node40_1textWidth = Node40_1width; Node40_1lineStart = Node40_1width - ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width - 11; } })(); Node40_1.setImage(GD.getTextJSON(Node40_1width, Node40_1height, false, true, false, ' '+ Node40_1fontSize + 'px "Arial"')) Node40_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY); Node40_1.setWidth(Node40_1width); Node40_1.setHeight(Node40_1height); Node40_1._nodeType = 'text'; Node40_1._disallowEvert = true; Node40_1.setRotation(0*Math.PI/180); Node40_1.a('node.width', Node40_1width); Node40_1.a('node.height', Node40_1height); Node40_1.a('node.rect', [0, 0, Node40_1width, Node40_1height]); Node40_1.a('node.bordercolor','rgba(0,0,0,1)'); Node40_1.a('node.borderwidth', 0); Node40_1.a('node.background','' || 'rgba(0,0,0,0)'); Node40_1.a('node.gradient',''); Node40_1.a('node.gradientcolor',''); Node40_1.a('node.text','升压站'); Node40_1.a('node.textalign','left'); Node40_1.a('node.textvAlign','middle'); Node40_1.a('node.textrect', [Node40_1textStart, 0, Node40_1textWidth, Node40_1height]); Node40_1.a('node.color','rgba(0,0,0,1)'); Node40_1.a('node.font',' '+ Node40_1fontSize + 'px "Arial"'); Node40_1.a('node.textvisible',false); Node40_1.a('node.linefeed',true); if (true) { Node40_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node40_1.a('node.text') || '升压站'; var color=Node40_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node40_1width,Node40_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node40_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node40_1.a('node.underlinepoints',[Node40_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node40_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node40_1fontSize + 'px "Arial"').width + 6, (Node40_1height - Node40_1fontSize) * 0.5*_ratio.ratioY + Node40_1fontSize + 2 ]); Node40_1.a('node.underlinevisible',false); Node40_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node40_1); zoomNodeList.push({ node: Node40_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node41_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node41_0 = new ht.Node(); Node41_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY); Node41_0.setSize(27*ratioX, 101*ratioY); Node41_0.setImage('imgimage//left_menu_over0.png'); Node41_0.setRotation(0*Math.PI/180); Node41_0._zoomBy = 'Default'; Node41_0._nodeType = 'image'; Node41_0._disallowEvert = true; dataModel.add(Node41_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node41_1 = new ht.Node(); var Node41_1textStart, Node41_1textWidth, Node41_1lineStart, Node41_1align = 'left', Node41_1fontSize = 18.66662*_ratio.ratioY,Node41_1width = 23*_ratio.ratioX, Node41_1height = 76*_ratio.ratioY; (function () { if (Node41_1align === 'left') { Node41_1textStart = Node41_1fontSize * 0.2 > 2 ? Node41_1fontSize * 0.2 - 4 : Node41_1fontSize * 0.2 - 9; Node41_1textWidth = Node41_1width; Node41_1lineStart = 1; } else if (Node41_1align === 'right') { Node41_1textStart = 0; Node41_1textWidth =Node41_1fontSize <= 8 ? Node41_1width + Node41_1fontSize * 0.2 + 6 : Node41_1width - Node41_1fontSize * 0.2; Node41_1lineStart = (Node41_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node41_1align === 'center') { Node41_1textStart = -3; Node41_1textWidth = Node41_1width; Node41_1lineStart = Node41_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width - 11; } })(); Node41_1.setImage(GD.getTextJSON(Node41_1width, Node41_1height, false, true, false, ' '+ Node41_1fontSize + 'px "Arial"')) Node41_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY); Node41_1.setWidth(Node41_1width); Node41_1.setHeight(Node41_1height); Node41_1._nodeType = 'text'; Node41_1._disallowEvert = true; Node41_1.setRotation(0*Math.PI/180); Node41_1.a('node.width', Node41_1width); Node41_1.a('node.height', Node41_1height); Node41_1.a('node.rect', [0, 0, Node41_1width, Node41_1height]); Node41_1.a('node.bordercolor','rgba(0,0,0,1)'); Node41_1.a('node.borderwidth', 0); Node41_1.a('node.background','' || 'rgba(0,0,0,0)'); Node41_1.a('node.gradient',''); Node41_1.a('node.gradientcolor',''); Node41_1.a('node.text','风机矩阵'); Node41_1.a('node.textalign','left'); Node41_1.a('node.textvAlign','middle'); Node41_1.a('node.textrect', [Node41_1textStart, 0, Node41_1textWidth, Node41_1height]); Node41_1.a('node.color','rgba(0,0,0,1)'); Node41_1.a('node.font',' '+ Node41_1fontSize + 'px "Arial"'); Node41_1.a('node.textvisible',false); Node41_1.a('node.linefeed',true); if (true) { Node41_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node41_1.a('node.text') || '风机矩阵'; var color=Node41_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node41_1width,Node41_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node41_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node41_1.a('node.underlinepoints',[Node41_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node41_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node41_1fontSize + 'px "Arial"').width + 6, (Node41_1height - Node41_1fontSize) * 0.5*_ratio.ratioY + Node41_1fontSize + 2 ]); Node41_1.a('node.underlinevisible',false); Node41_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node41_1); zoomNodeList.push({ node: Node41_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node42_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'); Node42_0 = new ht.Node(); Node42_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY); Node42_0.setSize(27*ratioX, 101*ratioY); Node42_0.setImage('imgimage//left_menu_over0.png'); Node42_0.setRotation(0*Math.PI/180); Node42_0._zoomBy = 'Default'; Node42_0._nodeType = 'image'; Node42_0._disallowEvert = true; dataModel.add(Node42_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node42_1 = new ht.Node(); var Node42_1textStart, Node42_1textWidth, Node42_1lineStart, Node42_1align = 'left', Node42_1fontSize = 18.66662*_ratio.ratioY,Node42_1width = 23*_ratio.ratioX, Node42_1height = 76*_ratio.ratioY; (function () { if (Node42_1align === 'left') { Node42_1textStart = Node42_1fontSize * 0.2 > 2 ? Node42_1fontSize * 0.2 - 4 : Node42_1fontSize * 0.2 - 9; Node42_1textWidth = Node42_1width; Node42_1lineStart = 1; } else if (Node42_1align === 'right') { Node42_1textStart = 0; Node42_1textWidth =Node42_1fontSize <= 8 ? Node42_1width + Node42_1fontSize * 0.2 + 6 : Node42_1width - Node42_1fontSize * 0.2; Node42_1lineStart = (Node42_1width - (ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node42_1align === 'center') { Node42_1textStart = -3; Node42_1textWidth = Node42_1width; Node42_1lineStart = Node42_1width - ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width - 11; } })(); Node42_1.setImage(GD.getTextJSON(Node42_1width, Node42_1height, false, true, false, ' '+ Node42_1fontSize + 'px "Arial"')) Node42_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY); Node42_1.setWidth(Node42_1width); Node42_1.setHeight(Node42_1height); Node42_1._nodeType = 'text'; Node42_1._disallowEvert = true; Node42_1.setRotation(0*Math.PI/180); Node42_1.a('node.width', Node42_1width); Node42_1.a('node.height', Node42_1height); Node42_1.a('node.rect', [0, 0, Node42_1width, Node42_1height]); Node42_1.a('node.bordercolor','rgba(0,0,0,1)'); Node42_1.a('node.borderwidth', 0); Node42_1.a('node.background','' || 'rgba(0,0,0,0)'); Node42_1.a('node.gradient',''); Node42_1.a('node.gradientcolor',''); Node42_1.a('node.text','风机信息'); Node42_1.a('node.textalign','left'); Node42_1.a('node.textvAlign','middle'); Node42_1.a('node.textrect', [Node42_1textStart, 0, Node42_1textWidth, Node42_1height]); Node42_1.a('node.color','rgba(0,0,0,1)'); Node42_1.a('node.font',' '+ Node42_1fontSize + 'px "Arial"'); Node42_1.a('node.textvisible',false); Node42_1.a('node.linefeed',true); if (true) { Node42_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node42_1.a('node.text') || '风机信息'; var color=Node42_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node42_1width,Node42_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node42_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node42_1.a('node.underlinepoints',[Node42_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node42_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node42_1fontSize + 'px "Arial"').width + 6, (Node42_1height - Node42_1fontSize) * 0.5*_ratio.ratioY + Node42_1fontSize + 2 ]); Node42_1.a('node.underlinevisible',false); Node42_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node42_1); zoomNodeList.push({ node: Node42_1, borderWidth: 0, attr: 'node.borderwidth' }); var Node43_0; (function () { var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var ratioX, ratioY; if ('Default' === 'False') { ratioX = 1; ratioY = 1; } else if ('Default' === 'X') { ratioX = ratioY = _ratio.ratioX; } else if ('Default' === 'Y') { ratioX = ratioY = _ratio.ratioY; } else { ratioX = _ratio.ratioX; ratioY = _ratio.ratioY; } ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png'); Node43_0 = new ht.Node(); Node43_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY); Node43_0.setSize(27*ratioX, 101*ratioY); Node43_0.setImage('imgimage//left_menu_over0.png'); Node43_0.setRotation(0*Math.PI/180); Node43_0._zoomBy = 'Default'; Node43_0._nodeType = 'image'; Node43_0._disallowEvert = true; dataModel.add(Node43_0); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node43_1 = new ht.Node(); var Node43_1textStart, Node43_1textWidth, Node43_1lineStart, Node43_1align = 'left', Node43_1fontSize = 18.66662*_ratio.ratioY,Node43_1width = 23*_ratio.ratioX, Node43_1height = 76*_ratio.ratioY; (function () { if (Node43_1align === 'left') { Node43_1textStart = Node43_1fontSize * 0.2 > 2 ? Node43_1fontSize * 0.2 - 4 : Node43_1fontSize * 0.2 - 9; Node43_1textWidth = Node43_1width; Node43_1lineStart = 1; } else if (Node43_1align === 'right') { Node43_1textStart = 0; Node43_1textWidth =Node43_1fontSize <= 8 ? Node43_1width + Node43_1fontSize * 0.2 + 6 : Node43_1width - Node43_1fontSize * 0.2; Node43_1lineStart = (Node43_1width - (ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node43_1align === 'center') { Node43_1textStart = -3; Node43_1textWidth = Node43_1width; Node43_1lineStart = Node43_1width - ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width - 11; } })(); Node43_1.setImage(GD.getTextJSON(Node43_1width, Node43_1height, false, true, false, ' '+ Node43_1fontSize + 'px "Arial"')) Node43_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY); Node43_1.setWidth(Node43_1width); Node43_1.setHeight(Node43_1height); Node43_1._nodeType = 'text'; Node43_1._disallowEvert = true; Node43_1.setRotation(0*Math.PI/180); Node43_1.a('node.width', Node43_1width); Node43_1.a('node.height', Node43_1height); Node43_1.a('node.rect', [0, 0, Node43_1width, Node43_1height]); Node43_1.a('node.bordercolor','rgba(0,0,0,1)'); Node43_1.a('node.borderwidth', 0); Node43_1.a('node.background','' || 'rgba(0,0,0,0)'); Node43_1.a('node.gradient',''); Node43_1.a('node.gradientcolor',''); Node43_1.a('node.text','测风塔'); Node43_1.a('node.textalign','left'); Node43_1.a('node.textvAlign','middle'); Node43_1.a('node.textrect', [Node43_1textStart, 0, Node43_1textWidth, Node43_1height]); Node43_1.a('node.color','rgba(0,0,0,1)'); Node43_1.a('node.font',' '+ Node43_1fontSize + 'px "Arial"'); Node43_1.a('node.textvisible',false); Node43_1.a('node.linefeed',true); if (true) { Node43_1.a('node.textfunc',function(g) { g.beginPath(); var str=Node43_1.a('node.text') || '测风塔'; var color=Node43_1.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node43_1width,Node43_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node43_1fontSize + 'px "Arial"', 0,g); }); } if (false) { Node43_1.a('node.underlinepoints',[Node43_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node43_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node43_1fontSize + 'px "Arial"').width + 6, (Node43_1height - Node43_1fontSize) * 0.5*_ratio.ratioY + Node43_1fontSize + 2 ]); Node43_1.a('node.underlinevisible',false); Node43_1.a('node.underlineBorderWidth', 1); } dataModel.add(Node43_1); zoomNodeList.push({ node: Node43_1, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node44type = 'rect'; var Node44 = new ht.Node(), Node44BorderWidth = 1*2; if (Node44type === 'arc') { Node44BorderWidth *= 1; } Node44.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node44.setPosition(1826*ratio.ratioX, 70*ratio.ratioY); Node44.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node44.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node44.a('node.width', 127*_ratio.ratioX); Node44.a('node.height', 60.81538*_ratio.ratioY); Node44.a('node.type', Node44type); Node44.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node44.a('node.background', 'rgba(255,255,255,0.003921569)'); Node44.a('node.gradientcolor', ''); Node44.a('node.gradient', ''); Node44.a('node.borderwidth', Node44BorderWidth); Node44.a('node.color', 'rgba(128,128,128,1)'); Node44.a('node.fillrect', [0,0,0,0]); Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node44.a('node.fillgradient', ''); if (Node44type !== 'rect') { Node44.a('node.arcFrom', parseFloat('@arcFrom@')); Node44.a('node.arcTo', parseFloat('@arcTo@')); Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node44type === 'arc') { Node44.a('node.arcOval', true); } Node44.setRotation(0*Math.PI/180); Node44.borderWidth = Node44BorderWidth; Node44.borderFillwidth = Node44BorderWidth; dataModel.add(Node44); Node44._nodename = 'Node44' Node44._nodeType = 'rect'; zoomNodeList.push({ node: Node44, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node44, Node44.getImage());_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(1826*ratio.ratioX, 131*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 Node46type = 'rect'; var Node46 = new ht.Node(), Node46BorderWidth = 1*2; if (Node46type === 'arc') { Node46BorderWidth *= 1; } Node46.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node46.setPosition(1332*ratio.ratioX, 100*ratio.ratioY); Node46.setSize(27*_ratio.ratioX, 121*_ratio.ratioY); Node46.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node46.a('node.width', 27*_ratio.ratioX); Node46.a('node.height', 121*_ratio.ratioY); Node46.a('node.type', Node46type); Node46.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]); Node46.a('node.background', 'rgba(0,0,0,1)'); Node46.a('node.gradientcolor', 'rgba(0,0,0,1)'); Node46.a('node.gradient', ''); Node46.a('node.borderwidth', Node46BorderWidth); Node46.a('node.color', 'rgba(0,0,255,1)'); Node46.a('node.fillrect', [0,0,0,0]); Node46.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node46.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node46.a('node.fillgradient', ''); if (Node46type !== 'rect') { Node46.a('node.arcFrom', parseFloat('@arcFrom@')); Node46.a('node.arcTo', parseFloat('@arcTo@')); Node46.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node46type === 'arc') { Node46.a('node.arcOval', true); } Node46.setRotation(0*Math.PI/180); Node46.borderWidth = Node46BorderWidth; Node46.borderFillwidth = Node46BorderWidth; dataModel.add(Node46); Node46._nodename = 'Node46' Node46._nodeType = 'rect'; zoomNodeList.push({ node: Node46, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node46, Node46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node47 = new ht.Node(); var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 11.99997*_ratio.ratioY,Node47width = 53*_ratio.ratioX, Node47height = 20*_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('风', 'bold '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node47align === 'center') { Node47textStart = -3; Node47textWidth = Node47width; Node47lineStart = Node47width - ht.Default.getTextSize('风', 'bold '+ Node47fontSize + 'px "Arial"').width - 11; } })(); Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, 'bold '+ Node47fontSize + 'px "Arial"')) Node47.setPosition(1349*ratio.ratioX, 66*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(255,255,255,1)'); Node47.a('node.borderwidth', 0); Node47.a('node.background','' || 'rgba(0,0,0,0)'); Node47.a('node.gradient',''); Node47.a('node.gradientcolor',''); Node47.a('node.text','风'); Node47.a('node.textalign','left'); Node47.a('node.textvAlign','middle'); Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]); Node47.a('node.color','rgba(255,255,255,1)'); Node47.a('node.font','bold '+ 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(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node47width,Node47height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node47fontSize + 'px "Arial"', 0,g); }); } if (false) { Node47.a('node.underlinepoints',[Node47lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]); Node47.a('node.underlinevisible',false); Node47.a('node.underlineBorderWidth', 1); } dataModel.add(Node47); zoomNodeList.push({ node: Node47, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node48type = 'rect'; var Node48 = new ht.Node(), Node48BorderWidth = 1*2; if (Node48type === 'arc') { Node48BorderWidth *= 1; } Node48.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node48type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node48.setPosition(1411*ratio.ratioX, 100*ratio.ratioY); Node48.setSize(130*_ratio.ratioX, 121*_ratio.ratioY); Node48.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node48.a('node.width', 130*_ratio.ratioX); Node48.a('node.height', 121*_ratio.ratioY); Node48.a('node.type', Node48type); Node48.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]); Node48.a('node.background', 'rgba(255,255,255,0.003921569)'); Node48.a('node.gradientcolor', ''); Node48.a('node.gradient', ''); Node48.a('node.borderwidth', Node48BorderWidth); Node48.a('node.color', 'rgba(128,128,128,1)'); Node48.a('node.fillrect', [0,0,0,0]); Node48.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node48.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node48.a('node.fillgradient', ''); if (Node48type !== 'rect') { Node48.a('node.arcFrom', parseFloat('@arcFrom@')); Node48.a('node.arcTo', parseFloat('@arcTo@')); Node48.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node48type === 'arc') { Node48.a('node.arcOval', true); } Node48.setRotation(0*Math.PI/180); Node48.borderWidth = Node48BorderWidth; Node48.borderFillwidth = Node48BorderWidth; dataModel.add(Node48); Node48._nodename = 'Node48' Node48._nodeType = 'rect'; zoomNodeList.push({ node: Node48, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node48, Node48.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node49 = new ht.Node(); var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 59*_ratio.ratioX, Node49height = 25*_ratio.ratioY; (function () { if (Node49align === 'left') { Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9; Node49textWidth = Node49width; Node49lineStart = 1; } else if (Node49align === 'right') { Node49textStart = 0; Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2; Node49lineStart = (Node49width - (ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node49align === 'center') { Node49textStart = -3; Node49textWidth = Node49width; Node49lineStart = Node49width - ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width - 11; } })(); Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"')) Node49.setPosition(1380*ratio.ratioX, 54*ratio.ratioY); Node49.setWidth(Node49width); Node49.setHeight(Node49height); Node49._nodeType = 'text'; Node49._disallowEvert = true; Node49.setRotation(0*Math.PI/180); Node49.a('node.width', Node49width); Node49.a('node.height', Node49height); Node49.a('node.rect', [0, 0, Node49width, Node49height]); Node49.a('node.bordercolor','rgba(105,105,105,1)'); Node49.a('node.borderwidth', 0); Node49.a('node.background','' || 'rgba(0,0,0,0)'); Node49.a('node.gradient',''); Node49.a('node.gradientcolor',''); Node49.a('node.text','接入'); Node49.a('node.textalign','left'); Node49.a('node.textvAlign','middle'); Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]); Node49.a('node.color','rgba(105,105,105,1)'); Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"'); Node49.a('node.textvisible',true); Node49.a('node.linefeed',false); if (false) { Node49.a('node.textfunc',function(g) { g.beginPath(); var str=Node49.a('node.text') || '接入'; var color=Node49.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g); }); } if (false) { Node49.a('node.underlinepoints',[Node49lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]); Node49.a('node.underlinevisible',false); Node49.a('node.underlineBorderWidth', 1); } dataModel.add(Node49); zoomNodeList.push({ node: Node49, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node50 = new ht.Node(); var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'center', Node50fontSize = 26.6666*_ratio.ratioY,Node50width = 87*_ratio.ratioX, Node50height = 36*_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('0', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node50align === 'center') { Node50textStart = -3; Node50textWidth = Node50width; Node50lineStart = Node50width - ht.Default.getTextSize('0', ' '+ Node50fontSize + 'px "Arial"').width - 11; } })(); Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"')) Node50.setPosition(1412*ratio.ratioX, 99*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','0'); Node50.a('node.textalign','center'); Node50.a('node.textvAlign','middle'); Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]); Node50.a('node.color','rgba(0,0,0,1)'); Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"'); Node50.a('node.textvisible',true); Node50.a('node.linefeed',false); if (false) { Node50.a('node.textfunc',function(g) { g.beginPath(); var str=Node50.a('node.text') || '0'; var color=Node50.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node50width,Node50height,26.6666*_ratio.ratioY,"center",color,' '+ Node50fontSize + 'px "Arial"', 0,g); }); } if (false) { Node50.a('node.underlinepoints',[Node50lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node51fontSize = 14.66663*_ratio.ratioY,Node51width = 87*_ratio.ratioX, Node51height = 26*_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('台', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node51align === 'center') { Node51textStart = -3; Node51textWidth = Node51width; Node51lineStart = Node51width - ht.Default.getTextSize('台', ' '+ Node51fontSize + 'px "Arial"').width - 11; } })(); Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"')) Node51.setPosition(1459*ratio.ratioX, 148*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(105,105,105,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','台'); Node51.a('node.textalign','center'); Node51.a('node.textvAlign','middle'); Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]); Node51.a('node.color','rgba(105,105,105,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') || '台'; var color=Node51.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node51width,Node51height,14.66663*_ratio.ratioY,"center",color,' '+ Node51fontSize + 'px "Arial"', 0,g); }); } if (false) { Node51.a('node.underlinepoints',[Node51lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]); Node51.a('node.underlinevisible',false); Node51.a('node.underlineBorderWidth', 1); } dataModel.add(Node51); zoomNodeList.push({ node: Node51, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node52 = new ht.Node(); var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'center', Node52fontSize = 14.66663*_ratio.ratioY,Node52width = 67*_ratio.ratioX, Node52height = 26*_ratio.ratioY; (function () { if (Node52align === 'left') { Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9; Node52textWidth = Node52width; Node52lineStart = 1; } else if (Node52align === 'right') { Node52textStart = 0; Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2; Node52lineStart = (Node52width - (ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node52align === 'center') { Node52textStart = -3; Node52textWidth = Node52width; Node52lineStart = Node52width - ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width - 11; } })(); Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, ' '+ Node52fontSize + 'px "Arial"')) Node52.setPosition(1592*ratio.ratioX, 146*ratio.ratioY); Node52.setWidth(Node52width); Node52.setHeight(Node52height); Node52._nodeType = 'text'; Node52._disallowEvert = true; Node52.setRotation(0*Math.PI/180); Node52.a('node.width', Node52width); Node52.a('node.height', Node52height); Node52.a('node.rect', [0, 0, Node52width, Node52height]); Node52.a('node.bordercolor','rgba(105,105,105,1)'); Node52.a('node.borderwidth', 0); Node52.a('node.background','' || 'rgba(0,0,0,0)'); Node52.a('node.gradient',''); Node52.a('node.gradientcolor',''); Node52.a('node.text','台'); Node52.a('node.textalign','center'); Node52.a('node.textvAlign','middle'); Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]); Node52.a('node.color','rgba(105,105,105,1)'); Node52.a('node.font',' '+ Node52fontSize + 'px "Arial"'); Node52.a('node.textvisible',true); Node52.a('node.linefeed',false); if (false) { Node52.a('node.textfunc',function(g) { g.beginPath(); var str=Node52.a('node.text') || '台'; var color=Node52.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node52width,Node52height,14.66663*_ratio.ratioY,"center",color,' '+ Node52fontSize + 'px "Arial"', 0,g); }); } if (false) { Node52.a('node.underlinepoints',[Node52lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]); Node52.a('node.underlinevisible',false); Node52.a('node.underlineBorderWidth', 1); } dataModel.add(Node52); zoomNodeList.push({ node: Node52, borderWidth: 0, attr: 'node.borderwidth' }); var Node53; (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'); Node53 = new ht.Node(); Node53.setPosition(1481*ratio.ratioX, 130*ratio.ratioY); Node53.setSize(9*ratioX, 60*ratioY); Node53.setImage('imgimage//page_list_box_left_orange.jpg'); Node53.setRotation(0*Math.PI/180); Node53._zoomBy = 'Default'; Node53._nodeType = 'image'; Node53._disallowEvert = true; dataModel.add(Node53); })(); _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node54.setPosition(1550*ratio.ratioX, 131*ratio.ratioY); Node54.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node54.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node54.a('node.width', 127*_ratio.ratioX); Node54.a('node.height', 60.81538*_ratio.ratioY); Node54.a('node.type', Node54type); Node54.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node54.a('node.background', 'rgba(255,255,255,0.003921569)'); Node54.a('node.gradientcolor', ''); Node54.a('node.gradient', ''); Node54.a('node.borderwidth', Node54BorderWidth); Node54.a('node.color', 'rgba(128,128,128,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 Node55 = new ht.Node(); var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 38*_ratio.ratioY; (function () { if (Node55align === 'left') { Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9; Node55textWidth = Node55width; Node55lineStart = 1; } else if (Node55align === 'right') { Node55textStart = 0; Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2; Node55lineStart = (Node55width - (ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node55align === 'center') { Node55textStart = -3; Node55textWidth = Node55width; Node55lineStart = Node55width - ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width - 11; } })(); Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, 'bold '+ Node55fontSize + 'px "Arial"')) Node55.setPosition(1512*ratio.ratioX, 113*ratio.ratioY); Node55.setWidth(Node55width); Node55.setHeight(Node55height); Node55._nodeType = 'text'; Node55._disallowEvert = true; Node55.setRotation(0*Math.PI/180); Node55.a('node.width', Node55width); Node55.a('node.height', Node55height); Node55.a('node.rect', [0, 0, Node55width, Node55height]); Node55.a('node.bordercolor','rgba(0,0,0,1)'); Node55.a('node.borderwidth', 0); Node55.a('node.background','' || 'rgba(0,0,0,0)'); Node55.a('node.gradient',''); Node55.a('node.gradientcolor',''); Node55.a('node.text','维护'); Node55.a('node.textalign','left'); Node55.a('node.textvAlign','middle'); Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]); Node55.a('node.color','rgba(0,0,0,1)'); Node55.a('node.font','bold '+ Node55fontSize + 'px "Arial"'); Node55.a('node.textvisible',true); Node55.a('node.linefeed',false); if (false) { Node55.a('node.textfunc',function(g) { g.beginPath(); var str=Node55.a('node.text') || '维护'; var color=Node55.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node55fontSize + 'px "Arial"', 0,g); }); } if (false) { Node55.a('node.underlinepoints',[Node55lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]); Node55.a('node.underlinevisible',false); Node55.a('node.underlineBorderWidth', 1); } dataModel.add(Node55); zoomNodeList.push({ node: Node55, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node56 = new ht.Node(); var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 15.99996*_ratio.ratioY,Node56width = 29*_ratio.ratioX, Node56height = 25*_ratio.ratioY; (function () { if (Node56align === 'left') { Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9; Node56textWidth = Node56width; Node56lineStart = 1; } else if (Node56align === 'right') { Node56textStart = 0; Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2; Node56lineStart = (Node56width - (ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node56align === 'center') { Node56textStart = -3; Node56textWidth = Node56width; Node56lineStart = Node56width - ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width - 11; } })(); Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "Arial"')) Node56.setPosition(1513*ratio.ratioX, 145*ratio.ratioY); Node56.setWidth(Node56width); Node56.setHeight(Node56height); Node56._nodeType = 'text'; Node56._disallowEvert = true; Node56.setRotation(0*Math.PI/180); Node56.a('node.width', Node56width); Node56.a('node.height', Node56height); Node56.a('node.rect', [0, 0, Node56width, Node56height]); Node56.a('node.bordercolor','rgba(0,0,0,1)'); Node56.a('node.borderwidth', 0); Node56.a('node.background','' || 'rgba(0,0,0,0)'); Node56.a('node.gradient',''); Node56.a('node.gradientcolor',''); Node56.a('node.text','0'); Node56.a('node.textalign','left'); Node56.a('node.textvAlign','middle'); Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]); Node56.a('node.color','rgba(0,0,0,1)'); Node56.a('node.font',' '+ Node56fontSize + 'px "Arial"'); Node56.a('node.textvisible',true); Node56.a('node.linefeed',false); if (false) { Node56.a('node.textfunc',function(g) { g.beginPath(); var str=Node56.a('node.text') || '0'; var color=Node56.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node56width,Node56height,15.99996*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "Arial"', 0,g); }); } if (false) { Node56.a('node.underlinepoints',[Node56lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]); Node56.a('node.underlinevisible',false); Node56.a('node.underlineBorderWidth', 1); } dataModel.add(Node56); zoomNodeList.push({ node: Node56, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node57 = new ht.Node(); var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 14.66663*_ratio.ratioY,Node57width = 67*_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 "Arial"').width + 6)) * 0.5; } else if (Node57align === 'center') { Node57textStart = -3; Node57textWidth = Node57width; Node57lineStart = Node57width - ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "Arial"').width - 11; } })(); Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"')) Node57.setPosition(1730*ratio.ratioX, 86*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(105,105,105,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','center'); Node57.a('node.textvAlign','middle'); Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]); Node57.a('node.color','rgba(105,105,105,1)'); Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"'); Node57.a('node.textvisible',true); Node57.a('node.linefeed',false); if (false) { Node57.a('node.textfunc',function(g) { g.beginPath(); var str=Node57.a('node.text') || '台'; var color=Node57.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node57width,Node57height,14.66663*_ratio.ratioY,"center",color,' '+ Node57fontSize + 'px "Arial"', 0,g); }); } if (false) { Node57.a('node.underlinepoints',[Node57lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]); Node57.a('node.underlinevisible',false); Node57.a('node.underlineBorderWidth', 1); } dataModel.add(Node57); zoomNodeList.push({ node: Node57, borderWidth: 0, attr: 'node.borderwidth' }); var Node58; (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'); Node58 = new ht.Node(); Node58.setPosition(1619*ratio.ratioX, 70*ratio.ratioY); Node58.setSize(9*ratioX, 60*ratioY); Node58.setImage('imgimage//page_list_box_left_green.jpg'); Node58.setRotation(0*Math.PI/180); Node58._zoomBy = 'Default'; Node58._nodeType = 'image'; Node58._disallowEvert = true; dataModel.add(Node58); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node59type = 'rect'; var Node59 = new ht.Node(), Node59BorderWidth = 1*2; if (Node59type === 'arc') { Node59BorderWidth *= 1; } Node59.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node59type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node59.setPosition(1688*ratio.ratioX, 70*ratio.ratioY); Node59.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node59.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node59.a('node.width', 127*_ratio.ratioX); Node59.a('node.height', 60.81538*_ratio.ratioY); Node59.a('node.type', Node59type); Node59.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node59.a('node.background', 'rgba(255,255,255,0.003921569)'); Node59.a('node.gradientcolor', ''); Node59.a('node.gradient', ''); Node59.a('node.borderwidth', Node59BorderWidth); Node59.a('node.color', 'rgba(128,128,128,1)'); Node59.a('node.fillrect', [0,0,0,0]); Node59.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node59.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node59.a('node.fillgradient', ''); if (Node59type !== 'rect') { Node59.a('node.arcFrom', parseFloat('@arcFrom@')); Node59.a('node.arcTo', parseFloat('@arcTo@')); Node59.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node59type === 'arc') { Node59.a('node.arcOval', true); } Node59.setRotation(0*Math.PI/180); Node59.borderWidth = Node59BorderWidth; Node59.borderFillwidth = Node59BorderWidth; dataModel.add(Node59); Node59._nodename = 'Node59' Node59._nodeType = 'rect'; zoomNodeList.push({ node: Node59, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node59, Node59.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node60 = new ht.Node(); var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 15.99996*_ratio.ratioY,Node60width = 29*_ratio.ratioX, Node60height = 25*_ratio.ratioY; (function () { if (Node60align === 'left') { Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9; Node60textWidth = Node60width; Node60lineStart = 1; } else if (Node60align === 'right') { Node60textStart = 0; Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2; Node60lineStart = (Node60width - (ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node60align === 'center') { Node60textStart = -3; Node60textWidth = Node60width; Node60lineStart = Node60width - ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width - 11; } })(); Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"')) Node60.setPosition(1651*ratio.ratioX, 85*ratio.ratioY); Node60.setWidth(Node60width); Node60.setHeight(Node60height); Node60._nodeType = 'text'; Node60._disallowEvert = true; Node60.setRotation(0*Math.PI/180); Node60.a('node.width', Node60width); Node60.a('node.height', Node60height); Node60.a('node.rect', [0, 0, Node60width, Node60height]); Node60.a('node.bordercolor','rgba(0,0,0,1)'); Node60.a('node.borderwidth', 0); Node60.a('node.background','' || 'rgba(0,0,0,0)'); Node60.a('node.gradient',''); Node60.a('node.gradientcolor',''); Node60.a('node.text','0'); Node60.a('node.textalign','left'); Node60.a('node.textvAlign','middle'); Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]); Node60.a('node.color','rgba(0,0,0,1)'); Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"'); Node60.a('node.textvisible',true); Node60.a('node.linefeed',false); if (false) { Node60.a('node.textfunc',function(g) { g.beginPath(); var str=Node60.a('node.text') || '0'; var color=Node60.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node60width,Node60height,15.99996*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g); }); } if (false) { Node60.a('node.underlinepoints',[Node60lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]); Node60.a('node.underlinevisible',false); Node60.a('node.underlineBorderWidth', 1); } dataModel.add(Node60); zoomNodeList.push({ node: Node60, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node61 = new ht.Node(); var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'center', Node61fontSize = 14.66663*_ratio.ratioY,Node61width = 67*_ratio.ratioX, Node61height = 26*_ratio.ratioY; (function () { if (Node61align === 'left') { Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9; Node61textWidth = Node61width; Node61lineStart = 1; } else if (Node61align === 'right') { Node61textStart = 0; Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2; Node61lineStart = (Node61width - (ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node61align === 'center') { Node61textStart = -3; Node61textWidth = Node61width; Node61lineStart = Node61width - ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width - 11; } })(); Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"')) Node61.setPosition(1730*ratio.ratioX, 147*ratio.ratioY); Node61.setWidth(Node61width); Node61.setHeight(Node61height); Node61._nodeType = 'text'; Node61._disallowEvert = true; Node61.setRotation(0*Math.PI/180); Node61.a('node.width', Node61width); Node61.a('node.height', Node61height); Node61.a('node.rect', [0, 0, Node61width, Node61height]); Node61.a('node.bordercolor','rgba(105,105,105,1)'); Node61.a('node.borderwidth', 0); Node61.a('node.background','' || 'rgba(0,0,0,0)'); Node61.a('node.gradient',''); Node61.a('node.gradientcolor',''); Node61.a('node.text','台'); Node61.a('node.textalign','center'); Node61.a('node.textvAlign','middle'); Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]); Node61.a('node.color','rgba(105,105,105,1)'); Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"'); Node61.a('node.textvisible',true); Node61.a('node.linefeed',false); if (false) { Node61.a('node.textfunc',function(g) { g.beginPath(); var str=Node61.a('node.text') || '台'; var color=Node61.a('node.color') || 'rgba(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node61width,Node61height,14.66663*_ratio.ratioY,"center",color,' '+ Node61fontSize + 'px "Arial"', 0,g); }); } if (false) { Node61.a('node.underlinepoints',[Node61lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]); Node61.a('node.underlinevisible',false); Node61.a('node.underlineBorderWidth', 1); } dataModel.add(Node61); zoomNodeList.push({ node: Node61, borderWidth: 0, attr: 'node.borderwidth' }); var Node62; (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'); Node62 = new ht.Node(); Node62.setPosition(1619*ratio.ratioX, 131*ratio.ratioY); Node62.setSize(9*ratioX, 60*ratioY); Node62.setImage('imgimage//page_list_box_left_pink.jpg'); Node62.setRotation(0*Math.PI/180); Node62._zoomBy = 'Default'; Node62._nodeType = 'image'; Node62._disallowEvert = true; dataModel.add(Node62); })(); _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node63.setPosition(1688*ratio.ratioX, 131*ratio.ratioY); Node63.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node63.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node63.a('node.width', 127*_ratio.ratioX); Node63.a('node.height', 60.81538*_ratio.ratioY); Node63.a('node.type', Node63type); Node63.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node63.a('node.background', 'rgba(255,255,255,0.003921569)'); Node63.a('node.gradientcolor', ''); Node63.a('node.gradient', ''); Node63.a('node.borderwidth', Node63BorderWidth); Node63.a('node.color', 'rgba(128,128,128,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 Node64 = new ht.Node(); var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 47*_ratio.ratioX, Node64height = 38*_ratio.ratioY; (function () { if (Node64align === 'left') { Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9; Node64textWidth = Node64width; Node64lineStart = 1; } else if (Node64align === 'right') { Node64textStart = 0; Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2; Node64lineStart = (Node64width - (ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node64align === 'center') { Node64textStart = -3; Node64textWidth = Node64width; Node64lineStart = Node64width - ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width - 11; } })(); Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, 'bold '+ Node64fontSize + 'px "Arial"')) Node64.setPosition(1650*ratio.ratioX, 114*ratio.ratioY); Node64.setWidth(Node64width); Node64.setHeight(Node64height); Node64._nodeType = 'text'; Node64._disallowEvert = true; Node64.setRotation(0*Math.PI/180); Node64.a('node.width', Node64width); Node64.a('node.height', Node64height); Node64.a('node.rect', [0, 0, Node64width, Node64height]); Node64.a('node.bordercolor','rgba(0,0,0,1)'); Node64.a('node.borderwidth', 0); Node64.a('node.background','' || 'rgba(0,0,0,0)'); Node64.a('node.gradient',''); Node64.a('node.gradientcolor',''); Node64.a('node.text','限电'); Node64.a('node.textalign','left'); Node64.a('node.textvAlign','middle'); Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]); Node64.a('node.color','rgba(0,0,0,1)'); Node64.a('node.font','bold '+ Node64fontSize + 'px "Arial"'); Node64.a('node.textvisible',true); Node64.a('node.linefeed',false); if (false) { Node64.a('node.textfunc',function(g) { g.beginPath(); var str=Node64.a('node.text') || '限电'; var color=Node64.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node64fontSize + 'px "Arial"', 0,g); }); } if (false) { Node64.a('node.underlinepoints',[Node64lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node64fontSize + 'px "Arial"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]); Node64.a('node.underlinevisible',false); Node64.a('node.underlineBorderWidth', 1); } dataModel.add(Node64); zoomNodeList.push({ node: Node64, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node65 = new ht.Node(); var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 15.99996*_ratio.ratioY,Node65width = 29*_ratio.ratioX, Node65height = 25*_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('0', ' '+ Node65fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node65align === 'center') { Node65textStart = -3; Node65textWidth = Node65width; Node65lineStart = Node65width - ht.Default.getTextSize('0', ' '+ Node65fontSize + 'px "Arial"').width - 11; } })(); Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "Arial"')) Node65.setPosition(1651*ratio.ratioX, 146*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(0,0,0,0)'); Node65.a('node.gradient',''); Node65.a('node.gradientcolor',''); Node65.a('node.text','0'); Node65.a('node.textalign','left'); 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 "Arial"'); 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') || '0'; var color=Node65.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node65width,Node65height,15.99996*_ratio.ratioY,"left",color,' '+ Node65fontSize + 'px "Arial"', 0,g); }); } if (false) { Node65.a('node.underlinepoints',[Node65lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node65fontSize + 'px "Arial"').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 Node66type = 'rect'; var Node66 = new ht.Node(), Node66BorderWidth = 1*2; if (Node66type === 'arc') { Node66BorderWidth *= 1; } Node66.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node66.setPosition(252*ratio.ratioX, 100*ratio.ratioY); Node66.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node66.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node66.a('node.width', 121*_ratio.ratioX); Node66.a('node.height', 24.33138*_ratio.ratioY); Node66.a('node.type', Node66type); Node66.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node66.a('node.background', 'rgba(240,240,240,1)'); Node66.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node66.a('node.gradient', ''); Node66.a('node.borderwidth', Node66BorderWidth); Node66.a('node.color', 'rgba(224,224,224,1)'); Node66.a('node.fillrect', [0,0,0,0]); Node66.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node66.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node66.a('node.fillgradient', ''); if (Node66type !== 'rect') { Node66.a('node.arcFrom', parseFloat('@arcFrom@')); Node66.a('node.arcTo', parseFloat('@arcTo@')); Node66.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node66type === 'arc') { Node66.a('node.arcOval', true); } Node66.setRotation(0*Math.PI/180); Node66.borderWidth = Node66BorderWidth; Node66.borderFillwidth = Node66BorderWidth; dataModel.add(Node66); Node66._nodename = 'Node66' Node66._nodeType = 'rect'; zoomNodeList.push({ node: Node66, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node66, Node66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node67type = 'rect'; var Node67 = new ht.Node(), Node67BorderWidth = 1*2; if (Node67type === 'arc') { Node67BorderWidth *= 1; } Node67.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node67.setPosition(252*ratio.ratioX, 76*ratio.ratioY); Node67.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node67.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node67.a('node.width', 121*_ratio.ratioX); Node67.a('node.height', 24.33138*_ratio.ratioY); Node67.a('node.type', Node67type); Node67.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node67.a('node.background', 'rgba(240,240,240,1)'); Node67.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node67.a('node.gradient', ''); Node67.a('node.borderwidth', Node67BorderWidth); Node67.a('node.color', 'rgba(224,224,224,1)'); Node67.a('node.fillrect', [0,0,0,0]); Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node67.a('node.fillgradient', ''); if (Node67type !== 'rect') { Node67.a('node.arcFrom', parseFloat('@arcFrom@')); Node67.a('node.arcTo', parseFloat('@arcTo@')); Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node67type === 'arc') { Node67.a('node.arcOval', true); } Node67.setRotation(0*Math.PI/180); Node67.borderWidth = Node67BorderWidth; Node67.borderFillwidth = Node67BorderWidth; dataModel.add(Node67); Node67._nodename = 'Node67' Node67._nodeType = 'rect'; zoomNodeList.push({ node: Node67, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node67, Node67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node68type = 'rect'; var Node68 = new ht.Node(), Node68BorderWidth = 1*2; if (Node68type === 'arc') { Node68BorderWidth *= 1; } Node68.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node68type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node68.setPosition(252*ratio.ratioX, 125*ratio.ratioY); Node68.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node68.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node68.a('node.width', 121*_ratio.ratioX); Node68.a('node.height', 24.33136*_ratio.ratioY); Node68.a('node.type', Node68type); Node68.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node68.a('node.background', 'rgba(240,240,240,1)'); Node68.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node68.a('node.gradient', ''); Node68.a('node.borderwidth', Node68BorderWidth); Node68.a('node.color', 'rgba(224,224,224,1)'); Node68.a('node.fillrect', [0,0,0,0]); Node68.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node68.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node68.a('node.fillgradient', ''); if (Node68type !== 'rect') { Node68.a('node.arcFrom', parseFloat('@arcFrom@')); Node68.a('node.arcTo', parseFloat('@arcTo@')); Node68.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node68type === 'arc') { Node68.a('node.arcOval', true); } Node68.setRotation(0*Math.PI/180); Node68.borderWidth = Node68BorderWidth; Node68.borderFillwidth = Node68BorderWidth; dataModel.add(Node68); Node68._nodename = 'Node68' Node68._nodeType = 'rect'; zoomNodeList.push({ node: Node68, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node68, Node68.getImage());_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(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node69.setPosition(252*ratio.ratioX, 52*ratio.ratioY); Node69.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node69.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node69.a('node.width', 121*_ratio.ratioX); Node69.a('node.height', 24.33136*_ratio.ratioY); Node69.a('node.type', Node69type); Node69.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_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(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node70.setPosition(252*ratio.ratioX, 149*ratio.ratioY); Node70.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node70.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node70.a('node.width', 121*_ratio.ratioX); Node70.a('node.height', 24.33138*_ratio.ratioY); Node70.a('node.type', Node70type); Node70.a('node.rect', [0, 0, 121*_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 Node71 = new ht.Node(); var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 61*_ratio.ratioX, Node71height = 26*_ratio.ratioY; (function () { if (Node71align === 'left') { Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9; Node71textWidth = Node71width; Node71lineStart = 1; } else if (Node71align === 'right') { Node71textStart = 0; Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2; Node71lineStart = (Node71width - (ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node71align === 'center') { Node71textStart = -3; Node71textWidth = Node71width; Node71lineStart = Node71width - ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width - 11; } })(); Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "微软雅黑"')) Node71.setPosition(226*ratio.ratioX, 78*ratio.ratioY); Node71.setWidth(Node71width); Node71.setHeight(Node71height); Node71._nodeType = 'text'; Node71._disallowEvert = true; Node71.setRotation(0*Math.PI/180); Node71.a('node.width', Node71width); Node71.a('node.height', Node71height); Node71.a('node.rect', [0, 0, Node71width, Node71height]); Node71.a('node.bordercolor','rgba(0,0,0,1)'); Node71.a('node.borderwidth', 0); Node71.a('node.background','' || 'rgba(0,0,0,0)'); Node71.a('node.gradient',''); Node71.a('node.gradientcolor',''); Node71.a('node.text','功率'); Node71.a('node.textalign','left'); Node71.a('node.textvAlign','middle'); Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]); Node71.a('node.color','rgba(0,0,0,1)'); Node71.a('node.font',' '+ Node71fontSize + 'px "微软雅黑"'); Node71.a('node.textvisible',true); Node71.a('node.linefeed',false); if (false) { Node71.a('node.textfunc',function(g) { g.beginPath(); var str=Node71.a('node.text') || '功率'; var color=Node71.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node71.a('node.underlinepoints',[Node71lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]); Node71.a('node.underlinevisible',false); Node71.a('node.underlineBorderWidth', 1); } dataModel.add(Node71); zoomNodeList.push({ node: Node71, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node72 = new ht.Node(); var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 61*_ratio.ratioX, Node72height = 26*_ratio.ratioY; (function () { if (Node72align === 'left') { Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9; Node72textWidth = Node72width; Node72lineStart = 1; } else if (Node72align === 'right') { Node72textStart = 0; Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2; Node72lineStart = (Node72width - (ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node72align === 'center') { Node72textStart = -3; Node72textWidth = Node72width; Node72lineStart = Node72width - ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width - 11; } })(); Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "微软雅黑"')) Node72.setPosition(226*ratio.ratioX, 102*ratio.ratioY); Node72.setWidth(Node72width); Node72.setHeight(Node72height); Node72._nodeType = 'text'; Node72._disallowEvert = true; Node72.setRotation(0*Math.PI/180); Node72.a('node.width', Node72width); Node72.a('node.height', Node72height); Node72.a('node.rect', [0, 0, Node72width, Node72height]); Node72.a('node.bordercolor','rgba(0,0,0,1)'); Node72.a('node.borderwidth', 0); Node72.a('node.background','' || 'rgba(0,0,0,0)'); Node72.a('node.gradient',''); Node72.a('node.gradientcolor',''); Node72.a('node.text','风速'); Node72.a('node.textalign','left'); Node72.a('node.textvAlign','middle'); Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]); Node72.a('node.color','rgba(0,0,0,1)'); Node72.a('node.font',' '+ Node72fontSize + 'px "微软雅黑"'); Node72.a('node.textvisible',true); Node72.a('node.linefeed',false); if (false) { Node72.a('node.textfunc',function(g) { g.beginPath(); var str=Node72.a('node.text') || '风速'; var color=Node72.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node72.a('node.underlinepoints',[Node72lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node72fontSize + 'px "微软雅黑"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]); Node72.a('node.underlinevisible',false); Node72.a('node.underlineBorderWidth', 1); } dataModel.add(Node72); zoomNodeList.push({ node: Node72, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node73 = new ht.Node(); var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 77*_ratio.ratioX, Node73height = 26*_ratio.ratioY; (function () { if (Node73align === 'left') { Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9; Node73textWidth = Node73width; Node73lineStart = 1; } else if (Node73align === 'right') { Node73textStart = 0; Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2; Node73lineStart = (Node73width - (ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node73align === 'center') { Node73textStart = -3; Node73textWidth = Node73width; Node73lineStart = Node73width - ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width - 11; } })(); Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "微软雅黑"')) Node73.setPosition(232*ratio.ratioX, 127*ratio.ratioY); Node73.setWidth(Node73width); Node73.setHeight(Node73height); Node73._nodeType = 'text'; Node73._disallowEvert = true; Node73.setRotation(0*Math.PI/180); Node73.a('node.width', Node73width); Node73.a('node.height', Node73height); Node73.a('node.rect', [0, 0, Node73width, Node73height]); Node73.a('node.bordercolor','rgba(0,0,0,1)'); Node73.a('node.borderwidth', 0); Node73.a('node.background','' || 'rgba(0,0,0,0)'); Node73.a('node.gradient',''); Node73.a('node.gradientcolor',''); Node73.a('node.text','发电量'); Node73.a('node.textalign','left'); Node73.a('node.textvAlign','middle'); Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]); Node73.a('node.color','rgba(0,0,0,1)'); Node73.a('node.font',' '+ Node73fontSize + 'px "微软雅黑"'); Node73.a('node.textvisible',true); Node73.a('node.linefeed',false); if (false) { Node73.a('node.textfunc',function(g) { g.beginPath(); var str=Node73.a('node.text') || '发电量'; var color=Node73.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,' '+ Node73fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node73.a('node.underlinepoints',[Node73lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]); Node73.a('node.underlinevisible',false); Node73.a('node.underlineBorderWidth', 1); } dataModel.add(Node73); zoomNodeList.push({ node: Node73, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node74type = 'rect'; var Node74 = new ht.Node(), Node74BorderWidth = 1*2; if (Node74type === 'arc') { Node74BorderWidth *= 1; } Node74.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node74type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node74.setPosition(536*ratio.ratioX, 100*ratio.ratioY); Node74.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node74.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node74.a('node.width', 121*_ratio.ratioX); Node74.a('node.height', 24.33138*_ratio.ratioY); Node74.a('node.type', Node74type); Node74.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node74.a('node.background', 'rgba(240,240,240,1)'); Node74.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node74.a('node.gradient', ''); Node74.a('node.borderwidth', Node74BorderWidth); Node74.a('node.color', 'rgba(224,224,224,1)'); Node74.a('node.fillrect', [0,0,0,0]); Node74.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node74.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node74.a('node.fillgradient', ''); if (Node74type !== 'rect') { Node74.a('node.arcFrom', parseFloat('@arcFrom@')); Node74.a('node.arcTo', parseFloat('@arcTo@')); Node74.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node74type === 'arc') { Node74.a('node.arcOval', true); } Node74.setRotation(0*Math.PI/180); Node74.borderWidth = Node74BorderWidth; Node74.borderFillwidth = Node74BorderWidth; dataModel.add(Node74); Node74._nodename = 'Node74' Node74._nodeType = 'rect'; zoomNodeList.push({ node: Node74, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node74, Node74.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node75type = 'rect'; var Node75 = new ht.Node(), Node75BorderWidth = 1*2; if (Node75type === 'arc') { Node75BorderWidth *= 1; } Node75.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node75type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node75.setPosition(536*ratio.ratioX, 76*ratio.ratioY); Node75.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node75.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node75.a('node.width', 121*_ratio.ratioX); Node75.a('node.height', 24.33138*_ratio.ratioY); Node75.a('node.type', Node75type); Node75.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node75.a('node.background', 'rgba(240,240,240,1)'); Node75.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node75.a('node.gradient', ''); Node75.a('node.borderwidth', Node75BorderWidth); Node75.a('node.color', 'rgba(224,224,224,1)'); Node75.a('node.fillrect', [0,0,0,0]); Node75.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node75.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node75.a('node.fillgradient', ''); if (Node75type !== 'rect') { Node75.a('node.arcFrom', parseFloat('@arcFrom@')); Node75.a('node.arcTo', parseFloat('@arcTo@')); Node75.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node75type === 'arc') { Node75.a('node.arcOval', true); } Node75.setRotation(0*Math.PI/180); Node75.borderWidth = Node75BorderWidth; Node75.borderFillwidth = Node75BorderWidth; dataModel.add(Node75); Node75._nodename = 'Node75' Node75._nodeType = 'rect'; zoomNodeList.push({ node: Node75, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node75, Node75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node76type = 'rect'; var Node76 = new ht.Node(), Node76BorderWidth = 1*2; if (Node76type === 'arc') { Node76BorderWidth *= 1; } Node76.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node76type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node76.setPosition(536*ratio.ratioX, 125*ratio.ratioY); Node76.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node76.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node76.a('node.width', 121*_ratio.ratioX); Node76.a('node.height', 24.33136*_ratio.ratioY); Node76.a('node.type', Node76type); Node76.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node76.a('node.background', 'rgba(240,240,240,1)'); Node76.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node76.a('node.gradient', ''); Node76.a('node.borderwidth', Node76BorderWidth); Node76.a('node.color', 'rgba(224,224,224,1)'); Node76.a('node.fillrect', [0,0,0,0]); Node76.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node76.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node76.a('node.fillgradient', ''); if (Node76type !== 'rect') { Node76.a('node.arcFrom', parseFloat('@arcFrom@')); Node76.a('node.arcTo', parseFloat('@arcTo@')); Node76.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node76type === 'arc') { Node76.a('node.arcOval', true); } Node76.setRotation(0*Math.PI/180); Node76.borderWidth = Node76BorderWidth; Node76.borderFillwidth = Node76BorderWidth; dataModel.add(Node76); Node76._nodename = 'Node76' Node76._nodeType = 'rect'; zoomNodeList.push({ node: Node76, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node76, Node76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node77type = 'rect'; var Node77 = new ht.Node(), Node77BorderWidth = 1*2; if (Node77type === 'arc') { Node77BorderWidth *= 1; } Node77.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node77type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node77.setPosition(536*ratio.ratioX, 52*ratio.ratioY); Node77.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY); Node77.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node77.a('node.width', 121*_ratio.ratioX); Node77.a('node.height', 24.33136*_ratio.ratioY); Node77.a('node.type', Node77type); Node77.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node77.a('node.background', 'rgba(240,240,240,1)'); Node77.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node77.a('node.gradient', ''); Node77.a('node.borderwidth', Node77BorderWidth); Node77.a('node.color', 'rgba(224,224,224,1)'); Node77.a('node.fillrect', [0,0,0,0]); Node77.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node77.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node77.a('node.fillgradient', ''); if (Node77type !== 'rect') { Node77.a('node.arcFrom', parseFloat('@arcFrom@')); Node77.a('node.arcTo', parseFloat('@arcTo@')); Node77.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node77type === 'arc') { Node77.a('node.arcOval', true); } Node77.setRotation(0*Math.PI/180); Node77.borderWidth = Node77BorderWidth; Node77.borderFillwidth = Node77BorderWidth; dataModel.add(Node77); Node77._nodename = 'Node77' Node77._nodeType = 'rect'; zoomNodeList.push({ node: Node77, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node77, Node77.getImage());_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(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node78.setPosition(536*ratio.ratioX, 149*ratio.ratioY); Node78.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY); Node78.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node78.a('node.width', 121*_ratio.ratioX); Node78.a('node.height', 24.33138*_ratio.ratioY); Node78.a('node.type', Node78type); Node78.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node78.a('node.background', 'rgba(240,240,240,1)'); Node78.a('node.gradientcolor', 'rgba(240,240,240,1)'); 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 Node79 = new ht.Node(); var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'center', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 113*_ratio.ratioX, Node79height = 26*_ratio.ratioY; (function () { if (Node79align === 'left') { Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9; Node79textWidth = Node79width; Node79lineStart = 1; } else if (Node79align === 'right') { Node79textStart = 0; Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2; Node79lineStart = (Node79width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node79align === 'center') { Node79textStart = -3; Node79textWidth = Node79width; Node79lineStart = Node79width - ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width - 11; } })(); Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "微软雅黑"')) Node79.setPosition(536*ratio.ratioX, 54*ratio.ratioY); Node79.setWidth(Node79width); Node79.setHeight(Node79height); Node79._nodeType = 'text'; Node79._disallowEvert = true; Node79.setRotation(0*Math.PI/180); Node79.a('node.width', Node79width); Node79.a('node.height', Node79height); Node79.a('node.rect', [0, 0, Node79width, Node79height]); Node79.a('node.bordercolor','rgba(0,0,0,1)'); Node79.a('node.borderwidth', 0); Node79.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node79.a('node.gradient',''); Node79.a('node.gradientcolor','rgba(255,255,255,0)'); Node79.a('node.text','日维护损失电量'); Node79.a('node.textalign','center'); Node79.a('node.textvAlign','middle'); Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]); Node79.a('node.color','rgba(0,0,0,1)'); Node79.a('node.font',' '+ Node79fontSize + 'px "微软雅黑"'); Node79.a('node.textvisible',true); Node79.a('node.linefeed',false); if (false) { Node79.a('node.textfunc',function(g) { g.beginPath(); var str=Node79.a('node.text') || '日维护损失电量'; var color=Node79.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"center",color,' '+ Node79fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node79.a('node.underlinepoints',[Node79lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]); Node79.a('node.underlinevisible',false); Node79.a('node.underlineBorderWidth', 1); } dataModel.add(Node79); zoomNodeList.push({ node: Node79, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node80 = new ht.Node(); var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'center', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 113*_ratio.ratioX, Node80height = 26*_ratio.ratioY; (function () { if (Node80align === 'left') { Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9; Node80textWidth = Node80width; Node80lineStart = 1; } else if (Node80align === 'right') { Node80textStart = 0; Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2; Node80lineStart = (Node80width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node80align === 'center') { Node80textStart = -3; Node80textWidth = Node80width; Node80lineStart = Node80width - ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width - 11; } })(); Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "微软雅黑"')) Node80.setPosition(537*ratio.ratioX, 78*ratio.ratioY); Node80.setWidth(Node80width); Node80.setHeight(Node80height); Node80._nodeType = 'text'; Node80._disallowEvert = true; Node80.setRotation(0*Math.PI/180); Node80.a('node.width', Node80width); Node80.a('node.height', Node80height); Node80.a('node.rect', [0, 0, Node80width, Node80height]); Node80.a('node.bordercolor','rgba(0,0,0,1)'); Node80.a('node.borderwidth', 0); Node80.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node80.a('node.gradient',''); Node80.a('node.gradientcolor','rgba(255,255,255,0)'); Node80.a('node.text','日故障损失电量'); Node80.a('node.textalign','center'); Node80.a('node.textvAlign','middle'); Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]); Node80.a('node.color','rgba(0,0,0,1)'); Node80.a('node.font',' '+ Node80fontSize + 'px "微软雅黑"'); Node80.a('node.textvisible',true); Node80.a('node.linefeed',false); if (false) { Node80.a('node.textfunc',function(g) { g.beginPath(); var str=Node80.a('node.text') || '日故障损失电量'; var color=Node80.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"center",color,' '+ Node80fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node80.a('node.underlinepoints',[Node80lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]); Node80.a('node.underlinevisible',false); Node80.a('node.underlineBorderWidth', 1); } dataModel.add(Node80); zoomNodeList.push({ node: Node80, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node81 = new ht.Node(); var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'center', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 113*_ratio.ratioX, Node81height = 26*_ratio.ratioY; (function () { if (Node81align === 'left') { Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9; Node81textWidth = Node81width; Node81lineStart = 1; } else if (Node81align === 'right') { Node81textStart = 0; Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2; Node81lineStart = (Node81width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node81align === 'center') { Node81textStart = -3; Node81textWidth = Node81width; Node81lineStart = Node81width - ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width - 11; } })(); Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "微软雅黑"')) Node81.setPosition(537*ratio.ratioX, 103*ratio.ratioY); Node81.setWidth(Node81width); Node81.setHeight(Node81height); Node81._nodeType = 'text'; Node81._disallowEvert = true; Node81.setRotation(0*Math.PI/180); Node81.a('node.width', Node81width); Node81.a('node.height', Node81height); Node81.a('node.rect', [0, 0, Node81width, Node81height]); Node81.a('node.bordercolor','rgba(0,0,0,1)'); Node81.a('node.borderwidth', 0); Node81.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node81.a('node.gradient',''); Node81.a('node.gradientcolor','rgba(255,255,255,0)'); Node81.a('node.text','日限电损失电量'); Node81.a('node.textalign','center'); Node81.a('node.textvAlign','middle'); Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]); Node81.a('node.color','rgba(0,0,0,1)'); Node81.a('node.font',' '+ Node81fontSize + 'px "微软雅黑"'); Node81.a('node.textvisible',true); Node81.a('node.linefeed',false); if (false) { Node81.a('node.textfunc',function(g) { g.beginPath(); var str=Node81.a('node.text') || '日限电损失电量'; var color=Node81.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"center",color,' '+ Node81fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node81.a('node.underlinepoints',[Node81lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]); Node81.a('node.underlinevisible',false); Node81.a('node.underlineBorderWidth', 1); } dataModel.add(Node81); zoomNodeList.push({ node: Node81, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node82 = new ht.Node(); var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'center', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 113*_ratio.ratioX, Node82height = 26*_ratio.ratioY; (function () { if (Node82align === 'left') { Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9; Node82textWidth = Node82width; Node82lineStart = 1; } else if (Node82align === 'right') { Node82textStart = 0; Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2; Node82lineStart = (Node82width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node82align === 'center') { Node82textStart = -3; Node82textWidth = Node82width; Node82lineStart = Node82width - ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width - 11; } })(); Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "微软雅黑"')) Node82.setPosition(537*ratio.ratioX, 127*ratio.ratioY); Node82.setWidth(Node82width); Node82.setHeight(Node82height); Node82._nodeType = 'text'; Node82._disallowEvert = true; Node82.setRotation(0*Math.PI/180); Node82.a('node.width', Node82width); Node82.a('node.height', Node82height); Node82.a('node.rect', [0, 0, Node82width, Node82height]); Node82.a('node.bordercolor','rgba(0,0,0,1)'); Node82.a('node.borderwidth', 0); Node82.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node82.a('node.gradient',''); Node82.a('node.gradientcolor','rgba(255,255,255,0)'); Node82.a('node.text','日受累损失电量'); Node82.a('node.textalign','center'); Node82.a('node.textvAlign','middle'); Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]); Node82.a('node.color','rgba(0,0,0,1)'); Node82.a('node.font',' '+ Node82fontSize + 'px "微软雅黑"'); Node82.a('node.textvisible',true); Node82.a('node.linefeed',false); if (false) { Node82.a('node.textfunc',function(g) { g.beginPath(); var str=Node82.a('node.text') || '日受累损失电量'; var color=Node82.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"center",color,' '+ Node82fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node82.a('node.underlinepoints',[Node82lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]); Node82.a('node.underlinevisible',false); Node82.a('node.underlineBorderWidth', 1); } dataModel.add(Node82); zoomNodeList.push({ node: Node82, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node83type = 'rect'; var Node83 = new ht.Node(), Node83BorderWidth = 1*2; if (Node83type === 'arc') { Node83BorderWidth *= 1; } Node83.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node83.setPosition(817*ratio.ratioX, 100*ratio.ratioY); Node83.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node83.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node83.a('node.width', 117*_ratio.ratioX); Node83.a('node.height', 24.33138*_ratio.ratioY); Node83.a('node.type', Node83type); Node83.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node83.a('node.background', 'rgba(240,240,240,1)'); Node83.a('node.gradientcolor', 'rgba(240,240,240,1)'); 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 Node84type = 'rect'; var Node84 = new ht.Node(), Node84BorderWidth = 1*2; if (Node84type === 'arc') { Node84BorderWidth *= 1; } Node84.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node84type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node84.setPosition(817*ratio.ratioX, 76*ratio.ratioY); Node84.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node84.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node84.a('node.width', 117*_ratio.ratioX); Node84.a('node.height', 24.33138*_ratio.ratioY); Node84.a('node.type', Node84type); Node84.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node84.a('node.background', 'rgba(240,240,240,1)'); Node84.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node84.a('node.gradient', ''); Node84.a('node.borderwidth', Node84BorderWidth); Node84.a('node.color', 'rgba(224,224,224,1)'); Node84.a('node.fillrect', [0,0,0,0]); Node84.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node84.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node84.a('node.fillgradient', ''); if (Node84type !== 'rect') { Node84.a('node.arcFrom', parseFloat('@arcFrom@')); Node84.a('node.arcTo', parseFloat('@arcTo@')); Node84.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node84type === 'arc') { Node84.a('node.arcOval', true); } Node84.setRotation(0*Math.PI/180); Node84.borderWidth = Node84BorderWidth; Node84.borderFillwidth = Node84BorderWidth; dataModel.add(Node84); Node84._nodename = 'Node84' Node84._nodeType = 'rect'; zoomNodeList.push({ node: Node84, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node84, Node84.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node85type = 'rect'; var Node85 = new ht.Node(), Node85BorderWidth = 1*2; if (Node85type === 'arc') { Node85BorderWidth *= 1; } Node85.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node85type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node85.setPosition(817*ratio.ratioX, 125*ratio.ratioY); Node85.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node85.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node85.a('node.width', 117*_ratio.ratioX); Node85.a('node.height', 24.33136*_ratio.ratioY); Node85.a('node.type', Node85type); Node85.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node85.a('node.background', 'rgba(240,240,240,1)'); Node85.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node85.a('node.gradient', ''); Node85.a('node.borderwidth', Node85BorderWidth); Node85.a('node.color', 'rgba(224,224,224,1)'); Node85.a('node.fillrect', [0,0,0,0]); Node85.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node85.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node85.a('node.fillgradient', ''); if (Node85type !== 'rect') { Node85.a('node.arcFrom', parseFloat('@arcFrom@')); Node85.a('node.arcTo', parseFloat('@arcTo@')); Node85.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node85type === 'arc') { Node85.a('node.arcOval', true); } Node85.setRotation(0*Math.PI/180); Node85.borderWidth = Node85BorderWidth; Node85.borderFillwidth = Node85BorderWidth; dataModel.add(Node85); Node85._nodename = 'Node85' Node85._nodeType = 'rect'; zoomNodeList.push({ node: Node85, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node85, Node85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node86type = 'rect'; var Node86 = new ht.Node(), Node86BorderWidth = 1*2; if (Node86type === 'arc') { Node86BorderWidth *= 1; } Node86.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node86type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node86.setPosition(817*ratio.ratioX, 52*ratio.ratioY); Node86.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node86.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node86.a('node.width', 117*_ratio.ratioX); Node86.a('node.height', 24.33136*_ratio.ratioY); Node86.a('node.type', Node86type); Node86.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node86.a('node.background', 'rgba(240,240,240,1)'); Node86.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node86.a('node.gradient', ''); Node86.a('node.borderwidth', Node86BorderWidth); Node86.a('node.color', 'rgba(224,224,224,1)'); Node86.a('node.fillrect', [0,0,0,0]); Node86.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node86.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node86.a('node.fillgradient', ''); if (Node86type !== 'rect') { Node86.a('node.arcFrom', parseFloat('@arcFrom@')); Node86.a('node.arcTo', parseFloat('@arcTo@')); Node86.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node86type === 'arc') { Node86.a('node.arcOval', true); } Node86.setRotation(0*Math.PI/180); Node86.borderWidth = Node86BorderWidth; Node86.borderFillwidth = Node86BorderWidth; dataModel.add(Node86); Node86._nodename = 'Node86' Node86._nodeType = 'rect'; zoomNodeList.push({ node: Node86, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node86, Node86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node87type = 'rect'; var Node87 = new ht.Node(), Node87BorderWidth = 1*2; if (Node87type === 'arc') { Node87BorderWidth *= 1; } Node87.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node87.setPosition(817*ratio.ratioX, 149*ratio.ratioY); Node87.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node87.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node87.a('node.width', 117*_ratio.ratioX); Node87.a('node.height', 24.33138*_ratio.ratioY); Node87.a('node.type', Node87type); Node87.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node87.a('node.background', 'rgba(240,240,240,1)'); Node87.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node87.a('node.gradient', ''); Node87.a('node.borderwidth', Node87BorderWidth); Node87.a('node.color', 'rgba(224,224,224,1)'); Node87.a('node.fillrect', [0,0,0,0]); Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node87.a('node.fillgradient', ''); if (Node87type !== 'rect') { Node87.a('node.arcFrom', parseFloat('@arcFrom@')); Node87.a('node.arcTo', parseFloat('@arcTo@')); Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node87type === 'arc') { Node87.a('node.arcOval', true); } Node87.setRotation(0*Math.PI/180); Node87.borderWidth = Node87BorderWidth; Node87.borderFillwidth = Node87BorderWidth; dataModel.add(Node87); Node87._nodename = 'Node87' Node87._nodeType = 'rect'; zoomNodeList.push({ node: Node87, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node88 = new ht.Node(); var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'center', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 110*_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('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node88align === 'center') { Node88textStart = -3; Node88textWidth = Node88width; Node88lineStart = Node88width - ht.Default.getTextSize('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width - 11; } })(); Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "微软雅黑"')) Node88.setPosition(817*ratio.ratioX, 54*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','月维护损失电量'); 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 "微软雅黑"'); 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') || '月维护损失电量'; var color=Node88.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node88.a('node.underlinepoints',[Node88lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]); Node88.a('node.underlinevisible',false); Node88.a('node.underlineBorderWidth', 1); } dataModel.add(Node88); zoomNodeList.push({ node: Node88, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node89 = new ht.Node(); var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'center', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 110*_ratio.ratioX, Node89height = 26*_ratio.ratioY; (function () { if (Node89align === 'left') { Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9; Node89textWidth = Node89width; Node89lineStart = 1; } else if (Node89align === 'right') { Node89textStart = 0; Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2; Node89lineStart = (Node89width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node89align === 'center') { Node89textStart = -3; Node89textWidth = Node89width; Node89lineStart = Node89width - ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width - 11; } })(); Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "微软雅黑"')) Node89.setPosition(817*ratio.ratioX, 78*ratio.ratioY); Node89.setWidth(Node89width); Node89.setHeight(Node89height); Node89._nodeType = 'text'; Node89._disallowEvert = true; Node89.setRotation(0*Math.PI/180); Node89.a('node.width', Node89width); Node89.a('node.height', Node89height); Node89.a('node.rect', [0, 0, Node89width, Node89height]); Node89.a('node.bordercolor','rgba(0,0,0,1)'); Node89.a('node.borderwidth', 0); Node89.a('node.background','' || 'rgba(0,0,0,0)'); Node89.a('node.gradient',''); Node89.a('node.gradientcolor',''); Node89.a('node.text','月故障损失电量'); Node89.a('node.textalign','center'); Node89.a('node.textvAlign','middle'); Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]); Node89.a('node.color','rgba(0,0,0,1)'); Node89.a('node.font',' '+ Node89fontSize + 'px "微软雅黑"'); Node89.a('node.textvisible',true); Node89.a('node.linefeed',false); if (false) { Node89.a('node.textfunc',function(g) { g.beginPath(); var str=Node89.a('node.text') || '月故障损失电量'; var color=Node89.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"center",color,' '+ Node89fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node89.a('node.underlinepoints',[Node89lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]); Node89.a('node.underlinevisible',false); Node89.a('node.underlineBorderWidth', 1); } dataModel.add(Node89); zoomNodeList.push({ node: Node89, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node90 = new ht.Node(); var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'center', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 26*_ratio.ratioY; (function () { if (Node90align === 'left') { Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9; Node90textWidth = Node90width; Node90lineStart = 1; } else if (Node90align === 'right') { Node90textStart = 0; Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2; Node90lineStart = (Node90width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node90align === 'center') { Node90textStart = -3; Node90textWidth = Node90width; Node90lineStart = Node90width - ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width - 11; } })(); Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "微软雅黑"')) Node90.setPosition(817*ratio.ratioX, 103*ratio.ratioY); Node90.setWidth(Node90width); Node90.setHeight(Node90height); Node90._nodeType = 'text'; Node90._disallowEvert = true; Node90.setRotation(0*Math.PI/180); Node90.a('node.width', Node90width); Node90.a('node.height', Node90height); Node90.a('node.rect', [0, 0, Node90width, Node90height]); Node90.a('node.bordercolor','rgba(0,0,0,1)'); Node90.a('node.borderwidth', 0); Node90.a('node.background','' || 'rgba(0,0,0,0)'); Node90.a('node.gradient',''); Node90.a('node.gradientcolor',''); Node90.a('node.text','月限电损失电量'); Node90.a('node.textalign','center'); Node90.a('node.textvAlign','middle'); Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]); Node90.a('node.color','rgba(0,0,0,1)'); Node90.a('node.font',' '+ Node90fontSize + 'px "微软雅黑"'); Node90.a('node.textvisible',true); Node90.a('node.linefeed',false); if (false) { Node90.a('node.textfunc',function(g) { g.beginPath(); var str=Node90.a('node.text') || '月限电损失电量'; var color=Node90.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"center",color,' '+ Node90fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node90.a('node.underlinepoints',[Node90lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]); Node90.a('node.underlinevisible',false); Node90.a('node.underlineBorderWidth', 1); } dataModel.add(Node90); zoomNodeList.push({ node: Node90, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node91 = new ht.Node(); var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'center', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 26*_ratio.ratioY; (function () { if (Node91align === 'left') { Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9; Node91textWidth = Node91width; Node91lineStart = 1; } else if (Node91align === 'right') { Node91textStart = 0; Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2; Node91lineStart = (Node91width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node91align === 'center') { Node91textStart = -3; Node91textWidth = Node91width; Node91lineStart = Node91width - ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width - 11; } })(); Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "微软雅黑"')) Node91.setPosition(817*ratio.ratioX, 127*ratio.ratioY); Node91.setWidth(Node91width); Node91.setHeight(Node91height); Node91._nodeType = 'text'; Node91._disallowEvert = true; Node91.setRotation(0*Math.PI/180); Node91.a('node.width', Node91width); Node91.a('node.height', Node91height); Node91.a('node.rect', [0, 0, Node91width, Node91height]); Node91.a('node.bordercolor','rgba(0,0,0,1)'); Node91.a('node.borderwidth', 0); Node91.a('node.background','' || 'rgba(0,0,0,0)'); Node91.a('node.gradient',''); Node91.a('node.gradientcolor',''); Node91.a('node.text','月受累损失电量'); Node91.a('node.textalign','center'); Node91.a('node.textvAlign','middle'); Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]); Node91.a('node.color','rgba(0,0,0,1)'); Node91.a('node.font',' '+ Node91fontSize + 'px "微软雅黑"'); Node91.a('node.textvisible',true); Node91.a('node.linefeed',false); if (false) { Node91.a('node.textfunc',function(g) { g.beginPath(); var str=Node91.a('node.text') || '月受累损失电量'; var color=Node91.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"center",color,' '+ Node91fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node91.a('node.underlinepoints',[Node91lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]); Node91.a('node.underlinevisible',false); Node91.a('node.underlineBorderWidth', 1); } dataModel.add(Node91); zoomNodeList.push({ node: Node91, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node92type = 'rect'; var Node92 = new ht.Node(), Node92BorderWidth = 1*2; if (Node92type === 'arc') { Node92BorderWidth *= 1; } Node92.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node92.setPosition(923*ratio.ratioX, 52*ratio.ratioY); Node92.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node92.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node92.a('node.width', 95*_ratio.ratioX); Node92.a('node.height', 24.33136*_ratio.ratioY); Node92.a('node.type', Node92type); Node92.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_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 Node93type = 'rect'; var Node93 = new ht.Node(), Node93BorderWidth = 1*2; if (Node93type === 'arc') { Node93BorderWidth *= 1; } Node93.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node93type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node93.setPosition(923*ratio.ratioX, 76*ratio.ratioY); Node93.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node93.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node93.a('node.width', 95*_ratio.ratioX); Node93.a('node.height', 24.33138*_ratio.ratioY); Node93.a('node.type', Node93type); Node93.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node93.a('node.background', 'rgba(255,255,255,0.003921569)'); Node93.a('node.gradientcolor', ''); Node93.a('node.gradient', ''); Node93.a('node.borderwidth', Node93BorderWidth); Node93.a('node.color', 'rgba(224,224,224,1)'); Node93.a('node.fillrect', [0,0,0,0]); Node93.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node93.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node93.a('node.fillgradient', ''); if (Node93type !== 'rect') { Node93.a('node.arcFrom', parseFloat('@arcFrom@')); Node93.a('node.arcTo', parseFloat('@arcTo@')); Node93.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node93type === 'arc') { Node93.a('node.arcOval', true); } Node93.setRotation(0*Math.PI/180); Node93.borderWidth = Node93BorderWidth; Node93.borderFillwidth = Node93BorderWidth; dataModel.add(Node93); Node93._nodename = 'Node93' Node93._nodeType = 'rect'; zoomNodeList.push({ node: Node93, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node93, Node93.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node94type = 'rect'; var Node94 = new ht.Node(), Node94BorderWidth = 1*2; if (Node94type === 'arc') { Node94BorderWidth *= 1; } Node94.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node94.setPosition(923*ratio.ratioX, 100*ratio.ratioY); Node94.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node94.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node94.a('node.width', 95*_ratio.ratioX); Node94.a('node.height', 24.33138*_ratio.ratioY); Node94.a('node.type', Node94type); Node94.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node94.a('node.background', 'rgba(255,255,255,0.003921569)'); Node94.a('node.gradientcolor', ''); Node94.a('node.gradient', ''); Node94.a('node.borderwidth', Node94BorderWidth); Node94.a('node.color', 'rgba(224,224,224,1)'); Node94.a('node.fillrect', [0,0,0,0]); Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node94.a('node.fillgradient', ''); if (Node94type !== 'rect') { Node94.a('node.arcFrom', parseFloat('@arcFrom@')); Node94.a('node.arcTo', parseFloat('@arcTo@')); Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node94type === 'arc') { Node94.a('node.arcOval', true); } Node94.setRotation(0*Math.PI/180); Node94.borderWidth = Node94BorderWidth; Node94.borderFillwidth = Node94BorderWidth; dataModel.add(Node94); Node94._nodename = 'Node94' Node94._nodeType = 'rect'; zoomNodeList.push({ node: Node94, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node95type = 'rect'; var Node95 = new ht.Node(), Node95BorderWidth = 1*2; if (Node95type === 'arc') { Node95BorderWidth *= 1; } Node95.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node95.setPosition(923*ratio.ratioX, 125*ratio.ratioY); Node95.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node95.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node95.a('node.width', 95*_ratio.ratioX); Node95.a('node.height', 24.33136*_ratio.ratioY); Node95.a('node.type', Node95type); Node95.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node95.a('node.background', 'rgba(255,255,255,0.003921569)'); Node95.a('node.gradientcolor', ''); Node95.a('node.gradient', ''); Node95.a('node.borderwidth', Node95BorderWidth); Node95.a('node.color', 'rgba(224,224,224,1)'); Node95.a('node.fillrect', [0,0,0,0]); Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node95.a('node.fillgradient', ''); if (Node95type !== 'rect') { Node95.a('node.arcFrom', parseFloat('@arcFrom@')); Node95.a('node.arcTo', parseFloat('@arcTo@')); Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node95type === 'arc') { Node95.a('node.arcOval', true); } Node95.setRotation(0*Math.PI/180); Node95.borderWidth = Node95BorderWidth; Node95.borderFillwidth = Node95BorderWidth; dataModel.add(Node95); Node95._nodename = 'Node95' Node95._nodeType = 'rect'; zoomNodeList.push({ node: Node95, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node96type = 'rect'; var Node96 = new ht.Node(), Node96BorderWidth = 1*2; if (Node96type === 'arc') { Node96BorderWidth *= 1; } Node96.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node96.setPosition(923*ratio.ratioX, 149*ratio.ratioY); Node96.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node96.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node96.a('node.width', 95*_ratio.ratioX); Node96.a('node.height', 24.33138*_ratio.ratioY); Node96.a('node.type', Node96type); Node96.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node96.a('node.background', 'rgba(255,255,255,0.003921569)'); Node96.a('node.gradientcolor', ''); Node96.a('node.gradient', ''); Node96.a('node.borderwidth', Node96BorderWidth); Node96.a('node.color', 'rgba(224,224,224,1)'); Node96.a('node.fillrect', [0,0,0,0]); Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node96.a('node.fillgradient', ''); if (Node96type !== 'rect') { Node96.a('node.arcFrom', parseFloat('@arcFrom@')); Node96.a('node.arcTo', parseFloat('@arcTo@')); Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node96type === 'arc') { Node96.a('node.arcOval', true); } Node96.setRotation(0*Math.PI/180); Node96.borderWidth = Node96BorderWidth; Node96.borderFillwidth = Node96BorderWidth; dataModel.add(Node96); Node96._nodename = 'Node96' Node96._nodeType = 'rect'; zoomNodeList.push({ node: Node96, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node97type = 'rect'; var Node97 = new ht.Node(), Node97BorderWidth = 1*2; if (Node97type === 'arc') { Node97BorderWidth *= 1; } Node97.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node97.setPosition(1003*ratio.ratioX, 52*ratio.ratioY); Node97.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node97.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node97.a('node.width', 65*_ratio.ratioX); Node97.a('node.height', 24.33136*_ratio.ratioY); Node97.a('node.type', Node97type); Node97.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node97.a('node.background', 'rgba(255,255,255,0.003921569)'); Node97.a('node.gradientcolor', ''); Node97.a('node.gradient', ''); Node97.a('node.borderwidth', Node97BorderWidth); Node97.a('node.color', 'rgba(224,224,224,1)'); Node97.a('node.fillrect', [0,0,0,0]); Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node97.a('node.fillgradient', ''); if (Node97type !== 'rect') { Node97.a('node.arcFrom', parseFloat('@arcFrom@')); Node97.a('node.arcTo', parseFloat('@arcTo@')); Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node97type === 'arc') { Node97.a('node.arcOval', true); } Node97.setRotation(0*Math.PI/180); Node97.borderWidth = Node97BorderWidth; Node97.borderFillwidth = Node97BorderWidth; dataModel.add(Node97); Node97._nodename = 'Node97' Node97._nodeType = 'rect'; zoomNodeList.push({ node: Node97, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node98 = new ht.Node(); var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'center', Node98fontSize = 14.66663*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 26*_ratio.ratioY; (function () { if (Node98align === 'left') { Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9; Node98textWidth = Node98width; Node98lineStart = 1; } else if (Node98align === 'right') { Node98textStart = 0; Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2; Node98lineStart = (Node98width - (ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node98align === 'center') { Node98textStart = -3; Node98textWidth = Node98width; Node98lineStart = Node98width - ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width - 11; } })(); Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"')) Node98.setPosition(923*ratio.ratioX, 54*ratio.ratioY); Node98.setWidth(Node98width); Node98.setHeight(Node98height); Node98._nodeType = 'text'; Node98._disallowEvert = true; Node98.setRotation(0*Math.PI/180); Node98.a('node.width', Node98width); Node98.a('node.height', Node98height); Node98.a('node.rect', [0, 0, Node98width, Node98height]); Node98.a('node.bordercolor','rgba(0,0,0,1)'); Node98.a('node.borderwidth', 0); Node98.a('node.background','' || 'rgba(0,0,0,0)'); Node98.a('node.gradient',''); Node98.a('node.gradientcolor',''); Node98.a('node.text','0'); Node98.a('node.textalign','center'); Node98.a('node.textvAlign','middle'); Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]); Node98.a('node.color','rgba(0,0,0,1)'); Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"'); Node98.a('node.textvisible',true); Node98.a('node.linefeed',false); if (false) { Node98.a('node.textfunc',function(g) { g.beginPath(); var str=Node98.a('node.text') || '0'; var color=Node98.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node98width,Node98height,14.66663*_ratio.ratioY,"center",color,' '+ Node98fontSize + 'px "Arial"', 0,g); }); } if (false) { Node98.a('node.underlinepoints',[Node98lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]); Node98.a('node.underlinevisible',false); Node98.a('node.underlineBorderWidth', 1); } dataModel.add(Node98); zoomNodeList.push({ node: Node98, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node99 = new ht.Node(); var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'center', Node99fontSize = 14.66663*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 26*_ratio.ratioY; (function () { if (Node99align === 'left') { Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9; Node99textWidth = Node99width; Node99lineStart = 1; } else if (Node99align === 'right') { Node99textStart = 0; Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2; Node99lineStart = (Node99width - (ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node99align === 'center') { Node99textStart = -3; Node99textWidth = Node99width; Node99lineStart = Node99width - ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width - 11; } })(); Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"')) Node99.setPosition(923*ratio.ratioX, 78*ratio.ratioY); Node99.setWidth(Node99width); Node99.setHeight(Node99height); Node99._nodeType = 'text'; Node99._disallowEvert = true; Node99.setRotation(0*Math.PI/180); Node99.a('node.width', Node99width); Node99.a('node.height', Node99height); Node99.a('node.rect', [0, 0, Node99width, Node99height]); Node99.a('node.bordercolor','rgba(0,0,0,1)'); Node99.a('node.borderwidth', 0); Node99.a('node.background','' || 'rgba(0,0,0,0)'); Node99.a('node.gradient',''); Node99.a('node.gradientcolor',''); Node99.a('node.text','0'); Node99.a('node.textalign','center'); Node99.a('node.textvAlign','middle'); Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]); Node99.a('node.color','rgba(0,0,0,1)'); Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"'); Node99.a('node.textvisible',true); Node99.a('node.linefeed',false); if (false) { Node99.a('node.textfunc',function(g) { g.beginPath(); var str=Node99.a('node.text') || '0'; var color=Node99.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node99width,Node99height,14.66663*_ratio.ratioY,"center",color,' '+ Node99fontSize + 'px "Arial"', 0,g); }); } if (false) { Node99.a('node.underlinepoints',[Node99lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]); Node99.a('node.underlinevisible',false); Node99.a('node.underlineBorderWidth', 1); } dataModel.add(Node99); zoomNodeList.push({ node: Node99, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node100 = new ht.Node(); var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'center', Node100fontSize = 14.66663*_ratio.ratioY,Node100width = 59*_ratio.ratioX, Node100height = 26*_ratio.ratioY; (function () { if (Node100align === 'left') { Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9; Node100textWidth = Node100width; Node100lineStart = 1; } else if (Node100align === 'right') { Node100textStart = 0; Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2; Node100lineStart = (Node100width - (ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node100align === 'center') { Node100textStart = -3; Node100textWidth = Node100width; Node100lineStart = Node100width - ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width - 11; } })(); Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"')) Node100.setPosition(923*ratio.ratioX, 103*ratio.ratioY); Node100.setWidth(Node100width); Node100.setHeight(Node100height); Node100._nodeType = 'text'; Node100._disallowEvert = true; Node100.setRotation(0*Math.PI/180); Node100.a('node.width', Node100width); Node100.a('node.height', Node100height); Node100.a('node.rect', [0, 0, Node100width, Node100height]); Node100.a('node.bordercolor','rgba(0,0,0,1)'); Node100.a('node.borderwidth', 0); Node100.a('node.background','' || 'rgba(0,0,0,0)'); Node100.a('node.gradient',''); Node100.a('node.gradientcolor',''); Node100.a('node.text','0'); Node100.a('node.textalign','center'); Node100.a('node.textvAlign','middle'); Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]); Node100.a('node.color','rgba(0,0,0,1)'); Node100.a('node.font',' '+ Node100fontSize + 'px "Arial"'); Node100.a('node.textvisible',true); Node100.a('node.linefeed',false); if (false) { Node100.a('node.textfunc',function(g) { g.beginPath(); var str=Node100.a('node.text') || '0'; var color=Node100.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node100width,Node100height,14.66663*_ratio.ratioY,"center",color,' '+ Node100fontSize + 'px "Arial"', 0,g); }); } if (false) { Node100.a('node.underlinepoints',[Node100lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]); Node100.a('node.underlinevisible',false); Node100.a('node.underlineBorderWidth', 1); } dataModel.add(Node100); zoomNodeList.push({ node: Node100, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node101 = new ht.Node(); var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 14.66663*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 26*_ratio.ratioY; (function () { if (Node101align === 'left') { Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9; Node101textWidth = Node101width; Node101lineStart = 1; } else if (Node101align === 'right') { Node101textStart = 0; Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2; Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node101align === 'center') { Node101textStart = -3; Node101textWidth = Node101width; Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11; } })(); Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"')) Node101.setPosition(923*ratio.ratioX, 126*ratio.ratioY); Node101.setWidth(Node101width); Node101.setHeight(Node101height); Node101._nodeType = 'text'; Node101._disallowEvert = true; Node101.setRotation(0*Math.PI/180); Node101.a('node.width', Node101width); Node101.a('node.height', Node101height); Node101.a('node.rect', [0, 0, Node101width, Node101height]); Node101.a('node.bordercolor','rgba(0,0,0,1)'); Node101.a('node.borderwidth', 0); Node101.a('node.background','' || 'rgba(0,0,0,0)'); Node101.a('node.gradient',''); Node101.a('node.gradientcolor',''); Node101.a('node.text','0'); Node101.a('node.textalign','center'); Node101.a('node.textvAlign','middle'); Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]); Node101.a('node.color','rgba(0,0,0,1)'); Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"'); Node101.a('node.textvisible',true); Node101.a('node.linefeed',false); if (false) { Node101.a('node.textfunc',function(g) { g.beginPath(); var str=Node101.a('node.text') || '0'; var color=Node101.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node101width,Node101height,14.66663*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "Arial"', 0,g); }); } if (false) { Node101.a('node.underlinepoints',[Node101lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]); Node101.a('node.underlinevisible',false); Node101.a('node.underlineBorderWidth', 1); } dataModel.add(Node101); zoomNodeList.push({ node: Node101, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node102 = new ht.Node(); var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'center', Node102fontSize = 14.66663*_ratio.ratioY,Node102width = 59*_ratio.ratioX, Node102height = 26*_ratio.ratioY; (function () { if (Node102align === 'left') { Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9; Node102textWidth = Node102width; Node102lineStart = 1; } else if (Node102align === 'right') { Node102textStart = 0; Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2; Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node102align === 'center') { Node102textStart = -3; Node102textWidth = Node102width; Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11; } })(); Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"')) Node102.setPosition(923*ratio.ratioX, 150*ratio.ratioY); Node102.setWidth(Node102width); Node102.setHeight(Node102height); Node102._nodeType = 'text'; Node102._disallowEvert = true; Node102.setRotation(0*Math.PI/180); Node102.a('node.width', Node102width); Node102.a('node.height', Node102height); Node102.a('node.rect', [0, 0, Node102width, Node102height]); Node102.a('node.bordercolor','rgba(0,0,0,1)'); Node102.a('node.borderwidth', 0); Node102.a('node.background','' || 'rgba(0,0,0,0)'); Node102.a('node.gradient',''); Node102.a('node.gradientcolor',''); Node102.a('node.text','0'); Node102.a('node.textalign','center'); Node102.a('node.textvAlign','middle'); Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]); Node102.a('node.color','rgba(0,0,0,1)'); Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"'); Node102.a('node.textvisible',true); Node102.a('node.linefeed',false); if (false) { Node102.a('node.textfunc',function(g) { g.beginPath(); var str=Node102.a('node.text') || '0'; var color=Node102.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node102width,Node102height,14.66663*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "Arial"', 0,g); }); } if (false) { Node102.a('node.underlinepoints',[Node102lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]); Node102.a('node.underlinevisible',false); Node102.a('node.underlineBorderWidth', 1); } dataModel.add(Node102); zoomNodeList.push({ node: Node102, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node103type = 'rect'; var Node103 = new ht.Node(), Node103BorderWidth = 1*2; if (Node103type === 'arc') { Node103BorderWidth *= 1; } Node103.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node103type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node103.setPosition(1003*ratio.ratioX, 76*ratio.ratioY); Node103.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node103.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node103.a('node.width', 65*_ratio.ratioX); Node103.a('node.height', 24.33138*_ratio.ratioY); Node103.a('node.type', Node103type); Node103.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node103.a('node.background', 'rgba(255,255,255,0.003921569)'); Node103.a('node.gradientcolor', ''); Node103.a('node.gradient', ''); Node103.a('node.borderwidth', Node103BorderWidth); Node103.a('node.color', 'rgba(224,224,224,1)'); Node103.a('node.fillrect', [0,0,0,0]); Node103.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node103.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node103.a('node.fillgradient', ''); if (Node103type !== 'rect') { Node103.a('node.arcFrom', parseFloat('@arcFrom@')); Node103.a('node.arcTo', parseFloat('@arcTo@')); Node103.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node103type === 'arc') { Node103.a('node.arcOval', true); } Node103.setRotation(0*Math.PI/180); Node103.borderWidth = Node103BorderWidth; Node103.borderFillwidth = Node103BorderWidth; dataModel.add(Node103); Node103._nodename = 'Node103' Node103._nodeType = 'rect'; zoomNodeList.push({ node: Node103, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node103, Node103.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node104type = 'rect'; var Node104 = new ht.Node(), Node104BorderWidth = 1*2; if (Node104type === 'arc') { Node104BorderWidth *= 1; } Node104.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node104type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node104.setPosition(1003*ratio.ratioX, 100*ratio.ratioY); Node104.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node104.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node104.a('node.width', 65*_ratio.ratioX); Node104.a('node.height', 24.33138*_ratio.ratioY); Node104.a('node.type', Node104type); Node104.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node104.a('node.background', 'rgba(255,255,255,0.003921569)'); Node104.a('node.gradientcolor', ''); Node104.a('node.gradient', ''); Node104.a('node.borderwidth', Node104BorderWidth); Node104.a('node.color', 'rgba(224,224,224,1)'); Node104.a('node.fillrect', [0,0,0,0]); Node104.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node104.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node104.a('node.fillgradient', ''); if (Node104type !== 'rect') { Node104.a('node.arcFrom', parseFloat('@arcFrom@')); Node104.a('node.arcTo', parseFloat('@arcTo@')); Node104.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node104type === 'arc') { Node104.a('node.arcOval', true); } Node104.setRotation(0*Math.PI/180); Node104.borderWidth = Node104BorderWidth; Node104.borderFillwidth = Node104BorderWidth; dataModel.add(Node104); Node104._nodename = 'Node104' Node104._nodeType = 'rect'; zoomNodeList.push({ node: Node104, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node104, Node104.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node105type = 'rect'; var Node105 = new ht.Node(), Node105BorderWidth = 1*2; if (Node105type === 'arc') { Node105BorderWidth *= 1; } Node105.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node105.setPosition(1003*ratio.ratioX, 125*ratio.ratioY); Node105.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node105.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node105.a('node.width', 65*_ratio.ratioX); Node105.a('node.height', 24.33136*_ratio.ratioY); Node105.a('node.type', Node105type); Node105.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node105.a('node.background', 'rgba(255,255,255,0.003921569)'); Node105.a('node.gradientcolor', ''); Node105.a('node.gradient', ''); Node105.a('node.borderwidth', Node105BorderWidth); Node105.a('node.color', 'rgba(224,224,224,1)'); Node105.a('node.fillrect', [0,0,0,0]); Node105.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node105.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node105.a('node.fillgradient', ''); if (Node105type !== 'rect') { Node105.a('node.arcFrom', parseFloat('@arcFrom@')); Node105.a('node.arcTo', parseFloat('@arcTo@')); Node105.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node105type === 'arc') { Node105.a('node.arcOval', true); } Node105.setRotation(0*Math.PI/180); Node105.borderWidth = Node105BorderWidth; Node105.borderFillwidth = Node105BorderWidth; dataModel.add(Node105); Node105._nodename = 'Node105' Node105._nodeType = 'rect'; zoomNodeList.push({ node: Node105, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node105, Node105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node106type = 'rect'; var Node106 = new ht.Node(), Node106BorderWidth = 1*2; if (Node106type === 'arc') { Node106BorderWidth *= 1; } Node106.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node106.setPosition(1003*ratio.ratioX, 149*ratio.ratioY); Node106.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node106.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node106.a('node.width', 65*_ratio.ratioX); Node106.a('node.height', 24.33138*_ratio.ratioY); Node106.a('node.type', Node106type); Node106.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node106.a('node.background', 'rgba(255,255,255,0.003921569)'); Node106.a('node.gradientcolor', ''); Node106.a('node.gradient', ''); Node106.a('node.borderwidth', Node106BorderWidth); Node106.a('node.color', 'rgba(224,224,224,1)'); Node106.a('node.fillrect', [0,0,0,0]); Node106.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node106.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node106.a('node.fillgradient', ''); if (Node106type !== 'rect') { Node106.a('node.arcFrom', parseFloat('@arcFrom@')); Node106.a('node.arcTo', parseFloat('@arcTo@')); Node106.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node106type === 'arc') { Node106.a('node.arcOval', true); } Node106.setRotation(0*Math.PI/180); Node106.borderWidth = Node106BorderWidth; Node106.borderFillwidth = Node106BorderWidth; dataModel.add(Node106); Node106._nodename = 'Node106' Node106._nodeType = 'rect'; zoomNodeList.push({ node: Node106, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node106, Node106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node107 = new ht.Node(); var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'center', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 59*_ratio.ratioX, Node107height = 26*_ratio.ratioY; (function () { if (Node107align === 'left') { Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9; Node107textWidth = Node107width; Node107lineStart = 1; } else if (Node107align === 'right') { Node107textStart = 0; Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2; Node107lineStart = (Node107width - (ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node107align === 'center') { Node107textStart = -3; Node107textWidth = Node107width; Node107lineStart = Node107width - ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width - 11; } })(); Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"')) Node107.setPosition(1004*ratio.ratioX, 54*ratio.ratioY); Node107.setWidth(Node107width); Node107.setHeight(Node107height); Node107._nodeType = 'text'; Node107._disallowEvert = true; Node107.setRotation(0*Math.PI/180); Node107.a('node.width', Node107width); Node107.a('node.height', Node107height); Node107.a('node.rect', [0, 0, Node107width, Node107height]); Node107.a('node.bordercolor','rgba(128,128,128,1)'); Node107.a('node.borderwidth', 0); Node107.a('node.background','' || 'rgba(0,0,0,0)'); Node107.a('node.gradient',''); Node107.a('node.gradientcolor',''); Node107.a('node.text','万kWh'); Node107.a('node.textalign','center'); Node107.a('node.textvAlign','middle'); Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]); Node107.a('node.color','rgba(128,128,128,1)'); Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"'); Node107.a('node.textvisible',true); Node107.a('node.linefeed',false); if (false) { Node107.a('node.textfunc',function(g) { g.beginPath(); var str=Node107.a('node.text') || '万kWh'; var color=Node107.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"center",color,' '+ Node107fontSize + 'px "Arial"', 0,g); }); } if (false) { Node107.a('node.underlinepoints',[Node107lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]); Node107.a('node.underlinevisible',false); Node107.a('node.underlineBorderWidth', 1); } dataModel.add(Node107); zoomNodeList.push({ node: Node107, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node108 = new ht.Node(); var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'center', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 59*_ratio.ratioX, Node108height = 26*_ratio.ratioY; (function () { if (Node108align === 'left') { Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9; Node108textWidth = Node108width; Node108lineStart = 1; } else if (Node108align === 'right') { Node108textStart = 0; Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2; Node108lineStart = (Node108width - (ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node108align === 'center') { Node108textStart = -3; Node108textWidth = Node108width; Node108lineStart = Node108width - ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width - 11; } })(); Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "Arial"')) Node108.setPosition(1004*ratio.ratioX, 78*ratio.ratioY); Node108.setWidth(Node108width); Node108.setHeight(Node108height); Node108._nodeType = 'text'; Node108._disallowEvert = true; Node108.setRotation(0*Math.PI/180); Node108.a('node.width', Node108width); Node108.a('node.height', Node108height); Node108.a('node.rect', [0, 0, Node108width, Node108height]); Node108.a('node.bordercolor','rgba(128,128,128,1)'); Node108.a('node.borderwidth', 0); Node108.a('node.background','' || 'rgba(0,0,0,0)'); Node108.a('node.gradient',''); Node108.a('node.gradientcolor',''); Node108.a('node.text','万kWh'); Node108.a('node.textalign','center'); Node108.a('node.textvAlign','middle'); Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]); Node108.a('node.color','rgba(128,128,128,1)'); Node108.a('node.font',' '+ Node108fontSize + 'px "Arial"'); Node108.a('node.textvisible',true); Node108.a('node.linefeed',false); if (false) { Node108.a('node.textfunc',function(g) { g.beginPath(); var str=Node108.a('node.text') || '万kWh'; var color=Node108.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"center",color,' '+ Node108fontSize + 'px "Arial"', 0,g); }); } if (false) { Node108.a('node.underlinepoints',[Node108lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]); Node108.a('node.underlinevisible',false); Node108.a('node.underlineBorderWidth', 1); } dataModel.add(Node108); zoomNodeList.push({ node: Node108, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node109 = new ht.Node(); var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY; (function () { if (Node109align === 'left') { Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9; Node109textWidth = Node109width; Node109lineStart = 1; } else if (Node109align === 'right') { Node109textStart = 0; Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2; Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node109align === 'center') { Node109textStart = -3; Node109textWidth = Node109width; Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11; } })(); Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"')) Node109.setPosition(1004*ratio.ratioX, 101*ratio.ratioY); Node109.setWidth(Node109width); Node109.setHeight(Node109height); Node109._nodeType = 'text'; Node109._disallowEvert = true; Node109.setRotation(0*Math.PI/180); Node109.a('node.width', Node109width); Node109.a('node.height', Node109height); Node109.a('node.rect', [0, 0, Node109width, Node109height]); Node109.a('node.bordercolor','rgba(128,128,128,1)'); Node109.a('node.borderwidth', 0); Node109.a('node.background','' || 'rgba(0,0,0,0)'); Node109.a('node.gradient',''); Node109.a('node.gradientcolor',''); Node109.a('node.text','万kWh'); Node109.a('node.textalign','center'); Node109.a('node.textvAlign','middle'); Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]); Node109.a('node.color','rgba(128,128,128,1)'); Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"'); Node109.a('node.textvisible',true); Node109.a('node.linefeed',false); if (false) { Node109.a('node.textfunc',function(g) { g.beginPath(); var str=Node109.a('node.text') || '万kWh'; var color=Node109.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"center",color,' '+ Node109fontSize + 'px "Arial"', 0,g); }); } if (false) { Node109.a('node.underlinepoints',[Node109lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]); Node109.a('node.underlinevisible',false); Node109.a('node.underlineBorderWidth', 1); } dataModel.add(Node109); zoomNodeList.push({ node: Node109, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node110 = new ht.Node(); var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 59*_ratio.ratioX, Node110height = 26*_ratio.ratioY; (function () { if (Node110align === 'left') { Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9; Node110textWidth = Node110width; Node110lineStart = 1; } else if (Node110align === 'right') { Node110textStart = 0; Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2; Node110lineStart = (Node110width - (ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node110align === 'center') { Node110textStart = -3; Node110textWidth = Node110width; Node110lineStart = Node110width - ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width - 11; } })(); Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"')) Node110.setPosition(1004*ratio.ratioX, 127*ratio.ratioY); Node110.setWidth(Node110width); Node110.setHeight(Node110height); Node110._nodeType = 'text'; Node110._disallowEvert = true; Node110.setRotation(0*Math.PI/180); Node110.a('node.width', Node110width); Node110.a('node.height', Node110height); Node110.a('node.rect', [0, 0, Node110width, Node110height]); Node110.a('node.bordercolor','rgba(128,128,128,1)'); Node110.a('node.borderwidth', 0); Node110.a('node.background','' || 'rgba(0,0,0,0)'); Node110.a('node.gradient',''); Node110.a('node.gradientcolor',''); Node110.a('node.text','万kWh'); Node110.a('node.textalign','center'); Node110.a('node.textvAlign','middle'); Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]); Node110.a('node.color','rgba(128,128,128,1)'); Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"'); Node110.a('node.textvisible',true); Node110.a('node.linefeed',false); if (false) { Node110.a('node.textfunc',function(g) { g.beginPath(); var str=Node110.a('node.text') || '万kWh'; var color=Node110.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g); }); } if (false) { Node110.a('node.underlinepoints',[Node110lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]); Node110.a('node.underlinevisible',false); Node110.a('node.underlineBorderWidth', 1); } dataModel.add(Node110); zoomNodeList.push({ node: Node110, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node111 = new ht.Node(); var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'center', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 59*_ratio.ratioX, Node111height = 26*_ratio.ratioY; (function () { if (Node111align === 'left') { Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9; Node111textWidth = Node111width; Node111lineStart = 1; } else if (Node111align === 'right') { Node111textStart = 0; Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2; Node111lineStart = (Node111width - (ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node111align === 'center') { Node111textStart = -3; Node111textWidth = Node111width; Node111lineStart = Node111width - ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width - 11; } })(); Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"')) Node111.setPosition(1004*ratio.ratioX, 151*ratio.ratioY); Node111.setWidth(Node111width); Node111.setHeight(Node111height); Node111._nodeType = 'text'; Node111._disallowEvert = true; Node111.setRotation(0*Math.PI/180); Node111.a('node.width', Node111width); Node111.a('node.height', Node111height); Node111.a('node.rect', [0, 0, Node111width, Node111height]); Node111.a('node.bordercolor','rgba(128,128,128,1)'); Node111.a('node.borderwidth', 0); Node111.a('node.background','' || 'rgba(0,0,0,0)'); Node111.a('node.gradient',''); Node111.a('node.gradientcolor',''); Node111.a('node.text','万kWh'); Node111.a('node.textalign','center'); Node111.a('node.textvAlign','middle'); Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]); Node111.a('node.color','rgba(128,128,128,1)'); Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"'); Node111.a('node.textvisible',true); Node111.a('node.linefeed',false); if (false) { Node111.a('node.textfunc',function(g) { g.beginPath(); var str=Node111.a('node.text') || '万kWh'; var color=Node111.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g); }); } if (false) { Node111.a('node.underlinepoints',[Node111lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]); Node111.a('node.underlinevisible',false); Node111.a('node.underlineBorderWidth', 1); } dataModel.add(Node111); zoomNodeList.push({ node: Node111, borderWidth: 0, attr: 'node.borderwidth' }); _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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node112type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node112.setPosition(1097*ratio.ratioX, 100*ratio.ratioY); Node112.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node112.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node112.a('node.width', 117*_ratio.ratioX); Node112.a('node.height', 24.33138*_ratio.ratioY); Node112.a('node.type', Node112type); Node112.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node112.a('node.background', 'rgba(240,240,240,1)'); Node112.a('node.gradientcolor', 'rgba(240,240,240,1)'); 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 Node113type = 'rect'; var Node113 = new ht.Node(), Node113BorderWidth = 1*2; if (Node113type === 'arc') { Node113BorderWidth *= 1; } Node113.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node113type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node113.setPosition(1097*ratio.ratioX, 76*ratio.ratioY); Node113.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node113.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node113.a('node.width', 117*_ratio.ratioX); Node113.a('node.height', 24.33138*_ratio.ratioY); Node113.a('node.type', Node113type); Node113.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node113.a('node.background', 'rgba(240,240,240,1)'); Node113.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node113.a('node.gradient', ''); Node113.a('node.borderwidth', Node113BorderWidth); Node113.a('node.color', 'rgba(224,224,224,1)'); Node113.a('node.fillrect', [0,0,0,0]); Node113.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node113.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node113.a('node.fillgradient', ''); if (Node113type !== 'rect') { Node113.a('node.arcFrom', parseFloat('@arcFrom@')); Node113.a('node.arcTo', parseFloat('@arcTo@')); Node113.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node113type === 'arc') { Node113.a('node.arcOval', true); } Node113.setRotation(0*Math.PI/180); Node113.borderWidth = Node113BorderWidth; Node113.borderFillwidth = Node113BorderWidth; dataModel.add(Node113); Node113._nodename = 'Node113' Node113._nodeType = 'rect'; zoomNodeList.push({ node: Node113, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node113, Node113.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node114type = 'rect'; var Node114 = new ht.Node(), Node114BorderWidth = 1*2; if (Node114type === 'arc') { Node114BorderWidth *= 1; } Node114.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node114.setPosition(1097*ratio.ratioX, 125*ratio.ratioY); Node114.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node114.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node114.a('node.width', 117*_ratio.ratioX); Node114.a('node.height', 24.33136*_ratio.ratioY); Node114.a('node.type', Node114type); Node114.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node114.a('node.background', 'rgba(240,240,240,1)'); Node114.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node114.a('node.gradient', ''); Node114.a('node.borderwidth', Node114BorderWidth); Node114.a('node.color', 'rgba(224,224,224,1)'); Node114.a('node.fillrect', [0,0,0,0]); Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node114.a('node.fillgradient', ''); if (Node114type !== 'rect') { Node114.a('node.arcFrom', parseFloat('@arcFrom@')); Node114.a('node.arcTo', parseFloat('@arcTo@')); Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node114type === 'arc') { Node114.a('node.arcOval', true); } Node114.setRotation(0*Math.PI/180); Node114.borderWidth = Node114BorderWidth; Node114.borderFillwidth = Node114BorderWidth; dataModel.add(Node114); Node114._nodename = 'Node114' Node114._nodeType = 'rect'; zoomNodeList.push({ node: Node114, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node115type = 'rect'; var Node115 = new ht.Node(), Node115BorderWidth = 1*2; if (Node115type === 'arc') { Node115BorderWidth *= 1; } Node115.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node115.setPosition(1097*ratio.ratioX, 52*ratio.ratioY); Node115.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY); Node115.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node115.a('node.width', 117*_ratio.ratioX); Node115.a('node.height', 24.33136*_ratio.ratioY); Node115.a('node.type', Node115type); Node115.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node115.a('node.background', 'rgba(240,240,240,1)'); Node115.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node115.a('node.gradient', ''); Node115.a('node.borderwidth', Node115BorderWidth); Node115.a('node.color', 'rgba(224,224,224,1)'); Node115.a('node.fillrect', [0,0,0,0]); Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node115.a('node.fillgradient', ''); if (Node115type !== 'rect') { Node115.a('node.arcFrom', parseFloat('@arcFrom@')); Node115.a('node.arcTo', parseFloat('@arcTo@')); Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node115type === 'arc') { Node115.a('node.arcOval', true); } Node115.setRotation(0*Math.PI/180); Node115.borderWidth = Node115BorderWidth; Node115.borderFillwidth = Node115BorderWidth; dataModel.add(Node115); Node115._nodename = 'Node115' Node115._nodeType = 'rect'; zoomNodeList.push({ node: Node115, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node116type = 'rect'; var Node116 = new ht.Node(), Node116BorderWidth = 1*2; if (Node116type === 'arc') { Node116BorderWidth *= 1; } Node116.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node116.setPosition(1097*ratio.ratioX, 149*ratio.ratioY); Node116.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY); Node116.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node116.a('node.width', 117*_ratio.ratioX); Node116.a('node.height', 24.33138*_ratio.ratioY); Node116.a('node.type', Node116type); Node116.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node116.a('node.background', 'rgba(240,240,240,1)'); Node116.a('node.gradientcolor', 'rgba(240,240,240,1)'); Node116.a('node.gradient', ''); Node116.a('node.borderwidth', Node116BorderWidth); Node116.a('node.color', 'rgba(224,224,224,1)'); Node116.a('node.fillrect', [0,0,0,0]); Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node116.a('node.fillgradient', ''); if (Node116type !== 'rect') { Node116.a('node.arcFrom', parseFloat('@arcFrom@')); Node116.a('node.arcTo', parseFloat('@arcTo@')); Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node116type === 'arc') { Node116.a('node.arcOval', true); } Node116.setRotation(0*Math.PI/180); Node116.borderWidth = Node116BorderWidth; Node116.borderFillwidth = Node116BorderWidth; dataModel.add(Node116); Node116._nodename = 'Node116' Node116._nodeType = 'rect'; zoomNodeList.push({ node: Node116, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node117 = new ht.Node(); var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 110*_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('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node117align === 'center') { Node117textStart = -3; Node117textWidth = Node117width; Node117lineStart = Node117width - ht.Default.getTextSize('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width - 11; } })(); Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "微软雅黑"')) Node117.setPosition(1097*ratio.ratioX, 54*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','年维护损失电量'); 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 "微软雅黑"'); 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') || '年维护损失电量'; var color=Node117.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node117.a('node.underlinepoints',[Node117lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]); Node117.a('node.underlinevisible',false); Node117.a('node.underlineBorderWidth', 1); } dataModel.add(Node117); zoomNodeList.push({ node: Node117, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node118 = new ht.Node(); var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'center', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 110*_ratio.ratioX, Node118height = 26*_ratio.ratioY; (function () { if (Node118align === 'left') { Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9; Node118textWidth = Node118width; Node118lineStart = 1; } else if (Node118align === 'right') { Node118textStart = 0; Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2; Node118lineStart = (Node118width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node118align === 'center') { Node118textStart = -3; Node118textWidth = Node118width; Node118lineStart = Node118width - ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width - 11; } })(); Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "微软雅黑"')) Node118.setPosition(1097*ratio.ratioX, 77*ratio.ratioY); Node118.setWidth(Node118width); Node118.setHeight(Node118height); Node118._nodeType = 'text'; Node118._disallowEvert = true; Node118.setRotation(0*Math.PI/180); Node118.a('node.width', Node118width); Node118.a('node.height', Node118height); Node118.a('node.rect', [0, 0, Node118width, Node118height]); Node118.a('node.bordercolor','rgba(0,0,0,1)'); Node118.a('node.borderwidth', 0); Node118.a('node.background','' || 'rgba(0,0,0,0)'); Node118.a('node.gradient',''); Node118.a('node.gradientcolor',''); Node118.a('node.text','年故障损失电量'); Node118.a('node.textalign','center'); Node118.a('node.textvAlign','middle'); Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]); Node118.a('node.color','rgba(0,0,0,1)'); Node118.a('node.font',' '+ Node118fontSize + 'px "微软雅黑"'); Node118.a('node.textvisible',true); Node118.a('node.linefeed',false); if (false) { Node118.a('node.textfunc',function(g) { g.beginPath(); var str=Node118.a('node.text') || '年故障损失电量'; var color=Node118.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"center",color,' '+ Node118fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node118.a('node.underlinepoints',[Node118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]); Node118.a('node.underlinevisible',false); Node118.a('node.underlineBorderWidth', 1); } dataModel.add(Node118); zoomNodeList.push({ node: Node118, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node119 = new ht.Node(); var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 110*_ratio.ratioX, Node119height = 26*_ratio.ratioY; (function () { if (Node119align === 'left') { Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9; Node119textWidth = Node119width; Node119lineStart = 1; } else if (Node119align === 'right') { Node119textStart = 0; Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2; Node119lineStart = (Node119width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node119align === 'center') { Node119textStart = -3; Node119textWidth = Node119width; Node119lineStart = Node119width - ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width - 11; } })(); Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "微软雅黑"')) Node119.setPosition(1097*ratio.ratioX, 102*ratio.ratioY); Node119.setWidth(Node119width); Node119.setHeight(Node119height); Node119._nodeType = 'text'; Node119._disallowEvert = true; Node119.setRotation(0*Math.PI/180); Node119.a('node.width', Node119width); Node119.a('node.height', Node119height); Node119.a('node.rect', [0, 0, Node119width, Node119height]); Node119.a('node.bordercolor','rgba(0,0,0,1)'); Node119.a('node.borderwidth', 0); Node119.a('node.background','' || 'rgba(0,0,0,0)'); Node119.a('node.gradient',''); Node119.a('node.gradientcolor',''); Node119.a('node.text','年限电损失电量'); Node119.a('node.textalign','center'); Node119.a('node.textvAlign','middle'); Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]); Node119.a('node.color','rgba(0,0,0,1)'); Node119.a('node.font',' '+ Node119fontSize + 'px "微软雅黑"'); Node119.a('node.textvisible',true); Node119.a('node.linefeed',false); if (false) { Node119.a('node.textfunc',function(g) { g.beginPath(); var str=Node119.a('node.text') || '年限电损失电量'; var color=Node119.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]); Node119.a('node.underlinevisible',false); Node119.a('node.underlineBorderWidth', 1); } dataModel.add(Node119); zoomNodeList.push({ node: Node119, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node120 = new ht.Node(); var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 110*_ratio.ratioX, Node120height = 26*_ratio.ratioY; (function () { if (Node120align === 'left') { Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9; Node120textWidth = Node120width; Node120lineStart = 1; } else if (Node120align === 'right') { Node120textStart = 0; Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2; Node120lineStart = (Node120width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node120align === 'center') { Node120textStart = -3; Node120textWidth = Node120width; Node120lineStart = Node120width - ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width - 11; } })(); Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "微软雅黑"')) Node120.setPosition(1097*ratio.ratioX, 127*ratio.ratioY); Node120.setWidth(Node120width); Node120.setHeight(Node120height); Node120._nodeType = 'text'; Node120._disallowEvert = true; Node120.setRotation(0*Math.PI/180); Node120.a('node.width', Node120width); Node120.a('node.height', Node120height); Node120.a('node.rect', [0, 0, Node120width, Node120height]); Node120.a('node.bordercolor','rgba(0,0,0,1)'); Node120.a('node.borderwidth', 0); Node120.a('node.background','' || 'rgba(0,0,0,0)'); Node120.a('node.gradient',''); Node120.a('node.gradientcolor',''); Node120.a('node.text','年受累损失电量'); Node120.a('node.textalign','center'); Node120.a('node.textvAlign','middle'); Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]); Node120.a('node.color','rgba(0,0,0,1)'); Node120.a('node.font',' '+ Node120fontSize + 'px "微软雅黑"'); Node120.a('node.textvisible',true); Node120.a('node.linefeed',false); if (false) { Node120.a('node.textfunc',function(g) { g.beginPath(); var str=Node120.a('node.text') || '年受累损失电量'; var color=Node120.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]); Node120.a('node.underlinevisible',false); Node120.a('node.underlineBorderWidth', 1); } dataModel.add(Node120); zoomNodeList.push({ node: Node120, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node121type = 'rect'; var Node121 = new ht.Node(), Node121BorderWidth = 1*2; if (Node121type === 'arc') { Node121BorderWidth *= 1; } Node121.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node121.setPosition(1203*ratio.ratioX, 52*ratio.ratioY); Node121.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node121.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node121.a('node.width', 95*_ratio.ratioX); Node121.a('node.height', 24.33136*_ratio.ratioY); Node121.a('node.type', Node121type); Node121.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_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 Node122type = 'rect'; var Node122 = new ht.Node(), Node122BorderWidth = 1*2; if (Node122type === 'arc') { Node122BorderWidth *= 1; } Node122.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node122type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node122.setPosition(1203*ratio.ratioX, 76*ratio.ratioY); Node122.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node122.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node122.a('node.width', 95*_ratio.ratioX); Node122.a('node.height', 24.33138*_ratio.ratioY); Node122.a('node.type', Node122type); Node122.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node122.a('node.background', 'rgba(255,255,255,0.003921569)'); Node122.a('node.gradientcolor', ''); Node122.a('node.gradient', ''); Node122.a('node.borderwidth', Node122BorderWidth); Node122.a('node.color', 'rgba(224,224,224,1)'); Node122.a('node.fillrect', [0,0,0,0]); Node122.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node122.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node122.a('node.fillgradient', ''); if (Node122type !== 'rect') { Node122.a('node.arcFrom', parseFloat('@arcFrom@')); Node122.a('node.arcTo', parseFloat('@arcTo@')); Node122.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node122type === 'arc') { Node122.a('node.arcOval', true); } Node122.setRotation(0*Math.PI/180); Node122.borderWidth = Node122BorderWidth; Node122.borderFillwidth = Node122BorderWidth; dataModel.add(Node122); Node122._nodename = 'Node122' Node122._nodeType = 'rect'; zoomNodeList.push({ node: Node122, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node122, Node122.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node123type = 'rect'; var Node123 = new ht.Node(), Node123BorderWidth = 1*2; if (Node123type === 'arc') { Node123BorderWidth *= 1; } Node123.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node123.setPosition(1203*ratio.ratioX, 100*ratio.ratioY); Node123.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node123.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node123.a('node.width', 95*_ratio.ratioX); Node123.a('node.height', 24.33138*_ratio.ratioY); Node123.a('node.type', Node123type); Node123.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node123.a('node.background', 'rgba(255,255,255,0.003921569)'); Node123.a('node.gradientcolor', ''); Node123.a('node.gradient', ''); Node123.a('node.borderwidth', Node123BorderWidth); Node123.a('node.color', 'rgba(224,224,224,1)'); Node123.a('node.fillrect', [0,0,0,0]); Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node123.a('node.fillgradient', ''); if (Node123type !== 'rect') { Node123.a('node.arcFrom', parseFloat('@arcFrom@')); Node123.a('node.arcTo', parseFloat('@arcTo@')); Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node123type === 'arc') { Node123.a('node.arcOval', true); } Node123.setRotation(0*Math.PI/180); Node123.borderWidth = Node123BorderWidth; Node123.borderFillwidth = Node123BorderWidth; dataModel.add(Node123); Node123._nodename = 'Node123' Node123._nodeType = 'rect'; zoomNodeList.push({ node: Node123, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node124type = 'rect'; var Node124 = new ht.Node(), Node124BorderWidth = 1*2; if (Node124type === 'arc') { Node124BorderWidth *= 1; } Node124.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node124.setPosition(1203*ratio.ratioX, 125*ratio.ratioY); Node124.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY); Node124.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node124.a('node.width', 95*_ratio.ratioX); Node124.a('node.height', 24.33136*_ratio.ratioY); Node124.a('node.type', Node124type); Node124.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node124.a('node.background', 'rgba(255,255,255,0.003921569)'); Node124.a('node.gradientcolor', ''); Node124.a('node.gradient', ''); Node124.a('node.borderwidth', Node124BorderWidth); Node124.a('node.color', 'rgba(224,224,224,1)'); Node124.a('node.fillrect', [0,0,0,0]); Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node124.a('node.fillgradient', ''); if (Node124type !== 'rect') { Node124.a('node.arcFrom', parseFloat('@arcFrom@')); Node124.a('node.arcTo', parseFloat('@arcTo@')); Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node124type === 'arc') { Node124.a('node.arcOval', true); } Node124.setRotation(0*Math.PI/180); Node124.borderWidth = Node124BorderWidth; Node124.borderFillwidth = Node124BorderWidth; dataModel.add(Node124); Node124._nodename = 'Node124' Node124._nodeType = 'rect'; zoomNodeList.push({ node: Node124, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node125type = 'rect'; var Node125 = new ht.Node(), Node125BorderWidth = 1*2; if (Node125type === 'arc') { Node125BorderWidth *= 1; } Node125.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node125.setPosition(1203*ratio.ratioX, 149*ratio.ratioY); Node125.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY); Node125.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node125.a('node.width', 95*_ratio.ratioX); Node125.a('node.height', 24.33138*_ratio.ratioY); Node125.a('node.type', Node125type); Node125.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node125.a('node.background', 'rgba(255,255,255,0.003921569)'); Node125.a('node.gradientcolor', ''); Node125.a('node.gradient', ''); Node125.a('node.borderwidth', Node125BorderWidth); Node125.a('node.color', 'rgba(224,224,224,1)'); Node125.a('node.fillrect', [0,0,0,0]); Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node125.a('node.fillgradient', ''); if (Node125type !== 'rect') { Node125.a('node.arcFrom', parseFloat('@arcFrom@')); Node125.a('node.arcTo', parseFloat('@arcTo@')); Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node125type === 'arc') { Node125.a('node.arcOval', true); } Node125.setRotation(0*Math.PI/180); Node125.borderWidth = Node125BorderWidth; Node125.borderFillwidth = Node125BorderWidth; dataModel.add(Node125); Node125._nodename = 'Node125' Node125._nodeType = 'rect'; zoomNodeList.push({ node: Node125, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node126type = 'rect'; var Node126 = new ht.Node(), Node126BorderWidth = 1*2; if (Node126type === 'arc') { Node126BorderWidth *= 1; } Node126.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node126type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node126.setPosition(1283*ratio.ratioX, 52*ratio.ratioY); Node126.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node126.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node126.a('node.width', 65*_ratio.ratioX); Node126.a('node.height', 24.33136*_ratio.ratioY); Node126.a('node.type', Node126type); Node126.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node126.a('node.background', 'rgba(255,255,255,0.003921569)'); Node126.a('node.gradientcolor', ''); Node126.a('node.gradient', ''); Node126.a('node.borderwidth', Node126BorderWidth); Node126.a('node.color', 'rgba(224,224,224,1)'); Node126.a('node.fillrect', [0,0,0,0]); Node126.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node126.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node126.a('node.fillgradient', ''); if (Node126type !== 'rect') { Node126.a('node.arcFrom', parseFloat('@arcFrom@')); Node126.a('node.arcTo', parseFloat('@arcTo@')); Node126.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node126type === 'arc') { Node126.a('node.arcOval', true); } Node126.setRotation(0*Math.PI/180); Node126.borderWidth = Node126BorderWidth; Node126.borderFillwidth = Node126BorderWidth; dataModel.add(Node126); Node126._nodename = 'Node126' Node126._nodeType = 'rect'; zoomNodeList.push({ node: Node126, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node126, Node126.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node127 = new ht.Node(); var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'center', Node127fontSize = 14.66663*_ratio.ratioY,Node127width = 59*_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('0', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node127align === 'center') { Node127textStart = -3; Node127textWidth = Node127width; Node127lineStart = Node127width - ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width - 11; } })(); Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"')) Node127.setPosition(1203*ratio.ratioX, 54*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','0'); Node127.a('node.textalign','center'); 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 "Arial"'); Node127.a('node.textvisible',true); Node127.a('node.linefeed',false); if (false) { Node127.a('node.textfunc',function(g) { g.beginPath(); var str=Node127.a('node.text') || '0'; var color=Node127.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node127width,Node127height,14.66663*_ratio.ratioY,"center",color,' '+ Node127fontSize + 'px "Arial"', 0,g); }); } if (false) { Node127.a('node.underlinepoints',[Node127lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]); Node127.a('node.underlinevisible',false); Node127.a('node.underlineBorderWidth', 1); } dataModel.add(Node127); zoomNodeList.push({ node: Node127, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node128 = new ht.Node(); var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 14.66663*_ratio.ratioY,Node128width = 59*_ratio.ratioX, Node128height = 26*_ratio.ratioY; (function () { if (Node128align === 'left') { Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9; Node128textWidth = Node128width; Node128lineStart = 1; } else if (Node128align === 'right') { Node128textStart = 0; Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2; Node128lineStart = (Node128width - (ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node128align === 'center') { Node128textStart = -3; Node128textWidth = Node128width; Node128lineStart = Node128width - ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width - 11; } })(); Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"')) Node128.setPosition(1203*ratio.ratioX, 78*ratio.ratioY); Node128.setWidth(Node128width); Node128.setHeight(Node128height); Node128._nodeType = 'text'; Node128._disallowEvert = true; Node128.setRotation(0*Math.PI/180); Node128.a('node.width', Node128width); Node128.a('node.height', Node128height); Node128.a('node.rect', [0, 0, Node128width, Node128height]); Node128.a('node.bordercolor','rgba(0,0,0,1)'); Node128.a('node.borderwidth', 0); Node128.a('node.background','' || 'rgba(0,0,0,0)'); Node128.a('node.gradient',''); Node128.a('node.gradientcolor',''); Node128.a('node.text','0'); Node128.a('node.textalign','center'); Node128.a('node.textvAlign','middle'); Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]); Node128.a('node.color','rgba(0,0,0,1)'); Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"'); Node128.a('node.textvisible',true); Node128.a('node.linefeed',false); if (false) { Node128.a('node.textfunc',function(g) { g.beginPath(); var str=Node128.a('node.text') || '0'; var color=Node128.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node128width,Node128height,14.66663*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "Arial"', 0,g); }); } if (false) { Node128.a('node.underlinepoints',[Node128lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]); Node128.a('node.underlinevisible',false); Node128.a('node.underlineBorderWidth', 1); } dataModel.add(Node128); zoomNodeList.push({ node: Node128, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node129 = new ht.Node(); var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'center', Node129fontSize = 14.66663*_ratio.ratioY,Node129width = 59*_ratio.ratioX, Node129height = 26*_ratio.ratioY; (function () { if (Node129align === 'left') { Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9; Node129textWidth = Node129width; Node129lineStart = 1; } else if (Node129align === 'right') { Node129textStart = 0; Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2; Node129lineStart = (Node129width - (ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node129align === 'center') { Node129textStart = -3; Node129textWidth = Node129width; Node129lineStart = Node129width - ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width - 11; } })(); Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"')) Node129.setPosition(1203*ratio.ratioX, 103*ratio.ratioY); Node129.setWidth(Node129width); Node129.setHeight(Node129height); Node129._nodeType = 'text'; Node129._disallowEvert = true; Node129.setRotation(0*Math.PI/180); Node129.a('node.width', Node129width); Node129.a('node.height', Node129height); Node129.a('node.rect', [0, 0, Node129width, Node129height]); Node129.a('node.bordercolor','rgba(0,0,0,1)'); Node129.a('node.borderwidth', 0); Node129.a('node.background','' || 'rgba(0,0,0,0)'); Node129.a('node.gradient',''); Node129.a('node.gradientcolor',''); Node129.a('node.text','0'); Node129.a('node.textalign','center'); Node129.a('node.textvAlign','middle'); Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]); Node129.a('node.color','rgba(0,0,0,1)'); Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"'); Node129.a('node.textvisible',true); Node129.a('node.linefeed',false); if (false) { Node129.a('node.textfunc',function(g) { g.beginPath(); var str=Node129.a('node.text') || '0'; var color=Node129.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node129width,Node129height,14.66663*_ratio.ratioY,"center",color,' '+ Node129fontSize + 'px "Arial"', 0,g); }); } if (false) { Node129.a('node.underlinepoints',[Node129lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]); Node129.a('node.underlinevisible',false); Node129.a('node.underlineBorderWidth', 1); } dataModel.add(Node129); zoomNodeList.push({ node: Node129, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node130 = new ht.Node(); var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'center', Node130fontSize = 14.66663*_ratio.ratioY,Node130width = 59*_ratio.ratioX, Node130height = 26*_ratio.ratioY; (function () { if (Node130align === 'left') { Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9; Node130textWidth = Node130width; Node130lineStart = 1; } else if (Node130align === 'right') { Node130textStart = 0; Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2; Node130lineStart = (Node130width - (ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node130align === 'center') { Node130textStart = -3; Node130textWidth = Node130width; Node130lineStart = Node130width - ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width - 11; } })(); Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"')) Node130.setPosition(1203*ratio.ratioX, 126*ratio.ratioY); Node130.setWidth(Node130width); Node130.setHeight(Node130height); Node130._nodeType = 'text'; Node130._disallowEvert = true; Node130.setRotation(0*Math.PI/180); Node130.a('node.width', Node130width); Node130.a('node.height', Node130height); Node130.a('node.rect', [0, 0, Node130width, Node130height]); Node130.a('node.bordercolor','rgba(0,0,0,1)'); Node130.a('node.borderwidth', 0); Node130.a('node.background','' || 'rgba(0,0,0,0)'); Node130.a('node.gradient',''); Node130.a('node.gradientcolor',''); Node130.a('node.text','0'); Node130.a('node.textalign','center'); Node130.a('node.textvAlign','middle'); Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]); Node130.a('node.color','rgba(0,0,0,1)'); Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"'); Node130.a('node.textvisible',true); Node130.a('node.linefeed',false); if (false) { Node130.a('node.textfunc',function(g) { g.beginPath(); var str=Node130.a('node.text') || '0'; var color=Node130.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node130width,Node130height,14.66663*_ratio.ratioY,"center",color,' '+ Node130fontSize + 'px "Arial"', 0,g); }); } if (false) { Node130.a('node.underlinepoints',[Node130lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]); Node130.a('node.underlinevisible',false); Node130.a('node.underlineBorderWidth', 1); } dataModel.add(Node130); zoomNodeList.push({ node: Node130, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node131 = new ht.Node(); var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'center', Node131fontSize = 14.66663*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 26*_ratio.ratioY; (function () { if (Node131align === 'left') { Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9; Node131textWidth = Node131width; Node131lineStart = 1; } else if (Node131align === 'right') { Node131textStart = 0; Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2; Node131lineStart = (Node131width - (ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node131align === 'center') { Node131textStart = -3; Node131textWidth = Node131width; Node131lineStart = Node131width - ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width - 11; } })(); Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"')) Node131.setPosition(1203*ratio.ratioX, 150*ratio.ratioY); Node131.setWidth(Node131width); Node131.setHeight(Node131height); Node131._nodeType = 'text'; Node131._disallowEvert = true; Node131.setRotation(0*Math.PI/180); Node131.a('node.width', Node131width); Node131.a('node.height', Node131height); Node131.a('node.rect', [0, 0, Node131width, Node131height]); Node131.a('node.bordercolor','rgba(0,0,0,1)'); Node131.a('node.borderwidth', 0); Node131.a('node.background','' || 'rgba(0,0,0,0)'); Node131.a('node.gradient',''); Node131.a('node.gradientcolor',''); Node131.a('node.text','0'); Node131.a('node.textalign','center'); Node131.a('node.textvAlign','middle'); Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]); Node131.a('node.color','rgba(0,0,0,1)'); Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"'); Node131.a('node.textvisible',true); Node131.a('node.linefeed',false); if (false) { Node131.a('node.textfunc',function(g) { g.beginPath(); var str=Node131.a('node.text') || '0'; var color=Node131.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node131width,Node131height,14.66663*_ratio.ratioY,"center",color,' '+ Node131fontSize + 'px "Arial"', 0,g); }); } if (false) { Node131.a('node.underlinepoints',[Node131lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]); Node131.a('node.underlinevisible',false); Node131.a('node.underlineBorderWidth', 1); } dataModel.add(Node131); zoomNodeList.push({ node: Node131, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node132type = 'rect'; var Node132 = new ht.Node(), Node132BorderWidth = 1*2; if (Node132type === 'arc') { Node132BorderWidth *= 1; } Node132.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node132.setPosition(1283*ratio.ratioX, 76*ratio.ratioY); Node132.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node132.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node132.a('node.width', 65*_ratio.ratioX); Node132.a('node.height', 24.33138*_ratio.ratioY); Node132.a('node.type', Node132type); Node132.a('node.rect', [0, 0, 65*_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 Node133type = 'rect'; var Node133 = new ht.Node(), Node133BorderWidth = 1*2; if (Node133type === 'arc') { Node133BorderWidth *= 1; } Node133.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node133.setPosition(1283*ratio.ratioX, 100*ratio.ratioY); Node133.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node133.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node133.a('node.width', 65*_ratio.ratioX); Node133.a('node.height', 24.33138*_ratio.ratioY); Node133.a('node.type', Node133type); Node133.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node133.a('node.background', 'rgba(255,255,255,0.003921569)'); Node133.a('node.gradientcolor', ''); Node133.a('node.gradient', ''); Node133.a('node.borderwidth', Node133BorderWidth); Node133.a('node.color', 'rgba(224,224,224,1)'); Node133.a('node.fillrect', [0,0,0,0]); Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node133.a('node.fillgradient', ''); if (Node133type !== 'rect') { Node133.a('node.arcFrom', parseFloat('@arcFrom@')); Node133.a('node.arcTo', parseFloat('@arcTo@')); Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node133type === 'arc') { Node133.a('node.arcOval', true); } Node133.setRotation(0*Math.PI/180); Node133.borderWidth = Node133BorderWidth; Node133.borderFillwidth = Node133BorderWidth; dataModel.add(Node133); Node133._nodename = 'Node133' Node133._nodeType = 'rect'; zoomNodeList.push({ node: Node133, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node134type = 'rect'; var Node134 = new ht.Node(), Node134BorderWidth = 1*2; if (Node134type === 'arc') { Node134BorderWidth *= 1; } Node134.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node134.setPosition(1283*ratio.ratioX, 125*ratio.ratioY); Node134.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node134.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node134.a('node.width', 65*_ratio.ratioX); Node134.a('node.height', 24.33136*_ratio.ratioY); Node134.a('node.type', Node134type); Node134.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node134.a('node.background', 'rgba(255,255,255,0.003921569)'); Node134.a('node.gradientcolor', ''); Node134.a('node.gradient', ''); Node134.a('node.borderwidth', Node134BorderWidth); Node134.a('node.color', 'rgba(224,224,224,1)'); Node134.a('node.fillrect', [0,0,0,0]); Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node134.a('node.fillgradient', ''); if (Node134type !== 'rect') { Node134.a('node.arcFrom', parseFloat('@arcFrom@')); Node134.a('node.arcTo', parseFloat('@arcTo@')); Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node134type === 'arc') { Node134.a('node.arcOval', true); } Node134.setRotation(0*Math.PI/180); Node134.borderWidth = Node134BorderWidth; Node134.borderFillwidth = Node134BorderWidth; dataModel.add(Node134); Node134._nodename = 'Node134' Node134._nodeType = 'rect'; zoomNodeList.push({ node: Node134, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node134, Node134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node135type = 'rect'; var Node135 = new ht.Node(), Node135BorderWidth = 1*2; if (Node135type === 'arc') { Node135BorderWidth *= 1; } Node135.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node135type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node135.setPosition(1283*ratio.ratioX, 149*ratio.ratioY); Node135.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node135.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node135.a('node.width', 65*_ratio.ratioX); Node135.a('node.height', 24.33138*_ratio.ratioY); Node135.a('node.type', Node135type); Node135.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node135.a('node.background', 'rgba(255,255,255,0.003921569)'); Node135.a('node.gradientcolor', ''); Node135.a('node.gradient', ''); Node135.a('node.borderwidth', Node135BorderWidth); Node135.a('node.color', 'rgba(224,224,224,1)'); Node135.a('node.fillrect', [0,0,0,0]); Node135.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node135.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node135.a('node.fillgradient', ''); if (Node135type !== 'rect') { Node135.a('node.arcFrom', parseFloat('@arcFrom@')); Node135.a('node.arcTo', parseFloat('@arcTo@')); Node135.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node135type === 'arc') { Node135.a('node.arcOval', true); } Node135.setRotation(0*Math.PI/180); Node135.borderWidth = Node135BorderWidth; Node135.borderFillwidth = Node135BorderWidth; dataModel.add(Node135); Node135._nodename = 'Node135' Node135._nodeType = 'rect'; zoomNodeList.push({ node: Node135, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node135, Node135.getImage());_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 = 59*_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('万kWh', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node136align === 'center') { Node136textStart = -3; Node136textWidth = Node136width; Node136lineStart = Node136width - ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width - 11; } })(); Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"')) Node136.setPosition(1284*ratio.ratioX, 54*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(128,128,128,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','万kWh'); Node136.a('node.textalign','center'); Node136.a('node.textvAlign','middle'); Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]); Node136.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node136.a('node.color') || 'rgba(128,128,128,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('万kWh', ' '+ 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 = 59*_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('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node137align === 'center') { Node137textStart = -3; Node137textWidth = Node137width; Node137lineStart = Node137width - ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width - 11; } })(); Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"')) Node137.setPosition(1284*ratio.ratioX, 78*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(128,128,128,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','万kWh'); Node137.a('node.textalign','center'); Node137.a('node.textvAlign','middle'); Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]); Node137.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node137.a('node.color') || 'rgba(128,128,128,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('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]); Node137.a('node.underlinevisible',false); Node137.a('node.underlineBorderWidth', 1); } dataModel.add(Node137); zoomNodeList.push({ node: Node137, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node138 = new ht.Node(); var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'center', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 59*_ratio.ratioX, Node138height = 26*_ratio.ratioY; (function () { if (Node138align === 'left') { Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9; Node138textWidth = Node138width; Node138lineStart = 1; } else if (Node138align === 'right') { Node138textStart = 0; Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2; Node138lineStart = (Node138width - (ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node138align === 'center') { Node138textStart = -3; Node138textWidth = Node138width; Node138lineStart = Node138width - ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width - 11; } })(); Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"')) Node138.setPosition(1284*ratio.ratioX, 101*ratio.ratioY); Node138.setWidth(Node138width); Node138.setHeight(Node138height); Node138._nodeType = 'text'; Node138._disallowEvert = true; Node138.setRotation(0*Math.PI/180); Node138.a('node.width', Node138width); Node138.a('node.height', Node138height); Node138.a('node.rect', [0, 0, Node138width, Node138height]); Node138.a('node.bordercolor','rgba(128,128,128,1)'); Node138.a('node.borderwidth', 0); Node138.a('node.background','' || 'rgba(0,0,0,0)'); Node138.a('node.gradient',''); Node138.a('node.gradientcolor',''); Node138.a('node.text','万kWh'); Node138.a('node.textalign','center'); Node138.a('node.textvAlign','middle'); Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]); Node138.a('node.color','rgba(128,128,128,1)'); Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"'); Node138.a('node.textvisible',true); Node138.a('node.linefeed',false); if (false) { Node138.a('node.textfunc',function(g) { g.beginPath(); var str=Node138.a('node.text') || '万kWh'; var color=Node138.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"center",color,' '+ Node138fontSize + 'px "Arial"', 0,g); }); } if (false) { Node138.a('node.underlinepoints',[Node138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]); Node138.a('node.underlinevisible',false); Node138.a('node.underlineBorderWidth', 1); } dataModel.add(Node138); zoomNodeList.push({ node: Node138, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node139 = new ht.Node(); var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'center', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 59*_ratio.ratioX, Node139height = 26*_ratio.ratioY; (function () { if (Node139align === 'left') { Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9; Node139textWidth = Node139width; Node139lineStart = 1; } else if (Node139align === 'right') { Node139textStart = 0; Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2; Node139lineStart = (Node139width - (ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node139align === 'center') { Node139textStart = -3; Node139textWidth = Node139width; Node139lineStart = Node139width - ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width - 11; } })(); Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"')) Node139.setPosition(1284*ratio.ratioX, 127*ratio.ratioY); Node139.setWidth(Node139width); Node139.setHeight(Node139height); Node139._nodeType = 'text'; Node139._disallowEvert = true; Node139.setRotation(0*Math.PI/180); Node139.a('node.width', Node139width); Node139.a('node.height', Node139height); Node139.a('node.rect', [0, 0, Node139width, Node139height]); Node139.a('node.bordercolor','rgba(128,128,128,1)'); Node139.a('node.borderwidth', 0); Node139.a('node.background','' || 'rgba(0,0,0,0)'); Node139.a('node.gradient',''); Node139.a('node.gradientcolor',''); Node139.a('node.text','万kWh'); Node139.a('node.textalign','center'); Node139.a('node.textvAlign','middle'); Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]); Node139.a('node.color','rgba(128,128,128,1)'); Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"'); Node139.a('node.textvisible',true); Node139.a('node.linefeed',false); if (false) { Node139.a('node.textfunc',function(g) { g.beginPath(); var str=Node139.a('node.text') || '万kWh'; var color=Node139.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"center",color,' '+ Node139fontSize + 'px "Arial"', 0,g); }); } if (false) { Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]); Node139.a('node.underlinevisible',false); Node139.a('node.underlineBorderWidth', 1); } dataModel.add(Node139); zoomNodeList.push({ node: Node139, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node140 = new ht.Node(); var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'center', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 59*_ratio.ratioX, Node140height = 26*_ratio.ratioY; (function () { if (Node140align === 'left') { Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9; Node140textWidth = Node140width; Node140lineStart = 1; } else if (Node140align === 'right') { Node140textStart = 0; Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2; Node140lineStart = (Node140width - (ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node140align === 'center') { Node140textStart = -3; Node140textWidth = Node140width; Node140lineStart = Node140width - ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width - 11; } })(); Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"')) Node140.setPosition(1284*ratio.ratioX, 151*ratio.ratioY); Node140.setWidth(Node140width); Node140.setHeight(Node140height); Node140._nodeType = 'text'; Node140._disallowEvert = true; Node140.setRotation(0*Math.PI/180); Node140.a('node.width', Node140width); Node140.a('node.height', Node140height); Node140.a('node.rect', [0, 0, Node140width, Node140height]); Node140.a('node.bordercolor','rgba(128,128,128,1)'); Node140.a('node.borderwidth', 0); Node140.a('node.background','' || 'rgba(0,0,0,0)'); Node140.a('node.gradient',''); Node140.a('node.gradientcolor',''); Node140.a('node.text','万kWh'); Node140.a('node.textalign','center'); Node140.a('node.textvAlign','middle'); Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]); Node140.a('node.color','rgba(128,128,128,1)'); Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"'); Node140.a('node.textvisible',true); Node140.a('node.linefeed',false); if (false) { Node140.a('node.textfunc',function(g) { g.beginPath(); var str=Node140.a('node.text') || '万kWh'; var color=Node140.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"center",color,' '+ Node140fontSize + 'px "Arial"', 0,g); }); } if (false) { Node140.a('node.underlinepoints',[Node140lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]); Node140.a('node.underlinevisible',false); Node140.a('node.underlineBorderWidth', 1); } dataModel.add(Node140); zoomNodeList.push({ node: Node140, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node141 = new ht.Node(); var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 67*_ratio.ratioX, Node141height = 26*_ratio.ratioY; (function () { if (Node141align === 'left') { Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9; Node141textWidth = Node141width; Node141lineStart = 1; } else if (Node141align === 'right') { Node141textStart = 0; Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2; Node141lineStart = (Node141width - (ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node141align === 'center') { Node141textStart = -3; Node141textWidth = Node141width; Node141lineStart = Node141width - ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width - 11; } })(); Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "微软雅黑"')) Node141.setPosition(229*ratio.ratioX, 53*ratio.ratioY); Node141.setWidth(Node141width); Node141.setHeight(Node141height); Node141._nodeType = 'text'; Node141._disallowEvert = true; Node141.setRotation(0*Math.PI/180); Node141.a('node.width', Node141width); Node141.a('node.height', Node141height); Node141.a('node.rect', [0, 0, Node141width, Node141height]); Node141.a('node.bordercolor','rgba(0,0,0,1)'); Node141.a('node.borderwidth', 0); Node141.a('node.background','' || 'rgba(0,0,0,0)'); Node141.a('node.gradient',''); Node141.a('node.gradientcolor',''); Node141.a('node.text','装机容量'); Node141.a('node.textalign','left'); Node141.a('node.textvAlign','middle'); Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]); Node141.a('node.color','rgba(0,0,0,1)'); Node141.a('node.font',' '+ Node141fontSize + 'px "微软雅黑"'); Node141.a('node.textvisible',true); Node141.a('node.linefeed',false); if (false) { Node141.a('node.textfunc',function(g) { g.beginPath(); var str=Node141.a('node.text') || '装机容量'; var color=Node141.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,' '+ Node141fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node141.a('node.underlinepoints',[Node141lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node141fontSize + 'px "微软雅黑"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]); Node141.a('node.underlinevisible',false); Node141.a('node.underlineBorderWidth', 1); } dataModel.add(Node141); zoomNodeList.push({ node: Node141, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node142type = 'rect'; var Node142 = new ht.Node(), Node142BorderWidth = 1*2; if (Node142type === 'arc') { Node142BorderWidth *= 1; } Node142.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node142.setPosition(360*ratio.ratioX, 52*ratio.ratioY); Node142.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node142.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node142.a('node.width', 94*_ratio.ratioX); Node142.a('node.height', 24.33136*_ratio.ratioY); Node142.a('node.type', Node142type); Node142.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_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 Node143type = 'rect'; var Node143 = new ht.Node(), Node143BorderWidth = 1*2; if (Node143type === 'arc') { Node143BorderWidth *= 1; } Node143.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node143.setPosition(360*ratio.ratioX, 76*ratio.ratioY); Node143.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node143.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node143.a('node.width', 94*_ratio.ratioX); Node143.a('node.height', 24.33138*_ratio.ratioY); Node143.a('node.type', Node143type); Node143.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node143.a('node.background', 'rgba(255,255,255,0.003921569)'); Node143.a('node.gradientcolor', ''); Node143.a('node.gradient', ''); Node143.a('node.borderwidth', Node143BorderWidth); Node143.a('node.color', 'rgba(224,224,224,1)'); Node143.a('node.fillrect', [0,0,0,0]); Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node143.a('node.fillgradient', ''); if (Node143type !== 'rect') { Node143.a('node.arcFrom', parseFloat('@arcFrom@')); Node143.a('node.arcTo', parseFloat('@arcTo@')); Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node143type === 'arc') { Node143.a('node.arcOval', true); } Node143.setRotation(0*Math.PI/180); Node143.borderWidth = Node143BorderWidth; Node143.borderFillwidth = Node143BorderWidth; dataModel.add(Node143); Node143._nodename = 'Node143' Node143._nodeType = 'rect'; zoomNodeList.push({ node: Node143, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node144type = 'rect'; var Node144 = new ht.Node(), Node144BorderWidth = 1*2; if (Node144type === 'arc') { Node144BorderWidth *= 1; } Node144.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node144.setPosition(360*ratio.ratioX, 100*ratio.ratioY); Node144.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node144.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node144.a('node.width', 94*_ratio.ratioX); Node144.a('node.height', 24.33138*_ratio.ratioY); Node144.a('node.type', Node144type); Node144.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node144.a('node.background', 'rgba(255,255,255,0.003921569)'); Node144.a('node.gradientcolor', ''); Node144.a('node.gradient', ''); Node144.a('node.borderwidth', Node144BorderWidth); Node144.a('node.color', 'rgba(224,224,224,1)'); Node144.a('node.fillrect', [0,0,0,0]); Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node144.a('node.fillgradient', ''); if (Node144type !== 'rect') { Node144.a('node.arcFrom', parseFloat('@arcFrom@')); Node144.a('node.arcTo', parseFloat('@arcTo@')); Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node144type === 'arc') { Node144.a('node.arcOval', true); } Node144.setRotation(0*Math.PI/180); Node144.borderWidth = Node144BorderWidth; Node144.borderFillwidth = Node144BorderWidth; dataModel.add(Node144); Node144._nodename = 'Node144' Node144._nodeType = 'rect'; zoomNodeList.push({ node: Node144, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node145type = 'rect'; var Node145 = new ht.Node(), Node145BorderWidth = 1*2; if (Node145type === 'arc') { Node145BorderWidth *= 1; } Node145.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node145.setPosition(360*ratio.ratioX, 125*ratio.ratioY); Node145.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node145.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node145.a('node.width', 94*_ratio.ratioX); Node145.a('node.height', 24.33136*_ratio.ratioY); Node145.a('node.type', Node145type); Node145.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node145.a('node.background', 'rgba(255,255,255,0.003921569)'); Node145.a('node.gradientcolor', ''); Node145.a('node.gradient', ''); Node145.a('node.borderwidth', Node145BorderWidth); Node145.a('node.color', 'rgba(224,224,224,1)'); Node145.a('node.fillrect', [0,0,0,0]); Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node145.a('node.fillgradient', ''); if (Node145type !== 'rect') { Node145.a('node.arcFrom', parseFloat('@arcFrom@')); Node145.a('node.arcTo', parseFloat('@arcTo@')); Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node145type === 'arc') { Node145.a('node.arcOval', true); } Node145.setRotation(0*Math.PI/180); Node145.borderWidth = Node145BorderWidth; Node145.borderFillwidth = Node145BorderWidth; dataModel.add(Node145); Node145._nodename = 'Node145' Node145._nodeType = 'rect'; zoomNodeList.push({ node: Node145, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node146type = 'rect'; var Node146 = new ht.Node(), Node146BorderWidth = 1*2; if (Node146type === 'arc') { Node146BorderWidth *= 1; } Node146.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node146.setPosition(360*ratio.ratioX, 149*ratio.ratioY); Node146.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node146.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node146.a('node.width', 94*_ratio.ratioX); Node146.a('node.height', 24.33138*_ratio.ratioY); Node146.a('node.type', Node146type); Node146.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node146.a('node.background', 'rgba(255,255,255,0.003921569)'); Node146.a('node.gradientcolor', ''); Node146.a('node.gradient', ''); Node146.a('node.borderwidth', Node146BorderWidth); Node146.a('node.color', 'rgba(224,224,224,1)'); Node146.a('node.fillrect', [0,0,0,0]); Node146.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node146.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node146.a('node.fillgradient', ''); if (Node146type !== 'rect') { Node146.a('node.arcFrom', parseFloat('@arcFrom@')); Node146.a('node.arcTo', parseFloat('@arcTo@')); Node146.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node146type === 'arc') { Node146.a('node.arcOval', true); } Node146.setRotation(0*Math.PI/180); Node146.borderWidth = Node146BorderWidth; Node146.borderFillwidth = Node146BorderWidth; dataModel.add(Node146); Node146._nodename = 'Node146' Node146._nodeType = 'rect'; zoomNodeList.push({ node: Node146, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node146, Node146.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node147 = new ht.Node(); var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'center', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 58*_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('0', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node147align === 'center') { Node147textStart = -3; Node147textWidth = Node147width; Node147lineStart = Node147width - ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width - 11; } })(); Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"')) Node147.setPosition(360*ratio.ratioX, 54*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(0,0,0,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','0'); Node147.a('node.textalign','center'); Node147.a('node.textvAlign','middle'); Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]); Node147.a('node.color','rgba(0,0,0,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') || '0'; var color=Node147.a('node.color') || 'rgba(0,0,0,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('0', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]); Node147.a('node.underlinevisible',false); Node147.a('node.underlineBorderWidth', 1); } dataModel.add(Node147); zoomNodeList.push({ node: Node147, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node148 = new ht.Node(); var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'center', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 58*_ratio.ratioX, Node148height = 26*_ratio.ratioY; (function () { if (Node148align === 'left') { Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9; Node148textWidth = Node148width; Node148lineStart = 1; } else if (Node148align === 'right') { Node148textStart = 0; Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2; Node148lineStart = (Node148width - (ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node148align === 'center') { Node148textStart = -3; Node148textWidth = Node148width; Node148lineStart = Node148width - ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width - 11; } })(); Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"')) Node148.setPosition(360*ratio.ratioX, 78*ratio.ratioY); Node148.setWidth(Node148width); Node148.setHeight(Node148height); Node148._nodeType = 'text'; Node148._disallowEvert = true; Node148.setRotation(0*Math.PI/180); Node148.a('node.width', Node148width); Node148.a('node.height', Node148height); Node148.a('node.rect', [0, 0, Node148width, Node148height]); Node148.a('node.bordercolor','rgba(0,0,0,1)'); Node148.a('node.borderwidth', 0); Node148.a('node.background','' || 'rgba(0,0,0,0)'); Node148.a('node.gradient',''); Node148.a('node.gradientcolor',''); Node148.a('node.text','0'); Node148.a('node.textalign','center'); Node148.a('node.textvAlign','middle'); Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]); Node148.a('node.color','rgba(0,0,0,1)'); Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"'); Node148.a('node.textvisible',true); Node148.a('node.linefeed',false); if (false) { Node148.a('node.textfunc',function(g) { g.beginPath(); var str=Node148.a('node.text') || '0'; var color=Node148.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"center",color,' '+ Node148fontSize + 'px "Arial"', 0,g); }); } if (false) { Node148.a('node.underlinepoints',[Node148lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]); Node148.a('node.underlinevisible',false); Node148.a('node.underlineBorderWidth', 1); } dataModel.add(Node148); zoomNodeList.push({ node: Node148, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node149 = new ht.Node(); var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'center', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 58*_ratio.ratioX, Node149height = 26*_ratio.ratioY; (function () { if (Node149align === 'left') { Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9; Node149textWidth = Node149width; Node149lineStart = 1; } else if (Node149align === 'right') { Node149textStart = 0; Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2; Node149lineStart = (Node149width - (ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node149align === 'center') { Node149textStart = -3; Node149textWidth = Node149width; Node149lineStart = Node149width - ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width - 11; } })(); Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "Arial"')) Node149.setPosition(360*ratio.ratioX, 103*ratio.ratioY); Node149.setWidth(Node149width); Node149.setHeight(Node149height); Node149._nodeType = 'text'; Node149._disallowEvert = true; Node149.setRotation(0*Math.PI/180); Node149.a('node.width', Node149width); Node149.a('node.height', Node149height); Node149.a('node.rect', [0, 0, Node149width, Node149height]); Node149.a('node.bordercolor','rgba(0,0,0,1)'); Node149.a('node.borderwidth', 0); Node149.a('node.background','' || 'rgba(0,0,0,0)'); Node149.a('node.gradient',''); Node149.a('node.gradientcolor',''); Node149.a('node.text','0'); Node149.a('node.textalign','center'); Node149.a('node.textvAlign','middle'); Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]); Node149.a('node.color','rgba(0,0,0,1)'); Node149.a('node.font',' '+ Node149fontSize + 'px "Arial"'); Node149.a('node.textvisible',true); Node149.a('node.linefeed',false); if (false) { Node149.a('node.textfunc',function(g) { g.beginPath(); var str=Node149.a('node.text') || '0'; var color=Node149.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"center",color,' '+ Node149fontSize + 'px "Arial"', 0,g); }); } if (false) { Node149.a('node.underlinepoints',[Node149lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]); Node149.a('node.underlinevisible',false); Node149.a('node.underlineBorderWidth', 1); } dataModel.add(Node149); zoomNodeList.push({ node: Node149, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node150 = new ht.Node(); var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'center', Node150fontSize = 13.3333*_ratio.ratioY,Node150width = 58*_ratio.ratioX, Node150height = 26*_ratio.ratioY; (function () { if (Node150align === 'left') { Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9; Node150textWidth = Node150width; Node150lineStart = 1; } else if (Node150align === 'right') { Node150textStart = 0; Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2; Node150lineStart = (Node150width - (ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node150align === 'center') { Node150textStart = -3; Node150textWidth = Node150width; Node150lineStart = Node150width - ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width - 11; } })(); Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "Arial"')) Node150.setPosition(360*ratio.ratioX, 126*ratio.ratioY); Node150.setWidth(Node150width); Node150.setHeight(Node150height); Node150._nodeType = 'text'; Node150._disallowEvert = true; Node150.setRotation(0*Math.PI/180); Node150.a('node.width', Node150width); Node150.a('node.height', Node150height); Node150.a('node.rect', [0, 0, Node150width, Node150height]); Node150.a('node.bordercolor','rgba(0,0,0,1)'); Node150.a('node.borderwidth', 0); Node150.a('node.background','' || 'rgba(0,0,0,0)'); Node150.a('node.gradient',''); Node150.a('node.gradientcolor',''); Node150.a('node.text','0'); Node150.a('node.textalign','center'); Node150.a('node.textvAlign','middle'); Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]); Node150.a('node.color','rgba(0,0,0,1)'); Node150.a('node.font',' '+ Node150fontSize + 'px "Arial"'); Node150.a('node.textvisible',true); Node150.a('node.linefeed',false); if (false) { Node150.a('node.textfunc',function(g) { g.beginPath(); var str=Node150.a('node.text') || '0'; var color=Node150.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150width,Node150height,13.3333*_ratio.ratioY,"center",color,' '+ Node150fontSize + 'px "Arial"', 0,g); }); } if (false) { Node150.a('node.underlinepoints',[Node150lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]); Node150.a('node.underlinevisible',false); Node150.a('node.underlineBorderWidth', 1); } dataModel.add(Node150); zoomNodeList.push({ node: Node150, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node151 = new ht.Node(); var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'center', Node151fontSize = 13.3333*_ratio.ratioY,Node151width = 58*_ratio.ratioX, Node151height = 26*_ratio.ratioY; (function () { if (Node151align === 'left') { Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9; Node151textWidth = Node151width; Node151lineStart = 1; } else if (Node151align === 'right') { Node151textStart = 0; Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2; Node151lineStart = (Node151width - (ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node151align === 'center') { Node151textStart = -3; Node151textWidth = Node151width; Node151lineStart = Node151width - ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width - 11; } })(); Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"')) Node151.setPosition(360*ratio.ratioX, 150*ratio.ratioY); Node151.setWidth(Node151width); Node151.setHeight(Node151height); Node151._nodeType = 'text'; Node151._disallowEvert = true; Node151.setRotation(0*Math.PI/180); Node151.a('node.width', Node151width); Node151.a('node.height', Node151height); Node151.a('node.rect', [0, 0, Node151width, Node151height]); Node151.a('node.bordercolor','rgba(0,0,0,1)'); Node151.a('node.borderwidth', 0); Node151.a('node.background','' || 'rgba(0,0,0,0)'); Node151.a('node.gradient',''); Node151.a('node.gradientcolor',''); Node151.a('node.text','0'); Node151.a('node.textalign','center'); Node151.a('node.textvAlign','middle'); Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]); Node151.a('node.color','rgba(0,0,0,1)'); Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"'); Node151.a('node.textvisible',true); Node151.a('node.linefeed',false); if (false) { Node151.a('node.textfunc',function(g) { g.beginPath(); var str=Node151.a('node.text') || '0'; var color=Node151.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"center",color,' '+ Node151fontSize + 'px "Arial"', 0,g); }); } if (false) { Node151.a('node.underlinepoints',[Node151lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]); Node151.a('node.underlinevisible',false); Node151.a('node.underlineBorderWidth', 1); } dataModel.add(Node151); zoomNodeList.push({ node: Node151, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node152type = 'rect'; var Node152 = new ht.Node(), Node152BorderWidth = 1*2; if (Node152type === 'arc') { Node152BorderWidth *= 1; } Node152.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node152.setPosition(439*ratio.ratioX, 52*ratio.ratioY); Node152.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node152.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node152.a('node.width', 65*_ratio.ratioX); Node152.a('node.height', 24.33136*_ratio.ratioY); Node152.a('node.type', Node152type); Node152.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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 Node153type = 'rect'; var Node153 = new ht.Node(), Node153BorderWidth = 1*2; if (Node153type === 'arc') { Node153BorderWidth *= 1; } Node153.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node153.setPosition(439*ratio.ratioX, 76*ratio.ratioY); Node153.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node153.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node153.a('node.width', 65*_ratio.ratioX); Node153.a('node.height', 24.33138*_ratio.ratioY); Node153.a('node.type', Node153type); Node153.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node153.a('node.background', 'rgba(255,255,255,0.003921569)'); Node153.a('node.gradientcolor', ''); Node153.a('node.gradient', ''); Node153.a('node.borderwidth', Node153BorderWidth); Node153.a('node.color', 'rgba(224,224,224,1)'); Node153.a('node.fillrect', [0,0,0,0]); Node153.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node153.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node153.a('node.fillgradient', ''); if (Node153type !== 'rect') { Node153.a('node.arcFrom', parseFloat('@arcFrom@')); Node153.a('node.arcTo', parseFloat('@arcTo@')); Node153.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node153type === 'arc') { Node153.a('node.arcOval', true); } Node153.setRotation(0*Math.PI/180); Node153.borderWidth = Node153BorderWidth; Node153.borderFillwidth = Node153BorderWidth; dataModel.add(Node153); Node153._nodename = 'Node153' Node153._nodeType = 'rect'; zoomNodeList.push({ node: Node153, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node153, Node153.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node154type = 'rect'; var Node154 = new ht.Node(), Node154BorderWidth = 1*2; if (Node154type === 'arc') { Node154BorderWidth *= 1; } Node154.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node154type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node154.setPosition(439*ratio.ratioX, 100*ratio.ratioY); Node154.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node154.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node154.a('node.width', 65*_ratio.ratioX); Node154.a('node.height', 24.33138*_ratio.ratioY); Node154.a('node.type', Node154type); Node154.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node154.a('node.background', 'rgba(255,255,255,0.003921569)'); Node154.a('node.gradientcolor', ''); Node154.a('node.gradient', ''); Node154.a('node.borderwidth', Node154BorderWidth); Node154.a('node.color', 'rgba(224,224,224,1)'); Node154.a('node.fillrect', [0,0,0,0]); Node154.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node154.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node154.a('node.fillgradient', ''); if (Node154type !== 'rect') { Node154.a('node.arcFrom', parseFloat('@arcFrom@')); Node154.a('node.arcTo', parseFloat('@arcTo@')); Node154.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node154type === 'arc') { Node154.a('node.arcOval', true); } Node154.setRotation(0*Math.PI/180); Node154.borderWidth = Node154BorderWidth; Node154.borderFillwidth = Node154BorderWidth; dataModel.add(Node154); Node154._nodename = 'Node154' Node154._nodeType = 'rect'; zoomNodeList.push({ node: Node154, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node154, Node154.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node155type = 'rect'; var Node155 = new ht.Node(), Node155BorderWidth = 1*2; if (Node155type === 'arc') { Node155BorderWidth *= 1; } Node155.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node155type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node155.setPosition(439*ratio.ratioX, 125*ratio.ratioY); Node155.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node155.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node155.a('node.width', 65*_ratio.ratioX); Node155.a('node.height', 24.33136*_ratio.ratioY); Node155.a('node.type', Node155type); Node155.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node155.a('node.background', 'rgba(255,255,255,0.003921569)'); Node155.a('node.gradientcolor', ''); Node155.a('node.gradient', ''); Node155.a('node.borderwidth', Node155BorderWidth); Node155.a('node.color', 'rgba(224,224,224,1)'); Node155.a('node.fillrect', [0,0,0,0]); Node155.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node155.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node155.a('node.fillgradient', ''); if (Node155type !== 'rect') { Node155.a('node.arcFrom', parseFloat('@arcFrom@')); Node155.a('node.arcTo', parseFloat('@arcTo@')); Node155.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node155type === 'arc') { Node155.a('node.arcOval', true); } Node155.setRotation(0*Math.PI/180); Node155.borderWidth = Node155BorderWidth; Node155.borderFillwidth = Node155BorderWidth; dataModel.add(Node155); Node155._nodename = 'Node155' Node155._nodeType = 'rect'; zoomNodeList.push({ node: Node155, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node155, Node155.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node156type = 'rect'; var Node156 = new ht.Node(), Node156BorderWidth = 1*2; if (Node156type === 'arc') { Node156BorderWidth *= 1; } Node156.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node156type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node156.setPosition(439*ratio.ratioX, 149*ratio.ratioY); Node156.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node156.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node156.a('node.width', 65*_ratio.ratioX); Node156.a('node.height', 24.33138*_ratio.ratioY); Node156.a('node.type', Node156type); Node156.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node156.a('node.background', 'rgba(255,255,255,0.003921569)'); Node156.a('node.gradientcolor', ''); Node156.a('node.gradient', ''); Node156.a('node.borderwidth', Node156BorderWidth); Node156.a('node.color', 'rgba(224,224,224,1)'); Node156.a('node.fillrect', [0,0,0,0]); Node156.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node156.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node156.a('node.fillgradient', ''); if (Node156type !== 'rect') { Node156.a('node.arcFrom', parseFloat('@arcFrom@')); Node156.a('node.arcTo', parseFloat('@arcTo@')); Node156.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node156type === 'arc') { Node156.a('node.arcOval', true); } Node156.setRotation(0*Math.PI/180); Node156.borderWidth = Node156BorderWidth; Node156.borderFillwidth = Node156BorderWidth; dataModel.add(Node156); Node156._nodename = 'Node156' Node156._nodeType = 'rect'; zoomNodeList.push({ node: Node156, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node156, Node156.getImage());_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 = 59*_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('万kW', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node157align === 'center') { Node157textStart = -3; Node157textWidth = Node157width; Node157lineStart = Node157width - ht.Default.getTextSize('万kW', ' '+ Node157fontSize + 'px "Arial"').width - 11; } })(); Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"')) Node157.setPosition(440*ratio.ratioX, 54*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(128,128,128,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','万kW'); Node157.a('node.textalign','center'); Node157.a('node.textvAlign','middle'); Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]); Node157.a('node.color','rgba(128,128,128,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') || '万kW'; var color=Node157.a('node.color') || 'rgba(128,128,128,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('万kW', ' '+ 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 Node158 = new ht.Node(); var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'center', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 26*_ratio.ratioY; (function () { if (Node158align === 'left') { Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9; Node158textWidth = Node158width; Node158lineStart = 1; } else if (Node158align === 'right') { Node158textStart = 0; Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2; Node158lineStart = (Node158width - (ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node158align === 'center') { Node158textStart = -3; Node158textWidth = Node158width; Node158lineStart = Node158width - ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width - 11; } })(); Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"')) Node158.setPosition(440*ratio.ratioX, 78*ratio.ratioY); Node158.setWidth(Node158width); Node158.setHeight(Node158height); Node158._nodeType = 'text'; Node158._disallowEvert = true; Node158.setRotation(0*Math.PI/180); Node158.a('node.width', Node158width); Node158.a('node.height', Node158height); Node158.a('node.rect', [0, 0, Node158width, Node158height]); Node158.a('node.bordercolor','rgba(128,128,128,1)'); Node158.a('node.borderwidth', 0); Node158.a('node.background','' || 'rgba(0,0,0,0)'); Node158.a('node.gradient',''); Node158.a('node.gradientcolor',''); Node158.a('node.text','MW'); Node158.a('node.textalign','center'); Node158.a('node.textvAlign','middle'); Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]); Node158.a('node.color','rgba(128,128,128,1)'); Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"'); Node158.a('node.textvisible',true); Node158.a('node.linefeed',false); if (false) { Node158.a('node.textfunc',function(g) { g.beginPath(); var str=Node158.a('node.text') || 'MW'; var color=Node158.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"center",color,' '+ Node158fontSize + 'px "Arial"', 0,g); }); } if (false) { Node158.a('node.underlinepoints',[Node158lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]); Node158.a('node.underlinevisible',false); Node158.a('node.underlineBorderWidth', 1); } dataModel.add(Node158); zoomNodeList.push({ node: Node158, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node159 = new ht.Node(); var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'center', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 59*_ratio.ratioX, Node159height = 26*_ratio.ratioY; (function () { if (Node159align === 'left') { Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9; Node159textWidth = Node159width; Node159lineStart = 1; } else if (Node159align === 'right') { Node159textStart = 0; Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2; Node159lineStart = (Node159width - (ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node159align === 'center') { Node159textStart = -3; Node159textWidth = Node159width; Node159lineStart = Node159width - ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width - 11; } })(); Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"')) Node159.setPosition(440*ratio.ratioX, 101*ratio.ratioY); Node159.setWidth(Node159width); Node159.setHeight(Node159height); Node159._nodeType = 'text'; Node159._disallowEvert = true; Node159.setRotation(0*Math.PI/180); Node159.a('node.width', Node159width); Node159.a('node.height', Node159height); Node159.a('node.rect', [0, 0, Node159width, Node159height]); Node159.a('node.bordercolor','rgba(128,128,128,1)'); Node159.a('node.borderwidth', 0); Node159.a('node.background','' || 'rgba(0,0,0,0)'); Node159.a('node.gradient',''); Node159.a('node.gradientcolor',''); Node159.a('node.text','m/s'); Node159.a('node.textalign','center'); Node159.a('node.textvAlign','middle'); Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]); Node159.a('node.color','rgba(128,128,128,1)'); Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"'); Node159.a('node.textvisible',true); Node159.a('node.linefeed',false); if (false) { Node159.a('node.textfunc',function(g) { g.beginPath(); var str=Node159.a('node.text') || 'm/s'; var color=Node159.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"center",color,' '+ Node159fontSize + 'px "Arial"', 0,g); }); } if (false) { Node159.a('node.underlinepoints',[Node159lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]); Node159.a('node.underlinevisible',false); Node159.a('node.underlineBorderWidth', 1); } dataModel.add(Node159); zoomNodeList.push({ node: Node159, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node160 = new ht.Node(); var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'center', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 59*_ratio.ratioX, Node160height = 26*_ratio.ratioY; (function () { if (Node160align === 'left') { Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9; Node160textWidth = Node160width; Node160lineStart = 1; } else if (Node160align === 'right') { Node160textStart = 0; Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2; Node160lineStart = (Node160width - (ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node160align === 'center') { Node160textStart = -3; Node160textWidth = Node160width; Node160lineStart = Node160width - ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width - 11; } })(); Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"')) Node160.setPosition(440*ratio.ratioX, 127*ratio.ratioY); Node160.setWidth(Node160width); Node160.setHeight(Node160height); Node160._nodeType = 'text'; Node160._disallowEvert = true; Node160.setRotation(0*Math.PI/180); Node160.a('node.width', Node160width); Node160.a('node.height', Node160height); Node160.a('node.rect', [0, 0, Node160width, Node160height]); Node160.a('node.bordercolor','rgba(128,128,128,1)'); Node160.a('node.borderwidth', 0); Node160.a('node.background','' || 'rgba(0,0,0,0)'); Node160.a('node.gradient',''); Node160.a('node.gradientcolor',''); Node160.a('node.text','万kWh'); Node160.a('node.textalign','center'); Node160.a('node.textvAlign','middle'); Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]); Node160.a('node.color','rgba(128,128,128,1)'); Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"'); Node160.a('node.textvisible',true); Node160.a('node.linefeed',false); if (false) { Node160.a('node.textfunc',function(g) { g.beginPath(); var str=Node160.a('node.text') || '万kWh'; var color=Node160.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"center",color,' '+ Node160fontSize + 'px "Arial"', 0,g); }); } if (false) { Node160.a('node.underlinepoints',[Node160lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]); Node160.a('node.underlinevisible',false); Node160.a('node.underlineBorderWidth', 1); } dataModel.add(Node160); zoomNodeList.push({ node: Node160, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node161 = new ht.Node(); var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'center', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 59*_ratio.ratioX, Node161height = 26*_ratio.ratioY; (function () { if (Node161align === 'left') { Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9; Node161textWidth = Node161width; Node161lineStart = 1; } else if (Node161align === 'right') { Node161textStart = 0; Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2; Node161lineStart = (Node161width - (ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node161align === 'center') { Node161textStart = -3; Node161textWidth = Node161width; Node161lineStart = Node161width - ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width - 11; } })(); Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"')) Node161.setPosition(440*ratio.ratioX, 151*ratio.ratioY); Node161.setWidth(Node161width); Node161.setHeight(Node161height); Node161._nodeType = 'text'; Node161._disallowEvert = true; Node161.setRotation(0*Math.PI/180); Node161.a('node.width', Node161width); Node161.a('node.height', Node161height); Node161.a('node.rect', [0, 0, Node161width, Node161height]); Node161.a('node.bordercolor','rgba(128,128,128,1)'); Node161.a('node.borderwidth', 0); Node161.a('node.background','' || 'rgba(0,0,0,0)'); Node161.a('node.gradient',''); Node161.a('node.gradientcolor',''); Node161.a('node.text','万kWh'); Node161.a('node.textalign','center'); Node161.a('node.textvAlign','middle'); Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]); Node161.a('node.color','rgba(128,128,128,1)'); Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"'); Node161.a('node.textvisible',true); Node161.a('node.linefeed',false); if (false) { Node161.a('node.textfunc',function(g) { g.beginPath(); var str=Node161.a('node.text') || '万kWh'; var color=Node161.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"center",color,' '+ Node161fontSize + 'px "Arial"', 0,g); }); } if (false) { Node161.a('node.underlinepoints',[Node161lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]); Node161.a('node.underlinevisible',false); Node161.a('node.underlineBorderWidth', 1); } dataModel.add(Node161); zoomNodeList.push({ node: Node161, borderWidth: 0, attr: 'node.borderwidth' }); _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(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node162.setPosition(644*ratio.ratioX, 52*ratio.ratioY); Node162.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node162.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node162.a('node.width', 94*_ratio.ratioX); Node162.a('node.height', 24.33136*_ratio.ratioY); Node162.a('node.type', Node162type); Node162.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_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 Node163type = 'rect'; var Node163 = new ht.Node(), Node163BorderWidth = 1*2; if (Node163type === 'arc') { Node163BorderWidth *= 1; } Node163.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node163type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node163.setPosition(644*ratio.ratioX, 76*ratio.ratioY); Node163.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node163.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node163.a('node.width', 94*_ratio.ratioX); Node163.a('node.height', 24.33138*_ratio.ratioY); Node163.a('node.type', Node163type); Node163.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node163.a('node.background', 'rgba(255,255,255,0.003921569)'); Node163.a('node.gradientcolor', ''); Node163.a('node.gradient', ''); Node163.a('node.borderwidth', Node163BorderWidth); Node163.a('node.color', 'rgba(224,224,224,1)'); Node163.a('node.fillrect', [0,0,0,0]); Node163.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node163.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node163.a('node.fillgradient', ''); if (Node163type !== 'rect') { Node163.a('node.arcFrom', parseFloat('@arcFrom@')); Node163.a('node.arcTo', parseFloat('@arcTo@')); Node163.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node163type === 'arc') { Node163.a('node.arcOval', true); } Node163.setRotation(0*Math.PI/180); Node163.borderWidth = Node163BorderWidth; Node163.borderFillwidth = Node163BorderWidth; dataModel.add(Node163); Node163._nodename = 'Node163' Node163._nodeType = 'rect'; zoomNodeList.push({ node: Node163, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node163, Node163.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node164type = 'rect'; var Node164 = new ht.Node(), Node164BorderWidth = 1*2; if (Node164type === 'arc') { Node164BorderWidth *= 1; } Node164.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node164.setPosition(644*ratio.ratioX, 100*ratio.ratioY); Node164.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node164.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node164.a('node.width', 94*_ratio.ratioX); Node164.a('node.height', 24.33138*_ratio.ratioY); Node164.a('node.type', Node164type); Node164.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node164.a('node.background', 'rgba(255,255,255,0.003921569)'); Node164.a('node.gradientcolor', ''); Node164.a('node.gradient', ''); Node164.a('node.borderwidth', Node164BorderWidth); Node164.a('node.color', 'rgba(224,224,224,1)'); Node164.a('node.fillrect', [0,0,0,0]); Node164.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node164.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node164.a('node.fillgradient', ''); if (Node164type !== 'rect') { Node164.a('node.arcFrom', parseFloat('@arcFrom@')); Node164.a('node.arcTo', parseFloat('@arcTo@')); Node164.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node164type === 'arc') { Node164.a('node.arcOval', true); } Node164.setRotation(0*Math.PI/180); Node164.borderWidth = Node164BorderWidth; Node164.borderFillwidth = Node164BorderWidth; dataModel.add(Node164); Node164._nodename = 'Node164' Node164._nodeType = 'rect'; zoomNodeList.push({ node: Node164, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node164, Node164.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node165type = 'rect'; var Node165 = new ht.Node(), Node165BorderWidth = 1*2; if (Node165type === 'arc') { Node165BorderWidth *= 1; } Node165.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node165type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node165.setPosition(644*ratio.ratioX, 125*ratio.ratioY); Node165.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY); Node165.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node165.a('node.width', 94*_ratio.ratioX); Node165.a('node.height', 24.33136*_ratio.ratioY); Node165.a('node.type', Node165type); Node165.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node165.a('node.background', 'rgba(255,255,255,0.003921569)'); Node165.a('node.gradientcolor', ''); Node165.a('node.gradient', ''); Node165.a('node.borderwidth', Node165BorderWidth); Node165.a('node.color', 'rgba(224,224,224,1)'); Node165.a('node.fillrect', [0,0,0,0]); Node165.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node165.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node165.a('node.fillgradient', ''); if (Node165type !== 'rect') { Node165.a('node.arcFrom', parseFloat('@arcFrom@')); Node165.a('node.arcTo', parseFloat('@arcTo@')); Node165.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node165type === 'arc') { Node165.a('node.arcOval', true); } Node165.setRotation(0*Math.PI/180); Node165.borderWidth = Node165BorderWidth; Node165.borderFillwidth = Node165BorderWidth; dataModel.add(Node165); Node165._nodename = 'Node165' Node165._nodeType = 'rect'; zoomNodeList.push({ node: Node165, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node165, Node165.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node166type = 'rect'; var Node166 = new ht.Node(), Node166BorderWidth = 1*2; if (Node166type === 'arc') { Node166BorderWidth *= 1; } Node166.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node166.setPosition(644*ratio.ratioX, 149*ratio.ratioY); Node166.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY); Node166.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node166.a('node.width', 94*_ratio.ratioX); Node166.a('node.height', 24.33138*_ratio.ratioY); Node166.a('node.type', Node166type); Node166.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node166.a('node.background', 'rgba(255,255,255,0.003921569)'); Node166.a('node.gradientcolor', ''); Node166.a('node.gradient', ''); Node166.a('node.borderwidth', Node166BorderWidth); Node166.a('node.color', 'rgba(224,224,224,1)'); Node166.a('node.fillrect', [0,0,0,0]); Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node166.a('node.fillgradient', ''); if (Node166type !== 'rect') { Node166.a('node.arcFrom', parseFloat('@arcFrom@')); Node166.a('node.arcTo', parseFloat('@arcTo@')); Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node166type === 'arc') { Node166.a('node.arcOval', true); } Node166.setRotation(0*Math.PI/180); Node166.borderWidth = Node166BorderWidth; Node166.borderFillwidth = Node166BorderWidth; dataModel.add(Node166); Node166._nodename = 'Node166' Node166._nodeType = 'rect'; zoomNodeList.push({ node: Node166, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node166, Node166.getImage());_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 = 58*_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('0', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node167align === 'center') { Node167textStart = -3; Node167textWidth = Node167width; Node167lineStart = Node167width - ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width - 11; } })(); Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"')) Node167.setPosition(644*ratio.ratioX, 54*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(0,0,0,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','0'); Node167.a('node.textalign','center'); Node167.a('node.textvAlign','middle'); Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]); Node167.a('node.color','rgba(0,0,0,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') || '0'; var color=Node167.a('node.color') || 'rgba(0,0,0,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('0', ' '+ 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 = 'center', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 58*_ratio.ratioX, Node168height = 26*_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('0', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node168align === 'center') { Node168textStart = -3; Node168textWidth = Node168width; Node168lineStart = Node168width - ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width - 11; } })(); Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"')) Node168.setPosition(644*ratio.ratioX, 78*ratio.ratioY); Node168.setWidth(Node168width); Node168.setHeight(Node168height); Node168._nodeType = 'text'; Node168._disallowEvert = true; Node168.setRotation(0*Math.PI/180); Node168.a('node.width', Node168width); Node168.a('node.height', Node168height); Node168.a('node.rect', [0, 0, Node168width, Node168height]); Node168.a('node.bordercolor','rgba(0,0,0,1)'); Node168.a('node.borderwidth', 0); Node168.a('node.background','' || 'rgba(0,0,0,0)'); Node168.a('node.gradient',''); Node168.a('node.gradientcolor',''); Node168.a('node.text','0'); Node168.a('node.textalign','center'); Node168.a('node.textvAlign','middle'); Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]); Node168.a('node.color','rgba(0,0,0,1)'); Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"'); Node168.a('node.textvisible',true); Node168.a('node.linefeed',false); if (false) { Node168.a('node.textfunc',function(g) { g.beginPath(); var str=Node168.a('node.text') || '0'; var color=Node168.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"center",color,' '+ Node168fontSize + 'px "Arial"', 0,g); }); } if (false) { Node168.a('node.underlinepoints',[Node168lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 58*_ratio.ratioX, Node169height = 26*_ratio.ratioY; (function () { if (Node169align === 'left') { Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9; Node169textWidth = Node169width; Node169lineStart = 1; } else if (Node169align === 'right') { Node169textStart = 0; Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2; Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node169align === 'center') { Node169textStart = -3; Node169textWidth = Node169width; Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11; } })(); Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"')) Node169.setPosition(644*ratio.ratioX, 103*ratio.ratioY); Node169.setWidth(Node169width); Node169.setHeight(Node169height); Node169._nodeType = 'text'; Node169._disallowEvert = true; Node169.setRotation(0*Math.PI/180); Node169.a('node.width', Node169width); Node169.a('node.height', Node169height); Node169.a('node.rect', [0, 0, Node169width, Node169height]); Node169.a('node.bordercolor','rgba(0,0,0,1)'); Node169.a('node.borderwidth', 0); Node169.a('node.background','' || 'rgba(0,0,0,0)'); Node169.a('node.gradient',''); Node169.a('node.gradientcolor',''); Node169.a('node.text','0'); Node169.a('node.textalign','center'); Node169.a('node.textvAlign','middle'); Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]); Node169.a('node.color','rgba(0,0,0,1)'); Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"'); Node169.a('node.textvisible',true); Node169.a('node.linefeed',false); if (false) { Node169.a('node.textfunc',function(g) { g.beginPath(); var str=Node169.a('node.text') || '0'; var color=Node169.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"center",color,' '+ Node169fontSize + 'px "Arial"', 0,g); }); } if (false) { Node169.a('node.underlinepoints',[Node169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]); Node169.a('node.underlinevisible',false); Node169.a('node.underlineBorderWidth', 1); } dataModel.add(Node169); zoomNodeList.push({ node: Node169, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node170 = new ht.Node(); var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'center', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 58*_ratio.ratioX, Node170height = 26*_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('0', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node170align === 'center') { Node170textStart = -3; Node170textWidth = Node170width; Node170lineStart = Node170width - ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width - 11; } })(); Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"')) Node170.setPosition(644*ratio.ratioX, 126*ratio.ratioY); Node170.setWidth(Node170width); Node170.setHeight(Node170height); Node170._nodeType = 'text'; Node170._disallowEvert = true; Node170.setRotation(0*Math.PI/180); Node170.a('node.width', Node170width); Node170.a('node.height', Node170height); Node170.a('node.rect', [0, 0, Node170width, Node170height]); Node170.a('node.bordercolor','rgba(0,0,0,1)'); Node170.a('node.borderwidth', 0); Node170.a('node.background','' || 'rgba(0,0,0,0)'); Node170.a('node.gradient',''); Node170.a('node.gradientcolor',''); Node170.a('node.text','0'); Node170.a('node.textalign','center'); Node170.a('node.textvAlign','middle'); Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]); Node170.a('node.color','rgba(0,0,0,1)'); Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"'); Node170.a('node.textvisible',true); Node170.a('node.linefeed',false); if (false) { Node170.a('node.textfunc',function(g) { g.beginPath(); var str=Node170.a('node.text') || '0'; var color=Node170.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"center",color,' '+ Node170fontSize + 'px "Arial"', 0,g); }); } if (false) { Node170.a('node.underlinepoints',[Node170lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node171width = 58*_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('0', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node171align === 'center') { Node171textStart = -3; Node171textWidth = Node171width; Node171lineStart = Node171width - ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width - 11; } })(); Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"')) Node171.setPosition(644*ratio.ratioX, 150*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(0,0,0,1)'); Node171.a('node.borderwidth', 0); Node171.a('node.background','' || 'rgba(0,0,0,0)'); Node171.a('node.gradient',''); Node171.a('node.gradientcolor',''); Node171.a('node.text','0'); Node171.a('node.textalign','center'); Node171.a('node.textvAlign','middle'); Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]); Node171.a('node.color','rgba(0,0,0,1)'); Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"'); Node171.a('node.textvisible',true); Node171.a('node.linefeed',false); if (false) { Node171.a('node.textfunc',function(g) { g.beginPath(); var str=Node171.a('node.text') || '0'; var color=Node171.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "Arial"', 0,g); }); } if (false) { Node171.a('node.underlinepoints',[Node171lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]); Node171.a('node.underlinevisible',false); Node171.a('node.underlineBorderWidth', 1); } dataModel.add(Node171); zoomNodeList.push({ node: Node171, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node172type = 'rect'; var Node172 = new ht.Node(), Node172BorderWidth = 1*2; if (Node172type === 'arc') { Node172BorderWidth *= 1; } Node172.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node172type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node172.setPosition(723*ratio.ratioX, 52*ratio.ratioY); Node172.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node172.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node172.a('node.width', 65*_ratio.ratioX); Node172.a('node.height', 24.33136*_ratio.ratioY); Node172.a('node.type', Node172type); Node172.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node172.a('node.background', 'rgba(255,255,255,0.003921569)'); Node172.a('node.gradientcolor', ''); Node172.a('node.gradient', ''); Node172.a('node.borderwidth', Node172BorderWidth); Node172.a('node.color', 'rgba(224,224,224,1)'); Node172.a('node.fillrect', [0,0,0,0]); Node172.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node172.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node172.a('node.fillgradient', ''); if (Node172type !== 'rect') { Node172.a('node.arcFrom', parseFloat('@arcFrom@')); Node172.a('node.arcTo', parseFloat('@arcTo@')); Node172.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node172type === 'arc') { Node172.a('node.arcOval', true); } Node172.setRotation(0*Math.PI/180); Node172.borderWidth = Node172BorderWidth; Node172.borderFillwidth = Node172BorderWidth; dataModel.add(Node172); Node172._nodename = 'Node172' Node172._nodeType = 'rect'; zoomNodeList.push({ node: Node172, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node172, Node172.getImage());_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node173.setPosition(723*ratio.ratioX, 76*ratio.ratioY); Node173.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node173.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node173.a('node.width', 65*_ratio.ratioX); Node173.a('node.height', 24.33138*_ratio.ratioY); Node173.a('node.type', Node173type); Node173.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_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(224,224,224,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 Node174type = 'rect'; var Node174 = new ht.Node(), Node174BorderWidth = 1*2; if (Node174type === 'arc') { Node174BorderWidth *= 1; } Node174.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node174type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node174.setPosition(723*ratio.ratioX, 100*ratio.ratioY); Node174.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node174.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node174.a('node.width', 65*_ratio.ratioX); Node174.a('node.height', 24.33138*_ratio.ratioY); Node174.a('node.type', Node174type); Node174.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node174.a('node.background', 'rgba(255,255,255,0.003921569)'); Node174.a('node.gradientcolor', ''); Node174.a('node.gradient', ''); Node174.a('node.borderwidth', Node174BorderWidth); Node174.a('node.color', 'rgba(224,224,224,1)'); Node174.a('node.fillrect', [0,0,0,0]); Node174.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node174.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node174.a('node.fillgradient', ''); if (Node174type !== 'rect') { Node174.a('node.arcFrom', parseFloat('@arcFrom@')); Node174.a('node.arcTo', parseFloat('@arcTo@')); Node174.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node174type === 'arc') { Node174.a('node.arcOval', true); } Node174.setRotation(0*Math.PI/180); Node174.borderWidth = Node174BorderWidth; Node174.borderFillwidth = Node174BorderWidth; dataModel.add(Node174); Node174._nodename = 'Node174' Node174._nodeType = 'rect'; zoomNodeList.push({ node: Node174, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node174, Node174.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node175type = 'rect'; var Node175 = new ht.Node(), Node175BorderWidth = 1*2; if (Node175type === 'arc') { Node175BorderWidth *= 1; } Node175.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node175type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node175.setPosition(723*ratio.ratioX, 125*ratio.ratioY); Node175.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY); Node175.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node175.a('node.width', 65*_ratio.ratioX); Node175.a('node.height', 24.33136*_ratio.ratioY); Node175.a('node.type', Node175type); Node175.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]); Node175.a('node.background', 'rgba(255,255,255,0.003921569)'); Node175.a('node.gradientcolor', ''); Node175.a('node.gradient', ''); Node175.a('node.borderwidth', Node175BorderWidth); Node175.a('node.color', 'rgba(224,224,224,1)'); Node175.a('node.fillrect', [0,0,0,0]); Node175.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node175.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node175.a('node.fillgradient', ''); if (Node175type !== 'rect') { Node175.a('node.arcFrom', parseFloat('@arcFrom@')); Node175.a('node.arcTo', parseFloat('@arcTo@')); Node175.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node175type === 'arc') { Node175.a('node.arcOval', true); } Node175.setRotation(0*Math.PI/180); Node175.borderWidth = Node175BorderWidth; Node175.borderFillwidth = Node175BorderWidth; dataModel.add(Node175); Node175._nodename = 'Node175' Node175._nodeType = 'rect'; zoomNodeList.push({ node: Node175, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node175, Node175.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node176type = 'rect'; var Node176 = new ht.Node(), Node176BorderWidth = 1*2; if (Node176type === 'arc') { Node176BorderWidth *= 1; } Node176.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node176.setPosition(723*ratio.ratioX, 149*ratio.ratioY); Node176.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY); Node176.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node176.a('node.width', 65*_ratio.ratioX); Node176.a('node.height', 24.33138*_ratio.ratioY); Node176.a('node.type', Node176type); Node176.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]); Node176.a('node.background', 'rgba(255,255,255,0.003921569)'); Node176.a('node.gradientcolor', ''); Node176.a('node.gradient', ''); Node176.a('node.borderwidth', Node176BorderWidth); Node176.a('node.color', 'rgba(224,224,224,1)'); Node176.a('node.fillrect', [0,0,0,0]); Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node176.a('node.fillgradient', ''); if (Node176type !== 'rect') { Node176.a('node.arcFrom', parseFloat('@arcFrom@')); Node176.a('node.arcTo', parseFloat('@arcTo@')); Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node176type === 'arc') { Node176.a('node.arcOval', true); } Node176.setRotation(0*Math.PI/180); Node176.borderWidth = Node176BorderWidth; Node176.borderFillwidth = Node176BorderWidth; dataModel.add(Node176); Node176._nodename = 'Node176' Node176._nodeType = 'rect'; zoomNodeList.push({ node: Node176, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node176, Node176.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node177 = new ht.Node(); var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'center', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 59*_ratio.ratioX, Node177height = 26*_ratio.ratioY; (function () { if (Node177align === 'left') { Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9; Node177textWidth = Node177width; Node177lineStart = 1; } else if (Node177align === 'right') { Node177textStart = 0; Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2; Node177lineStart = (Node177width - (ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node177align === 'center') { Node177textStart = -3; Node177textWidth = Node177width; Node177lineStart = Node177width - ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width - 11; } })(); Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"')) Node177.setPosition(724*ratio.ratioX, 54*ratio.ratioY); Node177.setWidth(Node177width); Node177.setHeight(Node177height); Node177._nodeType = 'text'; Node177._disallowEvert = true; Node177.setRotation(0*Math.PI/180); Node177.a('node.width', Node177width); Node177.a('node.height', Node177height); Node177.a('node.rect', [0, 0, Node177width, Node177height]); Node177.a('node.bordercolor','rgba(128,128,128,1)'); Node177.a('node.borderwidth', 0); Node177.a('node.background','' || 'rgba(0,0,0,0)'); Node177.a('node.gradient',''); Node177.a('node.gradientcolor',''); Node177.a('node.text','万kWh'); Node177.a('node.textalign','center'); Node177.a('node.textvAlign','middle'); Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]); Node177.a('node.color','rgba(128,128,128,1)'); Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"'); Node177.a('node.textvisible',true); Node177.a('node.linefeed',false); if (false) { Node177.a('node.textfunc',function(g) { g.beginPath(); var str=Node177.a('node.text') || '万kWh'; var color=Node177.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"center",color,' '+ Node177fontSize + 'px "Arial"', 0,g); }); } if (false) { Node177.a('node.underlinepoints',[Node177lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]); Node177.a('node.underlinevisible',false); Node177.a('node.underlineBorderWidth', 1); } dataModel.add(Node177); zoomNodeList.push({ node: Node177, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node178 = new ht.Node(); var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'center', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 59*_ratio.ratioX, Node178height = 26*_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('万kWh', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node178align === 'center') { Node178textStart = -3; Node178textWidth = Node178width; Node178lineStart = Node178width - ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width - 11; } })(); Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"')) Node178.setPosition(724*ratio.ratioX, 78*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(128,128,128,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','万kWh'); Node178.a('node.textalign','center'); Node178.a('node.textvAlign','middle'); Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]); Node178.a('node.color','rgba(128,128,128,1)'); Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"'); Node178.a('node.textvisible',true); Node178.a('node.linefeed',false); if (false) { Node178.a('node.textfunc',function(g) { g.beginPath(); var str=Node178.a('node.text') || '万kWh'; var color=Node178.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"center",color,' '+ Node178fontSize + 'px "Arial"', 0,g); }); } if (false) { Node178.a('node.underlinepoints',[Node178lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 59*_ratio.ratioX, Node179height = 26*_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('万kWh', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node179align === 'center') { Node179textStart = -3; Node179textWidth = Node179width; Node179lineStart = Node179width - ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width - 11; } })(); Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"')) Node179.setPosition(724*ratio.ratioX, 101*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(128,128,128,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','万kWh'); Node179.a('node.textalign','center'); Node179.a('node.textvAlign','middle'); Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]); Node179.a('node.color','rgba(128,128,128,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') || '万kWh'; var color=Node179.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"center",color,' '+ Node179fontSize + 'px "Arial"', 0,g); }); } if (false) { Node179.a('node.underlinepoints',[Node179lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 59*_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('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node180align === 'center') { Node180textStart = -3; Node180textWidth = Node180width; Node180lineStart = Node180width - ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width - 11; } })(); Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"')) Node180.setPosition(724*ratio.ratioX, 127*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(128,128,128,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','万kWh'); Node180.a('node.textalign','center'); Node180.a('node.textvAlign','middle'); Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]); Node180.a('node.color','rgba(128,128,128,1)'); Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"'); Node180.a('node.textvisible',true); Node180.a('node.linefeed',false); if (false) { Node180.a('node.textfunc',function(g) { g.beginPath(); var str=Node180.a('node.text') || '万kWh'; var color=Node180.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"center",color,' '+ Node180fontSize + 'px "Arial"', 0,g); }); } if (false) { Node180.a('node.underlinepoints',[Node180lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]); Node180.a('node.underlinevisible',false); Node180.a('node.underlineBorderWidth', 1); } dataModel.add(Node180); zoomNodeList.push({ node: Node180, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node181 = new ht.Node(); var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 59*_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('万kWh', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node181align === 'center') { Node181textStart = -3; Node181textWidth = Node181width; Node181lineStart = Node181width - ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width - 11; } })(); Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"')) Node181.setPosition(724*ratio.ratioX, 151*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(128,128,128,1)'); Node181.a('node.borderwidth', 0); Node181.a('node.background','' || 'rgba(0,0,0,0)'); Node181.a('node.gradient',''); Node181.a('node.gradientcolor',''); Node181.a('node.text','万kWh'); Node181.a('node.textalign','center'); Node181.a('node.textvAlign','middle'); Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]); Node181.a('node.color','rgba(128,128,128,1)'); Node181.a('node.font',' '+ Node181fontSize + 'px "Arial"'); 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') || '万kWh'; var color=Node181.a('node.color') || 'rgba(128,128,128,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "Arial"', 0,g); }); } if (false) { Node181.a('node.underlinepoints',[Node181lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]); Node181.a('node.underlinevisible',false); Node181.a('node.underlineBorderWidth', 1); } dataModel.add(Node181); zoomNodeList.push({ node: Node181, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node182 = new ht.Node(); var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 11.99997*_ratio.ratioY,Node182width = 53*_ratio.ratioX, Node182height = 20*_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('机', 'bold '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node182align === 'center') { Node182textStart = -3; Node182textWidth = Node182width; Node182lineStart = Node182width - ht.Default.getTextSize('机', 'bold '+ Node182fontSize + 'px "Arial"').width - 11; } })(); Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, 'bold '+ Node182fontSize + 'px "Arial"')) Node182.setPosition(1349*ratio.ratioX, 88*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(255,255,255,1)'); Node182.a('node.borderwidth', 0); Node182.a('node.background','' || 'rgba(0,0,0,0)'); Node182.a('node.gradient',''); Node182.a('node.gradientcolor',''); Node182.a('node.text','机'); Node182.a('node.textalign','left'); Node182.a('node.textvAlign','middle'); Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]); Node182.a('node.color','rgba(255,255,255,1)'); Node182.a('node.font','bold '+ Node182fontSize + 'px "Arial"'); Node182.a('node.textvisible',true); Node182.a('node.linefeed',false); if (false) { Node182.a('node.textfunc',function(g) { g.beginPath(); var str=Node182.a('node.text') || '机'; var color=Node182.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node182width,Node182height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node182fontSize + 'px "Arial"', 0,g); }); } if (false) { Node182.a('node.underlinepoints',[Node182lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]); Node182.a('node.underlinevisible',false); Node182.a('node.underlineBorderWidth', 1); } dataModel.add(Node182); zoomNodeList.push({ node: Node182, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node183 = new ht.Node(); var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 11.99997*_ratio.ratioY,Node183width = 53*_ratio.ratioX, Node183height = 20*_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('状', 'bold '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node183align === 'center') { Node183textStart = -3; Node183textWidth = Node183width; Node183lineStart = Node183width - ht.Default.getTextSize('状', 'bold '+ Node183fontSize + 'px "Arial"').width - 11; } })(); Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, 'bold '+ Node183fontSize + 'px "Arial"')) Node183.setPosition(1349*ratio.ratioX, 111*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(255,255,255,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','left'); Node183.a('node.textvAlign','middle'); Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]); Node183.a('node.color','rgba(255,255,255,1)'); Node183.a('node.font','bold '+ Node183fontSize + 'px "Arial"'); Node183.a('node.textvisible',true); Node183.a('node.linefeed',false); if (false) { Node183.a('node.textfunc',function(g) { g.beginPath(); var str=Node183.a('node.text') || '状'; var color=Node183.a('node.color') || 'rgba(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node183width,Node183height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node183fontSize + 'px "Arial"', 0,g); }); } if (false) { Node183.a('node.underlinepoints',[Node183lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]); Node183.a('node.underlinevisible',false); Node183.a('node.underlineBorderWidth', 1); } dataModel.add(Node183); zoomNodeList.push({ node: Node183, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node184 = new ht.Node(); var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 11.99997*_ratio.ratioY,Node184width = 53*_ratio.ratioX, Node184height = 20*_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(1349*ratio.ratioX, 133*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(255,255,255,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(255,255,255,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(255,255,255,1)'; canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node184width,Node184height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node184fontSize + 'px "Arial"', 0,g); }); } if (false) { Node184.a('node.underlinepoints',[Node184lineStart, (20 - 11.99997) * 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 = 'center', Node185fontSize = 14.66663*_ratio.ratioY,Node185width = 67*_ratio.ratioX, Node185height = 26*_ratio.ratioY; (function () { if (Node185align === 'left') { Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9; Node185textWidth = Node185width; Node185lineStart = 1; } else if (Node185align === 'right') { Node185textStart = 0; Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2; Node185lineStart = (Node185width - (ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node185align === 'center') { Node185textStart = -3; Node185textWidth = Node185width; Node185lineStart = Node185width - ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "Arial"').width - 11; } })(); Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "Arial"')) Node185.setPosition(1592*ratio.ratioX, 86*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(105,105,105,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','center'); Node185.a('node.textvAlign','middle'); Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]); Node185.a('node.color','rgba(105,105,105,1)'); Node185.a('node.font',' '+ 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(105,105,105,1)'; canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node185width,Node185height,14.66663*_ratio.ratioY,"center",color,' '+ Node185fontSize + 'px "Arial"', 0,g); }); } if (false) { Node185.a('node.underlinepoints',[Node185lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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' }); var Node186; (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'); Node186 = new ht.Node(); Node186.setPosition(1481*ratio.ratioX, 70*ratio.ratioY); Node186.setSize(9*ratioX, 60*ratioY); Node186.setImage('imgimage//page_list_box_left_blue.jpg'); Node186.setRotation(0*Math.PI/180); Node186._zoomBy = 'Default'; Node186._nodeType = 'image'; Node186._disallowEvert = true; dataModel.add(Node186); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node187type = 'rect'; var Node187 = new ht.Node(), Node187BorderWidth = 1*2; if (Node187type === 'arc') { Node187BorderWidth *= 1; } Node187.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node187type, '@arcFrom@', '@arcTo@', '@arcClose@')); Node187.setPosition(1550*ratio.ratioX, 70*ratio.ratioY); Node187.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY); Node187.s({ 'pixelPerfect':true /*@AddPara@*/ }); Node187.a('node.width', 127*_ratio.ratioX); Node187.a('node.height', 60.81538*_ratio.ratioY); Node187.a('node.type', Node187type); Node187.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]); Node187.a('node.background', 'rgba(255,255,255,0.003921569)'); Node187.a('node.gradientcolor', ''); Node187.a('node.gradient', ''); Node187.a('node.borderwidth', Node187BorderWidth); Node187.a('node.color', 'rgba(128,128,128,1)'); Node187.a('node.fillrect', [0,0,0,0]); Node187.a('node.fillbackcolor', 'rgba(0,0,0,0)'); Node187.a('node.fillgradientcolor', 'rgba(0,0,0,0)'); Node187.a('node.fillgradient', ''); if (Node187type !== 'rect') { Node187.a('node.arcFrom', parseFloat('@arcFrom@')); Node187.a('node.arcTo', parseFloat('@arcTo@')); Node187.a('node.arcClose', '@arcClose@' === 'true' ? true : false); } if (Node187type === 'arc') { Node187.a('node.arcOval', true); } Node187.setRotation(0*Math.PI/180); Node187.borderWidth = Node187BorderWidth; Node187.borderFillwidth = Node187BorderWidth; dataModel.add(Node187); Node187._nodename = 'Node187' Node187._nodeType = 'rect'; zoomNodeList.push({ node: Node187, attr: 'node.borderwidth' }); (function (node, _img) { var setWidth = node.setWidth, setHeight = node.setHeight; node.setWidth = function (width) { if (width === this.getWidth()) return ; var height = this.getHeight(); this.a('node.width', width); this.a('node.rect', [0,0,width, height]); setWidth.apply(this, arguments); } node.setHeight = function (height) { if (height === this.getHeight()) return ; var width = this.getWidth(); this.a('node.height', height); this.a('node.rect', [0,0,width, height]); setHeight.apply(this, arguments); } })(Node187, Node187.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node188 = new ht.Node(); var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 15.99996*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 25*_ratio.ratioY; (function () { if (Node188align === 'left') { Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9; Node188textWidth = Node188width; Node188lineStart = 1; } else if (Node188align === 'right') { Node188textStart = 0; Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2; Node188lineStart = (Node188width - (ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node188align === 'center') { Node188textStart = -3; Node188textWidth = Node188width; Node188lineStart = Node188width - ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width - 11; } })(); Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"')) Node188.setPosition(1513*ratio.ratioX, 85*ratio.ratioY); Node188.setWidth(Node188width); Node188.setHeight(Node188height); Node188._nodeType = 'text'; Node188._disallowEvert = true; Node188.setRotation(0*Math.PI/180); Node188.a('node.width', Node188width); Node188.a('node.height', Node188height); Node188.a('node.rect', [0, 0, Node188width, Node188height]); Node188.a('node.bordercolor','rgba(0,0,0,1)'); Node188.a('node.borderwidth', 0); Node188.a('node.background','' || 'rgba(0,0,0,0)'); Node188.a('node.gradient',''); Node188.a('node.gradientcolor',''); Node188.a('node.text','0'); Node188.a('node.textalign','left'); Node188.a('node.textvAlign','middle'); Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]); Node188.a('node.color','rgba(0,0,0,1)'); Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"'); Node188.a('node.textvisible',true); Node188.a('node.linefeed',false); if (false) { Node188.a('node.textfunc',function(g) { g.beginPath(); var str=Node188.a('node.text') || '0'; var color=Node188.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node188width,Node188height,15.99996*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g); }); } if (false) { Node188.a('node.underlinepoints',[Node188lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]); Node188.a('node.underlinevisible',false); Node188.a('node.underlineBorderWidth', 1); } dataModel.add(Node188); zoomNodeList.push({ node: Node188, borderWidth: 0, attr: 'node.borderwidth' }); var Node189; (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'); Node189 = new ht.Node(); Node189.setPosition(1757*ratio.ratioX, 70*ratio.ratioY); Node189.setSize(9*ratioX, 60*ratioY); Node189.setImage('imgimage//page_list_box_left_red.jpg'); Node189.setRotation(0*Math.PI/180); Node189._zoomBy = 'Default'; Node189._nodeType = 'image'; Node189._disallowEvert = true; dataModel.add(Node189); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node190 = new ht.Node(); var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 15.99996*_ratio.ratioY,Node190width = 29*_ratio.ratioX, Node190height = 25*_ratio.ratioY; (function () { if (Node190align === 'left') { Node190textStart = Node190fontSize * 0.2 > 2 ? Node190fontSize * 0.2 - 4 : Node190fontSize * 0.2 - 9; Node190textWidth = Node190width; Node190lineStart = 1; } else if (Node190align === 'right') { Node190textStart = 0; Node190textWidth =Node190fontSize <= 8 ? Node190width + Node190fontSize * 0.2 + 6 : Node190width - Node190fontSize * 0.2; Node190lineStart = (Node190width - (ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node190align === 'center') { Node190textStart = -3; Node190textWidth = Node190width; Node190lineStart = Node190width - ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width - 11; } })(); Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, ' '+ Node190fontSize + 'px "Arial"')) Node190.setPosition(1789*ratio.ratioX, 85*ratio.ratioY); Node190.setWidth(Node190width); Node190.setHeight(Node190height); Node190._nodeType = 'text'; Node190._disallowEvert = true; Node190.setRotation(0*Math.PI/180); Node190.a('node.width', Node190width); Node190.a('node.height', Node190height); Node190.a('node.rect', [0, 0, Node190width, Node190height]); Node190.a('node.bordercolor','rgba(0,0,0,1)'); Node190.a('node.borderwidth', 0); Node190.a('node.background','' || 'rgba(0,0,0,0)'); Node190.a('node.gradient',''); Node190.a('node.gradientcolor',''); Node190.a('node.text','0'); Node190.a('node.textalign','left'); Node190.a('node.textvAlign','middle'); Node190.a('node.textrect', [Node190textStart, 0, Node190textWidth, Node190height]); Node190.a('node.color','rgba(0,0,0,1)'); Node190.a('node.font',' '+ Node190fontSize + 'px "Arial"'); Node190.a('node.textvisible',true); Node190.a('node.linefeed',false); if (false) { Node190.a('node.textfunc',function(g) { g.beginPath(); var str=Node190.a('node.text') || '0'; var color=Node190.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node190width,Node190height,15.99996*_ratio.ratioY,"left",color,' '+ Node190fontSize + 'px "Arial"', 0,g); }); } if (false) { Node190.a('node.underlinepoints',[Node190lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width + 6, (Node190height - Node190fontSize) * 0.5*_ratio.ratioY + Node190fontSize + 2 ]); Node190.a('node.underlinevisible',false); Node190.a('node.underlineBorderWidth', 1); } dataModel.add(Node190); zoomNodeList.push({ node: Node190, borderWidth: 0, attr: 'node.borderwidth' }); var Node191; (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'); Node191 = new ht.Node(); Node191.setPosition(1757*ratio.ratioX, 131*ratio.ratioY); Node191.setSize(9*ratioX, 60*ratioY); Node191.setImage('imgimage//page_list_box_left_black.jpg'); Node191.setRotation(0*Math.PI/180); Node191._zoomBy = 'Default'; Node191._nodeType = 'image'; Node191._disallowEvert = true; dataModel.add(Node191); })(); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node192 = new ht.Node(); var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 13.3333*_ratio.ratioY,Node192width = 47*_ratio.ratioX, Node192height = 38*_ratio.ratioY; (function () { if (Node192align === 'left') { Node192textStart = Node192fontSize * 0.2 > 2 ? Node192fontSize * 0.2 - 4 : Node192fontSize * 0.2 - 9; Node192textWidth = Node192width; Node192lineStart = 1; } else if (Node192align === 'right') { Node192textStart = 0; Node192textWidth =Node192fontSize <= 8 ? Node192width + Node192fontSize * 0.2 + 6 : Node192width - Node192fontSize * 0.2; Node192lineStart = (Node192width - (ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node192align === 'center') { Node192textStart = -3; Node192textWidth = Node192width; Node192lineStart = Node192width - ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width - 11; } })(); Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, 'bold '+ Node192fontSize + 'px "Arial"')) Node192.setPosition(1788*ratio.ratioX, 114*ratio.ratioY); Node192.setWidth(Node192width); Node192.setHeight(Node192height); Node192._nodeType = 'text'; Node192._disallowEvert = true; Node192.setRotation(0*Math.PI/180); Node192.a('node.width', Node192width); Node192.a('node.height', Node192height); Node192.a('node.rect', [0, 0, Node192width, Node192height]); Node192.a('node.bordercolor','rgba(0,0,0,1)'); Node192.a('node.borderwidth', 0); Node192.a('node.background','' || 'rgba(0,0,0,0)'); Node192.a('node.gradient',''); Node192.a('node.gradientcolor',''); Node192.a('node.text','离线'); Node192.a('node.textalign','left'); Node192.a('node.textvAlign','middle'); Node192.a('node.textrect', [Node192textStart, 0, Node192textWidth, Node192height]); Node192.a('node.color','rgba(0,0,0,1)'); Node192.a('node.font','bold '+ Node192fontSize + 'px "Arial"'); Node192.a('node.textvisible',true); Node192.a('node.linefeed',false); if (false) { Node192.a('node.textfunc',function(g) { g.beginPath(); var str=Node192.a('node.text') || '离线'; var color=Node192.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192width,Node192height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node192fontSize + 'px "Arial"', 0,g); }); } if (false) { Node192.a('node.underlinepoints',[Node192lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node192fontSize + 'px "Arial"').width + 6, (Node192height - Node192fontSize) * 0.5*_ratio.ratioY + Node192fontSize + 2 ]); Node192.a('node.underlinevisible',false); Node192.a('node.underlineBorderWidth', 1); } dataModel.add(Node192); zoomNodeList.push({ node: Node192, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node193 = new ht.Node(); var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'left', Node193fontSize = 15.99996*_ratio.ratioY,Node193width = 29*_ratio.ratioX, Node193height = 25*_ratio.ratioY; (function () { if (Node193align === 'left') { Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9; Node193textWidth = Node193width; Node193lineStart = 1; } else if (Node193align === 'right') { Node193textStart = 0; Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2; Node193lineStart = (Node193width - (ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node193align === 'center') { Node193textStart = -3; Node193textWidth = Node193width; Node193lineStart = Node193width - ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width - 11; } })(); Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, ' '+ Node193fontSize + 'px "Arial"')) Node193.setPosition(1789*ratio.ratioX, 146*ratio.ratioY); Node193.setWidth(Node193width); Node193.setHeight(Node193height); Node193._nodeType = 'text'; Node193._disallowEvert = true; Node193.setRotation(0*Math.PI/180); Node193.a('node.width', Node193width); Node193.a('node.height', Node193height); Node193.a('node.rect', [0, 0, Node193width, Node193height]); Node193.a('node.bordercolor','rgba(0,0,0,1)'); Node193.a('node.borderwidth', 0); Node193.a('node.background','' || 'rgba(0,0,0,0)'); Node193.a('node.gradient',''); Node193.a('node.gradientcolor',''); Node193.a('node.text','0'); Node193.a('node.textalign','left'); Node193.a('node.textvAlign','middle'); Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]); Node193.a('node.color','rgba(0,0,0,1)'); Node193.a('node.font',' '+ Node193fontSize + 'px "Arial"'); Node193.a('node.textvisible',true); Node193.a('node.linefeed',false); if (false) { Node193.a('node.textfunc',function(g) { g.beginPath(); var str=Node193.a('node.text') || '0'; var color=Node193.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node193width,Node193height,15.99996*_ratio.ratioY,"left",color,' '+ Node193fontSize + 'px "Arial"', 0,g); }); } if (false) { Node193.a('node.underlinepoints',[Node193lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]); Node193.a('node.underlinevisible',false); Node193.a('node.underlineBorderWidth', 1); } dataModel.add(Node193); zoomNodeList.push({ node: Node193, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node194 = new ht.Node(); var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 77*_ratio.ratioX, Node194height = 26*_ratio.ratioY; (function () { if (Node194align === 'left') { Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9; Node194textWidth = Node194width; Node194lineStart = 1; } else if (Node194align === 'right') { Node194textStart = 0; Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2; Node194lineStart = (Node194width - (ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node194align === 'center') { Node194textStart = -3; Node194textWidth = Node194width; Node194lineStart = Node194width - ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width - 11; } })(); Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "微软雅黑"')) Node194.setPosition(232*ratio.ratioX, 149*ratio.ratioY); Node194.setWidth(Node194width); Node194.setHeight(Node194height); Node194._nodeType = 'text'; Node194._disallowEvert = true; Node194.setRotation(0*Math.PI/180); Node194.a('node.width', Node194width); Node194.a('node.height', Node194height); Node194.a('node.rect', [0, 0, Node194width, Node194height]); Node194.a('node.bordercolor','rgba(0,0,0,1)'); Node194.a('node.borderwidth', 0); Node194.a('node.background','' || 'rgba(0,0,0,0)'); Node194.a('node.gradient',''); Node194.a('node.gradientcolor',''); Node194.a('node.text','上网电量'); Node194.a('node.textalign','left'); Node194.a('node.textvAlign','middle'); Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]); Node194.a('node.color','rgba(0,0,0,1)'); Node194.a('node.font',' '+ Node194fontSize + 'px "微软雅黑"'); Node194.a('node.textvisible',true); Node194.a('node.linefeed',false); if (false) { Node194.a('node.textfunc',function(g) { g.beginPath(); var str=Node194.a('node.text') || '上网电量'; var color=Node194.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node194.a('node.underlinepoints',[Node194lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]); Node194.a('node.underlinevisible',false); Node194.a('node.underlineBorderWidth', 1); } dataModel.add(Node194); zoomNodeList.push({ node: Node194, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node195 = new ht.Node(); var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 13.3333*_ratio.ratioY,Node195width = 113*_ratio.ratioX, Node195height = 26*_ratio.ratioY; (function () { if (Node195align === 'left') { Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9; Node195textWidth = Node195width; Node195lineStart = 1; } else if (Node195align === 'right') { Node195textStart = 0; Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2; Node195lineStart = (Node195width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node195align === 'center') { Node195textStart = -3; Node195textWidth = Node195width; Node195lineStart = Node195width - ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width - 11; } })(); Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, ' '+ Node195fontSize + 'px "微软雅黑"')) Node195.setPosition(537*ratio.ratioX, 150*ratio.ratioY); Node195.setWidth(Node195width); Node195.setHeight(Node195height); Node195._nodeType = 'text'; Node195._disallowEvert = true; Node195.setRotation(0*Math.PI/180); Node195.a('node.width', Node195width); Node195.a('node.height', Node195height); Node195.a('node.rect', [0, 0, Node195width, Node195height]); Node195.a('node.bordercolor','rgba(0,0,0,1)'); Node195.a('node.borderwidth', 0); Node195.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)'); Node195.a('node.gradient',''); Node195.a('node.gradientcolor','rgba(255,255,255,0)'); Node195.a('node.text','日性能损失电量'); Node195.a('node.textalign','center'); Node195.a('node.textvAlign','middle'); Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]); Node195.a('node.color','rgba(0,0,0,1)'); Node195.a('node.font',' '+ Node195fontSize + 'px "微软雅黑"'); Node195.a('node.textvisible',true); Node195.a('node.linefeed',false); if (false) { Node195.a('node.textfunc',function(g) { g.beginPath(); var str=Node195.a('node.text') || '日性能损失电量'; var color=Node195.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195width,Node195height,13.3333*_ratio.ratioY,"center",color,' '+ Node195fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node195.a('node.underlinepoints',[Node195lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]); Node195.a('node.underlinevisible',false); Node195.a('node.underlineBorderWidth', 1); } dataModel.add(Node195); zoomNodeList.push({ node: Node195, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node196 = new ht.Node(); var Node196textStart, Node196textWidth, Node196lineStart, Node196align = 'center', Node196fontSize = 13.3333*_ratio.ratioY,Node196width = 110*_ratio.ratioX, Node196height = 26*_ratio.ratioY; (function () { if (Node196align === 'left') { Node196textStart = Node196fontSize * 0.2 > 2 ? Node196fontSize * 0.2 - 4 : Node196fontSize * 0.2 - 9; Node196textWidth = Node196width; Node196lineStart = 1; } else if (Node196align === 'right') { Node196textStart = 0; Node196textWidth =Node196fontSize <= 8 ? Node196width + Node196fontSize * 0.2 + 6 : Node196width - Node196fontSize * 0.2; Node196lineStart = (Node196width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node196align === 'center') { Node196textStart = -3; Node196textWidth = Node196width; Node196lineStart = Node196width - ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width - 11; } })(); Node196.setImage(GD.getTextJSON(Node196width, Node196height, true, false, false, ' '+ Node196fontSize + 'px "微软雅黑"')) Node196.setPosition(818*ratio.ratioX, 150*ratio.ratioY); Node196.setWidth(Node196width); Node196.setHeight(Node196height); Node196._nodeType = 'text'; Node196._disallowEvert = true; Node196.setRotation(0*Math.PI/180); Node196.a('node.width', Node196width); Node196.a('node.height', Node196height); Node196.a('node.rect', [0, 0, Node196width, Node196height]); Node196.a('node.bordercolor','rgba(0,0,0,1)'); Node196.a('node.borderwidth', 0); Node196.a('node.background','' || 'rgba(0,0,0,0)'); Node196.a('node.gradient',''); Node196.a('node.gradientcolor',''); Node196.a('node.text','月性能损失电量'); Node196.a('node.textalign','center'); Node196.a('node.textvAlign','middle'); Node196.a('node.textrect', [Node196textStart, 0, Node196textWidth, Node196height]); Node196.a('node.color','rgba(0,0,0,1)'); Node196.a('node.font',' '+ Node196fontSize + 'px "微软雅黑"'); Node196.a('node.textvisible',true); Node196.a('node.linefeed',false); if (false) { Node196.a('node.textfunc',function(g) { g.beginPath(); var str=Node196.a('node.text') || '月性能损失电量'; var color=Node196.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196width,Node196height,13.3333*_ratio.ratioY,"center",color,' '+ Node196fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node196.a('node.underlinepoints',[Node196lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width + 6, (Node196height - Node196fontSize) * 0.5*_ratio.ratioY + Node196fontSize + 2 ]); Node196.a('node.underlinevisible',false); Node196.a('node.underlineBorderWidth', 1); } dataModel.add(Node196); zoomNodeList.push({ node: Node196, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node197 = new ht.Node(); var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'center', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 110*_ratio.ratioX, Node197height = 26*_ratio.ratioY; (function () { if (Node197align === 'left') { Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9; Node197textWidth = Node197width; Node197lineStart = 1; } else if (Node197align === 'right') { Node197textStart = 0; Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2; Node197lineStart = (Node197width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width + 6)) * 0.5; } else if (Node197align === 'center') { Node197textStart = -3; Node197textWidth = Node197width; Node197lineStart = Node197width - ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width - 11; } })(); Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "微软雅黑"')) Node197.setPosition(1098*ratio.ratioX, 149*ratio.ratioY); Node197.setWidth(Node197width); Node197.setHeight(Node197height); Node197._nodeType = 'text'; Node197._disallowEvert = true; Node197.setRotation(0*Math.PI/180); Node197.a('node.width', Node197width); Node197.a('node.height', Node197height); Node197.a('node.rect', [0, 0, Node197width, Node197height]); Node197.a('node.bordercolor','rgba(0,0,0,1)'); Node197.a('node.borderwidth', 0); Node197.a('node.background','' || 'rgba(0,0,0,0)'); Node197.a('node.gradient',''); Node197.a('node.gradientcolor',''); Node197.a('node.text','年性能损失电量'); Node197.a('node.textalign','center'); Node197.a('node.textvAlign','middle'); Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]); Node197.a('node.color','rgba(0,0,0,1)'); Node197.a('node.font',' '+ Node197fontSize + 'px "微软雅黑"'); Node197.a('node.textvisible',true); Node197.a('node.linefeed',false); if (false) { Node197.a('node.textfunc',function(g) { g.beginPath(); var str=Node197.a('node.text') || '年性能损失电量'; var color=Node197.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node197width,Node197height,13.3333*_ratio.ratioY,"center",color,' '+ Node197fontSize + 'px "微软雅黑"', 0,g); }); } if (false) { Node197.a('node.underlinepoints',[Node197lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]); Node197.a('node.underlinevisible',false); Node197.a('node.underlineBorderWidth', 1); } dataModel.add(Node197); zoomNodeList.push({ node: Node197, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node198 = new ht.Node(); var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 47*_ratio.ratioX, Node198height = 38*_ratio.ratioY; (function () { if (Node198align === 'left') { Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9; Node198textWidth = Node198width; Node198lineStart = 1; } else if (Node198align === 'right') { Node198textStart = 0; Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2; Node198lineStart = (Node198width - (ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node198align === 'center') { Node198textStart = -3; Node198textWidth = Node198width; Node198lineStart = Node198width - ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width - 11; } })(); Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, 'bold '+ Node198fontSize + 'px "Arial"')) Node198.setPosition(1512*ratio.ratioX, 52*ratio.ratioY); Node198.setWidth(Node198width); Node198.setHeight(Node198height); Node198._nodeType = 'text'; Node198._disallowEvert = true; Node198.setRotation(0*Math.PI/180); Node198.a('node.width', Node198width); Node198.a('node.height', Node198height); Node198.a('node.rect', [0, 0, Node198width, Node198height]); Node198.a('node.bordercolor','rgba(0,0,0,1)'); Node198.a('node.borderwidth', 0); Node198.a('node.background','' || 'rgba(0,0,0,0)'); Node198.a('node.gradient',''); Node198.a('node.gradientcolor',''); Node198.a('node.text','运行'); Node198.a('node.textalign','left'); Node198.a('node.textvAlign','middle'); Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]); Node198.a('node.color','rgba(0,0,0,1)'); Node198.a('node.font','bold '+ Node198fontSize + 'px "Arial"'); Node198.a('node.textvisible',true); Node198.a('node.linefeed',false); if (false) { Node198.a('node.textfunc',function(g) { g.beginPath(); var str=Node198.a('node.text') || '运行'; var color=Node198.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node198fontSize + 'px "Arial"', 0,g); }); } if (false) { Node198.a('node.underlinepoints',[Node198lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]); Node198.a('node.underlinevisible',false); Node198.a('node.underlineBorderWidth', 1); } dataModel.add(Node198); zoomNodeList.push({ node: Node198, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node199 = new ht.Node(); var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 13.3333*_ratio.ratioY,Node199width = 47*_ratio.ratioX, Node199height = 38*_ratio.ratioY; (function () { if (Node199align === 'left') { Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9; Node199textWidth = Node199width; Node199lineStart = 1; } else if (Node199align === 'right') { Node199textStart = 0; Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2; Node199lineStart = (Node199width - (ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node199align === 'center') { Node199textStart = -3; Node199textWidth = Node199width; Node199lineStart = Node199width - ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width - 11; } })(); Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"')) Node199.setPosition(1650*ratio.ratioX, 52*ratio.ratioY); Node199.setWidth(Node199width); Node199.setHeight(Node199height); Node199._nodeType = 'text'; Node199._disallowEvert = true; Node199.setRotation(0*Math.PI/180); Node199.a('node.width', Node199width); Node199.a('node.height', Node199height); Node199.a('node.rect', [0, 0, Node199width, Node199height]); Node199.a('node.bordercolor','rgba(0,0,0,1)'); Node199.a('node.borderwidth', 0); Node199.a('node.background','' || 'rgba(0,0,0,0)'); Node199.a('node.gradient',''); Node199.a('node.gradientcolor',''); Node199.a('node.text','待机'); Node199.a('node.textalign','left'); Node199.a('node.textvAlign','middle'); Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]); Node199.a('node.color','rgba(0,0,0,1)'); Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"'); Node199.a('node.textvisible',true); Node199.a('node.linefeed',false); if (false) { Node199.a('node.textfunc',function(g) { g.beginPath(); var str=Node199.a('node.text') || '待机'; var color=Node199.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node199width,Node199height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g); }); } if (false) { Node199.a('node.underlinepoints',[Node199lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]); Node199.a('node.underlinevisible',false); Node199.a('node.underlineBorderWidth', 1); } dataModel.add(Node199); zoomNodeList.push({ node: Node199, borderWidth: 0, attr: 'node.borderwidth' }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio); var Node200 = new ht.Node(); var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 47*_ratio.ratioX, Node200height = 38*_ratio.ratioY; (function () { if (Node200align === 'left') { Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9; Node200textWidth = Node200width; Node200lineStart = 1; } else if (Node200align === 'right') { Node200textStart = 0; Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2; Node200lineStart = (Node200width - (ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5; } else if (Node200align === 'center') { Node200textStart = -3; Node200textWidth = Node200width; Node200lineStart = Node200width - ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width - 11; } })(); Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, 'bold '+ Node200fontSize + 'px "Arial"')) Node200.setPosition(1788*ratio.ratioX, 52*ratio.ratioY); Node200.setWidth(Node200width); Node200.setHeight(Node200height); Node200._nodeType = 'text'; Node200._disallowEvert = true; Node200.setRotation(0*Math.PI/180); Node200.a('node.width', Node200width); Node200.a('node.height', Node200height); Node200.a('node.rect', [0, 0, Node200width, Node200height]); Node200.a('node.bordercolor','rgba(0,0,0,1)'); Node200.a('node.borderwidth', 0); Node200.a('node.background','' || 'rgba(0,0,0,0)'); Node200.a('node.gradient',''); Node200.a('node.gradientcolor',''); Node200.a('node.text','故障'); Node200.a('node.textalign','left'); Node200.a('node.textvAlign','middle'); Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]); Node200.a('node.color','rgba(0,0,0,1)'); Node200.a('node.font','bold '+ Node200fontSize + 'px "Arial"'); Node200.a('node.textvisible',true); Node200.a('node.linefeed',false); if (false) { Node200.a('node.textfunc',function(g) { g.beginPath(); var str=Node200.a('node.text') || '故障'; var color=Node200.a('node.color') || 'rgba(0,0,0,1)'; canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node200fontSize + 'px "Arial"', 0,g); }); } if (false) { Node200.a('node.underlinepoints',[Node200lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]); Node200.a('node.underlinevisible',false); Node200.a('node.underlineBorderWidth', 1); } dataModel.add(Node200); zoomNodeList.push({ node: Node200, borderWidth: 0, attr: 'node.borderwidth' }); /*@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,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxs':PageBackground_ylyxs,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}}); ;(typeof Node0_0 != "undefined") && (Node0_0.localDynamicVar = function ( ) {return {'zhuangtai':Node0_0_zhuangtai,'bianhao':Node0_0_bianhao,'fengsu':Node0_0_fengsu,'gonglv':Node0_0_gonglv,}}); ;(typeof Node0_1 != "undefined") && (Node0_1.localDynamicVar = function ( ) {return {'zhuangtai':Node0_1_zhuangtai,'bianhao':Node0_1_bianhao,'fengsu':Node0_1_fengsu,'gonglv':Node0_1_gonglv,}}); ;(typeof Node0_2 != "undefined") && (Node0_2.localDynamicVar = function ( ) {return {'zhuangtai':Node0_2_zhuangtai,'bianhao':Node0_2_bianhao,'fengsu':Node0_2_fengsu,'gonglv':Node0_2_gonglv,}}); ;(typeof Node0_3 != "undefined") && (Node0_3.localDynamicVar = function ( ) {return {'zhuangtai':Node0_3_zhuangtai,'bianhao':Node0_3_bianhao,'fengsu':Node0_3_fengsu,'gonglv':Node0_3_gonglv,}}); ;(typeof Node0_4 != "undefined") && (Node0_4.localDynamicVar = function ( ) {return {'zhuangtai':Node0_4_zhuangtai,'bianhao':Node0_4_bianhao,'fengsu':Node0_4_fengsu,'gonglv':Node0_4_gonglv,}}); ;(typeof Node0_5 != "undefined") && (Node0_5.localDynamicVar = function ( ) {return {'zhuangtai':Node0_5_zhuangtai,'bianhao':Node0_5_bianhao,'fengsu':Node0_5_fengsu,'gonglv':Node0_5_gonglv,}}); ;(typeof Node0_6 != "undefined") && (Node0_6.localDynamicVar = function ( ) {return {'zhuangtai':Node0_6_zhuangtai,'bianhao':Node0_6_bianhao,'fengsu':Node0_6_fengsu,'gonglv':Node0_6_gonglv,}}); ;(typeof Node0_7 != "undefined") && (Node0_7.localDynamicVar = function ( ) {return {'zhuangtai':Node0_7_zhuangtai,'bianhao':Node0_7_bianhao,'fengsu':Node0_7_fengsu,'gonglv':Node0_7_gonglv,}}); ;(typeof Node0_8 != "undefined") && (Node0_8.localDynamicVar = function ( ) {return {'zhuangtai':Node0_8_zhuangtai,'bianhao':Node0_8_bianhao,'fengsu':Node0_8_fengsu,'gonglv':Node0_8_gonglv,}}); ;(typeof Node0_9 != "undefined") && (Node0_9.localDynamicVar = function ( ) {return {'zhuangtai':Node0_9_zhuangtai,'bianhao':Node0_9_bianhao,'fengsu':Node0_9_fengsu,'gonglv':Node0_9_gonglv,}}); ;(typeof Node0_10 != "undefined") && (Node0_10.localDynamicVar = function ( ) {return {'zhuangtai':Node0_10_zhuangtai,'bianhao':Node0_10_bianhao,'fengsu':Node0_10_fengsu,'gonglv':Node0_10_gonglv,}}); ;(typeof Node0_11 != "undefined") && (Node0_11.localDynamicVar = function ( ) {return {'zhuangtai':Node0_11_zhuangtai,'bianhao':Node0_11_bianhao,'fengsu':Node0_11_fengsu,'gonglv':Node0_11_gonglv,}}); ;(typeof Node0_12 != "undefined") && (Node0_12.localDynamicVar = function ( ) {return {'zhuangtai':Node0_12_zhuangtai,'bianhao':Node0_12_bianhao,'fengsu':Node0_12_fengsu,'gonglv':Node0_12_gonglv,}}); ;(typeof Node0_13 != "undefined") && (Node0_13.localDynamicVar = function ( ) {return {'zhuangtai':Node0_13_zhuangtai,'bianhao':Node0_13_bianhao,'fengsu':Node0_13_fengsu,'gonglv':Node0_13_gonglv,}}); ;(typeof Node0_14 != "undefined") && (Node0_14.localDynamicVar = function ( ) {return {'zhuangtai':Node0_14_zhuangtai,'bianhao':Node0_14_bianhao,'fengsu':Node0_14_fengsu,'gonglv':Node0_14_gonglv,}}); ;(typeof Node0_15 != "undefined") && (Node0_15.localDynamicVar = function ( ) {return {'zhuangtai':Node0_15_zhuangtai,'bianhao':Node0_15_bianhao,'fengsu':Node0_15_fengsu,'gonglv':Node0_15_gonglv,}}); ;(typeof Node0_16 != "undefined") && (Node0_16.localDynamicVar = function ( ) {return {'zhuangtai':Node0_16_zhuangtai,'bianhao':Node0_16_bianhao,'fengsu':Node0_16_fengsu,'gonglv':Node0_16_gonglv,}}); ;(typeof Node0_17 != "undefined") && (Node0_17.localDynamicVar = function ( ) {return {'zhuangtai':Node0_17_zhuangtai,'bianhao':Node0_17_bianhao,'fengsu':Node0_17_fengsu,'gonglv':Node0_17_gonglv,}}); ;(typeof Node0_18 != "undefined") && (Node0_18.localDynamicVar = function ( ) {return {'zhuangtai':Node0_18_zhuangtai,'bianhao':Node0_18_bianhao,'fengsu':Node0_18_fengsu,'gonglv':Node0_18_gonglv,}}); ;(typeof Node0_19 != "undefined") && (Node0_19.localDynamicVar = function ( ) {return {'zhuangtai':Node0_19_zhuangtai,'bianhao':Node0_19_bianhao,'fengsu':Node0_19_fengsu,'gonglv':Node0_19_gonglv,}}); ;(typeof Node0_20 != "undefined") && (Node0_20.localDynamicVar = function ( ) {return {'zhuangtai':Node0_20_zhuangtai,'bianhao':Node0_20_bianhao,'fengsu':Node0_20_fengsu,'gonglv':Node0_20_gonglv,}}); ;(typeof Node0_21 != "undefined") && (Node0_21.localDynamicVar = function ( ) {return {'zhuangtai':Node0_21_zhuangtai,'bianhao':Node0_21_bianhao,'fengsu':Node0_21_fengsu,'gonglv':Node0_21_gonglv,}}); ;(typeof Node0_22 != "undefined") && (Node0_22.localDynamicVar = function ( ) {return {'zhuangtai':Node0_22_zhuangtai,'bianhao':Node0_22_bianhao,'fengsu':Node0_22_fengsu,'gonglv':Node0_22_gonglv,}}); ;(typeof Node0_23 != "undefined") && (Node0_23.localDynamicVar = function ( ) {return {'zhuangtai':Node0_23_zhuangtai,'bianhao':Node0_23_bianhao,'fengsu':Node0_23_fengsu,'gonglv':Node0_23_gonglv,}}); if(typeof(Node3.borderWidth)!="undefined"){setDashStyle(Node3,"Node3",'NoDash',Node3.borderWidth);} if(typeof(Node5.borderWidth)!="undefined"){setDashStyle(Node5,"Node5",'NoDash',Node5.borderWidth);} if(typeof(Node7.borderWidth)!="undefined"){setDashStyle(Node7,"Node7",'NoDash',Node7.borderWidth);} if(typeof(Node9.borderWidth)!="undefined"){setDashStyle(Node9,"Node9",'NoDash',Node9.borderWidth);} if((0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);} if((0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);} if((0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);} if((0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);} if((0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);} if((0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);} if((0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);} if((0 )){Node30.s('2d.visible',true);}else{Node30.s('2d.visible',false);} /*@PageInit@*/ function DatarefreshTask(callback){ /*@DataVarText@*/ callback = callback || function () {}; if(varList.length <= 0){ return callback(); } var ajaxdata = {}; var ajaxtype = 'GET'; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; var snapshots = eval(data); //判断快照是否为空 if (snapshots != null) { for (var i = 0; i < snapshots.length; i++) { var index = varList.indexOf (snapshots[i].TagName); var tagName = snapshots[i].TagName.toLowerCase(); if(index >= 0 && index< varList.length){ if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){ varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value); VarSnapshotTime[tagName]=snapshots[i].Time; }else{ varListObj[tagName] = VarValue[index] = snapshots[i].Value; VarSnapshotTime[tagName]=snapshots[i].Time; } } } } }, complete: function (XHR, TS) { XHR = null; callback(); } } ); } ;(function () { var i = 0; function getdata() { DatarefreshTask(function () { i++; Timer1sCmd(); Timer100msCmd(); Timer500msCmd(); if (i <= 4) { setTimeout(getdata, 50); } }); } setTimeout(getdata, 20); })(); intervalTimers.push(setInterval(DatarefreshTask, 500)); /*@DataRefresh@*/ function GetTagsProperty(){ /*@DataVarText@*/ if(varList.length <= 0){ return; } var ajaxtype = 'GET'; var ajaxdata = {}; var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName="; var para = ""; for(var i=0;i 2000) { para = encodeURIComponent(para); str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property"; ajaxdata = {'': para}; ajaxtype = 'POST'; } $.ajax({ url: str , type: ajaxtype, dataType: 'json', data: ajaxdata, cache: false, success: function (data) { if (data === null) return; for(var i=0;i0) {if(((sxxny==1)>0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}} if((1 )>0) {if(((sxxny==0)>0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==1)>0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}} if((1 )>0) {if(((yygjb==0)>0 )){Node19.s('2d.visible',true);}else{Node19.s('2d.visible',false);}} if((1 )>0) {if(((plhts==1)>0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}} if((1 )>0) {if(((plhts==0)>0 )){Node21.s('2d.visible',true);}else{Node21.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==1)>0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}} if((1 )>0) {if(((tqwns==0)>0 )){Node23.s('2d.visible',true);}else{Node23.s('2d.visible',false);}} if((1 )>0) {if(((gljf==1)>0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}} if((1 )>0) {if(((gljf==0)>0 )){Node25.s('2d.visible',true);}else{Node25.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==1)>0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}} if((1 )>0) {if(((hyfy==0)>0 )){Node27.s('2d.visible',true);}else{Node27.s('2d.visible',false);}} if((1 )>0) {if(((llbts==1)>0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);}} if((1 )>0) {if(((llbts==0)>0 )){Node29.s('2d.visible',true);}else{Node29.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==1)>0 )){Node30.s('2d.visible',true);}else{Node30.s('2d.visible',false);}} if((1 )>0) {if(((ygcls==0)>0 )){Node31.s('2d.visible',true);}else{Node31.s('2d.visible',false);}} if((1 )>0) {if(((A==0)>0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}} if((1 )>0) {if(((A==0)>0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}} if((1 )>0) {if(((B==0)>0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}} if((1 )>0) {if(((B==0)>0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}} if((1 )>0) {if(((C==0)>0 )){Node34_0.s('2d.visible',true);}else{Node34_0.s('2d.visible',false);}} if((1 )>0) {if(((C==0)>0 )){Node34_1.s('2d.visible',true);}else{Node34_1.s('2d.visible',false);}} if((1 )>0) {if(((E==0)>0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}} if((1 )>0) {if(((E==0)>0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}} if((1 )>0) {if(((F==0)>0 )){Node36_0.s('2d.visible',true);}else{Node36_0.s('2d.visible',false);}} if((1 )>0) {if(((F==0)>0 )){Node36_1.s('2d.visible',true);}else{Node36_1.s('2d.visible',false);}} if((1 )>0) {if(((D==0)>0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}} if((1 )>0) {if(((D==0)>0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}} if((1 )>0) {if(((A==1)>0 )){Node38_0.s('2d.visible',true);}else{Node38_0.s('2d.visible',false);}} if((1 )>0) {if(((A==1)>0 )){Node38_1.s('2d.visible',true);}else{Node38_1.s('2d.visible',false);}} if((1 )>0) {if(((B==1)>0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}} if((1 )>0) {if(((B==1)>0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}} if((1 )>0) {if(((C==1)>0 )){Node40_0.s('2d.visible',true);}else{Node40_0.s('2d.visible',false);}} if((1 )>0) {if(((C==1)>0 )){Node40_1.s('2d.visible',true);}else{Node40_1.s('2d.visible',false);}} if((1 )>0) {if(((F==1)>0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}} if((1 )>0) {if(((F==1)>0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}} if((1 )>0) {if(((E==1)>0 )){Node42_0.s('2d.visible',true);}else{Node42_0.s('2d.visible',false);}} if((1 )>0) {if(((E==1)>0 )){Node42_1.s('2d.visible',true);}else{Node42_1.s('2d.visible',false);}} if((1 )>0) {if(((D==1)>0 )){Node43_0.s('2d.visible',true);}else{Node43_0.s('2d.visible',false);}} if((1 )>0) {if(((D==1)>0 )){Node43_1.s('2d.visible',true);}else{Node43_1.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(); Node0_0.refresh1s(Counter1s); Node0_1.refresh1s(Counter1s); Node0_2.refresh1s(Counter1s); Node0_3.refresh1s(Counter1s); Node0_4.refresh1s(Counter1s); Node0_5.refresh1s(Counter1s); Node0_6.refresh1s(Counter1s); Node0_7.refresh1s(Counter1s); Node0_8.refresh1s(Counter1s); Node0_9.refresh1s(Counter1s); Node0_10.refresh1s(Counter1s); Node0_11.refresh1s(Counter1s); Node0_12.refresh1s(Counter1s); Node0_13.refresh1s(Counter1s); Node0_14.refresh1s(Counter1s); Node0_15.refresh1s(Counter1s); Node0_16.refresh1s(Counter1s); Node0_17.refresh1s(Counter1s); Node0_18.refresh1s(Counter1s); Node0_19.refresh1s(Counter1s); Node0_20.refresh1s(Counter1s); Node0_21.refresh1s(Counter1s); Node0_22.refresh1s(Counter1s); Node0_23.refresh1s(Counter1s); /*@Timer1000ms@*/ // graphView.redraw(); } Timer1sCmd(); intervalTimers.push(setInterval(Timer1sCmd, 1000)); function Timer5sCmd() { Counter5s++; Node0_0.refresh5s(); Node0_1.refresh5s(); Node0_2.refresh5s(); Node0_3.refresh5s(); Node0_4.refresh5s(); Node0_5.refresh5s(); Node0_6.refresh5s(); Node0_7.refresh5s(); Node0_8.refresh5s(); Node0_9.refresh5s(); Node0_10.refresh5s(); Node0_11.refresh5s(); Node0_12.refresh5s(); Node0_13.refresh5s(); Node0_14.refresh5s(); Node0_15.refresh5s(); Node0_16.refresh5s(); Node0_17.refresh5s(); Node0_18.refresh5s(); Node0_19.refresh5s(); Node0_20.refresh5s(); Node0_21.refresh5s(); Node0_22.refresh5s(); Node0_23.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 === Node18){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 === Node20){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 === Node22){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 === Node24){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 === Node26){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();}} } if(data === Node38_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 === Node38_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 === Node39_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 === Node39_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 === Node40_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 === Node40_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 === Node41_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 === Node41_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 === Node42_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 === Node42_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 === Node43_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 === Node43_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();}} } /*@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 !== Node16&& objMouseOn===Node16){sxxny=0; } if(data !== Node18&& objMouseOn===Node18){yygjb=0; } if(data !== Node20&& objMouseOn===Node20){plhts=0; } if(data !== Node22&& objMouseOn===Node22){tqwns=0; } if(data !== Node24&& objMouseOn===Node24){gljf=0; } if(data !== Node26&& objMouseOn===Node26){hyfy=0; } if(data !== Node28&& objMouseOn===Node28){llbts=0; } if(data !== Node30&& objMouseOn===Node30){ygcls=0; } if(data !== Node38_0&& objMouseOn===Node38_0){A=0; } if(data !== Node38_1&& objMouseOn===Node38_1){A=0; } if(data !== Node39_0&& objMouseOn===Node39_0){B=0; } if(data !== Node39_1&& objMouseOn===Node39_1){B=0; } if(data !== Node40_0&& objMouseOn===Node40_0){C=0; } if(data !== Node40_1&& objMouseOn===Node40_1){C=0; } if(data !== Node41_0&& objMouseOn===Node41_0){F=0; } if(data !== Node41_1&& objMouseOn===Node41_1){F=0; } if(data !== Node42_0&& objMouseOn===Node42_0){E=0; } if(data !== Node42_1&& objMouseOn===Node42_1){E=0; } if(data !== Node43_0&& objMouseOn===Node43_0){D=0; } if(data !== Node43_1&& objMouseOn===Node43_1){D=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 === Node17){sxxny=1; } if(data === Node19){yygjb=1; } if(data === Node21){plhts=1; } if(data === Node23){tqwns=1; } if(data === Node25){gljf=1; } if(data === Node27){hyfy=1; } if(data === Node29){llbts=1; } if(data === Node31){ygcls=1; } if(data === Node32_0){A=1; } if(data === Node32_1){A=1; } if(data === Node33_0){B=1; } if(data === Node33_1){B=1; } if(data === Node34_0){C=1; } if(data === Node34_1){C=1; } if(data === Node35_0){E=1; } if(data === Node35_1){E=1; } if(data === Node36_0){F=1; } if(data === Node36_1){F=1; } if(data === Node37_0){D=1; } if(data === Node37_1){D=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(); } })(); })(); }