1"use strict";(self.webpackChunksolar_react=self.webpackChunksolar_react||[]).push([[239],{38239:function(t,n,e){e.r(n),e.d(n,{default:function(){return m}});var i=e(29439),a=e(47313),o=e(58467),s=e(55291),c=e(28709),l=e(26537),r=e(59529),d=e(37272),p=e(52422),u=e(27777),h=(e(29287),e(46417));function m(t){var n=t.collapsed,e=t.toggleMenu,m=(0,o.UO)().id;document.title="\u5149\u5b66\u7ed3\u679c "+m.substring(0,4)+" - \u5149\u4f0f\u4eff\u771f\u8ba1\u7b97\u5e73\u53f0";var f=a.useState(n),x=(0,i.Z)(f,2),g=x[0],b=x[1],v=a.useState([[],[],[]]),y=(0,i.Z)(v,2),w=y[0],Z=y[1],j=a.useState([[],[],[]]),_=(0,i.Z)(j,2),k=_[0],B=_[1],C=a.useState([[],[],[]]),E=(0,i.Z)(C,2),S=E[0],F=E[1];function N(t,n,e,i,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:20;return{title:{text:t,left:"center",align:"right"},legend:{orient:"horizontal",right:"center",top:30,data:i.map((function(t){return{name:t,icon:"circle"}}))},grid:{show:!0,tooltip:{show:!0}},tooltip:{trigger:"axis"},toolbox:{show:!0,feature:{dataZoom:{yAxisIndex:"none"},dataView:{readOnly:!1},saveAsImage:{}}},xAxis:{name:n,nameLocation:"middle",nameTextStyle:{padding:20},axisPointer:{show:!0,type:"line",snap:!0},data:o},yAxis:{name:e,nameRotate:90,nameLocation:"middle",nameTextStyle:{padding:c}},color:["#28a6ff","#4ecb73","#000fff","#FF3333"],series:s.map((function(t,n){return{name:a[n],data:t,type:"line",symbol:"none",smooth:!0,showBackground:!0,backgroundStyle:{color:"rgba(220, 220, 220, 0.8)"}}}))}}a.useEffect((function(){(0,u.jm)({calc_id:m}).then((function(t){if("1000"===t.data.code&&t.data.data&&t.data.data.data){var n=t.data.data.data,e=n.Abs,i=n.Gen,a=n.Tra,o=n.Ref,c=n.Gen_r;if(e&&""!==e){var l=[[],[],[]];e.split("\r\n").slice(1).forEach((function(t){var n=t.split(" ");l[0].push(1*n[0]),l[1].push(1*n[1]),l[2].push(1*n[2])})),Z(l)}var r=[[],[],[]];o&&""!==o&&o.split("\r\n").slice(1).forEach((function(t){var n=t.split(" ");r[0].push(1*n[0]),r[1].push(1*n[1])})),a&&""!==a?a.split("\r\n").slice(1).forEach((function(t){var n=t.split(" ");r[2].push(1*n[1])})):r.slice(0,-1),B(r);var d=[[],[],[]];i&&""!==i&&i.split("\n").forEach((function(t){var n=t.split(" "),e=new p.Z(n[1]).dividedBy(new p.Z(1e21)).toFixed();d[0].push(1*n[0]),d[1].push(1*e)})),c&&""!==c?c.split("\n").forEach((function(t,n){var e=t.split(" "),i=new p.Z(e[1]).dividedBy(new p.Z(1e21)).toFixed();d[2].push(1*i)})):d.slice(0,-1),F(d)}else s.ZP.error("\u83b7\u53d6\u8ba1\u7b97\u7ed3\u679c\u6570\u636e\u5931\u8d25\uff1a"+(t.data.msg||"\u672a\u77e5\u9519\u8bef"))})).catch((function(t){console.error("\u83b7\u53d6\u8ba1\u7b97\u7ed3\u679c\u5931\u8d25:",t),s.ZP.error("\u83b7\u53d6\u8ba1\u7b97\u7ed3\u679c\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5")}))}),[]);(0,o.s0)();function A(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.createElement("a");i.download=n,i.style.display="none";var a=new Blob([t],{type:"application/zip"});e&&(a=new Blob([t])),i.href=URL.createObjectURL(a),document.body.appendChild(i),i.click(),document.body.removeChild(i)}return(0,h.jsxs)(h.Fragment,{children:[a.createElement(g?r.Z:d.Z,{className:"trigger",onClick:function(){b(e())}}),(0,h.jsx)(c.Z,{style:{display:"inline-block",margin:"6px 0 10px"},children:"\u9996\u9875-\u7528\u6237\u4e2d\u5fc3-\u5149\u5b66\u7ed3\u679c\u67e5\u770b".split("-").map((function(t,n){return(0,h.jsx)(c.Z.Item,{children:t},n)}))}),(0,h.jsxs)("div",{className:"main_content",children:[(0,h.jsx)("div",{style:{height:"50px",width:"1100px",margin:"30px auto",paddingBottom:"100"},children:(0,h.jsxs)("div",{className:"pull-right btn-group",children:[(0,h.jsx)("button",{className:"btn btn-success btn-sm",onClick:function(){(0,u.S$)({calc_id:m}).then((function(t){A(t.data,"opt_para_"+m+".txt",!0)}))},children:"\u53c2\u6570\u5305\u5bfc\u51fa"}),(0,h.jsx)("button",{className:"btn btn-success btn-sm",onClick:function(){(0,u.YF)({calc_id:m}).then((function(t){A(t.data,"opt_file_"+m+".zip")}))},children:"\u53c2\u6570\u6587\u4ef6"}),(0,h.jsx)("button",{className:"btn btn-success btn-sm",onClick:function(){(0,u.i)({calc_id:m}).then((function(t){A(t.data,"opt_result_"+m+".zip")}))},children:"\u7ed3\u679c\u4e0b\u8f7d"})]})}),(0,h.jsxs)("div",{children:[(0,h.jsx)(l.Z,{option:N("\u5438\u6536\u7387","\u6ce2\u957f (nm)","\u5438\u6536\u7387",["\u5e73\u9762\u5438\u6536\u7387","\u7ed2\u9762\u5438\u6536\u7387"],["\u5e73\u9762\u5438\u6536\u7387","\u7ed2\u9762\u5438\u6536\u7387"],w[0],w.slice(1)),style:{height:"500px",width:"1100px",margin:"30px auto",paddingBottom:"100"}}),(0,h.jsx)(l.Z,{option:N("\u53cd\u5c04\u7387 | \u4f20\u8f93\u7387","\u7a7a\u95f4\u5750\u6807 (nm)","\u53cd\u5c04\u7387 | \u4f20\u8f93\u7387",["\u53cd\u5c04\u7387","\u4f20\u8f93\u7387"],["\u53cd\u5c04\u7387","\u4f20\u8f93\u7387"],k[0],k.slice(1)),style:{height:"500px",width:"1100px",margin:"0 auto",paddingBottom:"100"}}),(0,h.jsx)(l.Z,{option:N("\u751f\u6210\u7387","\u7a7a\u95f4\u5750\u6807 (nm)","\u751f\u6210\u7387 (10^21 /cm^3/s)",["\u5e73\u9762\u751f\u6210\u7387","\u7ed2\u9762\u751f\u6210\u7387"],["\u5e73\u9762\u751f\u6210\u7387","\u7ed2\u9762\u751f\u6210\u7387"],S[0],S.slice(1)),style:{height:"500px",width:"1100px",margin:"30px auto",paddingBottom:"100"}})]})]})]})}},29287:function(){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.