From fe4d037390a53bc0be70df9fa53c5824302ba423 Mon Sep 17 00:00:00 2001 From: nhkefus Date: Thu, 20 Mar 2025 18:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8E=E5=8F=B0=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=A8=A1=E5=9D=97=E6=A0=87=E9=A2=98=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TC1/http_server/web/index.html | 27 +++++++++++---------------- TC1/main.c | 2 +- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index b8d4127..49f5af0 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -116,20 +116,12 @@ -
-
-
+

插座控制

-
  • @@ -284,11 +276,9 @@
-
-
-
-
-
+ +

按键自定义

@@ -300,8 +290,12 @@
-
+
+
+

功率图

+
+
diff --git a/TC1/main.c b/TC1/main.c index cc3a47a..49d1384 100644 --- a/TC1/main.c +++ b/TC1/main.c @@ -162,7 +162,7 @@ int application_start(void) { sprintf(sys_config->micoSystemConfig.name, ZTC1_NAME, str_mac + 8); } - tc1_log("user:%s", user_config->user);tc1_log("device name:%s", + tc1_log("device name:%s", sys_config->micoSystemConfig.name);tc1_log( "mqtt_ip:%s", user_config->mqtt_ip);tc1_log("mqtt_port:%d", user_config->mqtt_port);tc1_log(