From 57bb3f82eb51a0e5928faf329464d91d8398fef5 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 31 Oct 2019 12:58:28 +0800 Subject: [PATCH] update Former-commit-id: 9eaf84d95c55522077282f037cd663d28cc854e7 --- projects/IoTCenter/Views/Home/Node.cshtml | 170 +++++++++--------- projects/IoTCenter/iotcenter.db | Bin 462848 -> 462848 bytes .../Assets/StreamingAssets/wwwroot/js/node.js | 3 + projects/IoTNode/iotnode.db | Bin 499712 -> 499712 bytes 4 files changed, 88 insertions(+), 85 deletions(-) diff --git a/projects/IoTCenter/Views/Home/Node.cshtml b/projects/IoTCenter/Views/Home/Node.cshtml index d9bf95b2..6a6e9261 100644 --- a/projects/IoTCenter/Views/Home/Node.cshtml +++ b/projects/IoTCenter/Views/Home/Node.cshtml @@ -413,43 +413,43 @@
电源
- - + +
模式
- - - - - + + + + +
温度
- +
风向
- - - + + +
风量
- - - - + + + +
@@ -462,53 +462,53 @@
- - - - - - - - - - - - + + + + + + + + + + + +
- - - - - - - - - - + + + + + + + + + +
- - - - - - + + + + + +
- - - - - - - + + + + + + +
@@ -520,53 +520,53 @@
- - - - - - - - - - - - + + + + + + + + + + + +
- - - - - - - - - - + + + + + + + + + +
- - - - - - + + + + + +
- - - - - - - + + + + + + +
diff --git a/projects/IoTCenter/iotcenter.db b/projects/IoTCenter/iotcenter.db index 561a2db4ea73c832e61775913d9760b53f21adff..4e0b571a3349d24d783c67be367ef35f95abebe4 100644 GIT binary patch delta 401 zcmZozAkzRuEsR^3SR5FArn5RQB{OjrOwVv&vfIAGfhmB4v3k0JBAd!|Sx=^5O%3Ky zMoSAbBQr-=CtXu>S3_MBXESGAM^|SPU1I|$GfPu5Lsu7P)4=UBJ(;qvfech&PGBsU zo}$3)w0(sFa{$M5MNMYa>9U&4!P5gZm^By!rw6DoYqTHKWCmiE?FThkwZ1c(7+G$A zr@$t5Ur&^E2|xcdepSA$Y%;uedDGdtSeLM~^LcXzuvc)bI HpM4epu@Y#5 delta 305 zcmZozAkzRuEsR^3SR5F=r?WaRB~Q9U?o!7QAI7&NCZ z(PUF$)Z9MPlPUWeNWB7c!t`_nX2c z%l3nstXkih4NVQUzf)inyRRd{x`da18ow&vRyG;lyS(XaU93yk+4;P=1K7(rR&qsi zcJrw6GIH3n-{g9}Sy7;bb@~!kb~_d`JtNcU&sf=WnavF?r-!kz=dl_a>KR&0Kgq^k z$!xA?I^C6>-EjI3PIhxf^j?Tv9sGVa+WgWx$=ZE$cj(rV`n#GGBScF?B-<8 nWfYtq&dqK*y_cI^cY8D!yDu}N@%ELx?0Xm)4X3B^v(EwmC@oR9 diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js b/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js index a8ecdec2..c370634b 100644 --- a/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js +++ b/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js @@ -440,6 +440,9 @@ function init() { }, SendCode1(event) { console.log(event.target); + if (event.type !== 'change' && !event.target.checked) { + return; + } var form = $(event.target).parents('form'); var url = form.attr('action') + '?' + form.serialize(); if (form.hasClass('type1')) { diff --git a/projects/IoTNode/iotnode.db b/projects/IoTNode/iotnode.db index 6b70828599d1823912dce9769f7b3eaaab243d58..9cacac9f59e68ad378f09cd222daacc9bd794ec9 100644 GIT binary patch delta 508 zcmZoTAlCpyEsQNpEzB(}Ev#GEqDz=l3=Fr&m9S0X;7vvYxwY|%_CInxskuvu-NbAW9nGo#jYwLDogl#qtlZnOl*o$myI5-SU z4H8pQ3@o<`-eUWb#cpa~X=!edxShw9{f8EdBBLVPbdCacdF8hpF6?L7V;B_~XRH}eRmyJ7 z$ZTd}GJQuGdp@g?xt^inbe(ecVn)O13(DE&PhVfbzKPe!(&YJ+tuNdAMY6*)ATc+o SlHHt**~G|l`0LdcD`?l3!ETa6}{C{k`%|x-rlXJF=zB*VWWj&ah$mMGf}~8JWYZg ziMSx75iY{#ADRfM6a?GM??QTDVTXhzJQ0bT$TeuR zgs-)|(t?iasz#%s-dR0rMLu~)M8SG(_;H90kX(i~N1u{q_^dYTW~fpR1}Wcx9(uR} z_hb_rPA{!bLxHX>!C}g-0@w?0V6B_gNv6=C;S`SB=PA4u>>{1rfTJ#0r;pB`#)5F3 zN;-Lt_u6y=US#;lxNUxgcS;3DN5f+}vir7R`#OfY>W}FWn;F7?eQusDa#B-x&}-v& zY{DP5sA`avt8&o&=H7IrcqKyqg->#}#|zG{@-W z4BloX%Fg0zdKP292#e*t-uqen&}FK@&nF*$J$k(V#^s5