ronds-metadata 1.3.3 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- package/es/comps/CodeEdit/index.d.ts +18 -0
- package/es/comps/CodeEdit/index.js +143 -0
- package/es/comps/DataMine/Line.d.ts +5 -0
- package/es/comps/DataMine/Line.js +70 -0
- package/es/comps/DataMine/index.d.ts +4 -0
- package/es/comps/DataMine/index.js +157 -0
- package/es/comps/DataMine/utils.d.ts +39 -0
- package/es/comps/DataMine/utils.js +219 -0
- package/es/comps/DynamicPorts/comps/NodeElement.js +5 -3
- package/es/comps/DynamicPorts/graph.js +4 -2
- package/es/index.d.ts +2 -1
- package/es/index.js +3 -2
- package/package.json +4 -1
- package/es/comps/MetadataEditV2/components/MetaFieldsEdit.d.ts +0 -6
- package/es/comps/MetadataEditV2/components/MetaFieldsEdit.js +0 -221
- package/es/comps/MetadataEditV2/components/MetaPropsEdit.d.ts +0 -12
- package/es/comps/MetadataEditV2/components/MetaPropsEdit.js +0 -353
- package/es/comps/MetadataEditV2/constant/index.d.ts +0 -24
- package/es/comps/MetadataEditV2/constant/index.js +0 -69
- package/es/comps/MetadataEditV2/hooks/index.d.ts +0 -4
- package/es/comps/MetadataEditV2/hooks/index.js +0 -36
- package/es/comps/MetadataEditV2/index.d.ts +0 -25
- package/es/comps/MetadataEditV2/index.js +0 -263
- package/es/comps/MetadataEditV2/index.less +0 -11
- package/es/comps/MetadataEditV2/type.d.ts +0 -20
@@ -0,0 +1,219 @@
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
2
|
+
/*
|
3
|
+
* @Author: wangxian
|
4
|
+
* @Date: 2023-09-08 15:37:22
|
5
|
+
* @LastEditTime: 2023-09-09 10:04:14
|
6
|
+
*/
|
7
|
+
import { guid } from "@/utils";
|
8
|
+
export var SIGNAL = [{
|
9
|
+
id: 's1',
|
10
|
+
name: '温度1',
|
11
|
+
"x": [1624539277000, 1624606700000, 1624614537000, 1624624036000, 1624630535000, 1624637648000, 1624641593000, 1624650983000, 1624660008000, 1624667557000, 1624673756000, 1624680449000, 1624689678000, 1624694768000, 1624700104000, 1624710878000, 1624715095000, 1624725539000, 1624730514000, 1624737944000, 1624747486000, 1624754577000, 1624757229000, 1624766204000, 1624776556000, 1624779182000, 1624789931000, 1624796436000, 1624802455000, 1624812585000, 1624816269000, 1624823082000, 1624835079000, 1624836406000, 1624859707000, 1624870630000, 1624877443000, 1624883222000, 1624888157000, 1624894475000, 1624903854000, 1624909147000, 1624916415000, 1624926602000, 1624932796000, 1624943358000, 1624950674000, 1624962617000, 1624975650000, 1624982782000, 1624988580000, 1625000794000, 1625071330000, 1625076725000, 1625083856000, 1625091239000, 1625097674000, 1625102152000, 1625115197000, 1625119879000, 1625126765000, 1625137135000, 1625142473000, 1625147080000, 1625159183000, 1625162412000, 1625167951000, 1625177190000, 1625185916000, 1625191819000, 1625200860000, 1625204788000, 1625212647000, 1625221788000, 1625228517000, 1625233293000, 1625241898000, 1625249368000, 1625256844000, 1625265979000, 1625274240000, 1625280319000, 1625289104000, 1625295890000, 1625299058000, 1625304968000, 1625314556000, 1625324582000, 1625331979000, 1625338968000, 1625341632000, 1625353884000, 1625358506000, 1625363185000, 1625382697000, 1625388196000, 1625393665000, 1625400835000, 1625411495000, 1625418363000, 1625422322000, 1625427623000, 1625433375000, 1625447504000, 1625454703000, 1625461902000, 1625469103000, 1625476302000, 1625483502000, 1625490700000, 1625497901000, 1625505100000, 1625512300000, 1625526701000, 1625533901000, 1625541100000, 1625548300000, 1625555499000, 1625562700000, 1625577098000, 1625584298000, 1625591497000, 1625598696000, 1625605896000, 1625613096000, 1625618164000, 1625621578000, 1625627771000, 1625634965000, 1625648422000, 1625656148000, 1625660128000, 1625666855000, 1625676452000, 1625681726000, 1625692020000, 1625697898000, 1625704794000, 1625706962000, 1625716454000, 1625726787000, 1625735229000, 1625738896000, 1625747556000, 1625753235000, 1625761325000, 1625767814000, 1625775096000, 1625778950000, 1625788005000, 1625793358000, 1625801805000, 1625812447000, 1625818056000, 1625825672000, 1625832830000, 1625839521000, 1625848740000, 1625854027000, 1625858379000, 1625867105000, 1625877012000, 1625879812000, 1625886964000, 1625895063000, 1625907333000, 1625910257000, 1625919337000, 1625924256000, 1625930870000, 1625942254000, 1625946965000, 1625953486000, 1625963235000, 1625967461000, 1625976147000, 1625981914000, 1625989493000, 1625996786000, 1626006175000, 1626014470000, 1626019069000, 1626028822000, 1626034525000, 1626044698000, 1626049318000, 1626054716000, 1626064742000, 1626067198000, 1626079196000, 1626081381000, 1626092507000, 1626095756000, 1626108228000, 1626112042000, 1626122497000, 1626127247000, 1626135952000, 1626138981000, 1626151566000, 1626154697000, 1626160531000, 1626172874000, 1626178546000, 1626184683000, 1626193573000, 1626199988000, 1626207234000, 1626214286000, 1626222767000, 1626231311000, 1626239259000, 1626246472000, 1626250509000, 1626259306000, 1626265337000, 1626271553000, 1626280760000, 1626283003000, 1626294990000, 1626299140000, 1626305054000, 1626342722000, 1626348120000, 1626361501000, 1626365980000, 1626375123000, 1626382235000, 1626386887000, 1626394918000, 1626399664000, 1626408043000, 1626419019000, 1626425147000, 1626428785000, 1626435572000, 1626447586000, 1626451761000, 1626457239000, 1626466425000, 1626474139000, 1626481439000, 1626491324000, 1626492569000, 1626500194000, 1626509581000, 1626514675000, 1626524804000, 1626531483000, 1626538002000, 1626548100000, 1626555652000, 1626561636000, 1626570697000, 1626577897000, 1626585096000, 1626592297000, 1626599496000, 1626613895000, 1626621095000, 1626628293000, 1626635494000, 1626642693000, 1626649908000, 1626657106000, 1626664306000, 1626666390000, 1626678706000, 1626693105000, 1626694845000, 1626701670000, 1626710973000, 1626721903000, 1626729104000, 1626735468000, 1626736981000, 1626750704000, 1626757903000, 1626763295000, 1626772302000, 1626779041000, 1626783267000, 1626793900000, 1626801100000, 1626807140000, 1626814119000, 1626817224000, 1626837099000, 1626838011000, 1626847519000, 1626852040000, 1626860142000, 1626866878000, 1626874522000, 1626887494000, 1626909093000, 1626916098000, 1626918572000, 1626928346000, 1626936083000, 1626938136000, 1626945774000, 1626956509000, 1626966689000, 1626973889000, 1626981088000, 1626988288000, 1626995488000, 1626999877000, 1627008357000, 1627015574000, 1627018394000, 1627029741000, 1627034060000, 1627041749000, 1627047355000, 1627056900000, 1627063755000, 1627073705000, 1627076767000, 1627096282000, 1627103481000, 1627110681000, 1627117880000, 1627125080000, 1627132279000, 1627139479000, 1627146678000, 1627153878000, 1627161077000, 1627168277000, 1627175476000, 1627182676000, 1627189876000, 1627197076000, 1627204275000, 1627211474000, 1627218674000, 1627225874000, 1627233074000, 1627240273000, 1627247487000, 1627254687000, 1627261886000, 1627269085000, 1627276286000, 1627283484000, 1627290684000, 1627297883000, 1627305083000, 1627312283000, 1627319483000, 1627326682000, 1627333884000, 1627341084000, 1627348282000, 1627355483000, 1627362682000, 1627377081000, 1627384280000, 1627391479000, 1627398679000, 1627405879000, 1627413078000, 1627420278000, 1627427478000, 1627434677000, 1627441877000, 1627456276000, 1627463475000, 1627470675000, 1627477875000, 1627485075000, 1627492274000, 1627499474000, 1627506673000, 1627513873000, 1627521072000, 1627528271000, 1627535471000, 1627542672000, 1627549870000, 1627557070000, 1627564269000, 1627571469000, 1627578668000, 1627585868000, 1627600267000, 1627607467000, 1627614666000, 1627621866000, 1627629066000, 1627636266000, 1627643465000, 1627650664000, 1627657864000, 1627659734000, 1627668560000, 1627679170000, 1627681318000, 1627689652000, 1627695972000, 1627704410000, 1627711311000, 1627717207000, 1627728396000, 1627735280000, 1627742639000, 1627751162000, 1627754636000, 1627764899000, 1627766092000, 1627775900000, 1627787456000, 1627794655000, 1627801855000, 1627809054000, 1627816254000, 1627823453000, 1627830653000, 1627837852000, 1627845052000, 1627852265000, 1627859466000, 1628154649000, 1628190646000, 1628197845000, 1628205045000, 1628212245000, 1628219444000, 1628226644000, 1628233844000, 1628241056000, 1628248243000, 1628255442000, 1628262643000, 1628269842000, 1628277042000, 1628284241000, 1628291441000, 1628298640000, 1628305839000, 1628313039000, 1628320239000, 1628327438000, 1628334638000, 1628341837000, 1628349036000, 1628356236000, 1628363436000, 1628377835000, 1628385034000, 1628392234000, 1628399434000, 1628406633000, 1628413833000, 1628421032000, 1628428232000, 1628435431000, 1628442631000, 1628449830000, 1628457030000, 1628464244000, 1628471443000, 1628478643000, 1628485843000, 1628493042000, 1628500242000, 1628507442000, 1628514641000, 1628521840000, 1628529040000, 1628536239000, 1628543441000, 1628550640000, 1628557840000, 1628565040000, 1628572239000, 1628579439000, 1628586638000, 1628593838000, 1628601038000, 1628608237000, 1628615437000, 1628622636000, 1628629836000, 1628637035000, 1628644234000, 1628651434000, 1628658634000, 1628673034000, 1628680233000, 1628687432000, 1628694632000, 1628701831000, 1628709031000, 1628723430000, 1628737829000, 1628745028000, 1628752228000, 1628759428000, 1628766627000, 1628773827000, 1628781027000, 1628788227000, 1628795426000, 1628802626000, 1628809824000, 1628817024000, 1628824224000, 1628838623000, 1628845822000, 1628853022000, 1628860222000, 1628867421000, 1628874620000, 1628881820000, 1628889020000, 1628896321000, 1628903520000, 1628910719000, 1628917919000, 1628925119000, 1628932318000, 1628939518000, 1628946717000, 1628953917000, 1628961116000, 1628968316000, 1628975515000, 1628982715000, 1628989915000, 1628997114000, 1629004314000, 1629011514000, 1629018713000, 1629025913000, 1629033112000, 1629040311000, 1629047511000, 1629061910000, 1629069124000, 1629076322000, 1629083522000, 1629097923000, 1629105122000, 1629112321000, 1629133920000, 1629141119000, 1629148319000, 1629155521000, 1629162720000, 1629169920000, 1629177120000, 1629184319000, 1629191518000, 1629198717000, 1629205917000, 1629213116000, 1629220316000, 1629227515000, 1629234715000, 1629241915000, 1629249114000, 1629263513000, 1629270714000, 1629285112000, 1629292312000, 1629299569000, 1629306712000, 1629313911000, 1629328310000, 1629342709000, 1629349909000, 1629357109000, 1629364308000, 1629371594000, 1629378707000, 1629385907000, 1629393106000, 1629400306000, 1629407505000, 1629414705000, 1629421904000, 1629429104000, 1629436304000, 1633878677000, 1633886116000, 1633893324000, 1633912781000, 1633921887000, 1633929087000, 1633950686000, 1633957885000, 1633965085000, 1633979484000, 1633986683000, 1633993885000, 1634001085000, 1634008284000, 1634015484000, 1634050978000, 1634051744000, 1634073081000, 1634080280000, 1634135947000, 1634145076000, 1634152276000, 1634159476000, 1634222587000, 1634231471000, 1634245870000, 1634253070000, 1634310171000, 1634317866000, 1634321167000, 1634332265000, 1634339465000, 1634345977000, 1634348105000, 1634396503000, 1634402534000, 1634409672000, 1634418660000, 1634454659000, 1634555464000, 1634562663000, 1634569863000, 1634577063000, 1634584262000, 1634605861000, 1634611598000, 1634617302000, 1634620901000, 1634628446000, 1634635740000],
|
12
|
+
"y": [0.07038935273885727, 0.15592360496520996, 0.06816262006759644, 0.2593200206756592, 0.05430303141474724, 0.5353546142578125, 0.015373465605080128, 0.07473776489496231, 0.054739613085985184, 0.027837658300995827, 0.08019040524959564, 0.7401998043060303, 0.3875369131565094, 0.11674293875694275, 0.7778534889221191, 0.018315380439162254, 0.020296229049563408, 0.12294299900531769, 0.7829167246818542, 0.15696850419044495, 0.14170290529727936, 0.69212406873703, 0.6746063232421875, 0.01648862101137638, 0.01806444302201271, 0.16548940539360046, 0.897253692150116, 0.016141673550009727, 0.0428704135119915, 0.49948862195014954, 0.38255831599235535, 0.2385409027338028, 0.10474151372909546, 0.580064594745636, 0.41708892583847046, 0.09974407404661179, 0.0301317498087883, 0.02338767610490322, 0.2600819170475006, 0.6693925857543945, 0.14705264568328857, 0.0927828699350357, 0.17080460488796234, 0.042266782373189926, 0.04989394173026085, 0.08878837525844574, 0.2545090913772583, 0.1160469502210617, 0.44201192259788513, 0.04883602634072304, 0.19532492756843567, 0.03378400206565857, 0.03083675727248192, 0.021914390847086906, 0.05881952866911888, 0.006188252940773964, 0.16435879468917847, 0.6434571743011475, 0.0, 0.5870267152786255, 0.5175002217292786, 0.08678894490003586, 0.03263580799102783, 0.022147715091705322, 0.024376315996050835, 0.029819516465067863, 0.04230185225605965, 0.2479584962129593, 0.17568565905094147, 0.0685681626200676, 0.026580458506941795, 0.04775793477892876, 0.5043402314186096, 0.2540060877799988, 0.022036990150809288, 0.09365967661142349, 0.04238737374544144, 0.6548221707344055, 0.44364434480667114, 0.03055410273373127, 0.1203928217291832, 0.04338306188583374, 0.5810480117797852, 0.12113378942012787, 0.5474541187286377, 0.016232937574386597, 0.016070937737822533, 0.13951727747917175, 0.11190055310726166, 0.2782229781150818, 0.7781824469566345, 0.16930769383907318, 0.06733570992946625, 0.2586888372898102, 0.503683865070343, 0.2443149834871292, 1.2076842784881592, 0.012436933815479279, 0.4824186861515045, 1.2682557106018066, 0.05448322370648384, 0.34930354356765747, 0.13610690832138062, 0.05029207095503807, 0.028557123616337776, 0.0, 0.054478563368320465, 0.10545305907726288, 0.09097033739089966, 0.04492322728037834, 0.04944282025098801, 0.1283555030822754, 0.02259393222630024, 0.12786076962947845, 0.29656416177749634, 0.02406102605164051, 0.04831841588020325, 0.03619984909892082, 0.42868921160697937, 0.08661726862192154, 0.6615921258926392, 0.025950010865926743, 0.016168437898159027, 0.07600484788417816, 0.08096791058778763, 0.037935592234134674, 1.0180450677871704, 0.15832000970840454, 0.0532325804233551, 0.08330343663692474, 0.09423680603504181, 0.6640984416007996, 0.32698071002960205, 0.02397364377975464, 0.05324006825685501, 0.18430961668491364, 0.15957970917224884, 0.20981276035308838, 0.13933809101581573, 0.06941106170415878, 0.23373627662658691, 0.12795114517211914, 0.10162828117609024, 0.12973810732364655, 0.10209016501903534, 0.15216855704784393, 0.2678200900554657, 0.09602513164281845, 1.0604459047317505, 0.09112466126680374, 1.0198484659194946, 0.8423543572425842, 0.06023721396923065, 0.7278671860694885, 0.26981547474861145, 0.061824604868888855, 0.10964499413967133, 0.028369300067424774, 0.020185425877571106, 0.04211406037211418, 0.24849924445152283, 0.02105347253382206, 0.49722975492477417, 0.025884682312607765, 0.025344792753458023, 0.02598380297422409, 0.08791567385196686, 0.017246700823307037, 0.1725088357925415, 0.01846197061240673, 0.03731308877468109, 0.5381330251693726, 0.06875069439411163, 0.2767884135246277, 0.02684154361486435, 0.452781081199646, 0.0443851575255394, 0.04676974192261696, 0.15983590483665466, 0.021527865901589394, 0.0226608794182539, 0.01727370172739029, 0.012437749654054642, 0.05530080944299698, 0.057003140449523926, 0.34226149320602417, 0.3157725930213928, 0.012777850031852722, 0.2579002380371094, 0.06256011873483658, 0.34354352951049805, 0.10096972435712814, 0.1542467176914215, 0.06545175611972809, 0.15938419103622437, 0.06680087745189667, 0.3780919015407562, 0.3439370095729828, 0.22623814642429352, 0.418916791677475, 0.07084177434444427, 0.07697194814682007, 0.07137047499418259, 0.008441684767603874, 0.03638175129890442, 0.12960414588451385, 0.11769189685583115, 0.0272611565887928, 0.06044904142618179, 0.019891362637281418, 0.5308238863945007, 0.04735161364078522, 0.214840829372406, 0.024621397256851196, 0.0945952758193016, 0.011148259975016117, 0.06866370886564255, 0.06401779502630234, 0.23972882330417633, 0.031687941402196884, 0.09372353553771973, 0.0, 0.0, 0.05482601746916771, 0.04920834302902222, 0.0, 0.06469987332820892, 0.07720763236284256, 0.051647625863552094, 0.03359168767929077, 0.014164243824779987, 0.06299733370542526, 0.02093268744647503, 0.04598722979426384, 0.10826889425516129, 0.0127017293125391, 0.12980279326438904, 0.7510994076728821, 0.28219959139823914, 0.18528293073177338, 0.29472777247428894, 0.5130057334899902, 0.08182815462350845, 0.28928664326667786, 0.029989872127771378, 0.08485393226146698, 0.02027897536754608, 0.5374175310134888, 0.9592524170875549, 0.17130808532238007, 0.11808735877275467, 0.06358916312456131, 0.22210465371608734, 0.035989612340927124, 0.263054221868515, 0.14942795038223267, 0.13383479416370392, 0.6189124584197998, 0.08659994602203369, 0.7102150321006775, 0.0345463752746582, 0.7718757390975952, 0.2868608832359314, 0.22039535641670227, 0.0, 0.030705071985721588, 0.041590213775634766, 0.04708974435925484, 0.4236001670360565, 0.1750965267419815, 0.02488383837044239, 0.018300365656614304, 0.0, 0.5915682911872864, 0.2774050235748291, 0.10560262203216553, 0.23492996394634247, 0.07554545998573303, 0.2998286187648773, 0.09427953511476517, 0.2591218650341034, 0.03428554907441139, 0.03000536933541298, 0.24294093251228333, 0.3346065282821655, 0.04147345945239067, 0.22514383494853973, 0.47566884756088257, 0.3200368583202362, 0.02905821055173874, 0.16778665781021118, 0.7068199515342712, 0.08083118498325348, 0.06439828127622604, 0.04991765320301056, 0.025011561810970306, 0.0775623470544815, 0.027484918013215065, 0.05993736535310745, 0.0, 0.031550172716379166, 0.09946458786725998, 0.07532355189323425, 0.11609926074743271, 0.19517351686954498, 0.23683272302150726, 0.583391547203064, 0.023704703897237778, 0.21298807859420776, 0.05070388689637184, 0.13997513055801392, 0.051477957516908646, 0.055569838732481, 0.22641851007938385, 0.10938628762960434, 0.026211092248558998, 0.711522102355957, 0.08146815001964569, 0.16811765730381012, 0.06023956462740898, 0.0497438982129097, 0.0242793969810009, 0.02641625888645649, 0.02502088062465191, 0.055164605379104614, 0.052879974246025085, 0.05201209709048271, 0.04484211653470993, 0.06676965206861496, 0.029698623344302177, 0.0, 0.511905312538147, 0.0, 0.02405199408531189, 0.04448601230978966, 0.060360074043273926, 0.023410718888044357, 0.08910480886697769, 0.040530916303396225, 0.0, 0.017999403178691864, 0.11742456257343292, 0.2892303764820099, 0.0, 0.01891896314918995, 0.06773033738136292, 0.021772965788841248, 0.23628166317939758, 0.0984102413058281, 0.013534133322536945, 0.019303523004055023, 0.385654479265213, 0.4061185419559479, 0.0, 0.016075121238827705, 0.01825857348740101, 0.0, 0.020862601697444916, 0.01784343644976616, 0.031124813482165337, 0.19438862800598145, 0.028280707076191902, 0.0, 0.0, 0.016703229397535324, 0.09362836182117462, 0.0, 0.0, 0.22029359638690948, 0.0, 0.35377025604248047, 0.024731479585170746, 0.01931297406554222, 0.03192213177680969, 0.024840673431754112, 0.020092885941267014, 0.02396758273243904, 0.04381139948964119, 0.0, 0.02258118987083435, 0.11345792561769485, 0.0, 0.018330655992031097, 0.1866726577281952, 0.27153295278549194, 0.08201383799314499, 0.06991084665060043, 0.18004494905471802, 0.18588930368423462, 0.020388849079608917, 0.020570501685142517, 0.037363383919000626, 0.0, 0.0, 0.17867180705070496, 0.20770291984081268, 0.0, 0.0, 0.2183132916688919, 0.07436660677194595, 0.23718678951263428, 0.07696113735437393, 0.509954571723938, 0.0582132413983345, 0.05096438527107239, 0.20725589990615845, 0.10560647398233414, 0.2713971734046936, 0.2829369008541107, 0.1377033144235611, 0.0, 0.06657503545284271, 0.31772661209106445, 0.0, 0.20895370841026306, 0.1733180731534958, 0.14971008896827698, 0.05318623036146164, 0.07210176438093185, 0.037024546414613724, 0.056261103600263596, 0.0, 0.0, 0.0, 0.17720790207386017, 0.33600953221321106, 0.3858067989349365, 0.37376466393470764, 0.14222194254398346, 0.03319385275244713, 0.05901116132736206, 0.12534920871257782, 0.0326390266418457, 0.1907770335674286, 0.02258632890880108, 0.2707183361053467, 0.23261909186840057, 0.1718917191028595, 0.11988697201013565, 0.39382630586624146, 0.022499363869428635, 0.02123013138771057, 0.0495370477437973, 0.05875358358025551, 0.0, 0.01808628998696804, 0.21933554112911224, 0.23956893384456635, 0.02464144118130207, 0.29249635338783264, 0.30363360047340393, 0.03059065341949463, 0.052872586995363235, 0.024824362248182297, 0.018684472888708115, 0.0, 0.0953405499458313, 0.020851431414484978, 0.015711955726146698, 0.39341363310813904, 0.03473905846476555, 0.19342681765556335, 0.07488443702459335, 0.0469895675778389, 0.24910153448581696, 0.08142169564962387, 0.2763613164424896, 0.02011120691895485, 0.020482495427131653, 0.38080573081970215, 0.021241314709186554, 0.0, 0.07042039185762405, 0.15253524482250214, 0.20238840579986572, 0.3913539946079254, 0.0, 0.0862416997551918, 0.07837940752506256, 0.03942333534359932, 0.03391539677977562, 0.26059800386428833, 0.0363139808177948, 0.2251192182302475, 0.19188199937343597, 0.03123953938484192, 0.11006459593772888, 0.1473403424024582, 0.08034749329090118, 0.01948770135641098, 0.30532583594322205, 0.0, 0.039018936455249786, 0.06205718219280243, 0.02698630839586258, 0.02030276507139206, 0.10745985805988312, 0.0, 0.045807961374521255, 0.02428293786942959, 0.40187838673591614, 0.27892982959747314, 0.15298333764076233, 0.042165592312812805, 0.0, 0.14577659964561462, 0.14928360283374786, 0.27347230911254883, 0.048783253878355026, 0.0, 0.04874633252620697, 0.26170215010643005, 0.06076350063085556, 0.23257482051849365, 0.0, 0.035520441830158234, 0.10408099740743637, 0.026329651474952698, 0.0996253564953804, 0.133469358086586, 0.34189489483833313, 0.21736659109592438, 0.0, 0.15724536776542664, 0.18403656780719757, 0.11113231629133224, 0.09955804795026779, 0.11240766942501068, 0.13894477486610413, 0.052973467856645584, 0.0, 0.042445696890354156, 0.23694592714309692, 0.33522459864616394, 0.2543807923793793, 0.07231435179710388, 0.033621449023485184, 0.02854013815522194, 0.12649913132190704, 0.2930443584918976, 0.04805934429168701, 0.3177810609340668, 0.5148459672927856, 0.03339312598109245, 0.030000867322087288, 0.1843038946390152, 0.06049300730228424, 0.4167422950267792, 0.027881143614649773, 0.02345685288310051, 0.0, 0.26664650440216064, 0.014263273216784, 0.07804906368255615, 0.01961691491305828, 0.0, 0.36650121212005615, 0.021682608872652054, 0.10703269392251968, 0.16125120222568512, 0.015949709340929985, 0.0, 0.0, 0.0, 0.24407896399497986, 5.195997655391693E-4, 0.030377894639968872, 0.019053546711802483, 0.040250495076179504, 0.04713776335120201, 0.023233992978930473, 0.048006005585193634, 0.07566681504249573, 0.40725433826446533, 0.025282936170697212, 0.16295388340950012, 0.0, 0.418504923582077, 0.02832617424428463, 0.03192732855677605, 0.1422785073518753, 0.22666893899440765, 0.06936731934547424, 0.27559834718704224, 0.016082368791103363, 0.023122115060687065, 0.0, 0.04155038297176361, 0.4289788007736206, 0.007768937386572361, 0.6353800892829895, 0.13380685448646545, 0.7406708598136902, 0.5116059184074402, 1.324558138847351, 3.428114175796509, 3.6831812858581543, 0.0963696539402008, 0.3562534749507904, 1.8542981147766113, 1.538530707359314, 0.010953688062727451, 0.01613336056470871, 0.11239497363567352, 0.3209797739982605, 0.0, 0.34660789370536804, 1.298132300376892, 0.7093984484672546, 0.0, 0.0632043182849884, 0.280747652053833, 0.30832675099372864, 0.032427433878183365, 1.4125415086746216, 0.13908827304840088, 0.08813228458166122, 0.3496203124523163, 0.17270171642303467, 0.12073631584644318, 0.0, 1.0154327154159546, 0.06060876324772835, 1.3300807476043701, 0.06200237199664116, 1.7414121627807617, 1.1697545051574707, 0.11908897012472153, 2.271700859069824, 0.4823680520057678, 3.9037952423095703, 0.0, 0.060900941491127014, 0.0432576946914196, 0.7212460041046143, 0.8936296701431274]
|
13
|
+
}, {
|
14
|
+
id: 's2',
|
15
|
+
name: '温度2',
|
16
|
+
"x": [1624539277000, 1624606700000, 1624614537000, 1624624036000, 1624630535000, 1624637648000, 1624641593000, 1624650983000, 1624660008000, 1624667557000, 1624673756000, 1624680449000, 1624689678000, 1624694768000, 1624700104000, 1624710878000, 1624715095000, 1624725539000, 1624730514000, 1624737944000, 1624747486000, 1624754577000, 1624757229000, 1624766204000, 1624776556000, 1624779182000, 1624789931000, 1624796436000, 1624802455000, 1624812585000, 1624816269000, 1624823082000, 1624835079000, 1624836406000, 1624859707000, 1624870630000, 1624877443000, 1624883222000, 1624888157000, 1624894475000, 1624903854000, 1624909147000, 1624916415000, 1624926602000, 1624932796000, 1624943358000, 1624950674000, 1624962617000, 1624975650000, 1624982782000, 1624988580000, 1625000794000, 1625071330000, 1625076725000, 1625083856000, 1625091239000, 1625097674000, 1625102152000, 1625115197000, 1625119879000, 1625126765000, 1625137135000, 1625142473000, 1625147080000, 1625159183000, 1625162412000, 1625167951000, 1625177190000, 1625185916000, 1625191819000, 1625200860000, 1625204788000, 1625212647000, 1625221788000, 1625228517000, 1625233293000, 1625241898000, 1625249368000, 1625256844000, 1625265979000, 1625274240000, 1625280319000, 1625289104000, 1625295890000, 1625299058000, 1625304968000, 1625314556000, 1625324582000, 1625331979000, 1625338968000, 1625341632000, 1625353884000, 1625358506000, 1625363185000, 1625382697000, 1625388196000, 1625393665000, 1625400835000, 1625411495000, 1625418363000, 1625422322000, 1625427623000, 1625433375000, 1625447504000, 1625454703000, 1625461902000, 1625469103000, 1625476302000, 1625483502000, 1625490700000, 1625497901000, 1625505100000, 1625512300000, 1625526701000, 1625533901000, 1625541100000, 1625548300000, 1625555499000, 1625562700000, 1625577098000, 1625584298000, 1625591497000, 1625598696000, 1625605896000, 1625613096000, 1625618164000, 1625621578000, 1625627771000, 1625634965000, 1625648422000, 1625656148000, 1625660128000, 1625666855000, 1625676452000, 1625681726000, 1625692020000, 1625697898000, 1625704794000, 1625706962000, 1625716454000, 1625726787000, 1625735229000, 1625738896000, 1625747556000, 1625753235000, 1625761325000, 1625767814000, 1625775096000, 1625778950000, 1625788005000, 1625793358000, 1625801805000, 1625812447000, 1625818056000, 1625825672000, 1625832830000, 1625839521000, 1625848740000, 1625854027000, 1625858379000, 1625867105000, 1625877012000, 1625879812000, 1625886964000, 1625895063000, 1625907333000, 1625910257000, 1625919337000, 1625924256000, 1625930870000, 1625942254000, 1625946965000, 1625953486000, 1625963235000, 1625967461000, 1625976147000, 1625981914000, 1625989493000, 1625996786000, 1626006175000, 1626014470000, 1626019069000, 1626028822000, 1626034525000, 1626044698000, 1626049318000, 1626054716000, 1626064742000, 1626067198000, 1626079196000, 1626081381000, 1626092507000, 1626095756000, 1626108228000, 1626112042000, 1626122497000, 1626127247000, 1626135952000, 1626138981000, 1626151566000, 1626154697000, 1626160531000, 1626172874000, 1626178546000, 1626184683000, 1626193573000, 1626199988000, 1626207234000, 1626214286000, 1626222767000, 1626231311000, 1626239259000, 1626246472000, 1626250509000, 1626259306000, 1626265337000, 1626271553000, 1626280760000, 1626283003000, 1626294990000, 1626299140000, 1626305054000, 1626342722000, 1626348120000, 1626361501000, 1626365980000, 1626375123000, 1626382235000, 1626386887000, 1626394918000, 1626399664000, 1626408043000, 1626419019000, 1626425147000, 1626428785000, 1626435572000, 1626447586000, 1626451761000, 1626457239000, 1626466425000, 1626474139000, 1626481439000, 1626491324000, 1626492569000, 1626500194000, 1626509581000, 1626514675000, 1626524804000, 1626531483000, 1626538002000, 1626548100000, 1626555652000, 1626561636000, 1626570697000, 1626577897000, 1626585096000, 1626592297000, 1626599496000, 1626613895000, 1626621095000, 1626628293000, 1626635494000, 1626642693000, 1626649908000, 1626657106000, 1626664306000, 1626666390000, 1626678706000, 1626693105000, 1626694845000, 1626701670000, 1626710973000, 1626721903000, 1626729104000, 1626735468000, 1626736981000, 1626750704000, 1626757903000, 1626763295000, 1626772302000, 1626779041000, 1626783267000, 1626793900000, 1626801100000, 1626807140000, 1626814119000, 1626817224000, 1626837099000, 1626838011000, 1626847519000, 1626852040000, 1626860142000, 1626866878000, 1626874522000, 1626887494000, 1626909093000, 1626916098000, 1626918572000, 1626928346000, 1626936083000, 1626938136000, 1626945774000, 1626956509000, 1626966689000, 1626973889000, 1626981088000, 1626988288000, 1626995488000, 1626999877000, 1627008357000, 1627015574000, 1627018394000, 1627029741000, 1627034060000, 1627041749000, 1627047355000, 1627056900000, 1627063755000, 1627073705000, 1627076767000, 1627096282000, 1627103481000, 1627110681000, 1627117880000, 1627125080000, 1627132279000, 1627139479000, 1627146678000, 1627153878000, 1627161077000, 1627168277000, 1627175476000, 1627182676000, 1627189876000, 1627197076000, 1627204275000, 1627211474000, 1627218674000, 1627225874000, 1627233074000, 1627240273000, 1627247487000, 1627254687000, 1627261886000, 1627269085000, 1627276286000, 1627283484000, 1627290684000, 1627297883000, 1627305083000, 1627312283000, 1627319483000, 1627326682000, 1627333884000, 1627341084000, 1627348282000, 1627355483000, 1627362682000, 1627377081000, 1627384280000, 1627391479000, 1627398679000, 1627405879000, 1627413078000, 1627420278000, 1627427478000, 1627434677000, 1627441877000, 1627456276000, 1627463475000, 1627470675000, 1627477875000, 1627485075000, 1627492274000, 1627499474000, 1627506673000, 1627513873000, 1627521072000, 1627528271000, 1627535471000, 1627542672000, 1627549870000, 1627557070000, 1627564269000, 1627571469000, 1627578668000, 1627585868000, 1627600267000, 1627607467000, 1627614666000, 1627621866000, 1627629066000, 1627636266000, 1627643465000, 1627650664000, 1627657864000, 1627659734000, 1627668560000, 1627679170000, 1627681318000, 1627689652000, 1627695972000, 1627704410000, 1627711311000, 1627717207000, 1627728396000, 1627735280000, 1627742639000, 1627751162000, 1627754636000, 1627764899000, 1627766092000, 1627775900000, 1627787456000, 1627794655000, 1627801855000, 1627809054000, 1627816254000, 1627823453000, 1627830653000, 1627837852000, 1627845052000, 1627852265000, 1627859466000, 1628154649000, 1628190646000, 1628197845000, 1628205045000, 1628212245000, 1628219444000, 1628226644000, 1628233844000, 1628241056000, 1628248243000, 1628255442000, 1628262643000, 1628269842000, 1628277042000, 1628284241000, 1628291441000, 1628298640000, 1628305839000, 1628313039000, 1628320239000, 1628327438000, 1628334638000, 1628341837000, 1628349036000, 1628356236000, 1628363436000, 1628377835000, 1628385034000, 1628392234000, 1628399434000, 1628406633000, 1628413833000, 1628421032000, 1628428232000, 1628435431000, 1628442631000, 1628449830000, 1628457030000, 1628464244000, 1628471443000, 1628478643000, 1628485843000, 1628493042000, 1628500242000, 1628507442000, 1628514641000, 1628521840000, 1628529040000, 1628536239000, 1628543441000, 1628550640000, 1628557840000, 1628565040000, 1628572239000, 1628579439000, 1628586638000, 1628593838000, 1628601038000, 1628608237000, 1628615437000, 1628622636000, 1628629836000, 1628637035000, 1628644234000, 1628651434000, 1628658634000, 1628673034000, 1628680233000, 1628687432000, 1628694632000, 1628701831000, 1628709031000, 1628723430000, 1628737829000, 1628745028000, 1628752228000, 1628759428000, 1628766627000, 1628773827000, 1628781027000, 1628788227000, 1628795426000, 1628802626000, 1628809824000, 1628817024000, 1628824224000, 1628838623000, 1628845822000, 1628853022000, 1628860222000, 1628867421000, 1628874620000, 1628881820000, 1628889020000, 1628896321000, 1628903520000, 1628910719000, 1628917919000, 1628925119000, 1628932318000, 1628939518000, 1628946717000, 1628953917000, 1628961116000, 1628968316000, 1628975515000, 1628982715000, 1628989915000, 1628997114000, 1629004314000, 1629011514000, 1629018713000, 1629025913000, 1629033112000, 1629040311000, 1629047511000, 1629061910000, 1629069124000, 1629076322000, 1629083522000, 1629097923000, 1629105122000, 1629112321000, 1629133920000, 1629141119000, 1629148319000, 1629155521000, 1629162720000, 1629169920000, 1629177120000, 1629184319000, 1629191518000, 1629198717000, 1629205917000, 1629213116000, 1629220316000, 1629227515000, 1629234715000, 1629241915000, 1629249114000, 1629263513000, 1629270714000, 1629285112000, 1629292312000, 1629299569000, 1629306712000, 1629313911000, 1629328310000, 1629342709000, 1629349909000, 1629357109000, 1629364308000, 1629371594000, 1629378707000, 1629385907000, 1629393106000, 1629400306000, 1629407505000, 1629414705000, 1629421904000, 1629429104000, 1629436304000, 1633878677000, 1633886116000, 1633893324000, 1633912781000, 1633921887000, 1633929087000, 1633950686000, 1633957885000, 1633965085000, 1633979484000, 1633986683000, 1633993885000, 1634001085000, 1634008284000, 1634015484000, 1634050978000, 1634051744000, 1634073081000, 1634080280000, 1634135947000, 1634145076000, 1634152276000, 1634159476000, 1634222587000, 1634231471000, 1634245870000, 1634253070000, 1634310171000, 1634317866000, 1634321167000, 1634332265000, 1634339465000, 1634345977000, 1634348105000, 1634396503000, 1634402534000, 1634409672000, 1634418660000, 1634454659000, 1634555464000, 1634562663000, 1634569863000, 1634577063000, 1634584262000, 1634605861000, 1634611598000, 1634617302000, 1634620901000, 1634628446000, 1634635740000],
|
17
|
+
"y": [3.0, 7.0, 4.0, 10.0, 2.0, 11.0, 1.0, 3.0, 5.0, 2.0, 5.0, 17.0, 15.0, 6.0, 15.0, 2.0, 1.0, 5.0, 21.0, 4.0, 9.0, 24.0, 25.0, 1.0, 1.0, 9.0, 25.0, 1.0, 2.0, 15.0, 11.0, 10.0, 8.0, 15.0, 15.0, 7.0, 1.0, 2.0, 6.0, 19.0, 5.0, 5.0, 6.0, 4.0, 1.0, 3.0, 7.0, 4.0, 18.0, 3.0, 9.0, 2.0, 2.0, 1.0, 2.0, 1.0, 10.0, 21.0, 0.0, 13.0, 16.0, 7.0, 4.0, 1.0, 1.0, 2.0, 2.0, 18.0, 10.0, 3.0, 1.0, 1.0, 19.0, 12.0, 1.0, 2.0, 1.0, 13.0, 8.0, 1.0, 5.0, 1.0, 16.0, 3.0, 17.0, 1.0, 1.0, 3.0, 2.0, 7.0, 13.0, 3.0, 3.0, 8.0, 10.0, 7.0, 16.0, 1.0, 9.0, 18.0, 1.0, 9.0, 6.0, 3.0, 1.0, 0.0, 2.0, 4.0, 3.0, 2.0, 2.0, 4.0, 2.0, 5.0, 8.0, 1.0, 2.0, 1.0, 10.0, 3.0, 14.0, 1.0, 1.0, 3.0, 3.0, 2.0, 19.0, 7.0, 2.0, 2.0, 3.0, 22.0, 8.0, 1.0, 2.0, 6.0, 5.0, 13.0, 9.0, 6.0, 1.0, 1.0, 1.0, 1.0, 1.0, 8.0, 8.0, 3.0, 1.0, 3.0, 16.0, 12.0, 2.0, 10.0, 5.0, 2.0, 3.0, 1.0, 1.0, 1.0, 6.0, 1.0, 9.0, 1.0, 1.0, 1.0, 3.0, 1.0, 5.0, 1.0, 1.0, 15.0, 2.0, 9.0, 1.0, 12.0, 2.0, 1.0, 4.0, 1.0, 1.0, 1.0, 1.0, 3.0, 2.0, 11.0, 9.0, 1.0, 10.0, 1.0, 7.0, 8.0, 9.0, 3.0, 7.0, 1.0, 11.0, 12.0, 11.0, 13.0, 3.0, 2.0, 2.0, 1.0, 1.0, 6.0, 5.0, 1.0, 2.0, 1.0, 16.0, 2.0, 9.0, 1.0, 2.0, 1.0, 2.0, 2.0, 12.0, 2.0, 7.0, 0.0, 0.0, 2.0, 2.0, 0.0, 3.0, 2.0, 1.0, 2.0, 1.0, 2.0, 1.0, 3.0, 7.0, 1.0, 3.0, 12.0, 10.0, 4.0, 5.0, 11.0, 2.0, 8.0, 1.0, 2.0, 1.0, 10.0, 15.0, 5.0, 4.0, 1.0, 3.0, 1.0, 8.0, 5.0, 4.0, 7.0, 2.0, 11.0, 1.0, 12.0, 7.0, 7.0, 0.0, 1.0, 1.0, 1.0, 10.0, 4.0, 1.0, 1.0, 0.0, 13.0, 9.0, 4.0, 4.0, 2.0, 4.0, 2.0, 4.0, 1.0, 1.0, 6.0, 4.0, 2.0, 4.0, 11.0, 8.0, 1.0, 6.0, 15.0, 4.0, 1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 0.0, 1.0, 2.0, 2.0, 2.0, 7.0, 6.0, 8.0, 1.0, 8.0, 1.0, 6.0, 2.0, 1.0, 8.0, 2.0, 1.0, 17.0, 1.0, 5.0, 1.0, 2.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 3.0, 2.0, 1.0, 0.0, 18.0, 0.0, 1.0, 2.0, 2.0, 1.0, 4.0, 1.0, 0.0, 1.0, 5.0, 8.0, 0.0, 1.0, 3.0, 1.0, 9.0, 5.0, 1.0, 1.0, 13.0, 14.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 2.0, 8.0, 1.0, 0.0, 0.0, 1.0, 3.0, 0.0, 0.0, 8.0, 0.0, 11.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 0.0, 1.0, 6.0, 0.0, 1.0, 7.0, 10.0, 3.0, 3.0, 7.0, 7.0, 1.0, 1.0, 1.0, 0.0, 0.0, 6.0, 7.0, 0.0, 0.0, 10.0, 3.0, 10.0, 3.0, 12.0, 2.0, 2.0, 9.0, 5.0, 11.0, 12.0, 5.0, 0.0, 2.0, 14.0, 0.0, 7.0, 6.0, 4.0, 1.0, 2.0, 1.0, 1.0, 0.0, 0.0, 0.0, 8.0, 7.0, 7.0, 8.0, 3.0, 1.0, 1.0, 3.0, 1.0, 6.0, 1.0, 7.0, 6.0, 6.0, 2.0, 7.0, 1.0, 1.0, 2.0, 2.0, 0.0, 1.0, 4.0, 9.0, 1.0, 4.0, 11.0, 2.0, 2.0, 1.0, 1.0, 0.0, 5.0, 1.0, 1.0, 13.0, 2.0, 7.0, 3.0, 2.0, 12.0, 3.0, 10.0, 1.0, 1.0, 10.0, 1.0, 0.0, 3.0, 6.0, 6.0, 13.0, 0.0, 2.0, 1.0, 1.0, 1.0, 4.0, 1.0, 4.0, 3.0, 1.0, 1.0, 5.0, 1.0, 1.0, 4.0, 0.0, 1.0, 2.0, 1.0, 1.0, 5.0, 0.0, 1.0, 1.0, 9.0, 7.0, 5.0, 1.0, 0.0, 5.0, 3.0, 7.0, 1.0, 0.0, 1.0, 4.0, 1.0, 4.0, 0.0, 1.0, 3.0, 1.0, 4.0, 6.0, 10.0, 8.0, 0.0, 6.0, 6.0, 4.0, 3.0, 4.0, 3.0, 2.0, 0.0, 1.0, 7.0, 8.0, 7.0, 2.0, 1.0, 1.0, 4.0, 8.0, 1.0, 8.0, 14.0, 2.0, 1.0, 9.0, 3.0, 8.0, 2.0, 1.0, 0.0, 10.0, 1.0, 3.0, 1.0, 0.0, 12.0, 1.0, 3.0, 6.0, 1.0, 0.0, 0.0, 0.0, 4.0, 1.0, 1.0, 1.0, 3.0, 2.0, 1.0, 2.0, 4.0, 16.0, 1.0, 7.0, 0.0, 10.0, 1.0, 1.0, 5.0, 6.0, 3.0, 10.0, 1.0, 1.0, 0.0, 2.0, 15.0, 1.0, 7.0, 1.0, 8.0, 3.0, 8.0, 19.0, 17.0, 1.0, 3.0, 13.0, 7.0, 1.0, 1.0, 1.0, 6.0, 0.0, 4.0, 9.0, 7.0, 0.0, 1.0, 1.0, 1.0, 1.0, 7.0, 2.0, 1.0, 3.0, 3.0, 2.0, 0.0, 7.0, 1.0, 7.0, 2.0, 11.0, 14.0, 1.0, 13.0, 5.0, 8.0, 0.0, 1.0, 1.0, 12.0, 12.0]
|
18
|
+
}, {
|
19
|
+
id: 's3',
|
20
|
+
name: '温度3',
|
21
|
+
"x": [1624539277000, 1624606700000, 1624614537000, 1624624036000, 1624630535000, 1624637648000, 1624641593000, 1624650983000, 1624660008000, 1624667557000, 1624673756000, 1624680449000, 1624689678000, 1624694768000, 1624700104000, 1624710878000, 1624715095000, 1624725539000, 1624730514000, 1624737944000, 1624747486000, 1624754577000, 1624757229000, 1624766204000, 1624776556000, 1624779182000, 1624789931000, 1624796436000, 1624802455000, 1624812585000, 1624816269000, 1624823082000, 1624835079000, 1624836406000, 1624859707000, 1624870630000, 1624877443000, 1624883222000, 1624888157000, 1624894475000, 1624903854000, 1624909147000, 1624916415000, 1624926602000, 1624932796000, 1624943358000, 1624950674000, 1624962617000, 1624975650000, 1624982782000, 1624988580000, 1625000794000, 1625071330000, 1625076725000, 1625083856000, 1625091239000, 1625097674000, 1625102152000, 1625115197000, 1625119879000, 1625126765000, 1625137135000, 1625142473000, 1625147080000, 1625159183000, 1625162412000, 1625167951000, 1625177190000, 1625185916000, 1625191819000, 1625200860000, 1625204788000, 1625212647000, 1625221788000, 1625228517000, 1625233293000, 1625241898000, 1625249368000, 1625256844000, 1625265979000, 1625274240000, 1625280319000, 1625289104000, 1625295890000, 1625299058000, 1625304968000, 1625314556000, 1625324582000, 1625331979000, 1625338968000, 1625341632000, 1625353884000, 1625358506000, 1625363185000, 1625382697000, 1625388196000, 1625393665000, 1625400835000, 1625411495000, 1625418363000, 1625422322000, 1625427623000, 1625433375000, 1625447504000, 1625454703000, 1625461902000, 1625469103000, 1625476302000, 1625483502000, 1625490700000, 1625497901000, 1625505100000, 1625512300000, 1625526701000, 1625533901000, 1625541100000, 1625548300000, 1625555499000, 1625562700000, 1625577098000, 1625584298000, 1625591497000, 1625598696000, 1625605896000, 1625613096000, 1625618164000, 1625621578000, 1625627771000, 1625634965000, 1625648422000, 1625656148000, 1625660128000, 1625666855000, 1625676452000, 1625681726000, 1625692020000, 1625697898000, 1625704794000, 1625706962000, 1625716454000, 1625726787000, 1625735229000, 1625738896000, 1625747556000, 1625753235000, 1625761325000, 1625767814000, 1625775096000, 1625778950000, 1625788005000, 1625793358000, 1625801805000, 1625812447000, 1625818056000, 1625825672000, 1625832830000, 1625839521000, 1625848740000, 1625854027000, 1625858379000, 1625867105000, 1625877012000, 1625879812000, 1625886964000, 1625895063000, 1625907333000, 1625910257000, 1625919337000, 1625924256000, 1625930870000, 1625942254000, 1625946965000, 1625953486000, 1625963235000, 1625967461000, 1625976147000, 1625981914000, 1625989493000, 1625996786000, 1626006175000, 1626014470000, 1626019069000, 1626028822000, 1626034525000, 1626044698000, 1626049318000, 1626054716000, 1626064742000, 1626067198000, 1626079196000, 1626081381000, 1626092507000, 1626095756000, 1626108228000, 1626112042000, 1626122497000, 1626127247000, 1626135952000, 1626138981000, 1626151566000, 1626154697000, 1626160531000, 1626172874000, 1626178546000, 1626184683000, 1626193573000, 1626199988000, 1626207234000, 1626214286000, 1626222767000, 1626231311000, 1626239259000, 1626246472000, 1626250509000, 1626259306000, 1626265337000, 1626271553000, 1626280760000, 1626283003000, 1626294990000, 1626299140000, 1626305054000, 1626342722000, 1626348120000, 1626361501000, 1626365980000, 1626375123000, 1626382235000, 1626386887000, 1626394918000, 1626399664000, 1626408043000, 1626419019000, 1626425147000, 1626428785000, 1626435572000, 1626447586000, 1626451761000, 1626457239000, 1626466425000, 1626474139000, 1626481439000, 1626491324000, 1626492569000, 1626500194000, 1626509581000, 1626514675000, 1626524804000, 1626531483000, 1626538002000, 1626548100000, 1626555652000, 1626561636000, 1626570697000, 1626577897000, 1626585096000, 1626592297000, 1626599496000, 1626613895000, 1626621095000, 1626628293000, 1626635494000, 1626642693000, 1626649908000, 1626657106000, 1626664306000, 1626666390000, 1626678706000, 1626693105000, 1626694845000, 1626701670000, 1626710973000, 1626721903000, 1626729104000, 1626735468000, 1626736981000, 1626750704000, 1626757903000, 1626763295000, 1626772302000, 1626779041000, 1626783267000, 1626793900000, 1626801100000, 1626807140000, 1626814119000, 1626817224000, 1626837099000, 1626838011000, 1626847519000, 1626852040000, 1626860142000, 1626866878000, 1626874522000, 1626887494000, 1626909093000, 1626916098000, 1626918572000, 1626928346000, 1626936083000, 1626938136000, 1626945774000, 1626956509000, 1626966689000, 1626973889000, 1626981088000, 1626988288000, 1626995488000, 1626999877000, 1627008357000, 1627015574000, 1627018394000, 1627029741000, 1627034060000, 1627041749000, 1627047355000, 1627056900000, 1627063755000, 1627073705000, 1627076767000, 1627096282000, 1627103481000, 1627110681000, 1627117880000, 1627125080000, 1627132279000, 1627139479000, 1627146678000, 1627153878000, 1627161077000, 1627168277000, 1627175476000, 1627182676000, 1627189876000, 1627197076000, 1627204275000, 1627211474000, 1627218674000, 1627225874000, 1627233074000, 1627240273000, 1627247487000, 1627254687000, 1627261886000, 1627269085000, 1627276286000, 1627283484000, 1627290684000, 1627297883000, 1627305083000, 1627312283000, 1627319483000, 1627326682000, 1627333884000, 1627341084000, 1627348282000, 1627355483000, 1627362682000, 1627377081000, 1627384280000, 1627391479000, 1627398679000, 1627405879000, 1627413078000, 1627420278000, 1627427478000, 1627434677000, 1627441877000, 1627456276000, 1627463475000, 1627470675000, 1627477875000, 1627485075000, 1627492274000, 1627499474000, 1627506673000, 1627513873000, 1627521072000, 1627528271000, 1627535471000, 1627542672000, 1627549870000, 1627557070000, 1627564269000, 1627571469000, 1627578668000, 1627585868000, 1627600267000, 1627607467000, 1627614666000, 1627621866000, 1627629066000, 1627636266000, 1627643465000, 1627650664000, 1627657864000, 1627659734000, 1627668560000, 1627679170000, 1627681318000, 1627689652000, 1627695972000, 1627704410000, 1627711311000, 1627717207000, 1627728396000, 1627735280000, 1627742639000, 1627751162000, 1627754636000, 1627764899000, 1627766092000, 1627775900000, 1627787456000, 1627794655000, 1627801855000, 1627809054000, 1627816254000, 1627823453000, 1627830653000, 1627837852000, 1627845052000, 1627852265000, 1627859466000, 1628154649000, 1628190646000, 1628197845000, 1628205045000, 1628212245000, 1628219444000, 1628226644000, 1628233844000, 1628241056000, 1628248243000, 1628255442000, 1628262643000, 1628269842000, 1628277042000, 1628284241000, 1628291441000, 1628298640000, 1628305839000, 1628313039000, 1628320239000, 1628327438000, 1628334638000, 1628341837000, 1628349036000, 1628356236000, 1628363436000, 1628377835000, 1628385034000, 1628392234000, 1628399434000, 1628406633000, 1628413833000, 1628421032000, 1628428232000, 1628435431000, 1628442631000, 1628449830000, 1628457030000, 1628464244000, 1628471443000, 1628478643000, 1628485843000, 1628493042000, 1628500242000, 1628507442000, 1628514641000, 1628521840000, 1628529040000, 1628536239000, 1628543441000, 1628550640000, 1628557840000, 1628565040000, 1628572239000, 1628579439000, 1628586638000, 1628593838000, 1628601038000, 1628608237000, 1628615437000, 1628622636000, 1628629836000, 1628637035000, 1628644234000, 1628651434000, 1628658634000, 1628673034000, 1628680233000, 1628687432000, 1628694632000, 1628701831000, 1628709031000, 1628723430000, 1628737829000, 1628745028000, 1628752228000, 1628759428000, 1628766627000, 1628773827000, 1628781027000, 1628788227000, 1628795426000, 1628802626000, 1628809824000, 1628817024000, 1628824224000, 1628838623000, 1628845822000, 1628853022000, 1628860222000, 1628867421000, 1628874620000, 1628881820000, 1628889020000, 1628896321000, 1628903520000, 1628910719000, 1628917919000, 1628925119000, 1628932318000, 1628939518000, 1628946717000, 1628953917000, 1628961116000, 1628968316000, 1628975515000, 1628982715000, 1628989915000, 1628997114000, 1629004314000, 1629011514000, 1629018713000, 1629025913000, 1629033112000, 1629040311000, 1629047511000, 1629061910000, 1629069124000, 1629076322000, 1629083522000, 1629097923000, 1629105122000, 1629112321000, 1629133920000, 1629141119000, 1629148319000, 1629155521000, 1629162720000, 1629169920000, 1629177120000, 1629184319000, 1629191518000, 1629198717000, 1629205917000, 1629213116000, 1629220316000, 1629227515000, 1629234715000, 1629241915000, 1629249114000, 1629263513000, 1629270714000, 1629285112000, 1629292312000, 1629299569000, 1629306712000, 1629313911000, 1629328310000, 1629342709000, 1629349909000, 1629357109000, 1629364308000, 1629371594000, 1629378707000, 1629385907000, 1629393106000, 1629400306000, 1629407505000, 1629414705000, 1629421904000, 1629429104000, 1629436304000, 1633878677000, 1633886116000, 1633893324000, 1633912781000, 1633921887000, 1633929087000, 1633950686000, 1633957885000, 1633965085000, 1633979484000, 1633986683000, 1633993885000, 1634001085000, 1634008284000, 1634015484000, 1634050978000, 1634051744000, 1634073081000, 1634080280000, 1634135947000, 1634145076000, 1634152276000, 1634159476000, 1634222587000, 1634231471000, 1634245870000, 1634253070000, 1634310171000, 1634317866000, 1634321167000, 1634332265000, 1634339465000, 1634345977000, 1634348105000, 1634396503000, 1634402534000, 1634409672000, 1634418660000, 1634454659000, 1634555464000, 1634562663000, 1634569863000, 1634577063000, 1634584262000, 1634605861000, 1634611598000, 1634617302000, 1634620901000, 1634628446000, 1634635740000],
|
22
|
+
"y": [3.137819528579712, 2.911790132522583, 2.905142068862915, 2.918437957763672, 2.92508602142334, 2.915113925933838, 2.895170211791992, 2.8719024658203125, 2.905142068862915, 2.9583256244659424, 2.905142068862915, 2.8885223865509033, 2.9350578784942627, 2.8851983547210693, 2.891846179962158, 3.1610872745513916, 3.264129877090454, 3.194326877593994, 3.2242424488067627, 3.184354782104492, 3.2475101947784424, 3.2275664806365967, 3.2275664806365967, 3.137819528579712, 3.1511151790618896, 3.1710591316223145, 3.131171464920044, 2.905142068862915, 2.8885223865509033, 2.9516775608062744, 2.90181827545166, 2.9317338466644287, 2.90181827545166, 2.90181827545166, 2.8652546405792236, 2.9383816719055176, 2.8851983547210693, 2.8851983547210693, 2.83866286277771, 2.8818743228912354, 2.8619306087493896, 2.8785505294799805, 2.851958751678467, 2.8752264976501465, 2.9383816719055176, 2.9649734497070312, 2.97162127494812, 2.9284098148345947, 2.5993378162384033, 2.5694220066070557, 2.5760700702667236, 2.5694220066070557, 2.5262105464935303, 2.5195627212524414, 2.5162386894226074, 2.539506435394287, 2.546154260635376, 2.5195627212524414, 2.5694220066070557, 2.532858371734619, 2.532858371734619, 2.54947829246521, 2.542830467224121, 2.5860419273376465, 2.5860419273376465, 2.5893657207489014, 2.605985641479492, 2.625929355621338, 2.562774181365967, 2.5694220066070557, 2.5860419273376465, 2.566098213195801, 2.5960137844085693, 2.615957498550415, 3.9787817001342773, 3.9488658905029297, 3.932246208190918, 4.5903730392456055, 3.9721336364746094, 3.9821054935455322, 3.9123024940490723, 3.9089784622192383, 3.922274351119995, 3.928922176361084, 3.9621617794036865, 3.938894033432007, 3.9654858112335205, 3.985429525375366, 3.9555139541625977, 3.985429525375366, 3.9787817001342773, 3.9688098430633545, 3.9754576683044434, 3.9721336364746094, 4.078500270843506, 3.9787817001342773, 3.9555139541625977, 3.985429525375366, 4.005373477935791, 3.9721336364746094, 3.9521899223327637, 3.9555139541625977, 3.985429525375366, 2.92508602142334, 2.832015037536621, 2.8120713233947754, 2.8054232597351074, 2.835339069366455, 2.851958751678467, 2.845310926437378, 2.8187191486358643, 2.8685786724090576, 2.841986894607544, 2.8087472915649414, 3.2242424488067627, 3.2508342266082764, 3.2209184169769287, 3.21427059173584, 3.207622528076172, 3.2541580200195312, 3.204298734664917, 3.204298734664917, 3.2242424488067627, 3.200974702835083, 3.1743829250335693, 3.21427059173584, 3.2375383377075195, 3.2375383377075195, 3.2408621311187744, 3.2508342266082764, 3.2342143058776855, 3.274101734161377, 3.274101734161377, 3.486725091934204, 3.4660773277282715, 3.4696285724639893, 3.4179604053497314, 2.898494243621826, 2.832015037536621, 2.90181827545166, 3.0278496742248535, 3.0797154903411865, 3.0925424098968506, 3.0289971828460693, 2.8752264976501465, 2.8885223865509033, 2.915113925933838, 2.905142068862915, 2.8719024658203125, 2.845310926437378, 2.835339069366455, 2.9317338466644287, 2.8752264976501465, 2.8719024658203125, 2.8818743228912354, 2.898494243621826, 2.891846179962158, 2.83866286277771, 2.855282783508301, 2.8586065769195557, 2.841986894607544, 2.83866286277771, 2.908466100692749, 2.92508602142334, 2.905142068862915, 2.898494243621826, 2.8719024658203125, 2.915113925933838, 2.8652546405792236, 2.8619306087493896, 2.8752264976501465, 2.8719024658203125, 2.851958751678467, 2.6359012126922607, 2.6658170223236084, 2.702380418777466, 2.6591689586639404, 2.6458730697631836, 2.6392252445220947, 2.619281530380249, 2.6392252445220947, 2.6392252445220947, 2.632577419281006, 2.6491971015930176, 2.6359012126922607, 2.6491971015930176, 2.6757888793945312, 2.679112672805786, 2.679112672805786, 2.6691408157348633, 2.709028482437134, 2.632577419281006, 2.6392252445220947, 2.552802324295044, 2.5694220066070557, 2.5727460384368896, 2.5860419273376465, 2.5760700702667236, 2.5760700702667236, 2.5760700702667236, 2.5760700702667236, 2.562774181365967, 2.5827178955078125, 2.615957498550415, 2.609309673309326, 2.612633466720581, 2.5727460384368896, 2.562774181365967, 2.559450149536133, 2.546154260635376, 2.6757888793945312, 2.679112672805786, 2.689084768295288, 2.6591689586639404, 2.632577419281006, 2.6658170223236084, 2.629253387451172, 2.5960137844085693, 2.622605323791504, 2.602661609649658, 2.609309673309326, 2.552802324295044, 1.0304279327392578, 2.5062668323516846, 2.5827178955078125, 2.625929355621338, 2.6558451652526855, 2.615957498550415, 2.612633466720581, 2.9516775608062744, 2.918437957763672, 2.8752264976501465, 2.918437957763672, 2.9516775608062744, 2.9284098148345947, 2.911790132522583, 3.197650671005249, 3.2242424488067627, 3.2209184169769287, 3.2508342266082764, 3.260806083679199, 3.2541580200195312, 3.3206372261047363, 3.3073413372039795, 3.2940456867218018, 3.3173134326934814, 3.277425765991211, 3.267453908920288, 3.3040175437927246, 3.3006935119628906, 3.3173134326934814, 3.333933115005493, 3.3272852897644043, 3.2242424488067627, 3.2242424488067627, 3.2242424488067627, 3.2342143058776855, 3.1677350997924805, 3.2275664806365967, 3.2408621311187744, 3.2475101947784424, 3.8075919151306152, 3.2541580200195312, 3.2475101947784424, 3.260806083679199, 3.267453908920288, 3.83310866355896, 3.260806083679199, 3.274101734161377, 3.337257146835327, 3.357200860977173, 3.353876829147339, 3.3040175437927246, 3.260806083679199, 3.360524892807007, 3.360524892807007, 3.3006935119628906, 3.3040175437927246, 3.333933115005493, 3.2973694801330566, 3.337257146835327, 3.3738207817077637, 3.3173134326934814, 3.287397623062134, 3.34722900390625, 3.3638486862182617, 3.350553035736084, 3.1511151790618896, 3.353876829147339, 3.3771445751190186, 3.3704967498779297, 3.3738207817077637, 3.3871164321899414, 3.337257146835327, 3.274101734161377, 3.2441861629486084, 3.337257146835327, 3.343904972076416, 3.333933115005493, 3.3272852897644043, 3.357200860977173, 3.330609083175659, 3.340581178665161, 3.21427059173584, 3.21427059173584, 3.2475101947784424, 3.2209184169769287, 3.2175943851470947, 3.3738207817077637, 3.423680067062378, 3.4369759559631348, 3.4735395908355713, 3.6151506900787354, 3.4735395908355713, 3.4735395908355713, 3.486835479736328, 3.4668915271759033, 3.6660866737365723, 3.423680067062378, 3.6133198738098145, 2.605985641479492, 2.605985641479492, 2.6491971015930176, 2.625929355621338, 2.609309673309326, 2.5860419273376465, 2.5827178955078125, 2.5926897525787354, 2.625929355621338, 2.6359012126922607, 2.629253387451172, 2.612633466720581, 2.612633466720581, 2.5960137844085693, 2.619281530380249, 2.5793938636779785, 3.02815580368042, 2.9682974815368652, 2.9417057037353516, 2.9516775608062744, 2.9450297355651855, 2.9383816719055176, 2.9516775608062744, 2.905142068862915, 2.921761989593506, 2.92508602142334, 2.9417057037353516, 2.9483535289764404, 2.9350578784942627, 2.9450297355651855, 2.97162127494812, 2.915113925933838, 2.915113925933838, 2.921761989593506, 2.9583256244659424, 2.602661609649658, 2.612633466720581, 2.5960137844085693, 2.632577419281006, 2.612633466720581, 2.625929355621338, 2.602661609649658, 2.5993378162384033, 2.5926897525787354, 2.559450149536133, 2.5893657207489014, 2.9583256244659424, 2.9616494178771973, 2.981593370437622, 2.988241195678711, 2.984917163848877, 2.984917163848877, 2.9284098148345947, 2.9417057037353516, 2.9350578784942627, 2.9616494178771973, 2.974945306777954, 2.8301734924316406, 2.6359012126922607, 2.6458730697631836, 2.6658170223236084, 2.6491971015930176, 2.5926897525787354, 2.9284098148345947, 2.918437957763672, 2.9350578784942627, 2.9317338466644287, 2.921761989593506, 2.92508602142334, 2.898494243621826, 2.90181827545166, 2.9317338466644287, 2.911790132522583, 2.918437957763672, 3.330609083175659, 3.3006935119628906, 3.343904972076416, 3.3671727180480957, 3.4004123210906982, 3.3738207817077637, 3.3970885276794434, 3.360524892807007, 3.3871164321899414, 3.410384178161621, 3.353876829147339, 3.407060384750366, 3.420356035232544, 3.413708209991455, 3.3804686069488525, 3.34722900390625, 3.343904972076416, 3.350553035736084, 3.3671727180480957, 2.9583256244659424, 2.97162127494812, 2.974945306777954, 2.9550015926361084, 2.9417057037353516, 2.92508602142334, 2.9516775608062744, 2.9284098148345947, 2.895170211791992, 2.9350578784942627, 2.908466100692749, 2.027616262435913, 2.9649734497070312, 2.9649734497070312, 2.9317338466644287, 2.9516775608062744, 2.9550015926361084, 2.9649734497070312, 2.9583256244659424, 2.978269338607788, 2.9583256244659424, 2.9483535289764404, 2.9682974815368652, 2.981593370437622, 2.9583256244659424, 2.9483535289764404, 2.9450297355651855, 2.6658170223236084, 2.679112672805786, 2.685760736465454, 2.695732593536377, 2.692408561706543, 2.7123522758483887, 2.6425492763519287, 2.6658170223236084, 2.6658170223236084, 2.6359012126922607, 2.625929355621338, 2.679112672805786, 2.625929355621338, 2.612633466720581, 2.6724648475646973, 2.689084768295288, 2.619281530380249, 2.612633466720581, 2.602661609649658, 2.619281530380249, 2.612633466720581, 2.6491971015930176, 2.622605323791504, 2.6392252445220947, 2.685760736465454, 2.7256481647491455, 2.685760736465454, 2.6658170223236084, 2.6757888793945312, 2.6724648475646973, 2.6558451652526855, 2.6359012126922607, 2.6392252445220947, 2.6425492763519287, 2.6624929904937744, 2.6425492763519287, 2.6658170223236084, 2.632577419281006, 2.6591689586639404, 2.6691408157348633, 2.6458730697631836, 2.6624929904937744, 2.6392252445220947, 2.6491971015930176, 2.6757888793945312, 2.629253387451172, 2.6425492763519287, 2.6624929904937744, 2.6591689586639404, 2.6691408157348633, 2.68243670463562, 2.685760736465454, 2.6458730697631836, 2.6359012126922607, 2.6359012126922607, 2.619281530380249, 2.625929355621338, 2.981593370437622, 2.9550015926361084, 2.9417057037353516, 2.918437957763672, 2.921761989593506, 2.9616494178771973, 3.4166812896728516, 2.9450297355651855, 2.9317338466644287, 2.9284098148345947, 2.9417057037353516, 2.974945306777954, 2.988241195678711, 3.0081849098205566, 2.998213052749634, 2.9616494178771973, 2.855282783508301, 2.841986894607544, 2.8020992279052734, 2.8020992279052734, 2.7921273708343506, 2.7987754344940186, 2.83866286277771, 2.8719024658203125, 2.8120713233947754, 2.825366973876953, 2.7987754344940186, 2.83866286277771, 2.855282783508301, 2.851958751678467, 2.848634719848633, 2.83866286277771, 2.8220431804656982, 2.8187191486358643, 2.9682974815368652, 2.9583256244659424, 2.9616494178771973, 2.92508602142334, 2.9417057037353516, 3.4173662662506104, 2.9383816719055176, 2.9317338466644287, 2.9284098148345947, 2.9450297355651855, 3.416978597640991, 2.532858371734619, 2.5228865146636963, 2.54947829246521, 2.532858371734619, 2.542830467224121, 2.5793938636779785, 2.556126117706299, 2.54947829246521, 2.5162386894226074, 2.5195627212524414, 2.5029428005218506, 2.5195627212524414, 2.556126117706299, 2.54947829246521, 2.54947829246521, 2.5860419273376465, 2.536182403564453, 2.5262105464935303, 2.4996187686920166, 2.463055372238159, 2.466379165649414, 2.562774181365967, 2.5926897525787354, 2.532858371734619, 2.748915910720825, 2.679112672805786, 2.709028482437134, 2.7223243713378906, 2.6724648475646973, 2.7256481647491455, 2.7057044506073, 2.7190003395080566, 2.709028482437134, 2.768859624862671, 2.7289721965789795, 2.702380418777466, 2.689084768295288, 2.685760736465454, 2.692408561706543, 2.6757888793945312, 2.709028482437134, 2.5195627212524414, 2.5195627212524414, 2.559450149536133, 0.3656357526779175, 1.0304279327392578, 2.027616262435913, 1.0304279327392578, 4.261318206787109, 4.248022556304932, 4.257994174957275, 4.979011058807373, 4.294558048248291, 4.291234016418457, 4.301205635070801, 4.261318206787109, 4.218106746673584, 4.301205635070801, 4.178219318389893, 1.0304279327392578, 1.0304279327392578, 4.251346588134766, 4.244698524475098, 1.0304279327392578, 4.3244733810424805, 4.334445476531982, 4.248022556304932, 1.0304279327392578, 4.281261920928955, 4.264642238616943, 4.201487064361572, 3.9754576683044434, 3.998725414276123, 3.9754576683044434, 4.05855655670166, 4.068528652191162, 3.985429525375366, 3.985429525375366, 3.9821054935455322, 3.9787817001342773, 3.9821054935455322, 4.228078842163086, 4.19151496887207, 4.52723503112793, 4.317825794219971, 4.334445476531982, 4.297882080078125, 4.979824066162109, 4.291234016418457, 3.9555139541625977, 3.9588377475738525, 3.9688098430633545, 3.938894033432007, 3.9721336364746094]
|
23
|
+
}];
|
24
|
+
export var TREEDATA = [{
|
25
|
+
title: '宁钢',
|
26
|
+
key: '0-0',
|
27
|
+
children: [{
|
28
|
+
title: '分厂一',
|
29
|
+
key: '0-0-0',
|
30
|
+
children: [{
|
31
|
+
title: '温度1',
|
32
|
+
key: 's1'
|
33
|
+
}, {
|
34
|
+
title: '温度2',
|
35
|
+
key: 's2'
|
36
|
+
}, {
|
37
|
+
title: '温度3',
|
38
|
+
key: 's3'
|
39
|
+
}]
|
40
|
+
}, {
|
41
|
+
title: '分厂二',
|
42
|
+
key: '0-0-0',
|
43
|
+
children: []
|
44
|
+
}]
|
45
|
+
}];
|
46
|
+
export var FNC = [{
|
47
|
+
id: 'add',
|
48
|
+
name: 'add'
|
49
|
+
}, {
|
50
|
+
id: 'alarm',
|
51
|
+
name: 'alarm',
|
52
|
+
method: [{
|
53
|
+
code: 'alarm_level',
|
54
|
+
name: 'level',
|
55
|
+
value: 3
|
56
|
+
}, {
|
57
|
+
code: 'alarm_desc',
|
58
|
+
name: 'des',
|
59
|
+
value: '温度时序报警'
|
60
|
+
}]
|
61
|
+
}, {
|
62
|
+
id: 'plot',
|
63
|
+
name: 'plot'
|
64
|
+
}];
|
65
|
+
export var transCode2Graph = function transCode2Graph(code) {
|
66
|
+
var lineCode = code.split('\n').filter(function (it) {
|
67
|
+
return it;
|
68
|
+
});
|
69
|
+
var nodes = [];
|
70
|
+
var _loop = function _loop() {
|
71
|
+
var _code = lineCode[i];
|
72
|
+
if (_code.indexOf('signal(') > -1) {
|
73
|
+
var arg = getArg(_code);
|
74
|
+
var sigData = SIGNAL.find(function (it) {
|
75
|
+
return it.name === arg.replace(/["']/g, "");
|
76
|
+
});
|
77
|
+
var obj = {
|
78
|
+
id: guid(),
|
79
|
+
libId: sigData === null || sigData === void 0 ? void 0 : sigData.id,
|
80
|
+
icon: 'craft',
|
81
|
+
name: sigData === null || sigData === void 0 ? void 0 : sigData.name,
|
82
|
+
type: 4,
|
83
|
+
inPorts: [],
|
84
|
+
outPorts: [],
|
85
|
+
config: [{
|
86
|
+
code: "assetId",
|
87
|
+
value: sigData === null || sigData === void 0 ? void 0 : sigData.id
|
88
|
+
}]
|
89
|
+
};
|
90
|
+
nodes.push(obj);
|
91
|
+
} else if (_code.indexOf('plot(') === -1 && _code.indexOf('=') > -1) {
|
92
|
+
var _arg = getArg(_code);
|
93
|
+
var fnc = getFnc(_code);
|
94
|
+
var fncData = FNC.find(function (it) {
|
95
|
+
return it.name === fnc;
|
96
|
+
});
|
97
|
+
var _obj = {
|
98
|
+
id: guid(),
|
99
|
+
libId: fncData === null || fncData === void 0 ? void 0 : fncData.id,
|
100
|
+
icon: 'craft',
|
101
|
+
name: fncData === null || fncData === void 0 ? void 0 : fncData.name,
|
102
|
+
type: 4,
|
103
|
+
inPorts: [],
|
104
|
+
outPorts: [],
|
105
|
+
config: []
|
106
|
+
};
|
107
|
+
nodes.push(_obj);
|
108
|
+
}
|
109
|
+
};
|
110
|
+
for (var i = 0; i < lineCode.length; i++) {
|
111
|
+
_loop();
|
112
|
+
}
|
113
|
+
};
|
114
|
+
export var getArg = function getArg(txt) {
|
115
|
+
var regex = /\((.*?)\)/;
|
116
|
+
var arg = txt.match(regex)[1];
|
117
|
+
return arg;
|
118
|
+
};
|
119
|
+
export var getFnc = function getFnc(txt) {
|
120
|
+
var regex = /(\w+)\s*=/;
|
121
|
+
var fnc = txt.match(regex)[1];
|
122
|
+
return fnc;
|
123
|
+
};
|
124
|
+
export var transXYData = function transXYData(data) {
|
125
|
+
var res = [];
|
126
|
+
var _loop2 = function _loop2(i) {
|
127
|
+
var _arr = data[i].x.map(function (it, idx) {
|
128
|
+
var _data$i$name, _data$i;
|
129
|
+
return {
|
130
|
+
x: it,
|
131
|
+
y: data[i].y[idx],
|
132
|
+
name: (_data$i$name = (_data$i = data[i]) === null || _data$i === void 0 ? void 0 : _data$i.name) !== null && _data$i$name !== void 0 ? _data$i$name : i + 1
|
133
|
+
};
|
134
|
+
});
|
135
|
+
res = [].concat(_toConsumableArray(res), _toConsumableArray(_arr));
|
136
|
+
};
|
137
|
+
for (var i = 0; i < data.length; i++) {
|
138
|
+
_loop2(i);
|
139
|
+
}
|
140
|
+
return res;
|
141
|
+
};
|
142
|
+
var eg = {
|
143
|
+
"edges": [{
|
144
|
+
"source": "feb5ea37-0eb6-44f9-9f8c-4b6e560c62cb",
|
145
|
+
"target": "e0457ca3-c5b4-49a1-a84b-5e00d2725985",
|
146
|
+
"inPortId": "ch_jg",
|
147
|
+
"outPortId": "出参信号"
|
148
|
+
}, {
|
149
|
+
"source": "e0457ca3-c5b4-49a1-a84b-5e00d2725985",
|
150
|
+
"target": "ae95bf33-402a-44ad-8fea-46a129cded19",
|
151
|
+
"inPortId": "in_data_1",
|
152
|
+
"outPortId": "out"
|
153
|
+
}],
|
154
|
+
"nodes": [{
|
155
|
+
"id": "feb5ea37-0eb6-44f9-9f8c-4b6e560c62cb",
|
156
|
+
"libId": "52a16044-0708-462e-bf95-e0794029c8f8",
|
157
|
+
"icon": "craft",
|
158
|
+
"name": "温度_6daa: 十字头-温度",
|
159
|
+
"type": "4",
|
160
|
+
"inPorts": [],
|
161
|
+
"outPorts": [{
|
162
|
+
"id": "出参信号",
|
163
|
+
"name": "出参信号"
|
164
|
+
}],
|
165
|
+
"config": [{
|
166
|
+
"code": "assetId",
|
167
|
+
"value": "3a0b5da3-66be-a3f5-62bc-9ed74d0a6d43"
|
168
|
+
}]
|
169
|
+
}, {
|
170
|
+
"id": "e0457ca3-c5b4-49a1-a84b-5e00d2725985",
|
171
|
+
"libId": "cf0744ec-e0d3-438c-b180-57d29e6c168c",
|
172
|
+
"icon": "py",
|
173
|
+
"name": "时序计算",
|
174
|
+
"sourceSignal": null,
|
175
|
+
"mainFile": "Operator_PDACombination.py",
|
176
|
+
"type": "0",
|
177
|
+
"inPorts": [{
|
178
|
+
"id": "ch_jg",
|
179
|
+
"name": "ch_jg"
|
180
|
+
}],
|
181
|
+
"outPorts": [{
|
182
|
+
"id": "out",
|
183
|
+
"name": "out"
|
184
|
+
}],
|
185
|
+
"config": [{
|
186
|
+
"code": "thd_jg",
|
187
|
+
"value": 0.05
|
188
|
+
}, {
|
189
|
+
"code": "judgemethod",
|
190
|
+
"value": "OVER"
|
191
|
+
}, {
|
192
|
+
"code": "timedelayfromstart",
|
193
|
+
"value": 10
|
194
|
+
}]
|
195
|
+
}, {
|
196
|
+
"id": "ae95bf33-402a-44ad-8fea-46a129cded19",
|
197
|
+
"libId": "2949e9ae-451c-4912-987d-6097afebadff",
|
198
|
+
"icon": "py",
|
199
|
+
"name": "自定义报警",
|
200
|
+
"sourceSignal": null,
|
201
|
+
"mainFile": "alg003_define_alarm.py",
|
202
|
+
"type": "0",
|
203
|
+
"inPorts": [{
|
204
|
+
"id": "in_data_1",
|
205
|
+
"name": "in_data_1"
|
206
|
+
}],
|
207
|
+
"outPorts": [{
|
208
|
+
"id": "out",
|
209
|
+
"name": "out"
|
210
|
+
}],
|
211
|
+
"config": [{
|
212
|
+
"code": "alarm_desc",
|
213
|
+
"value": "python-温度时序报警"
|
214
|
+
}, {
|
215
|
+
"code": "alarm_level",
|
216
|
+
"value": "3"
|
217
|
+
}]
|
218
|
+
}]
|
219
|
+
};
|
@@ -3,7 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
3
|
/*
|
4
4
|
* @Author: wangxian
|
5
5
|
* @Date: 2022-05-24 08:50:16
|
6
|
-
* @LastEditTime: 2023-
|
6
|
+
* @LastEditTime: 2023-09-12 15:58:00
|
7
7
|
*/
|
8
8
|
import { GlobalOutlined } from '@ant-design/icons';
|
9
9
|
import { filter, map } from 'rxjs/operators';
|
@@ -29,7 +29,7 @@ var NodeElement = function NodeElement(props) {
|
|
29
29
|
return x.statusList;
|
30
30
|
})).subscribe(function (v) {
|
31
31
|
var _status = v.find(function (it) {
|
32
|
-
return it.nodeId === id;
|
32
|
+
return (it === null || it === void 0 ? void 0 : it.nodeId) === id;
|
33
33
|
});
|
34
34
|
setNodeStatus(_status);
|
35
35
|
});
|
@@ -40,7 +40,9 @@ var NodeElement = function NodeElement(props) {
|
|
40
40
|
var onStatusClick = function onStatusClick(e) {
|
41
41
|
e.stopPropagation();
|
42
42
|
gDPGraph.factory$.statusClick.next(_objectSpread(_objectSpread({}, data), {}, {
|
43
|
-
status:
|
43
|
+
status: _objectSpread({
|
44
|
+
nodeId: id
|
45
|
+
}, nodeStatus)
|
44
46
|
}));
|
45
47
|
};
|
46
48
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
@@ -13,7 +13,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
13
13
|
/*
|
14
14
|
* @Author: wangxian
|
15
15
|
* @Date: 2022-05-24 14:31:01
|
16
|
-
* @LastEditTime: 2023-
|
16
|
+
* @LastEditTime: 2023-09-12 15:56:37
|
17
17
|
*/
|
18
18
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
19
19
|
import produce from 'immer';
|
@@ -349,7 +349,9 @@ var DPGraph = /*#__PURE__*/function (_GraphCore) {
|
|
349
349
|
}, _this.factory$.dpGraph.getValue()));
|
350
350
|
case 2:
|
351
351
|
execStatusRes = _context3.sent;
|
352
|
-
_this.factory$.executionStatus.next(execStatusRes.data)
|
352
|
+
_this.factory$.executionStatus.next(_objectSpread(_objectSpread({}, execStatusRes.data), {}, {
|
353
|
+
debugId: debugId
|
354
|
+
}));
|
353
355
|
_this.updateEdgeStatus();
|
354
356
|
// 执行完成时停止查询状态
|
355
357
|
status = execStatusRes.data.status;
|
package/es/index.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import './theme.less';
|
2
2
|
export { default as MetadataEdit } from './comps/MetadataEdit';
|
3
3
|
export { default as MetaPropsEdit } from './comps/MetadataEdit/components/MetaPropsEdit';
|
4
|
-
export { default as MetadataEditV2 } from './comps/MetadataEditV2';
|
5
4
|
export { default as MetadataForm } from './comps/MetadataForm';
|
6
5
|
export { default as JsonView } from './comps/JsonView';
|
7
6
|
export { default as JsonEdit } from './comps/JsonEdit';
|
7
|
+
export { default as CodeEdit } from './comps/CodeEdit';
|
8
8
|
export { default as MdEditor } from './comps/MdEdit';
|
9
9
|
export { default as MdView } from './comps/MdView';
|
10
10
|
export { default as FileView } from './comps/FileView';
|
@@ -15,6 +15,7 @@ export { default as DragNode } from './comps/DynamicPorts/comps/DragNode';
|
|
15
15
|
export { default as Icon } from './comps/Icons';
|
16
16
|
export { default as Split } from './comps/Split';
|
17
17
|
export { default as MdEditPro } from './comps/MdEditPro';
|
18
|
+
export { default as DataMine } from './comps/DataMine';
|
18
19
|
export * from './framework/metadata/index';
|
19
20
|
export { default as http, addInterceptor } from './framework/http/index';
|
20
21
|
export { default as useMemoSubject } from './framework/rxjs-hooks/useMemoSubject';
|
package/es/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
/*
|
2
2
|
* @Author:wangxian
|
3
3
|
* @Date: 2021-09-18 14:15:04
|
4
|
-
* @LastEditTime: 2023-08
|
4
|
+
* @LastEditTime: 2023-09-08 14:45:05
|
5
5
|
*/
|
6
6
|
import './theme.less';
|
7
7
|
export { default as MetadataEdit } from './comps/MetadataEdit';
|
8
8
|
export { default as MetaPropsEdit } from './comps/MetadataEdit/components/MetaPropsEdit';
|
9
|
-
export { default as MetadataEditV2 } from './comps/MetadataEditV2';
|
10
9
|
export { default as MetadataForm } from './comps/MetadataForm';
|
11
10
|
export { default as JsonView } from './comps/JsonView';
|
12
11
|
export { default as JsonEdit } from './comps/JsonEdit';
|
12
|
+
export { default as CodeEdit } from './comps/CodeEdit';
|
13
13
|
export { default as MdEditor } from './comps/MdEdit';
|
14
14
|
export { default as MdView } from './comps/MdView';
|
15
15
|
export { default as FileView } from './comps/FileView';
|
@@ -20,6 +20,7 @@ export { default as DragNode } from './comps/DynamicPorts/comps/DragNode';
|
|
20
20
|
export { default as Icon } from './comps/Icons';
|
21
21
|
export { default as Split } from './comps/Split';
|
22
22
|
export { default as MdEditPro } from './comps/MdEditPro';
|
23
|
+
export { default as DataMine } from './comps/DataMine';
|
23
24
|
export * from './framework/metadata/index';
|
24
25
|
export { default as http, addInterceptor } from './framework/http/index';
|
25
26
|
export { default as useMemoSubject } from './framework/rxjs-hooks/useMemoSubject';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"public": true,
|
3
3
|
"name": "ronds-metadata",
|
4
|
-
"version": "1.3.
|
4
|
+
"version": "1.3.5",
|
5
5
|
"scripts": {
|
6
6
|
"start": "dumi dev",
|
7
7
|
"docs:build": "dumi build",
|
@@ -32,6 +32,7 @@
|
|
32
32
|
"/es"
|
33
33
|
],
|
34
34
|
"dependencies": {
|
35
|
+
"@antv/g2plot": "^2.4.31",
|
35
36
|
"@antv/x6": "^1.32.2",
|
36
37
|
"@antv/x6-react-shape": "^1.6.0",
|
37
38
|
"@babel/helper-create-regexp-features-plugin": "^7.12.13",
|
@@ -43,6 +44,7 @@
|
|
43
44
|
"@milkdown/react": "^7.3.0",
|
44
45
|
"@milkdown/theme-nord": "^7.3.0",
|
45
46
|
"@milkdown/transformer": "^7.3.0",
|
47
|
+
"@monaco-editor/react": "^4.5.2",
|
46
48
|
"@popperjs/core": "^2.4.4",
|
47
49
|
"@types/file-saver": "^2.0.5",
|
48
50
|
"@types/markdown-it": "^12.2.3",
|
@@ -62,6 +64,7 @@
|
|
62
64
|
"lodash": "^4.17.21",
|
63
65
|
"markdown-it": "^13.0.1",
|
64
66
|
"markdown-navbar": "^1.4.3",
|
67
|
+
"monaco-editor": "^0.41.0",
|
65
68
|
"qs": "^6.10.1",
|
66
69
|
"react": "^17.0.2",
|
67
70
|
"react-contenteditable": "^3.3.7",
|