{"id":54912,"date":"2025-08-13T13:19:38","date_gmt":"2025-08-13T05:19:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/54912.html"},"modified":"2025-08-13T13:19:38","modified_gmt":"2025-08-13T05:19:38","slug":"%e5%9f%ba%e4%ba%8e51%e5%8d%95%e7%89%87%e6%9c%ba%e7%9a%84%e5%a4%aa%e9%98%b3%e8%83%bd%e9%94%82%e7%94%b5%e6%b1%a0%e5%85%85%e7%94%b5%e8%b7%af%e7%81%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/54912.html","title":{"rendered":"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f"},"content":{"rendered":"<h2>1 \u7cfb\u7edf\u529f\u80fd\u4ecb\u7ecd<\/h2>\n<p>\u672c\u8bbe\u8ba1\u57fa\u4e8e51\u5355\u7247\u673a&#xff0c;\u6784\u5efa\u4e86\u4e00\u5957\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u4e0e\u8def\u706f\u63a7\u5236\u7cfb\u7edf\u3002\u7cfb\u7edf\u96c6\u6210\u4e86\u592a\u9633\u80fd\u5145\u7535\u3001\u9502\u7535\u6c60\u7ba1\u7406\u3001\u5149\u7167\u68c0\u6d4b\u3001\u5b9a\u65f6\u63a7\u5236\u548cLED\u706f\u7167\u660e\u7b49\u529f\u80fd&#xff0c;\u80fd\u591f\u5b9e\u73b0\u767d\u5929\u81ea\u52a8\u4e3a\u9502\u7535\u6c60\u5145\u7535&#xff0c;\u591c\u665a\u6839\u636e\u5149\u7167\u6761\u4ef6\u548c\u5b9a\u65f6\u8bbe\u7f6e\u81ea\u52a8\u5f00\u542f\u6216\u5173\u95edLED\u706f&#xff0c;\u63d0\u9ad8\u80fd\u6e90\u5229\u7528\u6548\u7387\u548c\u4f7f\u7528\u4fbf\u6377\u6027\u3002<\/p>\n<p>\u7cfb\u7edf\u4e3b\u8981\u529f\u80fd\u5982\u4e0b&#xff1a;<\/p>\n<li>\u901a\u8fc7\u592a\u9633\u80fd\u7535\u6c60\u677f\u4e3a\u9502\u7535\u6c60\u5145\u7535&#xff0c;\u4fdd\u8bc1\u7cfb\u7edf\u7684\u6301\u7eed\u4f9b\u7535\u3002<\/li>\n<li>\u5229\u7528\u5149\u7167\u4f20\u611f\u5668\u68c0\u6d4b\u73af\u5883\u4eae\u5ea6&#xff0c;\u5b9e\u73b0\u767d\u5929\u81ea\u52a8\u5173\u95edLED\u706f&#xff0c;\u591c\u665a\u5f00\u542fLED\u706f\u3002<\/li>\n<li>\u5177\u6709\u5b9a\u65f6\u5f00\u5173\u529f\u80fd&#xff0c;\u5141\u8bb8\u7528\u6237\u8bbe\u7f6eLED\u706f\u7684\u5de5\u4f5c\u65f6\u95f4\u6bb5&#xff0c;\u5b9a\u65f6\u4f18\u5148\u7ea7\u9ad8\u4e8e\u5149\u7167\u68c0\u6d4b&#xff0c;\u5373\u4f7f\u767d\u5929\u5b9a\u65f6\u5185\u4e5f\u4f1a\u5f00\u542fLED\u706f\u3002<\/li>\n<li>\u91c7\u752851\u5355\u7247\u673a\u4f5c\u4e3a\u6838\u5fc3\u63a7\u5236\u5668&#xff0c;\u5b9e\u65f6\u91c7\u96c6\u4f20\u611f\u5668\u6570\u636e\u548c\u6309\u952e\u8f93\u5165&#xff0c;\u5b9e\u73b0\u667a\u80fd\u63a7\u5236\u3002<\/li>\n<li>\u5177\u6709\u6309\u952e\u68c0\u6d4b\u529f\u80fd&#xff0c;\u652f\u6301\u7528\u6237\u8bbe\u7f6e\u548c\u8c03\u6574\u5b9a\u65f6\u53c2\u6570\u3002<\/li>\n<hr \/>\n<h2>2 \u7cfb\u7edf\u7535\u8def\u8bbe\u8ba1<\/h2>\n<h3>2.1 51\u5355\u7247\u673a\u4e3b\u63a7\u7535\u8def<\/h3>\n<p>\u7cfb\u7edf\u91c7\u7528STC89C52\u5355\u7247\u673a\u4f5c\u4e3a\u4e3b\u63a7\u82af\u7247&#xff0c;\u8d1f\u8d23\u91c7\u96c6\u5149\u7167\u4f20\u611f\u5668\u6570\u636e\u3001\u63a7\u5236\u5145\u7535\u548cLED\u706f\u7684\u5f00\u5173\u4ee5\u53ca\u5904\u7406\u6309\u952e\u8f93\u5165\u3002<\/p>\n<ul>\n<li>\u65f6\u949f\u7535\u8def&#xff1a;\u914d\u590712MHz\u6676\u632f\u4e0e\u4e24\u4e2a30pF\u7535\u5bb9&#xff0c;\u4e3a\u5355\u7247\u673a\u63d0\u4f9b\u7a33\u5b9a\u65f6\u949f\u4fe1\u53f7\u3002<\/li>\n<li>\u590d\u4f4d\u7535\u8def&#xff1a;\u901a\u8fc7\u6309\u952e\u4e0e\u4e0a\u62c9\u7535\u963b\u5b9e\u73b0\u590d\u4f4d\u529f\u80fd&#xff0c;\u4fdd\u8bc1\u7cfb\u7edf\u80fd\u591f\u6b63\u786e\u542f\u52a8\u3002<\/li>\n<li>\u7535\u6e90\u7535\u8def&#xff1a;\u7cfb\u7edf\u4f9b\u7535\u7531\u9502\u7535\u6c60\u53ca\u5145\u7535\u6a21\u5757\u63d0\u4f9b&#xff0c;\u7a33\u538b\u82af\u7247\u4fdd\u8bc1\u5355\u7247\u673a\u548c\u5176\u4ed6\u6a21\u5757\u76845V\u7a33\u5b9a\u4f9b\u7535\u3002<\/li>\n<\/ul>\n<h3>2.2 \u592a\u9633\u80fd\u5145\u7535\u7535\u8def<\/h3>\n<p>\u592a\u9633\u80fd\u7535\u6c60\u677f\u662f\u7cfb\u7edf\u7684\u4e3b\u8981\u80fd\u91cf\u6765\u6e90&#xff0c;\u8bbe\u8ba1\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u592a\u9633\u80fd\u7535\u6c60\u677f&#xff1a;\u5c06\u5149\u80fd\u8f6c\u6362\u4e3a\u7535\u80fd&#xff0c;\u5411\u9502\u7535\u6c60\u5145\u7535\u3002<\/li>\n<li>\u5145\u7535\u7ba1\u7406\u6a21\u5757&#xff1a;\u5305\u62ec\u5145\u7535\u63a7\u5236\u82af\u7247\u548c\u4fdd\u62a4\u7535\u8def&#xff0c;\u9632\u6b62\u8fc7\u5145\u3001\u8fc7\u653e&#xff0c;\u4fdd\u969c\u9502\u7535\u6c60\u5b89\u5168\u4f7f\u7528\u3002<\/li>\n<li>\u7535\u538b\u68c0\u6d4b&#xff1a;\u901a\u8fc7\u91c7\u6837\u7535\u8def\u68c0\u6d4b\u9502\u7535\u6c60\u7535\u538b&#xff0c;\u5b9e\u65f6\u76d1\u63a7\u7535\u6c60\u72b6\u6001\u3002<\/li>\n<\/ul>\n<p>\u8be5\u6a21\u5757\u4fdd\u8bc1\u7cfb\u7edf\u5728\u767d\u5929\u901a\u8fc7\u592a\u9633\u80fd\u5145\u7535&#xff0c;\u7ef4\u6301\u9502\u7535\u6c60\u7535\u91cf\u5145\u8db3\u3002<\/p>\n<h3>2.3 \u5149\u7167\u68c0\u6d4b\u7535\u8def<\/h3>\n<p>\u5149\u7167\u68c0\u6d4b\u6a21\u5757\u4e3b\u8981\u7531\u5149\u654f\u7535\u963b&#xff08;LDR&#xff09;\u548c\u5206\u538b\u7535\u8def\u7ec4\u6210&#xff0c;\u914d\u5408\u5355\u7247\u673a\u7684ADC\u8f93\u5165\u7aef\u53e3&#xff0c;\u5b9e\u73b0\u73af\u5883\u5149\u5f3a\u7684\u68c0\u6d4b\u3002<\/p>\n<ul>\n<li>\u5149\u654f\u7535\u963b&#xff1a;\u5176\u7535\u963b\u503c\u968f\u7740\u73af\u5883\u5149\u7167\u5f3a\u5ea6\u53d8\u5316&#xff0c;\u5b9e\u73b0\u5149\u5f3a\u4fe1\u53f7\u8f6c\u6362\u3002<\/li>\n<li>\u7535\u4f4d\u5668&#xff1a;\u7528\u4e8e\u8c03\u8282\u5149\u7167\u68c0\u6d4b\u9608\u503c&#xff0c;\u7528\u6237\u53ef\u6839\u636e\u5b9e\u9645\u73af\u5883\u7075\u6d3b\u8c03\u6574\u3002<\/li>\n<li>\u6ee4\u6ce2\u7535\u8def&#xff1a;\u4fdd\u8bc1\u4f20\u611f\u4fe1\u53f7\u7a33\u5b9a&#xff0c;\u9632\u6b62\u566a\u58f0\u5e72\u6270\u3002<\/li>\n<\/ul>\n<p>\u7cfb\u7edf\u6839\u636e\u91c7\u96c6\u7684\u5149\u7167\u5f3a\u5ea6\u5224\u65ad\u5f53\u524d\u662f\u5426\u5904\u4e8e\u767d\u5929\u6216\u591c\u665a\u3002<\/p>\n<h3>2.4 LED\u706f\u63a7\u5236\u7535\u8def<\/h3>\n<p>LED\u706f\u4f5c\u4e3a\u7cfb\u7edf\u7684\u7167\u660e\u8f93\u51fa&#xff0c;\u901a\u8fc7\u5355\u7247\u673a\u63a7\u5236\u5176\u5f00\u5173\u72b6\u6001\u3002<\/p>\n<ul>\n<li>\u9ad8\u4eaeLED\u706f\u7ec4&#xff1a;\u6570\u91cf\u6839\u636e\u8bbe\u8ba1\u9700\u6c42\u786e\u5b9a&#xff0c;\u7528\u4e8e\u591c\u95f4\u7167\u660e\u3002<\/li>\n<li>\u9a71\u52a8\u7535\u8def&#xff1a;\u5355\u7247\u673aIO\u53e3\u901a\u8fc7\u9a71\u52a8\u4e09\u6781\u7ba1\u63a7\u5236LED\u706f\u7684\u5f00\u5173&#xff0c;\u5b9e\u73b0\u5927\u7535\u6d41\u9a71\u52a8\u3002<\/li>\n<li>\u4fdd\u62a4\u7535\u8def&#xff1a;\u9632\u6b62\u7535\u6d41\u8fc7\u5927\u635f\u574fLED\u706f\u548c\u63a7\u5236\u7535\u8def\u3002<\/li>\n<\/ul>\n<h3>2.5 \u6309\u952e\u68c0\u6d4b\u7535\u8def<\/h3>\n<p>\u6309\u952e\u7528\u4e8e\u7528\u6237\u8bbe\u7f6e\u548c\u8c03\u6574\u5b9a\u65f6\u529f\u80fd&#xff0c;\u8bbe\u8ba1\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u591a\u8def\u6309\u952e&#xff1a;\u5b9e\u73b0\u5b9a\u65f6\u53c2\u6570\u7684\u52a0\u51cf\u548c\u786e\u8ba4\u8bbe\u7f6e\u3002<\/li>\n<li>\u4e0a\u62c9\u7535\u963b&#xff1a;\u4fdd\u8bc1\u6309\u952e\u672a\u6309\u4e0b\u65f6\u8f93\u5165\u4e3a\u9ad8\u7535\u5e73&#xff0c;\u6309\u4e0b\u65f6\u63a5\u5730\u4ea7\u751f\u4f4e\u7535\u5e73\u3002<\/li>\n<li>\u53bb\u6296\u52a8\u8bbe\u8ba1&#xff1a;\u901a\u8fc7\u8f6f\u4ef6\u6d88\u9664\u6309\u952e\u6296\u52a8&#xff0c;\u4fdd\u8bc1\u6309\u952e\u8f93\u5165\u7a33\u5b9a\u3002<\/li>\n<\/ul>\n<h3>2.6 \u5b9a\u65f6\u8bbe\u7f6e\u7535\u8def<\/h3>\n<p>\u5b9a\u65f6\u8bbe\u7f6e\u529f\u80fd\u57fa\u4e8e\u5355\u7247\u673a\u5185\u90e8\u5b9a\u65f6\u5668\u5b9e\u73b0&#xff0c;\u901a\u8fc7\u6309\u952e\u8f93\u5165\u65f6\u95f4\u53c2\u6570&#xff0c;\u63a7\u5236LED\u706f\u5728\u6307\u5b9a\u65f6\u95f4\u6bb5\u5185\u5f00\u542f\u6216\u5173\u95ed\u3002<\/p>\n<ul>\n<li>\u5185\u90e8\u5b9a\u65f6\u5668&#xff1a;\u8ba1\u65f6\u7cbe\u786e&#xff0c;\u652f\u6301\u79d2\u7ea7\u65f6\u95f4\u8ba1\u91cf\u3002<\/li>\n<li>\u5b58\u50a8\u6a21\u5757&#xff1a;\u5b9a\u65f6\u53c2\u6570\u5b58\u50a8\u5728\u5355\u7247\u673a\u5185\u90e8RAM\u6216EEPROM&#xff0c;\u6389\u7535\u540e\u53c2\u6570\u4e0d\u4e22\u5931\u3002<\/li>\n<li>\u72b6\u6001\u6307\u793a&#xff1a;\u901a\u8fc7LED\u6216LCD\u6307\u793a\u5f53\u524d\u5b9a\u65f6\u72b6\u6001\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>3 \u7a0b\u5e8f\u8bbe\u8ba1<\/h2>\n<h3>3.1 \u7cfb\u7edf\u521d\u59cb\u5316\u6a21\u5757<\/h3>\n<p>\u7cfb\u7edf\u542f\u52a8\u65f6\u8fdb\u884c\u76f8\u5173\u786c\u4ef6\u548c\u8f6f\u4ef6\u521d\u59cb\u5316&#xff0c;\u5305\u62ec\u65f6\u949f\u3001IO\u53e3\u914d\u7f6e\u3001ADC\u521d\u59cb\u5316\u3001\u5b9a\u65f6\u5668\u542f\u52a8\u7b49\u3002<\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">System_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">ADC_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">LED_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">Key_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">Timer_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">Charge_Control_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">Light_Sensor_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">Load_Default_Parameters<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>3.2 \u5149\u7167\u68c0\u6d4b\u6a21\u5757<\/h3>\n<p>\u901a\u8fc7ADC\u8bfb\u53d6\u5149\u654f\u7535\u963b\u7535\u538b\u503c&#xff0c;\u5224\u65ad\u5f53\u524d\u73af\u5883\u4e3a\u767d\u5929\u8fd8\u662f\u591c\u665a\u3002<\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">define<\/span> <span class=\"token macro-name\">LIGHT_THRESHOLD<\/span>  <span class=\"token expression\"><span class=\"token number\">600<\/span>  <\/span><span class=\"token comment\">\/\/ \u5149\u7167\u9608\u503c&#xff0c;\u53ef\u8c03<\/span><\/span><\/p>\n<p><span class=\"token keyword\">unsigned<\/span> <span class=\"token keyword\">int<\/span> <span class=\"token function\">Read_Light<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token function\">ADC_Read<\/span><span class=\"token punctuation\">(<\/span>LDR_CHANNEL<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>bit <span class=\"token function\">Is_Daytime<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">Read_Light<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&gt;<\/span> LIGHT_THRESHOLD<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">?<\/span> <span class=\"token number\">1<\/span> <span class=\"token operator\">:<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>3.3 \u592a\u9633\u80fd\u5145\u7535\u63a7\u5236\u6a21\u5757<\/h3>\n<p>\u76d1\u6d4b\u7535\u6c60\u7535\u538b&#xff0c;\u63a7\u5236\u5145\u7535\u5f00\u5173&#xff0c;\u907f\u514d\u8fc7\u5145\u6216\u8fc7\u653e\u3002<\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">Charge_Control<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">unsigned<\/span> <span class=\"token keyword\">int<\/span> voltage <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">Read_Battery_Voltage<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>voltage <span class=\"token operator\">&lt;<\/span> LOW_VOLTAGE_THRESHOLD<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Enable_Charging<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>voltage <span class=\"token operator\">&gt;<\/span> HIGH_VOLTAGE_THRESHOLD<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Disable_Charging<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>3.4 \u6309\u952e\u626b\u63cf\u4e0e\u5b9a\u65f6\u8bbe\u7f6e\u6a21\u5757<\/h3>\n<p>\u5b9e\u73b0\u5b9a\u65f6\u5f00\u5173\u65f6\u95f4\u7684\u8bbe\u7f6e\u53ca\u786e\u8ba4&#xff0c;\u901a\u8fc7\u6309\u952e\u589e\u51cf\u5c0f\u65f6\u548c\u5206\u949f\u3002<\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">Key_Scan<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">Key_Up_Pressed<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Increase_Timer_Setting<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">Key_Down_Pressed<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Decrease_Timer_Setting<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">Key_Confirm_Pressed<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Save_Timer_Setting<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>3.5 \u5b9a\u65f6\u5224\u65ad\u53caLED\u63a7\u5236\u6a21\u5757<\/h3>\n<p>\u7cfb\u7edf\u6839\u636e\u5b9a\u65f6\u8bbe\u7f6e\u4e0e\u5f53\u524d\u65f6\u95f4\u5224\u65adLED\u706f\u662f\u5426\u5e94\u8be5\u70b9\u4eae\u3002\u540c\u65f6\u7ed3\u5408\u5149\u7167\u5224\u65ad&#xff0c;\u6ee1\u8db3\u5b9a\u65f6\u4f18\u5148\u7ea7\u3002<\/p>\n<p>bit <span class=\"token function\">Is_Time_On<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u83b7\u53d6\u5f53\u524d\u65f6\u95f4<\/span><br \/>\n    <span class=\"token keyword\">unsigned<\/span> <span class=\"token keyword\">int<\/span> current_hour <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">Get_Current_Hour<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">unsigned<\/span> <span class=\"token keyword\">int<\/span> current_min <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">Get_Current_Minute<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u5224\u65ad\u662f\u5426\u5728\u5b9a\u65f6\u8303\u56f4\u5185<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span>current_hour <span class=\"token operator\">&gt;<\/span> Timer_Start_Hour <span class=\"token operator\">||<\/span><br \/>\n       <span class=\"token punctuation\">(<\/span>current_hour <span class=\"token operator\">&#061;&#061;<\/span> Timer_Start_Hour <span class=\"token operator\">&amp;&amp;<\/span> current_min <span class=\"token operator\">&gt;&#061;<\/span> Timer_Start_Min<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&amp;&amp;<\/span><br \/>\n       <span class=\"token punctuation\">(<\/span>current_hour <span class=\"token operator\">&lt;<\/span> Timer_End_Hour <span class=\"token operator\">||<\/span><br \/>\n       <span class=\"token punctuation\">(<\/span>current_hour <span class=\"token operator\">&#061;&#061;<\/span> Timer_End_Hour <span class=\"token operator\">&amp;&amp;<\/span> current_min <span class=\"token operator\">&lt;&#061;<\/span> Timer_End_Min<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">LED_Control<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">Is_Time_On<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">LED_On<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token function\">Is_Daytime<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">LED_On<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">LED_Off<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>3.6 \u4e3b\u5faa\u73af\u7a0b\u5e8f<\/h3>\n<p>\u4e3b\u5faa\u73af\u5b9e\u65f6\u8fd0\u884c\u5404\u529f\u80fd\u6a21\u5757&#xff0c;\u5b9e\u73b0\u667a\u80fd\u5145\u7535\u4e0e\u667a\u80fd\u7167\u660e\u63a7\u5236\u3002<\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">System_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">Charge_Control<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token function\">Key_Scan<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token function\">LED_Control<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token function\">Delay_ms<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<hr \/>\n<h2>4 \u603b\u7ed3<\/h2>\n<p>\u672c\u8bbe\u8ba1\u5229\u752851\u5355\u7247\u673a\u4f5c\u4e3a\u6838\u5fc3\u63a7\u5236\u5355\u5143&#xff0c;\u7ed3\u5408\u592a\u9633\u80fd\u5145\u7535\u3001\u5149\u654f\u7535\u963b\u5149\u7167\u68c0\u6d4b\u3001LED\u7167\u660e\u63a7\u5236\u548c\u5b9a\u65f6\u5f00\u5173\u529f\u80fd&#xff0c;\u5b9e\u73b0\u4e86\u667a\u80fd\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f\u7cfb\u7edf\u3002\u7cfb\u7edf\u4e0d\u4ec5\u80fd\u4fdd\u8bc1\u767d\u5929\u9ad8\u6548\u5145\u7535&#xff0c;\u591c\u665a\u667a\u80fd\u7167\u660e&#xff0c;\u8fd8\u80fd\u901a\u8fc7\u5b9a\u65f6\u529f\u80fd\u6ee1\u8db3\u7528\u6237\u4e2a\u6027\u5316\u9700\u6c42&#xff0c;\u589e\u5f3a\u4e86\u7cfb\u7edf\u7684\u5b9e\u7528\u6027\u548c\u4fbf\u6377\u6027\u3002\u8be5\u8bbe\u8ba1\u7ed3\u6784\u7b80\u5355&#xff0c;\u7a33\u5b9a\u53ef\u9760&#xff0c;\u9002\u7528\u4e8e\u6237\u5916\u7167\u660e\u3001\u56ed\u533a\u8def\u706f\u7b49\u8282\u80fd\u73af\u4fdd\u5e94\u7528\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb782\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u4e00\u79cd\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f\u63a7\u5236\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u6848\u3002\u7cfb\u7edf\u901a\u8fc7\u592a\u9633\u80fd\u7535\u6c60\u677f\u4e3a\u9502\u7535\u6c60\u5145\u7535\uff0c\u91c7\u7528STC89C52\u5355\u7247\u673a\u4f5c\u4e3a\u4e3b\u63a7\uff0c\u96c6\u6210\u5149\u7167\u68c0\u6d4b\u3001LED\u706f\u63a7\u5236\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u6a21\u5757\u3002\u7cfb\u7edf\u80fd\u591f\u5b9e\u73b0\u767d\u5929\u81ea\u52a8\u5145\u7535\u3001\u591c\u665a\u6839\u636e\u5149\u7167\u6761\u4ef6\u667a\u80fd\u7167\u660e\uff0c\u5e76\u652f\u6301\u5b9a\u65f6\u5f00\u5173\u529f\u80fd\u3002\u786c\u4ef6\u8bbe\u8ba1\u5305\u62ec\u592a\u9633\u80fd\u5145\u7535\u7535\u8def\u3001\u5149\u7167\u68c0\u6d4b\u7535\u8def\u3001LED\u9a71\u52a8\u7535\u8def\u7b49\uff1b\u8f6f\u4ef6\u7a0b\u5e8f\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u5b9e\u73b0\u5145\u7535\u63a7\u5236\u3001\u5149\u7167\u5224\u65ad\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u3002\u8be5\u7cfb\u7edf\u7ed3\u6784\u7b80\u5355\u3001\u8282\u80fd\u73af\u4fdd\uff0c\u9002\u7528\u4e8e\u6237\u5916\u7167\u660e\u7b49\u5e94\u7528\u573a\u666f\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2489,270,269,1908,938],"topic":[],"class_list":["post-54912","post","type-post","status-publish","format-standard","hentry","category-server","tag-2489","tag-270","tag-269","tag-1908","tag-938"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/54912.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb782\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u4e00\u79cd\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f\u63a7\u5236\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u6848\u3002\u7cfb\u7edf\u901a\u8fc7\u592a\u9633\u80fd\u7535\u6c60\u677f\u4e3a\u9502\u7535\u6c60\u5145\u7535\uff0c\u91c7\u7528STC89C52\u5355\u7247\u673a\u4f5c\u4e3a\u4e3b\u63a7\uff0c\u96c6\u6210\u5149\u7167\u68c0\u6d4b\u3001LED\u706f\u63a7\u5236\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u6a21\u5757\u3002\u7cfb\u7edf\u80fd\u591f\u5b9e\u73b0\u767d\u5929\u81ea\u52a8\u5145\u7535\u3001\u591c\u665a\u6839\u636e\u5149\u7167\u6761\u4ef6\u667a\u80fd\u7167\u660e\uff0c\u5e76\u652f\u6301\u5b9a\u65f6\u5f00\u5173\u529f\u80fd\u3002\u786c\u4ef6\u8bbe\u8ba1\u5305\u62ec\u592a\u9633\u80fd\u5145\u7535\u7535\u8def\u3001\u5149\u7167\u68c0\u6d4b\u7535\u8def\u3001LED\u9a71\u52a8\u7535\u8def\u7b49\uff1b\u8f6f\u4ef6\u7a0b\u5e8f\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u5b9e\u73b0\u5145\u7535\u63a7\u5236\u3001\u5149\u7167\u5224\u65ad\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u3002\u8be5\u7cfb\u7edf\u7ed3\u6784\u7b80\u5355\u3001\u8282\u80fd\u73af\u4fdd\uff0c\u9002\u7528\u4e8e\u6237\u5916\u7167\u660e\u7b49\u5e94\u7528\u573a\u666f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/54912.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T05:19:38+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54912.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/54912.html\",\"name\":\"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T05:19:38+00:00\",\"dateModified\":\"2025-08-13T05:19:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/54912.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/54912.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54912.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/54912.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb782\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u4e00\u79cd\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f\u63a7\u5236\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u6848\u3002\u7cfb\u7edf\u901a\u8fc7\u592a\u9633\u80fd\u7535\u6c60\u677f\u4e3a\u9502\u7535\u6c60\u5145\u7535\uff0c\u91c7\u7528STC89C52\u5355\u7247\u673a\u4f5c\u4e3a\u4e3b\u63a7\uff0c\u96c6\u6210\u5149\u7167\u68c0\u6d4b\u3001LED\u706f\u63a7\u5236\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u6a21\u5757\u3002\u7cfb\u7edf\u80fd\u591f\u5b9e\u73b0\u767d\u5929\u81ea\u52a8\u5145\u7535\u3001\u591c\u665a\u6839\u636e\u5149\u7167\u6761\u4ef6\u667a\u80fd\u7167\u660e\uff0c\u5e76\u652f\u6301\u5b9a\u65f6\u5f00\u5173\u529f\u80fd\u3002\u786c\u4ef6\u8bbe\u8ba1\u5305\u62ec\u592a\u9633\u80fd\u5145\u7535\u7535\u8def\u3001\u5149\u7167\u68c0\u6d4b\u7535\u8def\u3001LED\u9a71\u52a8\u7535\u8def\u7b49\uff1b\u8f6f\u4ef6\u7a0b\u5e8f\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u5b9e\u73b0\u5145\u7535\u63a7\u5236\u3001\u5149\u7167\u5224\u65ad\u3001\u5b9a\u65f6\u8bbe\u7f6e\u7b49\u529f\u80fd\u3002\u8be5\u7cfb\u7edf\u7ed3\u6784\u7b80\u5355\u3001\u8282\u80fd\u73af\u4fdd\uff0c\u9002\u7528\u4e8e\u6237\u5916\u7167\u660e\u7b49\u5e94\u7528\u573a\u666f\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/54912.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T05:19:38+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/54912.html","url":"https:\/\/www.wsisp.com\/helps\/54912.html","name":"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T05:19:38+00:00","dateModified":"2025-08-13T05:19:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/54912.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/54912.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/54912.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e51\u5355\u7247\u673a\u7684\u592a\u9633\u80fd\u9502\u7535\u6c60\u5145\u7535\u8def\u706f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=54912"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54912\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=54912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=54912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=54912"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=54912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}