{"id":89803,"date":"2026-08-03T20:16:37","date_gmt":"2026-08-03T12:16:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/89803.html"},"modified":"2026-08-03T20:16:37","modified_gmt":"2026-08-03T12:16:37","slug":"%e5%9f%ba%e4%ba%8e%e9%b8%bf%e8%92%99os%e5%bc%80%e5%8f%91%e9%9d%99%e8%84%89%e8%be%93%e6%b6%b2%e6%99%ba%e8%83%bd%e7%9b%91%e6%8e%a7%e7%b3%bb%e7%bb%9f%ef%bc%881%ef%bc%89-%e9%a1%b9%e7%9b%ae%e6%80%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/89803.html","title":{"rendered":"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1"},"content":{"rendered":"<h2>\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf&#xff08;1&#xff09;-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1<\/h2>\n<h3>\u76ee\u5f55<\/h3>\n<ul>\n<li>1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f<\/li>\n<li>2. \u529f\u80fd\u5168\u666f\u56fe<\/li>\n<li>3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba1<\/li>\n<li>4. \u6280\u672f\u6808\u9009\u578b<\/li>\n<li>5. \u6570\u636e\u6d41\u67b6\u6784<\/li>\n<li>6. \u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8be6\u89e3<\/li>\n<li>7. \u7cfb\u7edf\u7528\u4f8b\u56fe\u4e0e\u573a\u666f\u5206\u6790<\/li>\n<li>8. \u975e\u529f\u80fd\u6027\u9700\u6c42<\/li>\n<li>9. \u6838\u5fc3\u6280\u672f\u51b3\u7b56\u8bb0\u5f55<\/li>\n<\/ul>\n<hr \/>\n<h3>1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f<\/h3>\n<h4>1.1 \u9759\u8109\u8f93\u6db2\u76d1\u63a7\u7684\u4e34\u5e8a\u9700\u6c42\u5206\u6790<\/h4>\n<p>\u9759\u8109\u8f93\u6db2&#xff08;Intravenous Therapy&#xff0c;\u7b80\u79f0 IV&#xff09;\u662f\u5168\u7403\u8303\u56f4\u5185\u6700\u666e\u904d\u7684\u4e34\u5e8a\u6cbb\u7597\u624b\u6bb5\u4e4b\u4e00\u3002\u5728\u4e2d\u56fd&#xff0c;\u8f93\u6db2\u6cbb\u7597\u7684\u4f7f\u7528\u9891\u7387\u8fdc\u8d85\u56fd\u9645\u5e73\u5747\u6c34\u5e73\u3002\u6839\u636e\u56fd\u5bb6\u536b\u5065\u59d4\u53ca\u4e2d\u56fd\u836f\u5b66\u4f1a\u7684\u7edf\u8ba1\u6570\u636e\u5206\u6790&#xff0c;\u4e2d\u56fd\u6bcf\u5e74\u9759\u8109\u8f93\u6db2\u4eba\u6b21\u7ea6\u4e3a 50 \u4ebf&#xff0c;\u8fd9\u610f\u5473\u7740\u5e73\u5747\u6bcf\u4f4d\u5c45\u6c11\u6bcf\u5e74\u63a5\u53d7\u7ea6 3.5 \u6b21\u8f93\u6db2\u6cbb\u7597\u3002\u8fd9\u4e00\u6570\u5b57\u662f\u6b27\u7f8e\u53d1\u8fbe\u56fd\u5bb6\u5e73\u5747\u6c34\u5e73\u7684 3-5 \u500d&#xff0c;\u4e2d\u56fd\u4e5f\u56e0\u6b64\u6210\u4e3a\u5168\u7403\u6700\u5927\u7684\u9759\u8109\u8f93\u6db2\u5e02\u573a\u3002<\/p>\n<p>\u5728\u5982\u6b64\u9ad8\u9891\u7684\u4e34\u5e8a\u64cd\u4f5c\u80cc\u540e&#xff0c;\u8f93\u6db2\u76d1\u63a7\u73af\u8282\u5374\u957f\u671f\u5904\u4e8e&#034;\u534a\u624b\u5de5&#034;\u72b6\u6001\u3002\u5f53\u524d\u533b\u9662\u8f93\u6db2\u76d1\u63a7\u7684\u6838\u5fc3\u77db\u76fe\u53ef\u4ee5\u6982\u62ec\u4e3a\u4ee5\u4e0b\u4e09\u4e2a\u7ef4\u5ea6&#xff1a;<\/p>\n<p>\u4f9b\u9700\u77db\u76fe \u2014 \u62a4\u58eb\u4eba\u529b\u4e25\u91cd\u4e0d\u8db3<\/p>\n<p>\u4e2d\u56fd\u62a4\u58eb\u4e0e\u5e8a\u4f4d\u7684\u914d\u6bd4\u957f\u671f\u4f4e\u4e8e\u56fd\u9645\u63a8\u8350\u6807\u51c6\u3002\u6839\u636e\u300a\u4e2d\u56fd\u536b\u751f\u5065\u5eb7\u7edf\u8ba1\u5e74\u9274\u300b\u7684\u6570\u636e&#xff0c;\u4e2d\u56fd\u6ce8\u518c\u62a4\u58eb\u603b\u6570\u7ea6 500 \u4e07&#xff0c;\u4f46\u9762\u5bf9\u5168\u56fd\u8fd1 800 \u4e07\u5f20\u533b\u9662\u5e8a\u4f4d&#xff0c;\u62a4\u60a3\u6bd4\u4f8b\u8fdc\u672a\u8fbe\u5230\u7406\u60f3\u72b6\u6001\u3002\u4e00\u4e2a\u5178\u578b\u7684\u75c5\u533a\u573a\u666f\u662f&#xff1a;1 \u540d\u503c\u73ed\u62a4\u58eb\u9700\u8981\u540c\u65f6\u7167\u770b 30-40 \u540d\u8f93\u6db2\u60a3\u8005&#xff0c;\u6bcf\u5b8c\u6210\u4e00\u6b21\u5de1\u68c0\u9700\u8981 20-30 \u5206\u949f&#xff0c;\u800c\u8f93\u6db2\u888b\u4ece\u5269\u4f59 50ml \u5230\u5b8c\u5168\u6ef4\u7a7a\u4ec5\u9700 5-10 \u5206\u949f\u3002\u8fd9\u610f\u5473\u7740\u5728\u62a4\u58eb\u4e24\u6b21\u5de1\u68c0\u4e4b\u95f4&#xff0c;\u6781\u6709\u53ef\u80fd\u51fa\u73b0\u8f93\u6db2\u888b\u5df2\u7a7a\u5374\u65e0\u4eba\u53d1\u73b0\u7684&#034;\u76d1\u63a7\u76f2\u533a&#034;\u3002<\/p>\n<p>\u4fe1\u606f\u4e0d\u5bf9\u79f0 \u2014 \u60a3\u8005\u4e0e\u5bb6\u5c5e\u5904\u4e8e\u88ab\u52a8\u7b49\u5f85\u72b6\u6001<\/p>\n<p>\u4f20\u7edf\u7684\u8f93\u6db2\u8fc7\u7a0b\u4e2d&#xff0c;\u60a3\u8005\u53ea\u80fd\u901a\u8fc7\u8089\u773c\u89c2\u5bdf\u8f93\u6db2\u888b\u7684\u6db2\u4f4d\u6765\u4f30\u8ba1\u5269\u4f59\u65f6\u95f4\u3002\u7136\u800c&#xff0c;\u591a\u6570\u60a3\u8005\u5e76\u4e0d\u5177\u5907\u533b\u5b66\u77e5\u8bc6&#xff0c;\u65e0\u6cd5\u51c6\u786e\u5224\u65ad\u8f93\u6db2\u8fdb\u5ea6\u3002\u5bf9\u4e8e\u8001\u5e74\u60a3\u8005\u3001\u89c6\u529b\u53d7\u9650\u60a3\u8005\u6216\u6b63\u5728\u4f11\u606f\u7684\u60a3\u8005\u800c\u8a00&#xff0c;\u8fd9\u79cd\u89c2\u5bdf\u51e0\u4e4e\u4e0d\u53ef\u80fd\u6301\u7eed\u8fdb\u884c\u3002\u5bb6\u5c5e\u65b9\u9762\u5219\u66f4\u52a0\u88ab\u52a8\u2014\u2014\u4ed6\u4eec\u4e0d\u5728\u75c5\u623f\u5185&#xff0c;\u5b8c\u5168\u65e0\u6cd5\u4e86\u89e3\u8f93\u6db2\u8fdb\u5c55&#xff0c;\u53ea\u80fd\u901a\u8fc7\u7535\u8bdd\u6216\u5fae\u4fe1\u8be2\u95ee&#xff0c;\u800c\u60a3\u8005\u672c\u8eab\u4e5f\u672a\u5fc5\u80fd\u7ed9\u51fa\u51c6\u786e\u7b54\u590d\u3002<\/p>\n<p>\u5b89\u5168\u98ce\u9669 \u2014 \u8f93\u6db2\u5f02\u5e38\u7684\u540e\u679c\u53ef\u80fd\u6781\u5176\u4e25\u91cd<\/p>\n<p>\u8f93\u6db2\u888b\u7a7a\u74f6\u540e\u672a\u53ca\u65f6\u5904\u7406&#xff0c;\u53ef\u80fd\u5bfc\u81f4\u4ee5\u4e0b\u98ce\u9669&#xff1a;<\/p>\n<table>\n<tr>\u98ce\u9669\u7c7b\u578b\u5177\u4f53\u63cf\u8ff0\u4e25\u91cd\u7a0b\u5ea6<\/tr>\n<tbody>\n<tr>\n<td>\u7a7a\u6c14\u6813\u585e<\/td>\n<td>\u7a7a\u6c14\u901a\u8fc7\u8f93\u6db2\u7ba1\u8fdb\u5165\u9759\u8109&#xff0c;\u53ef\u80fd\u5f15\u53d1\u80ba\u6813\u585e<\/td>\n<td>\u5371\u53ca\u751f\u547d<\/td>\n<\/tr>\n<tr>\n<td>\u56de\u8840<\/td>\n<td>\u8840\u6db2\u56de\u6d41\u81f3\u8f93\u6db2\u7ba1&#xff0c;\u9020\u6210\u60a3\u8005\u6050\u614c\u548c\u51dd\u8840<\/td>\n<td>\u4e2d\u5ea6\u98ce\u9669<\/td>\n<\/tr>\n<tr>\n<td>\u9759\u8109\u708e<\/td>\n<td>\u8f93\u6db2\u7ba1\u5185\u6b8b\u7559\u836f\u7269\u523a\u6fc0\u8840\u7ba1\u58c1<\/td>\n<td>\u4e2d\u5ea6\u98ce\u9669<\/td>\n<\/tr>\n<tr>\n<td>\u836f\u7269\u6d6a\u8d39<\/td>\n<td>\u6b8b\u4f59\u836f\u7269\u672a\u5b8c\u5168\u8f93\u5165\u5f71\u54cd\u7597\u6548<\/td>\n<td>\u8f7b\u5ea6\u98ce\u9669<\/td>\n<\/tr>\n<tr>\n<td>\u60a3\u8005\u7126\u8651<\/td>\n<td>\u6301\u7eed\u62c5\u5fe7\u8f93\u6db2\u8fdb\u5ea6\u5bfc\u81f4\u5fc3\u7406\u538b\u529b<\/td>\n<td>\u5fc3\u7406\u5f71\u54cd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6b63\u662f\u57fa\u4e8e\u4e0a\u8ff0\u4e34\u5e8a\u9700\u6c42&#xff0c;IVGuard \u9879\u76ee\u5e94\u8fd0\u800c\u751f\u2014\u2014\u5b83\u65e8\u5728\u7528\u667a\u80fd\u5316\u7684\u624b\u6bb5&#xff0c;\u5f25\u5408\u8f93\u6db2\u76d1\u63a7\u4e2d\u7684\u4eba\u529b\u7f3a\u53e3&#xff0c;\u6d88\u9664\u4fe1\u606f\u4e0d\u5bf9\u79f0&#xff0c;\u964d\u4f4e\u5b89\u5168\u98ce\u9669\u3002<\/p>\n<h4>1.2 \u73b0\u6709\u75db\u70b9\u6df1\u5ea6\u5256\u6790<\/h4>\n<p>\u5728\u6df1\u5165\u8c03\u7814\u4e86\u591a\u5bb6\u4e09\u7532\u533b\u9662\u7684\u5185\u79d1\u3001\u5916\u79d1\u3001\u80bf\u7624\u79d1\u7b49\u9ad8\u8f93\u6db2\u9891\u7387\u79d1\u5ba4\u540e&#xff0c;\u6211\u4eec\u5c06\u73b0\u6709\u75db\u70b9\u5f52\u7eb3\u4e3a\u4ee5\u4e0b\u56db\u4e2a\u6838\u5fc3\u7ef4\u5ea6&#xff1a;<\/p>\n<h5>\u75db\u70b9\u4e00&#xff1a;\u4e0d\u786e\u5b9a\u8f93\u6db2\u7ed3\u675f\u65f6\u95f4<\/h5>\n<p>\u8f93\u6db2\u901f\u5ea6\u53d7\u591a\u79cd\u56e0\u7d20\u5f71\u54cd&#xff0c;\u5305\u62ec\u836f\u7269\u7c98\u7a20\u5ea6\u3001\u60a3\u8005\u9759\u8109\u6761\u4ef6\u3001\u4f53\u4f4d\u53d8\u5316\u3001\u8f93\u6db2\u7ba1\u8c03\u8282\u5668\u8bbe\u7f6e\u7b49\u3002\u5373\u4f7f\u62a4\u58eb\u5728\u5f00\u59cb\u8f93\u6db2\u65f6\u544a\u77e5&#034;\u5927\u7ea6\u4e24\u5c0f\u65f6&#034;&#xff0c;\u5b9e\u9645\u65f6\u95f4\u4e5f\u53ef\u80fd\u5728 1.5-3 \u5c0f\u65f6\u4e4b\u95f4\u6ce2\u52a8\u3002\u60a3\u8005\u548c\u5bb6\u5c5e\u65e0\u6cd5\u83b7\u5f97\u7cbe\u786e\u7684\u5269\u4f59\u65f6\u95f4\u9884\u4f30&#xff0c;\u8fd9\u76f4\u63a5\u5bfc\u81f4&#xff1a;<\/p>\n<ul>\n<li>\u60a3\u8005\u4e0d\u6562\u5165\u7761\u6216\u5982\u5395&#xff0c;\u62c5\u5fc3\u9519\u8fc7\u6362\u74f6\u65f6\u673a<\/li>\n<li>\u5bb6\u5c5e\u65e0\u6cd5\u5408\u7406\u5b89\u6392\u966a\u62a4\u65f6\u95f4<\/li>\n<li>\u62a4\u58eb\u65e0\u6cd5\u79d1\u5b66\u89c4\u5212\u5de1\u68c0\u4f18\u5148\u7ea7&#xff0c;\u53ea\u80fd&#034;\u5747\u5300\u5de1\u68c0&#034;\u800c\u975e&#034;\u91cd\u70b9\u5de1\u68c0&#034;<\/li>\n<\/ul>\n<h5>\u75db\u70b9\u4e8c&#xff1a;\u5b8c\u5168\u4f9d\u8d56\u62a4\u58eb\u5de1\u68c0<\/h5>\n<p>\u5f53\u524d\u8f93\u6db2\u76d1\u63a7\u51e0\u4e4e\u5b8c\u5168\u4f9d\u8d56\u62a4\u58eb\u7684\u5b9a\u65f6\u5de1\u68c0\u3002\u8fd9\u79cd\u6a21\u5f0f\u7684\u56fa\u6709\u7f3a\u9677\u5305\u62ec&#xff1a;<\/p>\n<p>&#096; \u5de1\u68c0\u5468\u671f \u2248 20-30 \u5206\u949f \u7a7a\u74f6\u5230\u5371\u9669 \u2248 5-10 \u5206\u949f \u76d1\u63a7\u76f2\u533a &#061; \u5de1\u68c0\u5468\u671f &#8211; \u5371\u9669\u7a97\u53e3 \u2248 10-25 \u5206\u949f<\/p>\n<p>\u7ed3\u8bba&#xff1a;\u5728\u4e24\u6b21\u5de1\u68c0\u4e4b\u95f4&#xff0c;\u5fc5\u7136\u5b58\u5728\u76d1\u63a7\u76f2\u533a &#096;<\/p>\n<p>\u6b64\u5916&#xff0c;\u62a4\u58eb\u5de1\u68c0\u8fd8\u53d7\u5230\u4ee5\u4e0b\u56e0\u7d20\u5e72\u6270&#xff1a;\u591c\u95f4\u503c\u73ed\u75b2\u52b3\u3001\u7d27\u6025\u533b\u5631\u5904\u7406\u3001\u65b0\u5165\u9662\u60a3\u8005\u63a5\u5f85\u7b49\u3002\u5728\u9ad8\u5cf0\u65f6\u6bb5&#xff0c;\u5de1\u68c0\u53ef\u80fd\u88ab\u5ef6\u8fdf\u81f3 40 \u5206\u949f\u4ee5\u4e0a&#xff0c;\u8fdb\u4e00\u6b65\u6269\u5927\u76d1\u63a7\u76f2\u533a\u3002<\/p>\n<h5>\u75db\u70b9\u4e09&#xff1a;\u60a3\u8005\u6301\u7eed\u7126\u8651<\/h5>\n<p>\u6839\u636e\u6211\u4eec\u5bf9 200 \u540d\u4f4f\u9662\u8f93\u6db2\u60a3\u8005\u7684\u95ee\u5377\u8c03\u67e5&#xff08;\u6a21\u62df\u6570\u636e&#xff09;&#xff0c;\u8f93\u6db2\u8fc7\u7a0b\u4e2d\u7684\u5fc3\u7406\u72b6\u6001\u5206\u5e03\u5982\u4e0b&#xff1a;<\/p>\n<p>\u7126\u8651\u7a0b\u5ea6\u5206\u5e03&#xff1a; \u4e25\u91cd\u7126\u8651&#xff08;\u6301\u7eed\u76ef\u7740\u8f93\u6db2\u888b&#xff09; \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 35% \u4e2d\u5ea6\u7126\u8651&#xff08;\u9891\u7e41\u67e5\u770b&#xff09; \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 28% \u8f7b\u5ea6\u7126\u8651&#xff08;\u5076\u5c14\u6ce8\u610f&#xff09; \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 22% \u57fa\u672c\u65e0\u7126\u8651 \u2588\u2588\u2588\u2588 12% \u5b8c\u5168\u4e0d\u5173\u6ce8 \u2588\u2588 3%<\/p>\n<p>\u8d85\u8fc7 60% \u7684\u60a3\u8005\u5b58\u5728\u4e2d\u5ea6\u4ee5\u4e0a\u7126\u8651&#xff0c;\u8fd9\u79cd\u5fc3\u7406\u538b\u529b\u4e0d\u4ec5\u5f71\u54cd\u60a3\u8005\u7684\u4f11\u606f\u548c\u5eb7\u590d&#xff0c;\u8fd8\u53ef\u80fd\u5bfc\u81f4\u4e0d\u5fc5\u8981\u7684\u547c\u53eb&#xff08;\u201c\u62a4\u58eb&#xff0c;\u5feb\u6ef4\u5b8c\u4e86\u201d&#xff09;&#xff0c;\u8fdb\u4e00\u6b65\u52a0\u91cd\u62a4\u58eb\u7684\u5de5\u4f5c\u8d1f\u62c5\u3002<\/p>\n<h5>\u75db\u70b9\u56db&#xff1a;\u5bb6\u5c5e\u65e0\u6cd5\u8fdc\u7a0b\u4e86\u89e3<\/h5>\n<p>\u4e2d\u56fd\u533b\u9662\u7684\u966a\u62a4\u5236\u5ea6\u6b63\u5728\u7ecf\u5386\u6539\u9769&#xff0c;\u8d8a\u6765\u8d8a\u591a\u7684\u533b\u9662\u9650\u5236\u6216\u7981\u6b62\u5bb6\u5c5e 24 \u5c0f\u65f6\u966a\u62a4\u3002\u5728\u8fd9\u4e00\u8d8b\u52bf\u4e0b&#xff0c;\u5bb6\u5c5e\u5bf9\u4f4f\u9662\u4eb2\u4eba\u7684\u8f93\u6db2\u60c5\u51b5\u5b8c\u5168\u5904\u4e8e\u4fe1\u606f\u76f2\u533a&#xff1a;<\/p>\n<ul>\n<li>\u4e0d\u77e5\u9053\u5f53\u524d\u662f\u5426\u6b63\u5728\u8f93\u6db2<\/li>\n<li>\u4e0d\u77e5\u9053\u8f93\u6db2\u8fdb\u5ea6\u5982\u4f55<\/li>\n<li>\u4e0d\u77e5\u9053\u662f\u5426\u51fa\u73b0\u4e86\u5f02\u5e38\u6216\u9884\u8b66<\/li>\n<li>\u53ea\u80fd\u901a\u8fc7\u7535\u8bdd\u8be2\u95ee&#xff0c;\u4f46\u60a3\u8005\u53ef\u80fd\u6b63\u5728\u4f11\u606f\u65e0\u6cd5\u63a5\u542c<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u4fe1\u606f\u9694\u7edd\u4e0d\u4ec5\u589e\u52a0\u4e86\u5bb6\u5c5e\u7684\u7126\u8651&#xff0c;\u4e5f\u53ef\u80fd\u5ef6\u8bef\u5f02\u5e38\u60c5\u51b5\u7684\u5904\u7406\u2014\u2014\u5f53\u60a3\u8005\u81ea\u5df1\u65e0\u6cd5\u547c\u53eb\u65f6&#xff0c;\u5982\u679c\u5bb6\u5c5e\u80fd\u8fdc\u7a0b\u611f\u77e5\u5e76\u901a\u77e5\u62a4\u58eb\u7ad9&#xff0c;\u5c06\u5927\u5927\u7f29\u77ed\u5e94\u6025\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n<h4>1.3 IVGuard \u7684\u89e3\u51b3\u601d\u8def<\/h4>\n<p>IVGuard \u91c7\u7528 \u201c\u89c6\u89c9\u8bc6\u522b &#043; \u667a\u80fd\u8d34\u7eb8 &#043; \u591a\u89d2\u8272\u534f\u540c\u201d \u7684\u4e09\u4f4d\u4e00\u4f53\u65b9\u6848&#xff0c;\u7528\u6700\u4f4e\u7684\u786c\u4ef6\u6210\u672c\u5b9e\u73b0\u53ef\u9760\u7684\u8f93\u6db2\u76d1\u63a7\u3002\u6838\u5fc3\u7406\u5ff5\u662f&#xff1a;\u4e0d\u6539\u53d8\u73b0\u6709\u8f93\u6db2\u6d41\u7a0b&#xff0c;\u4e0d\u589e\u52a0\u4e13\u7528\u786c\u4ef6&#xff0c;\u4ec5\u7528\u667a\u80fd\u624b\u673a &#043; \u4e13\u7528\u8d34\u7eb8\u5373\u53ef\u5b9e\u73b0\u667a\u80fd\u76d1\u63a7\u3002<\/p>\n<h5>\u65b9\u6848\u6838\u5fc3\u8981\u7d20<\/h5>\n<p>1. \u89c6\u89c9\u8bc6\u522b&#xff08;Vision Recognition&#xff09;<\/p>\n<p>\u5229\u7528\u667a\u80fd\u624b\u673a\u540e\u7f6e\u6444\u50cf\u5934\u5bf9\u8f93\u6db2\u888b\u8fdb\u884c\u5b9a\u671f\u62cd\u7167&#xff0c;\u901a\u8fc7\u8ba1\u7b97\u673a\u89c6\u89c9\u7b97\u6cd5\u5206\u6790\u56fe\u50cf\u4e2d\u7684\u6db2\u4f4d\u4fe1\u606f\u3002\u5177\u4f53\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u624b\u673a\u56fa\u5b9a\u5728\u5e8a\u4fa7\u652f\u67b6\u4e0a&#xff0c;\u540e\u7f6e\u6444\u50cf\u5934\u5bf9\u51c6\u8f93\u6db2\u888b<\/li>\n<li>\u4ee5 3 \u79d2\u4e3a\u95f4\u9694\u5b9a\u671f\u91c7\u6837&#xff08;setInterval(3000)&#xff09;<\/li>\n<li>\u901a\u8fc7 CameraService \u83b7\u53d6\u5e27\u6570\u636e&#xff0c;VisionService \u8fdb\u884c\u6db2\u4f4d\u8bc6\u522b<\/li>\n<li>\u5f53\u524d MVP \u7248\u672c\u91c7\u7528\u6a21\u62df\u6570\u636e&#xff1a;\u6db2\u4f4d\u4ece 85% \u8d77\u59cb&#xff0c;\u6bcf\u91c7\u6837\u5468\u671f\u8870\u51cf 1-2%<\/li>\n<\/ul>\n<p> ypescript \/\/ VisionService.ets \u4e2d\u7684\u6a21\u62df\u903b\u8f91 static analyzeFrame(frame: image.PixelMap): number { const decay &#061; 1 &#043; Math.random() VisionService.currentLevel &#061; Math.max(0, VisionService.currentLevel &#8211; decay) return VisionService.currentLevel } <\/p>\n<p>2. \u667a\u80fd\u8d34\u7eb8&#xff08;Smart Sticker&#xff09;<\/p>\n<p>\u4e13\u7528\u8d34\u7eb8\u8d34\u5728\u8f93\u6db2\u888b\u5916\u58c1&#xff0c;\u5305\u542b\u4ee5\u4e0b\u5173\u952e\u8bbe\u8ba1\u5143\u7d20&#xff1a;<\/p>\n<ul>\n<li>\u523b\u5ea6\u6807\u8bb0&#xff1a;\u5e26\u6709\u7b49\u95f4\u8ddd\u7684\u523b\u5ea6\u7ebf&#xff0c;\u89c6\u89c9\u7b97\u6cd5\u901a\u8fc7\u8bc6\u522b\u523b\u5ea6\u7ebf\u4e0e\u6db2\u9762\u7684\u76f8\u5bf9\u4f4d\u7f6e\u6765\u786e\u5b9a\u7cbe\u786e\u6db2\u4f4d<\/li>\n<li>\u989c\u8272\u6807\u8bb0&#xff1a;\u4e0d\u540c\u533a\u57df\u4f7f\u7528\u4e0d\u540c\u989c\u8272&#xff08;\u7eff\/\u9ec4\/\u7ea2&#xff09;&#xff0c;\u8f85\u52a9\u989c\u8272\u8fb9\u754c\u68c0\u6d4b\u4f5c\u4e3a\u5907\u7528\u8bc6\u522b\u624b\u6bb5<\/li>\n<li>NFC \u82af\u7247&#xff1a;\u5d4c\u5165 NFC \u6807\u7b7e&#xff0c;\u624b\u673a\u9760\u8fd1\u5373\u53ef\u81ea\u52a8\u914d\u5bf9&#xff0c;\u8bfb\u53d6\u8d34\u7eb8 ID \u548c\u5173\u8054\u7684\u836f\u7269\u4fe1\u606f<\/li>\n<\/ul>\n<p>\u8d34\u7eb8\u65b9\u6848\u76f8\u6bd4\u7eaf\u89c6\u89c9\u65b9\u6848\u7684\u4f18\u52bf\u5728\u4e8e&#xff1a;\u523b\u5ea6\u6807\u8bb0\u63d0\u4f9b\u4e86\u7edd\u5bf9\u53c2\u8003\u7cfb&#xff0c;\u6d88\u9664\u4e86\u56e0\u8f93\u6db2\u888b\u5f62\u72b6\u3001\u5149\u7167\u6761\u4ef6\u3001\u62cd\u6444\u89d2\u5ea6\u5bfc\u81f4\u7684\u76f8\u5bf9\u8bef\u5dee&#xff0c;\u4f7f\u8bc6\u522b\u7cbe\u5ea6\u4ece\u7ea6\u6b63\u8d1f15%\u63d0\u5347\u81f3\u7ea6\u6b63\u8d1f5%\u3002<\/p>\n<p>3. \u591a\u89d2\u8272\u534f\u540c&#xff08;Multi-role Collaboration&#xff09;<\/p>\n<p>IVGuard \u5728\u540c\u4e00\u5e94\u7528\u4e2d\u652f\u6301\u4e09\u79cd\u89d2\u8272&#xff0c;\u5b9e\u73b0\u4fe1\u606f\u5728\u60a3\u8005\u3001\u62a4\u58eb\u3001\u5bb6\u5c5e\u4e4b\u95f4\u7684\u5b9e\u65f6\u6d41\u8f6c&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u9884\u8b66\u63a8\u9001 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u60a3\u8005\u7aef \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 \u62a4\u58eb\u7aef \u2502 \u2502 (\u76d1\u63a7\/\u836f\u7269)\u2502 \u2502 (\u5de5\u4f5c\u53f0) \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2191 \u2502 \u72b6\u6001\u540c\u6b65 \u2502 \u9884\u8b66\u8f6c\u53d1 \u2193 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u5bb6\u5c5e\u7aef \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 (\u8fdc\u7a0b\u76d1\u63a7)\u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<ul>\n<li>\u60a3\u8005&#xff1a;\u542f\u52a8\u76d1\u63a7\u3001\u7ba1\u7406\u836f\u7269\u3001\u67e5\u770b\u8d39\u7528\u3001\u5bfc\u822a\u5c31\u8bca<\/li>\n<li>\u62a4\u58eb&#xff1a;\u63a5\u6536\u9884\u8b66\u3001\u7ba1\u7406\u60a3\u8005\u5217\u8868\u3001\u67e5\u770b\u805a\u5408\u5206\u6790<\/li>\n<li>\u5bb6\u5c5e&#xff1a;\u8fdc\u7a0b\u67e5\u770b\u4eb2\u4eba\u8f93\u6db2\u72b6\u6001\u3001\u63a5\u6536\u9884\u8b66\u901a\u77e5<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u907f\u514d\u4e86&#034;\u4e09\u4e2a\u72ec\u7acb App&#034;\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u6210\u672c&#xff0c;\u540c\u65f6\u5229\u7528 UserRole \u679a\u4e3e\u5728\u5165\u53e3\u5904\u5b9e\u73b0\u89d2\u8272\u5206\u6d41&#xff0c;\u4fdd\u8bc1\u5404\u89d2\u8272\u770b\u5230\u7684\u529f\u80fd\u754c\u9762\u5b8c\u5168\u5b9a\u5236\u5316\u3002<\/p>\n<hr \/>\n<h3>2. \u529f\u80fd\u5168\u666f\u56fe<\/h3>\n<h4>2.1 \u60a3\u8005\u7aef\u529f\u80fd\u6a21\u5757<\/h4>\n<p>\u60a3\u8005\u7aef\u662f IVGuard \u7684\u6838\u5fc3\u529f\u80fd\u8f7d\u4f53&#xff0c;\u5305\u542b 7 \u5927\u529f\u80fd\u6a21\u5757&#xff0c;\u8986\u76d6\u4e86\u4ece\u8f93\u6db2\u76d1\u63a7\u5230\u5c31\u533b\u8f85\u52a9\u7684\u5b8c\u6574\u6d41\u7a0b\u3002<\/p>\n<h5>\u6a21\u5757\u4e00&#xff1a;\u5b9e\u65f6\u76d1\u63a7&#xff08;Monitor&#xff09;<\/h5>\n<p>\u5b9e\u65f6\u76d1\u63a7\u6a21\u5757\u662f IVGuard \u7684\u6838\u5fc3\u4ef7\u503c\u6240\u5728&#xff0c;\u4e3a\u60a3\u8005\u63d0\u4f9b\u8f93\u6db2\u8fdb\u5ea6\u7684\u5b9e\u65f6\u53ef\u89c6\u5316\u5448\u73b0\u3002<\/p>\n<table>\n<tr>\u529f\u80fd\u9879\u63cf\u8ff0\u6280\u672f\u5b9e\u73b0<\/tr>\n<tbody>\n<tr>\n<td>\u6db2\u4f4d\u663e\u793a<\/td>\n<td>\u5706\u5f62\u8fdb\u5ea6\u6761\u663e\u793a\u5f53\u524d\u6db2\u4f4d\u767e\u5206\u6bd4<\/td>\n<td>LevelProgress \u7ec4\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u8ba1\u5269\u4f59\u65f6\u95f4<\/td>\n<td>\u57fa\u4e8e\u6d41\u901f\u8ba1\u7b97\u5269\u4f59\u65f6\u95f4<\/td>\n<td>VisionService \u901f\u7387\u4f30\u7b97<\/td>\n<\/tr>\n<tr>\n<td>\u76f8\u673a\u9884\u89c8<\/td>\n<td>\u5b9e\u65f6\u663e\u793a\u6444\u50cf\u5934\u753b\u9762\u53ca\u8bc6\u522b\u53e0\u52a0\u5c42<\/td>\n<td>MonitorOverlay \u7ec4\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u6d41\u901f\u8d8b\u52bf<\/td>\n<td>\u5c55\u793a\u8fd1\u671f\u6d41\u901f\u53d8\u5316\u66f2\u7ebf<\/td>\n<td>FlowChart (Canvas)<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u8b66\u89e6\u53d1<\/td>\n<td>\u6db2\u4f4d\u4f4e\u4e8e\u9608\u503c\u81ea\u52a8\u89e6\u53d1\u9884\u8b66<\/td>\n<td>NotificationService<\/td>\n<\/tr>\n<tr>\n<td>\u8bed\u97f3\u63d0\u9192<\/td>\n<td>\u9884\u8b66\u65f6\u64ad\u653e\u8bed\u97f3\u63d0\u793a<\/td>\n<td>SpeechService<\/td>\n<\/tr>\n<tr>\n<td>NFC \u914d\u5bf9<\/td>\n<td>\u9760\u8fd1\u8d34\u7eb8\u81ea\u52a8\u914d\u5bf9<\/td>\n<td>NfcService<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u76d1\u63a7\u9875\u9762\u6838\u5fc3\u903b\u8f91&#xff1a;<\/p>\n<p> ypescript \/\/ MonitorPage.ets \u91c7\u6837\u903b\u8f91 aboutToAppear() { this.timer &#061; setInterval(() &#061;&gt; { const level &#061; VisionService.analyzeFrame(this.currentFrame) this.currentLevel &#061; level if (level &lt; this.alertThreshold) { NotificationService.sendAlert(&#039;\u6db2\u4f4d\u9884\u8b66&#039;, \u5f53\u524d\u6db2\u4f4d %) SpeechService.speak(&#039;\u8f93\u6db2\u5373\u5c06\u7ed3\u675f&#xff0c;\u8bf7\u6ce8\u610f&#039;) } }, 3000) \/\/ 3\u79d2\u91c7\u6837\u95f4\u9694 } <\/p>\n<h5>\u6a21\u5757\u4e8c&#xff1a;\u836f\u7269\u7ba1\u7406&#xff08;Medicine&#xff09;<\/h5>\n<p>\u836f\u7269\u7ba1\u7406\u6a21\u5757\u5e2e\u52a9\u60a3\u8005\u4e86\u89e3\u5f53\u524d\u4f7f\u7528\u7684\u836f\u7269\u4fe1\u606f&#xff0c;\u5e76\u63d0\u4f9b\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b\u3002<\/p>\n<table>\n<tr>\u529f\u80fd\u9879\u63cf\u8ff0\u6570\u636e\u6765\u6e90<\/tr>\n<tbody>\n<tr>\n<td>\u836f\u7269\u5217\u8868<\/td>\n<td>\u5c55\u793a\u5f53\u524d\u6240\u6709\u5728\u7528\u836f\u7269<\/td>\n<td>Medicine \u6570\u636e\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>\u836f\u7269\u8be6\u60c5<\/td>\n<td>\u67e5\u770b\u836f\u7269\u540d\u79f0\u3001\u5242\u91cf\u3001\u7528\u6cd5\u3001\u6ce8\u610f\u4e8b\u9879<\/td>\n<td>IVDrugDatabase (50 \u79cd)<\/td>\n<\/tr>\n<tr>\n<td>\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b<\/td>\n<td>\u81ea\u52a8\u68c0\u6d4b\u836f\u7269\u95f4\u7684\u914d\u4f0d\u7981\u5fcc<\/td>\n<td>DrugDatabase (12 \u7ec4)<\/td>\n<\/tr>\n<tr>\n<td>\u626b\u7801\u6dfb\u52a0<\/td>\n<td>\u626b\u63cf\u836f\u54c1\u6761\u7801\u81ea\u52a8\u586b\u5145\u4fe1\u606f<\/td>\n<td>ScanService<\/td>\n<\/tr>\n<tr>\n<td>\u6dfb\u52a0\/\u5220\u9664<\/td>\n<td>\u624b\u52a8\u7ba1\u7406\u836f\u7269\u5217\u8868<\/td>\n<td>DataStore \u6301\u4e45\u5316<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b\u662f\u8be5\u6a21\u5757\u7684\u5173\u952e\u5b89\u5168\u529f\u80fd\u3002\u7cfb\u7edf\u5185\u7f6e\u4e86 12 \u7ec4\u5e38\u89c1\u7684\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u6570\u636e&#xff0c;\u6db5\u76d6&#xff1a;<\/p>\n<ul>\n<li>\u5934\u5b62\u7c7b &#043; \u9152\u7cbe&#xff08;\u53cc\u786b\u4ed1\u6837\u53cd\u5e94&#xff09;<\/li>\n<li>\u534e\u6cd5\u6797 &#043; \u963f\u53f8\u5339\u6797&#xff08;\u51fa\u8840\u98ce\u9669\u589e\u52a0&#xff09;<\/li>\n<li>\u6c28\u57fa\u7cd6\u82f7\u7c7b &#043; \u544b\u585e\u7c73&#xff08;\u8033\u6bd2\u6027\u589e\u5f3a&#xff09;<\/li>\n<li>\u5934\u5b62\u66f2\u677e &#043; \u542b\u9499\u8f93\u6db2&#xff08;\u81f4\u547d\u6027\u6c89\u6dc0&#xff09;<\/li>\n<li>\u7b49\u7b49\u2026<\/li>\n<\/ul>\n<p>\u5f53\u7528\u6237\u6dfb\u52a0\u65b0\u836f\u7269\u65f6&#xff0c;\u7cfb\u7edf\u81ea\u52a8\u904d\u5386\u5df2\u6709\u836f\u7269\u5217\u8868&#xff0c;\u68c0\u6d4b\u662f\u5426\u5b58\u5728\u5df2\u77e5\u7684\u76f8\u4e92\u4f5c\u7528\u7ec4\u5408&#xff0c;\u82e5\u53d1\u73b0\u98ce\u9669\u5219\u7acb\u5373\u5728 UI \u4e0a\u663e\u793a\u9192\u76ee\u8b66\u544a\u3002<\/p>\n<h5>\u6a21\u5757\u4e09&#xff1a;\u5386\u53f2\u8bb0\u5f55&#xff08;History&#xff09;<\/h5>\n<p>\u5386\u53f2\u8bb0\u5f55\u6a21\u5757\u4fdd\u5b58\u6240\u6709\u76d1\u63a7\u4f1a\u8bdd\u7684\u5b8c\u6574\u6570\u636e&#xff0c;\u652f\u6301\u56de\u987e\u548c\u8ffd\u6eaf\u3002<\/p>\n<ul>\n<li>\u76d1\u63a7\u4f1a\u8bdd\u5217\u8868&#xff1a;\u6309\u65f6\u95f4\u5012\u5e8f\u5c55\u793a<\/li>\n<li>\u5355\u6b21\u4f1a\u8bdd\u8be6\u60c5&#xff1a;\u5f00\u59cb\/\u7ed3\u675f\u65f6\u95f4\u3001\u6db2\u4f4d\u53d8\u5316\u66f2\u7ebf<\/li>\n<li>\u8bb0\u5f55\u5bfc\u51fa&#xff1a;\u652f\u6301\u5206\u4eab\u7ed9\u533b\u751f\u67e5\u770b<\/li>\n<li>\u6570\u636e\u7edf\u8ba1&#xff1a;\u603b\u76d1\u63a7\u6b21\u6570\u3001\u603b\u8f93\u6db2\u65f6\u957f\u7b49<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u56db&#xff1a;\u6570\u636e\u5206\u6790&#xff08;Analysis&#xff09;<\/h5>\n<p>\u6570\u636e\u5206\u6790\u6a21\u5757\u5bf9\u5386\u53f2\u76d1\u63a7\u6570\u636e\u8fdb\u884c\u667a\u80fd\u5206\u6790&#xff0c;\u63d0\u4f9b\u6709\u4ef7\u503c\u7684\u8d8b\u52bf\u6d1e\u5bdf\u3002<\/p>\n<ul>\n<li>\u6db2\u4f4d\u53d8\u5316\u8d8b\u52bf\u56fe&#xff08;Canvas \u7ed8\u5236&#xff09;<\/li>\n<li>\u5e73\u5747\u8f93\u6db2\u65f6\u957f\u7edf\u8ba1<\/li>\n<li>\u9884\u8b66\u9891\u7387\u5206\u6790<\/li>\n<li>AI \u667a\u80fd\u5efa\u8bae&#xff08;AIService \u63d0\u4f9b\u57fa\u4e8e\u89c4\u5219\u7684\u63a8\u7406&#xff09;<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u4e94&#xff1a;\u533b\u7597\u8d39\u7528&#xff08;Cost&#xff09;<\/h5>\n<p>\u8d39\u7528\u7ba1\u7406\u6a21\u5757\u5e2e\u52a9\u60a3\u8005\u5b9e\u65f6\u8ffd\u8e2a\u8f93\u6db2\u76f8\u5173\u7684\u533b\u7597\u8d39\u7528&#xff0c;\u5e76\u63d0\u4f9b\u533b\u4fdd\u62a5\u9500\u4f30\u7b97\u3002<\/p>\n<table>\n<tr>\u529f\u80fd\u9879\u63cf\u8ff0\u6280\u672f\u5b9e\u73b0<\/tr>\n<tbody>\n<tr>\n<td>\u8d39\u7528\u5217\u8868<\/td>\n<td>\u6309\u7c7b\u522b\u5c55\u793a\u5404\u9879\u8d39\u7528<\/td>\n<td>CostItem \u6570\u636e\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528\u8be6\u60c5<\/td>\n<td>\u5355\u9879\u8d39\u7528\u7684\u8be6\u7ec6\u4fe1\u606f<\/td>\n<td>CostDetailPage<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u4fdd\u8bbe\u7f6e<\/td>\n<td>5 \u6b65\u5f15\u5bfc\u8bbe\u7f6e\u533b\u4fdd\u4fe1\u606f<\/td>\n<td>InsuranceSetupPage<\/td>\n<\/tr>\n<tr>\n<td>\u62a5\u9500\u8ba1\u7b97<\/td>\n<td>\u81ea\u52a8\u8ba1\u7b97\u533b\u4fdd\u62a5\u9500\u91d1\u989d<\/td>\n<td>CostService<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528\u997c\u56fe<\/td>\n<td>\u6309\u7c7b\u522b\u53ef\u89c6\u5316\u8d39\u7528\u5206\u5e03<\/td>\n<td>CostPieChart (Canvas)<\/td>\n<\/tr>\n<tr>\n<td>\u81ea\u8d39\u4f30\u7b97<\/td>\n<td>\u4f30\u7b97\u4e2a\u4eba\u5b9e\u9645\u652f\u4ed8\u91d1\u989d<\/td>\n<td>InsurancePolicy &#043; CostService<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u6a21\u5757\u516d&#xff1a;\u533b\u9662\u5bfc\u822a&#xff08;Hospital Navigation&#xff09;<\/h5>\n<p>\u533b\u9662\u5bfc\u822a\u6a21\u5757\u63d0\u4f9b\u5ba4\u5185\u5bfc\u822a\u529f\u80fd&#xff0c;\u5e2e\u52a9\u60a3\u8005\u5feb\u901f\u627e\u5230\u79d1\u5ba4\u3001\u68c0\u67e5\u5ba4\u7b49\u76ee\u6807\u4f4d\u7f6e\u3002<\/p>\n<ul>\n<li>\u533b\u9662\u5e73\u9762\u56fe\u5c55\u793a&#xff08;HospitalMapView \u7ec4\u4ef6&#xff09;<\/li>\n<li>POI \u641c\u7d22\u4e0e\u8def\u5f84\u89c4\u5212&#xff08;NavService&#xff09;<\/li>\n<li>\u79d1\u5ba4\/\u8bbe\u65bd\u5b9a\u4f4d&#xff08;HospitalPOI \u6570\u636e\u6a21\u578b&#xff09;<\/li>\n<li>\u6b65\u9aa4\u6307\u793a\u5668\u5f15\u5bfc&#xff08;StepIndicator \u7ec4\u4ef6&#xff09;<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u4e03&#xff1a;\u667a\u80fd\u624b\u8868\u8054\u52a8&#xff08;Watch Integration&#xff09;<\/h5>\n<p>\u624b\u8868\u8054\u52a8\u6a21\u5757\u5b9e\u73b0\u4e0e HarmonyOS \u667a\u80fd\u624b\u8868\u7684\u6570\u636e\u4e92\u901a\u3002<\/p>\n<ul>\n<li>\u624b\u8868\u7aef\u6db2\u4f4d\u6982\u89c8<\/li>\n<li>\u9707\u52a8\u9884\u8b66\u901a\u77e5<\/li>\n<li>\u5feb\u901f\u547c\u53eb\u62a4\u58eb<\/li>\n<li>\u901a\u8fc7 WatchService \u5b9e\u73b0\u7aef\u4fa7\u901a\u4fe1<\/li>\n<\/ul>\n<h4>2.2 \u62a4\u58eb\u7aef\u529f\u80fd\u6a21\u5757<\/h4>\n<p>\u62a4\u58eb\u7aef\u4ee5\u6548\u7387\u4f18\u5148\u4e3a\u8bbe\u8ba1\u539f\u5219&#xff0c;\u805a\u7126\u4e8e 3 \u5927\u6838\u5fc3\u529f\u80fd\u6a21\u5757&#xff0c;\u5e2e\u52a9\u62a4\u58eb\u5feb\u901f\u83b7\u53d6\u4fe1\u606f\u3001\u9ad8\u6548\u5904\u7406\u9884\u8b66\u3002<\/p>\n<h5>\u6a21\u5757\u4e00&#xff1a;\u5de5\u4f5c\u53f0&#xff08;Nurse Workbench&#xff09;<\/h5>\n<p>\u62a4\u58eb\u5de5\u4f5c\u53f0\u662f\u62a4\u58eb\u7aef\u7684\u9996\u9875&#xff0c;\u63d0\u4f9b&#034;\u4e00\u5c4f\u638c\u63e1&#034;\u7684\u4fe1\u606f\u805a\u5408\u89c6\u56fe\u3002<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u62a4\u58eb\u5de5\u4f5c\u53f0 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u9884\u8b66\u961f\u5217 \u2502 \u4eca\u65e5\u7edf\u8ba1 \u2502 \u5feb\u6377\u64cd\u4f5c \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u603b\u60a3\u8005: 35 \u2502 [\u67e5\u770b\u60a3\u8005\u5217\u8868] \u2502 \u2502 \u2502 &#x1f534; \u5f20\u4e09 \u2502 \u2502 \u8f93\u6db2\u4e2d: 28 \u2502 [\u805a\u5408\u5206\u6790] \u2502 \u2502 \u2502 &#x1f7e1; \u674e\u56db \u2502 \u2502 \u9884\u8b66: 3 \u2502 [\u6279\u91cf\u5904\u7406] \u2502 \u2502 \u2502 &#x1f7e2; \u738b\u4e94 \u2502 \u2502 \u5df2\u5b8c\u6210: 7 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u9884\u8b66\u8be6\u60c5\u5361\u7247 (AlertCard) \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<ul>\n<li>\u9884\u8b66\u961f\u5217&#xff1a;\u6309\u7d27\u6025\u7a0b\u5ea6\u6392\u5e8f\u7684\u5b9e\u65f6\u9884\u8b66\u5217\u8868<\/li>\n<li>\u4eca\u65e5\u7edf\u8ba1&#xff1a;\u5f53\u65e5\u8f93\u6db2\u6982\u89c8\u6570\u636e<\/li>\n<li>\u5feb\u6377\u64cd\u4f5c&#xff1a;\u4e00\u952e\u8df3\u8f6c\u5e38\u7528\u529f\u80fd<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u4e8c&#xff1a;\u60a3\u8005\u5217\u8868&#xff08;Patient List&#xff09;<\/h5>\n<p>\u60a3\u8005\u5217\u8868\u6a21\u5757\u5c55\u793a\u5f53\u524d\u6240\u6709\u8f93\u6db2\u60a3\u8005\u7684\u72b6\u6001\u4fe1\u606f&#xff0c;\u652f\u6301\u7b5b\u9009\u548c\u6392\u5e8f\u3002<\/p>\n<ul>\n<li>\u5168\u60a3\u8005\u72b6\u6001\u603b\u89c8<\/li>\n<li>\u6309\u79d1\u5ba4\/\u75c5\u533a\/\u9884\u8b66\u7b49\u7ea7\u7b5b\u9009<\/li>\n<li>\u70b9\u51fb\u8fdb\u5165\u60a3\u8005\u8be6\u60c5<\/li>\n<li>\u6279\u91cf\u64cd\u4f5c\u652f\u6301<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u4e09&#xff1a;\u805a\u5408\u5206\u6790&#xff08;Nurse Analysis&#xff09;<\/h5>\n<p>\u805a\u5408\u5206\u6790\u6a21\u5757\u63d0\u4f9b\u62a4\u58eb\u89c6\u89d2\u7684\u6570\u636e\u7edf\u8ba1\u548c\u8d8b\u52bf\u5206\u6790\u3002<\/p>\n<ul>\n<li>\u79d1\u5ba4\u8f93\u6db2\u7edf\u8ba1<\/li>\n<li>\u9ad8\u9891\u9884\u8b66\u65f6\u6bb5\u5206\u6790<\/li>\n<li>\u836f\u7269\u4f7f\u7528\u5206\u5e03<\/li>\n<li>\u5de5\u4f5c\u8d1f\u8377\u8d8b\u52bf<\/li>\n<\/ul>\n<h4>2.3 \u5bb6\u5c5e\u7aef\u529f\u80fd\u6a21\u5757<\/h4>\n<p>\u5bb6\u5c5e\u7aef\u4ee5\u7b80\u6d01\u76f4\u89c2\u4e3a\u8bbe\u8ba1\u539f\u5219&#xff0c;\u63d0\u4f9b 2 \u5927\u529f\u80fd\u6a21\u5757&#xff0c;\u8ba9\u5bb6\u5c5e\u8db3\u4e0d\u51fa\u6237\u5373\u53ef\u4e86\u89e3\u4eb2\u4eba\u7684\u8f93\u6db2\u72b6\u6001\u3002<\/p>\n<h5>\u6a21\u5757\u4e00&#xff1a;\u8fdc\u7a0b\u76d1\u63a7\u9762\u677f&#xff08;Family Monitor&#xff09;<\/h5>\n<p>\u8fdc\u7a0b\u76d1\u63a7\u9762\u677f\u662f\u5bb6\u5c5e\u7aef\u7684\u9996\u9875&#xff0c;\u63d0\u4f9b\u5173\u952e\u4fe1\u606f\u7684\u6982\u89c8\u89c6\u56fe\u3002<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u4eb2\u4eba\u8f93\u6db2\u72b6\u6001 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u6db2\u4f4d: 45% \u2502 \u2502 \u2502 \u2502 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591 \u2502 \u2502 \u2502 \u2502 \u9884\u8ba1\u5269\u4f59: 35 \u5206\u949f \u2502 \u2502 \u2502 \u2502 \u836f\u7269: 0.9% NaCl \u2502 \u2502 \u2502 \u2502 \u72b6\u6001: \u6b63\u5e38\u8f93\u6db2\u4e2d \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 [\u8054\u7cfb\u62a4\u58eb\u7ad9] [\u67e5\u770b\u9884\u8b66\u8bb0\u5f55] \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<ul>\n<li>\u4eb2\u4eba\u5f53\u524d\u6db2\u4f4d\u548c\u9884\u8ba1\u5269\u4f59\u65f6\u95f4<\/li>\n<li>\u5f53\u524d\u7528\u836f\u4fe1\u606f<\/li>\n<li>\u4e00\u952e\u8054\u7cfb\u62a4\u58eb\u7ad9<\/li>\n<li>\u72b6\u6001\u53d8\u66f4\u63a8\u9001\u901a\u77e5<\/li>\n<\/ul>\n<h5>\u6a21\u5757\u4e8c&#xff1a;\u9884\u8b66\u8bb0\u5f55&#xff08;Family Alert&#xff09;<\/h5>\n<p>\u9884\u8b66\u8bb0\u5f55\u6a21\u5757\u5c55\u793a\u5386\u53f2\u9884\u8b66\u4e8b\u4ef6&#xff0c;\u8ba9\u5bb6\u5c5e\u4e86\u89e3\u8fc7\u53bb\u53d1\u751f\u7684\u5f02\u5e38\u60c5\u51b5\u3002<\/p>\n<ul>\n<li>\u9884\u8b66\u65f6\u95f4\u7ebf<\/li>\n<li>\u9884\u8b66\u7c7b\u578b\u548c\u7ea7\u522b<\/li>\n<li>\u5904\u7406\u72b6\u6001\u548c\u7ed3\u679c<\/li>\n<li>\u7edf\u8ba1\u6458\u8981<\/li>\n<\/ul>\n<h4>2.4 \u8de8\u89d2\u8272\u5171\u4eab\u529f\u80fd<\/h4>\n<p>\u4ee5\u4e0b\u529f\u80fd\u5728\u4e09\u79cd\u89d2\u8272\u95f4\u5171\u4eab&#xff0c;\u4f46\u6839\u636e\u89d2\u8272\u6743\u9650\u8fdb\u884c\u5dee\u5f02\u5316\u5c55\u793a\u3002<\/p>\n<h5>\u8bbe\u7f6e&#xff08;Settings&#xff09;<\/h5>\n<ul>\n<li>\u901a\u77e5\u504f\u597d\u8bbe\u7f6e<\/li>\n<li>\u8bed\u97f3\u63d0\u9192\u5f00\u5173<\/li>\n<li>\u9884\u8b66\u9608\u503c\u8c03\u6574<\/li>\n<li>\u89d2\u8272\u5207\u6362<\/li>\n<li>\u6570\u636e\u6e05\u9664<\/li>\n<li>\u5173\u4e8e\/\u7248\u672c\u4fe1\u606f<\/li>\n<\/ul>\n<h5>\u5bfc\u822a&#xff08;Navigation&#xff09;<\/h5>\n<ul>\n<li>\u5e94\u7528\u5185\u9875\u9762\u5bfc\u822a<\/li>\n<li>\u533b\u9662\u5ba4\u5185\u5bfc\u822a&#xff08;\u60a3\u8005\u7aef\u5b8c\u6574\u7248&#xff0c;\u62a4\u58eb\/\u5bb6\u5c5e\u7aef\u7b80\u5316\u7248&#xff09;<\/li>\n<\/ul>\n<h4>2.5 \u529f\u80fd\u77e9\u9635\u603b\u89c8<\/h4>\n<table>\n<tr>\u529f\u80fd\u6a21\u5757\u60a3\u8005\u62a4\u58eb\u5bb6\u5c5e<\/tr>\n<tbody>\n<tr>\n<td>\u5b9e\u65f6\u76d1\u63a7<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u53ea\u8bfb<\/td>\n<td align=\"center\">\u53ea\u8bfb<\/td>\n<\/tr>\n<tr>\n<td>\u836f\u7269\u7ba1\u7406<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u53ea\u8bfb<\/td>\n<td align=\"center\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u5386\u53f2\u8bb0\u5f55<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u805a\u5408<\/td>\n<td align=\"center\">\u9884\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5206\u6790<\/td>\n<td align=\"center\">\u4e2a\u4eba<\/td>\n<td align=\"center\">\u79d1\u5ba4<\/td>\n<td align=\"center\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u7597\u8d39\u7528<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">\u53ea\u8bfb<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u9662\u5bfc\u822a<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u7b80\u5316<\/td>\n<td align=\"center\">\u7b80\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u624b\u8868\u8054\u52a8<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">\u9707\u52a8<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u53f0<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u60a3\u8005\u5217\u8868<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u8fdc\u7a0b\u76d1\u63a7<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">&#8211;<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u8b66\u8bb0\u5f55<\/td>\n<td align=\"center\">\u4e2a\u4eba<\/td>\n<td align=\"center\">\u5168\u90e8<\/td>\n<td align=\"center\">\u4eb2\u4eba<\/td>\n<\/tr>\n<tr>\n<td>\u8bbe\u7f6e<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<td align=\"center\">\u5b8c\u6574<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba1<\/h3>\n<h4>3.1 \u5206\u5c42\u67b6\u6784\u603b\u89c8<\/h4>\n<p>IVGuard \u91c7\u7528\u7ecf\u5178\u7684 \u4e94\u5c42\u5206\u5c42\u67b6\u6784&#xff0c;\u4ece\u4e0a\u5230\u4e0b\u4f9d\u6b21\u4e3a&#xff1a;\u5165\u53e3\u5c42\u3001\u9875\u9762\u5c42\u3001\u7ec4\u4ef6\u5c42\u3001\u670d\u52a1\u5c42\u3001\u6570\u636e\u5c42\u3002\u6bcf\u4e00\u5c42\u804c\u8d23\u660e\u786e&#xff0c;\u5c42\u95f4\u4f9d\u8d56\u5355\u5411\u5411\u4e0b\u3002<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u5165\u53e3\u5c42 (Entry) \u2502 \u2502 Index.ets \u2014 \u89d2\u8272\u5206\u53d1 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u9875\u9762\u5c42 (Pages) \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502HomePage \u2502 \u2502MonitorP. \u2502 \u2502MedicineP.\u2502 \u2502CostPage \u2502 &#8230; \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u7ec4\u4ef6\u5c42 (Component) \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502LevelProg. \u2502 \u2502MedCard \u2502 \u2502AlertCard \u2502 \u2502CostPie \u2502 &#8230; \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u670d\u52a1\u5c42 (Service) \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502Camera \u2502 \u2502Vision \u2502 \u2502Notificat.\u2502 \u2502Speech \u2502 &#8230; \u2502 \u2502 \u2502Service \u2502 \u2502Service \u2502 \u2502Service \u2502 \u2502Service \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u6570\u636e\u5c42 (Model) \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502DataModels\u2502 \u2502RouteParam\u2502 \u2502DrugDB \u2502 \u2502Insurance \u2502 &#8230; \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u5404\u5c42\u804c\u8d23\u8bf4\u660e&#xff1a;<\/p>\n<table>\n<tr>\u5c42\u7ea7\u76ee\u5f55\u6587\u4ef6\u6570\u6838\u5fc3\u804c\u8d23<\/tr>\n<tbody>\n<tr>\n<td>\u5165\u53e3\u5c42<\/td>\n<td>\u6839\u76ee\u5f55<\/td>\n<td>1<\/td>\n<td>\u89d2\u8272\u9009\u62e9\u4e0e\u8def\u7531\u5206\u53d1<\/td>\n<\/tr>\n<tr>\n<td>\u9875\u9762\u5c42<\/td>\n<td>pages\/<\/td>\n<td>17<\/td>\n<td>\u4e1a\u52a1\u6d41\u7a0b\u7684\u5b8c\u6574\u9875\u9762<\/td>\n<\/tr>\n<tr>\n<td>\u7ec4\u4ef6\u5c42<\/td>\n<td>component\/<\/td>\n<td>8<\/td>\n<td>\u53ef\u590d\u7528\u7684 UI \u7ec4\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u670d\u52a1\u5c42<\/td>\n<td>service\/<\/td>\n<td>11<\/td>\n<td>\u4e1a\u52a1\u903b\u8f91\u4e0e\u7cfb\u7edf\u80fd\u529b\u5c01\u88c5<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5c42<\/td>\n<td>model\/<\/td>\n<td>6<\/td>\n<td>\u6570\u636e\u7ed3\u6784\u5b9a\u4e49\u4e0e\u9759\u6001\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5206\u5c42\u67b6\u6784\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u5b9e\u73b0\u4e86\u5173\u6ce8\u70b9\u5206\u79bb&#xff0c;\u4f7f\u5f97\u6bcf\u4e00\u5c42\u53ef\u4ee5\u72ec\u7acb\u6f14\u5316\u3002\u5f53\u89c6\u89c9\u8bc6\u522b\u7b97\u6cd5\u9700\u8981\u5347\u7ea7\u65f6&#xff0c;\u53ea\u9700\u4fee\u6539 VisionService.ets&#xff0c;\u9875\u9762\u5c42\u548c\u7ec4\u4ef6\u5c42\u65e0\u9700\u4efb\u4f55\u53d8\u66f4\u3002\u5f53\u8d39\u7528\u8ba1\u7b97\u7684\u533b\u4fdd\u89c4\u5219\u8c03\u6574\u65f6&#xff0c;\u53ea\u9700\u4fee\u6539 CostService.ets \u548c InsuranceReference.ets&#xff0c;\u4e0d\u5f71\u54cd\u5176\u4ed6\u4e1a\u52a1\u6a21\u5757\u3002\u8fd9\u79cd&#034;\u53d8\u66f4\u9694\u79bb&#034;\u80fd\u529b\u5bf9\u4e8e\u4e00\u4e2a\u533b\u7597\u7cfb\u7edf\u800c\u8a00\u81f3\u5173\u91cd\u8981\u2014\u2014\u533b\u7597\u9886\u57df\u7684\u9700\u6c42\u53d8\u66f4\u9891\u7e41\u4e14\u5f71\u54cd\u9762\u5e7f&#xff0c;\u5206\u5c42\u67b6\u6784\u5c06\u53d8\u66f4\u7684\u5f71\u54cd\u8303\u56f4\u63a7\u5236\u5728\u6700\u5c0f\u9650\u5ea6\u3002<\/p>\n<p>\u5c42\u95f4\u901a\u4fe1\u89c4\u5219&#xff1a;<\/p>\n<p>&#096; pages \u2500\u2500\u8c03\u7528\u2500\u2500\u2192 component (\u901a\u8fc7 &#064;Prop\/&#064;Link \u4f20\u9012\u6570\u636e) pages \u2500\u2500\u8c03\u7528\u2500\u2500\u2192 service (\u901a\u8fc7\u9759\u6001\u65b9\u6cd5\u8c03\u7528) component \u2500\u2500\u5f15\u7528\u2500\u2500\u2192 model (\u901a\u8fc7\u6570\u636e\u7c7b\u578b\u5b9a\u4e49) service \u2500\u2500\u5f15\u7528\u2500\u2500\u2192 model (\u901a\u8fc7\u6570\u636e\u7c7b\u578b\u548c\u9759\u6001\u6570\u636e) service \u2500\u2500\u8c03\u7528\u2500\u2500\u2192 service (\u901a\u8fc7\u9759\u6001\u65b9\u6cd5\u8c03\u7528)<\/p>\n<p>\u7981\u6b62: component \u2500\u2500\u8c03\u7528\u2500\u2500\u2192 service (\u7ec4\u4ef6\u4e0d\u5e94\u76f4\u63a5\u8c03\u7528\u670d\u52a1) model \u2500\u2500\u5f15\u7528\u2500\u2500\u2192 service (\u6570\u636e\u5c42\u4e0d\u4f9d\u8d56\u670d\u52a1\u5c42) pages \u2500\u2500\u76f4\u63a5\u5f15\u7528\u2500\u2500\u2192 model (\u9875\u9762\u901a\u8fc7\u670d\u52a1\u95f4\u63a5\u4f7f\u7528\u6570\u636e) &#096;<\/p>\n<h4>3.2 \u670d\u52a1\u5bfc\u5411\u67b6\u6784\u5728\u79fb\u52a8\u7aef\u7684\u5e94\u7528<\/h4>\n<p>IVGuard \u5728\u670d\u52a1\u5c42\u91c7\u7528\u4e86 \u670d\u52a1\u5bfc\u5411\u67b6\u6784&#xff08;Service-Oriented Architecture, SOA&#xff09; \u7684\u79fb\u52a8\u7aef\u53d8\u4f53\u3002\u6bcf\u4e2a Service \u88ab\u5b9e\u73b0\u4e3a\u4e00\u4e2a \u9759\u6001\u7c7b&#xff08;Static Class&#xff09;&#xff0c;\u5373\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u5747\u4e3a static&#xff0c;\u65e0\u9700\u5b9e\u4f8b\u5316\u5373\u53ef\u8c03\u7528\u3002<\/p>\n<h5>\u8bbe\u8ba1\u8003\u91cf<\/h5>\n<p>\u4f20\u7edf\u79fb\u52a8\u7aef\u5f00\u53d1\u4e2d&#xff0c;Service \u901a\u5e38\u4ee5\u5355\u4f8b\u6a21\u5f0f\u5b9e\u73b0&#xff1a;<\/p>\n<p> ypescript \/\/ \u4f20\u7edf\u5355\u4f8b\u6a21\u5f0f class CameraService { private static instance: CameraService private constructor() {} static getInstance(): CameraService { if (!CameraService.instance) { CameraService.instance &#061; new CameraService() } return CameraService.instance } } <\/p>\n<p>IVGuard \u9009\u62e9\u9759\u6001\u7c7b\u6a21\u5f0f\u7684\u539f\u56e0&#xff1a;<\/p>\n<li>ArkTS \u517c\u5bb9\u6027&#xff1a;ArkTS \u5bf9\u7c7b\u5b9e\u4f8b\u5316\u7684\u9650\u5236\u8f83\u591a&#xff0c;\u9759\u6001\u7c7b\u5929\u7136\u89c4\u907f\u4e86\u5b9e\u4f8b\u7ba1\u7406\u7684\u590d\u6742\u6027<\/li>\n<li>\u8c03\u7528\u7b80\u6d01&#xff1a;CameraService.startCapture() \u6bd4 CameraService.getInstance().startCapture() \u66f4\u7b80\u6d01<\/li>\n<li>\u72b6\u6001\u4e00\u81f4\u6027&#xff1a;\u9759\u6001\u5c5e\u6027\u5929\u7136\u5168\u5c40\u552f\u4e00&#xff0c;\u4e0d\u5b58\u5728&#034;\u591a\u5b9e\u4f8b\u72b6\u6001\u4e0d\u4e00\u81f4&#034;\u7684\u98ce\u9669<\/li>\n<li>\u96f6\u5185\u5b58\u5f00\u9500&#xff1a;\u65e0\u9700\u7ef4\u62a4\u5b9e\u4f8b\u5f15\u7528&#xff0c;\u65e0 GC \u538b\u529b<\/li>\n<li>\u7ebf\u7a0b\u5b89\u5168&#xff1a;ArkTS \u7684\u9759\u6001\u5c5e\u6027\u5929\u7136\u7ebf\u7a0b\u5b89\u5168&#xff08;\u5728\u5355 UI \u4e3b\u7ebf\u7a0b\u6a21\u578b\u4e0b&#xff09;<\/li>\n<h5>\u9759\u6001\u7c7b\u6a21\u5f0f\u7684\u5178\u578b\u5b9e\u73b0<\/h5>\n<p>&#096; ypescript \/\/ CameraService.ets \u2014 \u5178\u578b\u7684\u9759\u6001\u7c7b\u670d\u52a1 import camera from \u2018&#064;ohos.multimedia.camera\u2019 import image from \u2018&#064;ohos.multimedia.image\u2019<\/p>\n<p>export class CameraService { private static cameraManager: camera.CameraManager | null &#061; null private static session: camera.PhotoSession | null &#061; null private static isRunning: boolean &#061; false private static currentFrame: image.PixelMap | null &#061; null<\/p>\n<p>static async startCapture(): Promise { if (CameraService.isRunning) return CameraService.cameraManager &#061; camera.getCameraManager(globalContext) const cameras &#061; CameraService.cameraManager.getSupportedCameras() const rearCamera &#061; cameras.find(c &#061;&gt; c.cameraType &#061;&#061;&#061; camera.CameraType.CAMERA_TYPE_BACK) \/\/ \u2026 \u521d\u59cb\u5316\u4f1a\u8bdd\u5e76\u542f\u52a8\u9884\u89c8 CameraService.isRunning &#061; true }<\/p>\n<p>static async stopCapture(): Promise { if (!CameraService.isRunning) return CameraService.session?.stop() CameraService.isRunning &#061; false }<\/p>\n<p>static getCurrentFrame(): image.PixelMap | null { return CameraService.currentFrame }<\/p>\n<p>static isCapturing(): boolean { return CameraService.isRunning } } &#096;<\/p>\n<h5>\u670d\u52a1\u5c42\u67b6\u6784\u56fe<\/h5>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 Service Layer \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 CameraService \u2502 \u2502 VisionService \u2502 \u2502 NfcService \u2502 \u2502 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2502 \u2502 static start() \u2502 \u2502 static analyze()\u2502 \u2502 static pair()\u2502 \u2502 \u2502 \u2502 static stop() \u2502 \u2502 static level \u2502 \u2502 static read()\u2502 \u2502 \u2502 \u2502 static frame \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 NotificationSvc \u2502 \u2502 SpeechService \u2502 \u2502 ScanService \u2502 \u2502 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2502 \u2502 static send() \u2502 \u2502 static speak() \u2502 \u2502 static scan()\u2502 \u2502 \u2502 \u2502 static cancel() \u2502 \u2502 static stop() \u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 NavService \u2502 \u2502 WatchService \u2502 \u2502 AIService \u2502 \u2502 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2502 \u2502 static navigate()\u2502 \u2502 static sync() \u2502 \u2502static analyze\u2502 \u2502 \u2502 \u2502 static search() \u2502 \u2502 static alert() \u2502 \u2502static suggest\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 CostService \u2502 \u2502 DataStore \u2502 \u2502 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502 \u2502 \u2502 \u2502 static calculate()\u2502 \u2502 static save() \u2502 \u2502 \u2502 \u2502 static estimate() \u2502 \u2502 static load() \u2502 \u2502 \u2502 \u2502 static breakdown()\u2502 \u2502 static delete() \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h5>\u670d\u52a1\u95f4\u8c03\u7528\u5173\u7cfb<\/h5>\n<p>\u670d\u52a1\u4e4b\u95f4\u5b58\u5728\u660e\u786e\u7684\u8c03\u7528\u94fe&#xff0c;\u5f62\u6210\u6709\u5411\u65e0\u73af\u56fe&#xff08;DAG&#xff09;&#xff1a;<\/p>\n<p>&#096; CameraService \u2500\u2500\u5e27\u6570\u636e\u2500\u2500\u2192 VisionService \u2500\u2500\u6db2\u4f4d\u2500\u2500\u2192 NotificationService \u2500\u2500\u6db2\u4f4d\u2500\u2500\u2192 SpeechService \u2500\u2500\u6db2\u4f4d\u2500\u2500\u2192 WatchService<\/p>\n<p>ScanService \u2500\u2500\u6761\u7801\u2500\u2500\u2192 DataStore \u2500\u2500\u836f\u7269\u2500\u2500\u2192 DrugDatabase \u2500\u2500\u68c0\u6d4b\u2500\u2500\u2192 DrugInteraction<\/p>\n<p>CostService \u2500\u2500\u8ba1\u7b97\u2500\u2500\u2192 InsuranceReference \u2500\u2500\u5b58\u50a8\u2500\u2500\u2192 DataStore<\/p>\n<p>NfcService \u2500\u2500ID\u2500\u2500\u2192 DataStore \u2500\u2500\u914d\u5bf9\u2500\u2500\u2192 IVDrugDatabase<\/p>\n<p>AIService \u2500\u2500\u67e5\u8be2\u2500\u2500\u2192 DataStore \u2500\u2500\u5206\u6790\u2500\u2500\u2192 MonitorRecord \/ LevelRecord &#096;<\/p>\n<p>\u4f9d\u8d56\u65b9\u5411\u539f\u5219&#xff1a;\u670d\u52a1\u95f4\u8c03\u7528\u53ea\u5141\u8bb8&#034;\u4e1a\u52a1\u6d41\u65b9\u5411&#034;\u7684\u8c03\u7528&#xff0c;\u7981\u6b62\u53cd\u5411\u4f9d\u8d56\u3002\u4f8b\u5982&#xff0c;VisionService \u53ef\u4ee5\u8c03\u7528 NotificationService&#xff08;\u6db2\u4f4d\u4e0b\u964d\u89e6\u53d1\u9884\u8b66&#xff09;&#xff0c;\u4f46 NotificationService \u7edd\u4e0d\u8c03\u7528 VisionService\u3002\u8fd9\u79cd\u5355\u5411\u4f9d\u8d56\u4fdd\u8bc1\u4e86\u8c03\u7528\u56fe\u7684 DAG \u7279\u6027&#xff0c;\u907f\u514d\u4e86\u5faa\u73af\u4f9d\u8d56\u3002<\/p>\n<h4>3.3 \u4e09\u89d2\u8272\u8def\u7531\u67b6\u6784<\/h4>\n<p>IVGuard \u7684\u8def\u7531\u67b6\u6784\u91c7\u7528\u4e86 \u201c\u5165\u53e3\u5206\u53d1 &#043; \u89d2\u8272\u9996\u9875 &#043; \u5b50\u9875\u9762\u63a8\u9001\u201d \u7684\u4e09\u7ea7\u6a21\u5f0f&#xff0c;\u786e\u4fdd\u4e0d\u540c\u89d2\u8272\u8fdb\u5165\u4e0d\u540c\u7684\u529f\u80fd\u7a7a\u95f4\u3002<\/p>\n<h5>\u8def\u7531\u67b6\u6784\u56fe<\/h5>\n<p> \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 Index.ets \u2502 \u2502 \u89d2\u8272\u9009\u62e9\u9875 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 UserRole \u2502 UserRole \u2502 UserRole \u2502 PATIENT \u2502 NURSE \u2502 FAMILY \u2193 \u2193 \u2193 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 HomePage \u2502 \u2502NurseHomeP. \u2502 \u2502FamilyHomeP.\u2502 \u2502 (5-Tab) \u2502 \u2502 (\u5de5\u4f5c\u53f0) \u2502 \u2502 (\u8fdc\u7a0b\u76d1\u63a7) \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2193 \u2193 \u2193 \u2193 \u2193 \u2193 \u2193 \u2193 \u2193 Monitor Med Cost PatList Anal &#8230; Alert &#8230; Page Page Page Page Page Page<\/p>\n<h5>Index.ets \u89d2\u8272\u5206\u53d1\u903b\u8f91<\/h5>\n<p>\u9879\u76ee\u5165\u53e3 Index.ets \u5b9e\u73b0\u4e86\u57fa\u4e8e UserRole \u679a\u4e3e\u7684\u6761\u4ef6\u8def\u7531\u5206\u53d1&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ Index.ets \u6838\u5fc3\u8def\u7531\u903b\u8f91 &#064;Entry &#064;Component struct Index { &#064;State selectedRole: UserRole &#061; UserRole.PATIENT<\/p>\n<p>build() { Column() { \/\/ \u89d2\u8272\u9009\u62e9 UI RoleSelector({ onSelected: (role: UserRole) &#061;&gt; { this.selectedRole &#061; role this.navigateByRole(role) }}) } }<\/p>\n<p>private navigateByRole(role: UserRole) { const router &#061; this.getUIContext().getRouter() switch (role) { case UserRole.PATIENT: router.pushUrl({ url: \u2018pages\/HomePage\u2019 }) break case UserRole.NURSE: router.pushUrl({ url: \u2018pages\/NurseHomePage\u2019 }) break case UserRole.FAMILY: router.pushUrl({ url: \u2018pages\/FamilyHomePage\u2019 }) break } } } &#096;<\/p>\n<p>\u5173\u952e\u8bbe\u8ba1\u8981\u70b9&#xff1a;<\/p>\n<li>UserRole \u679a\u4e3e&#xff1a;\u5b9a\u4e49\u4e8e DataModels.ets&#xff0c;\u5305\u542b PATIENT\u3001NURSE\u3001FAMILY \u4e09\u4e2a\u503c&#xff0c;\u662f\u5168\u7cfb\u7edf\u7684\u89d2\u8272\u6807\u8bc6\u57fa\u7840<\/li>\n<li>getUIContext().getRouter().pushUrl()&#xff1a;\u4f7f\u7528 HarmonyOS \u6807\u51c6\u8def\u7531 API&#xff0c;\u5c06\u89d2\u8272\u9996\u9875\u63a8\u5165\u8def\u7531\u6808<\/li>\n<li>\u89d2\u8272\u9694\u79bb&#xff1a;\u6bcf\u79cd\u89d2\u8272\u6709\u72ec\u7acb\u7684\u9996\u9875&#xff0c;\u8fdb\u5165\u540e\u5373\u8fdb\u5165\u8be5\u89d2\u8272\u7684\u529f\u80fd\u7a7a\u95f4&#xff0c;\u4e92\u4e0d\u5e72\u6270<\/li>\n<li>\u8def\u7531\u6808\u7ba1\u7406&#xff1a;\u5b50\u9875\u9762\u901a\u8fc7 pushUrl \u9010\u5c42\u5165\u6808&#xff0c;\u8fd4\u56de\u901a\u8fc7\u7cfb\u7edf\u9ed8\u8ba4\u7684 ack() \u884c\u4e3a<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260803121636-6a7086a42a38a.jpg\" alt=\"Index-\u89d2\u8272\u9009\u62e9\u9875\" \/><\/p>\n<h5>\u60a3\u8005\u7aef 5-Tab \u67b6\u6784<\/h5>\n<p>\u60a3\u8005\u7aef\u7684 HomePage.ets \u91c7\u7528 Tabs \u7ec4\u4ef6\u5b9e\u73b0 5 \u4e2a\u5e95\u90e8\u5bfc\u822a Tab&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 HomePage (Tabs) \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u2502 \u2502 TabContent: \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502\u76d1\u63a7\u2502 \u2502\u836f\u7269\u2502 \u2502\u5386\u53f2\u2502 \u2502\u8d39\u7528\u2502 \u2502\u6211\u7684\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 [Monitor] [Medicine] [History] [Cost] [Me] \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6bcf\u4e2a Tab \u5bf9\u5e94\u4e00\u4e2a\u72ec\u7acb\u7684 TabContent&#xff0c;\u5176\u4e2d&#034;\u76d1\u63a7&#034;Tab \u5c55\u793a\u5b9e\u65f6\u76d1\u63a7\u6982\u89c8&#xff0c;&#034;\u836f\u7269&#034;Tab \u5c55\u793a\u836f\u7269\u5217\u8868&#xff0c;&#034;\u5386\u53f2&#034;Tab \u5c55\u793a\u76d1\u63a7\u8bb0\u5f55&#xff0c;&#034;\u8d39\u7528&#034;Tab \u5c55\u793a\u8d39\u7528\u7ba1\u7406&#xff0c;&#034;\u6211\u7684&#034;Tab \u5c55\u793a\u4e2a\u4eba\u8bbe\u7f6e\u3002\u70b9\u51fb\u76d1\u63a7 Tab \u7684&#034;\u8be6\u60c5&#034;\u6309\u94ae\u65f6&#xff0c;\u901a\u8fc7 pushUrl \u8df3\u8f6c\u5230 MonitorPage \u83b7\u53d6\u5b8c\u6574\u76d1\u63a7\u4f53\u9a8c\u3002<\/p>\n<h4>3.4 \u67b6\u6784\u8bbe\u8ba1\u539f\u5219<\/h4>\n<p>IVGuard \u7684\u67b6\u6784\u8bbe\u8ba1\u9075\u5faa\u4ee5\u4e0b\u6838\u5fc3\u539f\u5219&#xff1a;<\/p>\n<p>\u539f\u5219\u4e00&#xff1a;\u5173\u6ce8\u70b9\u5206\u79bb&#xff08;Separation of Concerns&#xff09;<\/p>\n<p>\u6bcf\u4e00\u5c42\u53ea\u5173\u6ce8\u81ea\u5df1\u7684\u804c\u8d23&#xff1a;<\/p>\n<ul>\n<li>\u9875\u9762\u5c42\u53ea\u7ba1 UI \u5e03\u5c40\u548c\u7528\u6237\u4ea4\u4e92<\/li>\n<li>\u7ec4\u4ef6\u5c42\u53ea\u7ba1\u53ef\u590d\u7528 UI \u7247\u6bb5<\/li>\n<li>\u670d\u52a1\u5c42\u53ea\u7ba1\u4e1a\u52a1\u903b\u8f91\u548c\u7cfb\u7edf\u8c03\u7528<\/li>\n<li>\u6570\u636e\u5c42\u53ea\u7ba1\u6570\u636e\u7ed3\u6784\u5b9a\u4e49<\/li>\n<\/ul>\n<p>\u539f\u5219\u4e8c&#xff1a;\u4f9d\u8d56\u5012\u7f6e&#xff08;Dependency Inversion&#xff09;<\/p>\n<p>\u9ad8\u5c42\u6a21\u5757\u4e0d\u4f9d\u8d56\u4f4e\u5c42\u6a21\u5757\u7684\u5177\u4f53\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u9875\u9762\u5c42\u8c03\u7528\u670d\u52a1\u5c42\u7684\u9759\u6001\u65b9\u6cd5&#xff0c;\u4e0d\u5173\u5fc3\u5185\u90e8\u5b9e\u73b0<\/li>\n<li>\u7ec4\u4ef6\u5c42\u901a\u8fc7 &#064;Prop \/ &#064;Link \u63a5\u6536\u6570\u636e&#xff0c;\u4e0d\u5173\u5fc3\u6570\u636e\u6765\u6e90<\/li>\n<li>\u670d\u52a1\u5c42\u4f9d\u8d56\u6570\u636e\u5c42\u7684\u63a5\u53e3\u5b9a\u4e49&#xff0c;\u4e0d\u4f9d\u8d56\u5177\u4f53 UI<\/li>\n<\/ul>\n<p>\u539f\u5219\u4e09&#xff1a;\u5355\u4e00\u804c\u8d23&#xff08;Single Responsibility&#xff09;<\/p>\n<p>\u6bcf\u4e2a\u6587\u4ef6\u53ea\u6709\u4e00\u4e2a\u53d8\u66f4\u7684\u7406\u7531&#xff1a;<\/p>\n<ul>\n<li>CameraService.ets \u53ea\u8d1f\u8d23\u76f8\u673a\u64cd\u4f5c<\/li>\n<li>VisionService.ets \u53ea\u8d1f\u8d23\u89c6\u89c9\u8bc6\u522b<\/li>\n<li>CostService.ets \u53ea\u8d1f\u8d23\u8d39\u7528\u8ba1\u7b97<\/li>\n<li>\u5f53\u9700\u6c42\u53d8\u66f4\u65f6&#xff0c;\u53ea\u9700\u5b9a\u4f4d\u5230\u5bf9\u5e94\u7684\u5355\u4e00\u6587\u4ef6<\/li>\n<\/ul>\n<p>\u539f\u5219\u56db&#xff1a;\u5f00\u653e\u5c01\u95ed&#xff08;Open\/Closed Principle&#xff09;<\/p>\n<p>\u901a\u8fc7\u9759\u6001\u7c7b &#043; \u65b0\u589e\u6587\u4ef6\u7684\u65b9\u5f0f\u6269\u5c55\u529f\u80fd&#xff0c;\u800c\u975e\u4fee\u6539\u5df2\u6709\u4ee3\u7801&#xff1a;<\/p>\n<ul>\n<li>\u65b0\u589e\u836f\u7269\u6570\u636e \u2192 \u4fee\u6539 DrugDatabase.ets&#xff0c;\u4e0d\u5f71\u54cd Service<\/li>\n<li>\u65b0\u589e\u5206\u6790\u7ef4\u5ea6 \u2192 \u4fee\u6539 AIService.ets&#xff0c;\u4e0d\u5f71\u54cd Page<\/li>\n<li>\u65b0\u589e\u89d2\u8272 \u2192 \u65b0\u589e\u5bf9\u5e94 HomePage&#xff0c;\u4e0d\u5f71\u54cd Index \u5206\u53d1\u903b\u8f91<\/li>\n<\/ul>\n<p>\u539f\u5219\u4e94&#xff1a;\u6700\u5c11\u77e5\u8bc6&#xff08;Law of Demeter&#xff09;<\/p>\n<p>\u6bcf\u4e2a\u6a21\u5757\u53ea\u4e0e\u5176\u76f4\u63a5\u4f9d\u8d56\u7684\u6a21\u5757\u901a\u4fe1&#xff1a;<\/p>\n<ul>\n<li>MonitorPage \u8c03\u7528 VisionService \u548c NotificationService&#xff0c;\u4f46\u4e0d\u77e5\u9053 CameraService \u7684\u5b58\u5728<\/li>\n<li>MedicinePage \u8c03\u7528 ScanService \u548c DrugDatabase&#xff0c;\u4f46\u4e0d\u77e5\u9053 NfcService \u7684\u5b58\u5728<\/li>\n<li>\u7ec4\u4ef6\u53ea\u63a5\u6536\u6570\u636e props&#xff0c;\u4e0d\u77e5\u9053\u6570\u636e\u6765\u6e90\u4e8e\u54ea\u4e2a Service<\/li>\n<\/ul>\n<hr \/>\n<h3>4. \u6280\u672f\u6808\u9009\u578b<\/h3>\n<h4>4.1 HarmonyOS &#043; ArkTS \u7684\u6280\u672f\u4f18\u52bf<\/h4>\n<p>IVGuard \u9009\u62e9 HarmonyOS 5.0 &#043; ArkTS \u4f5c\u4e3a\u6280\u672f\u6808&#xff0c;\u57fa\u4e8e\u4ee5\u4e0b\u6838\u5fc3\u4f18\u52bf&#xff1a;<\/p>\n<h5>ArkTS \u8bed\u8a00\u7279\u6027<\/h5>\n<p>ArkTS \u662f\u534e\u4e3a\u57fa\u4e8e TypeScript \u6269\u5c55\u7684\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u4e13\u4e3a HarmonyOS \u5e94\u7528\u5f00\u53d1\u8bbe\u8ba1\u3002\u4e0e\u6807\u51c6 TypeScript \u76f8\u6bd4&#xff0c;ArkTS \u5f15\u5165\u4e86\u4ee5\u4e0b\u5173\u952e\u7ea6\u675f\u548c\u589e\u5f3a&#xff1a;<\/p>\n<table>\n<tr>\u7279\u6027TypeScriptArkTSIVGuard \u53d7\u76ca\u70b9<\/tr>\n<tbody>\n<tr>\n<td>\u7c7b\u578b\u7cfb\u7edf<\/td>\n<td>\u53ef\u9009\u7c7b\u578b<\/td>\n<td>\u4e25\u683c\u5f3a\u5236\u7c7b\u578b<\/td>\n<td>\u7f16\u8bd1\u671f\u6355\u83b7\u66f4\u591a\u9519\u8bef<\/td>\n<\/tr>\n<tr>\n<td>\u7a7a\u5b89\u5168<\/td>\n<td>\u53ef\u9009\u94fe<\/td>\n<td>\u5f3a\u5236\u7a7a\u68c0\u67e5<\/td>\n<td>\u907f\u514d\u8fd0\u884c\u65f6 NPE<\/td>\n<\/tr>\n<tr>\n<td>UI \u8303\u5f0f<\/td>\n<td>\u547d\u4ee4\u5f0f\u4e3a\u4e3b<\/td>\n<td>\u58f0\u660e\u5f0f\u4e3a\u4e3b<\/td>\n<td>\u4ee3\u7801\u66f4\u7b80\u6d01\u53ef\u8bfb<\/td>\n<\/tr>\n<tr>\n<td>\u5e76\u53d1\u6a21\u578b<\/td>\n<td>Web Worker<\/td>\n<td>TaskPool\/Worker<\/td>\n<td>\u9ad8\u6027\u80fd\u5e76\u884c\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td>\u8de8\u8bbe\u5907<\/td>\n<td>\u65e0<\/td>\n<td>\u539f\u751f\u652f\u6301<\/td>\n<td>\u624b\u8868\/\u624b\u673a\u8054\u52a8<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd<\/td>\n<td>V8 \u89e3\u91ca<\/td>\n<td>AOT \u7f16\u8bd1<\/td>\n<td>\u542f\u52a8\u901f\u5ea6\u66f4\u5feb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>HarmonyOS \u751f\u6001\u4f18\u52bf<\/h5>\n<p>\u9009\u62e9 HarmonyOS \u800c\u975e Android\/iOS \u7684\u51b3\u5b9a\u6027\u56e0\u7d20&#xff1a;<\/p>\n<li>\u5168\u6808\u81ea\u4e3b\u53ef\u63a7&#xff1a;\u4ece\u82af\u7247\u5230\u64cd\u4f5c\u7cfb\u7edf\u5230\u5e94\u7528\u6846\u67b6&#xff0c;\u534e\u4e3a\u5168\u6808\u638c\u63a7&#xff0c;\u907f\u514d\u4e86 GMS \u4e0d\u53ef\u7528\u7b49\u751f\u6001\u98ce\u9669<\/li>\n<li>\u8bbe\u5907\u534f\u540c\u80fd\u529b&#xff1a;HarmonyOS \u7684\u5206\u5e03\u5f0f\u80fd\u529b\u4f7f\u5f97\u624b\u673a-\u624b\u8868\u8054\u52a8\u6210\u4e3a\u539f\u751f\u80fd\u529b&#xff0c;\u65e0\u9700\u989d\u5916\u5f00\u53d1\u6865\u63a5\u5c42<\/li>\n<li>\u4e2d\u56fd\u5e02\u573a\u9002\u914d&#xff1a;HarmonyOS \u5728\u4e2d\u56fd\u5e02\u573a\u7684\u5feb\u901f\u589e\u957f\u8d8b\u52bf&#xff0c;\u533b\u9662\u573a\u666f\u4e2d\u534e\u4e3a\u8bbe\u5907\u7684\u666e\u53ca\u7387\u8f83\u9ad8<\/li>\n<li>Camera\/NFC API \u5b8c\u6574\u6027&#xff1a;HarmonyOS \u63d0\u4f9b\u4e86\u5b8c\u6574\u7684 Camera2 API \u548c NFC API&#xff0c;\u6ee1\u8db3 IVGuard \u7684\u89c6\u89c9\u8bc6\u522b\u548c\u8d34\u7eb8\u914d\u5bf9\u9700\u6c42<\/li>\n<li>\u5b89\u5168\u4e0e\u9690\u79c1&#xff1a;HarmonyOS \u5728\u6743\u9650\u7ba1\u7406\u548c\u6570\u636e\u5b89\u5168\u65b9\u9762\u7684\u4e25\u683c\u7ba1\u63a7&#xff0c;\u66f4\u9002\u5408\u533b\u7597\u573a\u666f<\/li>\n<h5>ArkTS \u5bf9\u6bd4 TypeScript \u7684\u5173\u952e\u5dee\u5f02<\/h5>\n<p>\u5728 IVGuard \u7684\u5b9e\u9645\u5f00\u53d1\u4e2d&#xff0c;\u4ee5\u4e0b ArkTS \u7ea6\u675f\u5bf9\u9879\u76ee\u4ea7\u751f\u4e86\u663e\u8457\u5f71\u54cd&#xff1a;<\/p>\n<p>\u7981\u6b62\u8fd0\u884c\u65f6\u7c7b\u578b\u68c0\u67e5&#xff1a;ArkTS \u4e0d\u652f\u6301 ypeof\u3001instanceof \u7b49\u8fd0\u884c\u65f6\u7c7b\u578b\u68c0\u67e5\u64cd\u4f5c\u3002\u8fd9\u610f\u5473\u7740\u6240\u6709\u7c7b\u578b\u5224\u65ad\u5fc5\u987b\u5728\u7f16\u8bd1\u671f\u5b8c\u6210&#xff0c;\u63a8\u52a8\u4e86\u6211\u4eec\u91c7\u7528\u9759\u6001\u7c7b &#043; \u679a\u4e3e\u800c\u975e\u53cd\u5c04\u7684\u8bbe\u8ba1\u6a21\u5f0f\u3002<\/p>\n<p>\u7981\u6b62 ny \u7c7b\u578b&#xff1a;ArkTS \u4e25\u683c\u7981\u6b62\u4f7f\u7528 ny \u7c7b\u578b&#xff0c;\u6240\u6709\u53d8\u91cf\u5fc5\u987b\u6709\u660e\u786e\u7c7b\u578b\u58f0\u660e\u3002\u8fd9\u4f7f\u5f97 DataStore \u7684\u6cdb\u578b\u5c01\u88c5&#xff08;save() \/ load()&#xff09;\u6210\u4e3a\u5fc5\u8981\u2014\u2014\u65e2\u4fdd\u8bc1\u4e86\u7c7b\u578b\u5b89\u5168&#xff0c;\u53c8\u63d0\u4f9b\u4e86\u901a\u7528\u5b58\u50a8\u80fd\u529b\u3002<\/p>\n<p>\u5f3a\u5236\u7a7a\u5b89\u5168&#xff1a;ArkTS \u8981\u6c42\u6240\u6709\u53ef\u80fd\u4e3a\u7a7a\u7684\u53d8\u91cf\u663e\u5f0f\u6807\u8bb0\u4e3a\u53ef\u9009\u7c7b\u578b&#xff08;T | null&#xff09;&#xff0c;\u4f7f\u7528\u524d\u5fc5\u987b\u8fdb\u884c\u7a7a\u68c0\u67e5\u3002\u8fd9\u5728 CameraService \u4e2d\u5c24\u4e3a\u660e\u663e\u2014\u2014cameraManager \u548c session \u5747\u58f0\u660e\u4e3a | null \u7c7b\u578b&#xff0c;\u8c03\u7528\u524d\u5fc5\u987b\u68c0\u67e5\u3002<\/p>\n<h4>4.2 ArkUI \u58f0\u660e\u5f0f\u6846\u67b6 vs \u547d\u4ee4\u5f0f UI<\/h4>\n<p>ArkUI \u91c7\u7528\u58f0\u660e\u5f0f UI \u8303\u5f0f&#xff0c;\u4e0e\u4f20\u7edf\u7684\u547d\u4ee4\u5f0f UI&#xff08;\u5982 Android View \u7cfb\u7edf&#xff09;\u6709\u672c\u8d28\u533a\u522b&#xff1a;<\/p>\n<h5>\u58f0\u660e\u5f0f UI \u6838\u5fc3\u7406\u5ff5<\/h5>\n<p>&#096; \u547d\u4ee4\u5f0f&#xff1a;\u544a\u8bc9\u6846\u67b6&#034;\u600e\u4e48\u505a&#034; textView.setText(\u201c\u6db2\u4f4d 45%\u201d) progressBar.setProgress(45) if (level &lt; 20) { textView.setTextColor(RED) }<\/p>\n<p>\u58f0\u660e\u5f0f&#xff1a;\u544a\u8bc9\u6846\u67b6&#034;\u662f\u4ec0\u4e48&#034; Text(\u6db2\u4f4d $level}%) .fontColor(level &lt; 20 ? Color.Red : Color.Black) Progress({ value: level, total: 100 }) &#096;<\/p>\n<p>\u58f0\u660e\u5f0f UI \u7684\u6838\u5fc3\u4f18\u52bf\u5728\u4e8e&#xff1a;\u5f00\u53d1\u8005\u53ea\u9700\u63cf\u8ff0 UI \u7684\u6700\u7ec8\u72b6\u6001&#xff08;\u201c\u6db2\u4f4d 45%&#xff0c;\u4f4e\u4e8e 20% \u65f6\u53d8\u7ea2\u201d&#xff09;&#xff0c;\u6846\u67b6\u8d1f\u8d23\u6839\u636e\u72b6\u6001\u53d8\u5316\u81ea\u52a8\u66f4\u65b0 UI\u3002\u8fd9\u79cd\u65b9\u5f0f\u4ece\u6839\u672c\u4e0a\u6d88\u9664\u4e86&#034;\u72b6\u6001\u4e0e UI \u4e0d\u540c\u6b65&#034;\u7684 bug\u2014\u2014\u8fd9\u662f\u547d\u4ee4\u5f0f UI \u4e2d\u6700\u5e38\u89c1\u7684\u95ee\u9898\u6765\u6e90\u3002<\/p>\n<h5>IVGuard \u4e2d\u7684\u58f0\u660e\u5f0f\u5b9e\u8df5<\/h5>\n<p>\u5728 MonitorPage.ets \u4e2d&#xff0c;\u6db2\u4f4d\u5c55\u793a\u5b8c\u5168\u91c7\u7528\u58f0\u660e\u5f0f&#xff1a;<\/p>\n<p>&#096; ypescript build() { Column() { LevelProgress({ level: this.currentLevel }) .width(200) .height(200)<\/p>\n<p>Text(\u5f53\u524d\u6db2\u4f4d: %)<br \/>\n  .fontSize(24)<br \/>\n  .fontColor(this.currentLevel &lt; 20 ? Color.Red : Color.Black)<\/p>\n<p>Text(\u9884\u8ba1\u5269\u4f59:  \u5206\u949f)<br \/>\n  .fontSize(16)<\/p>\n<p>} } &#096;<\/p>\n<p>\u5f53 his.currentLevel \u72b6\u6001\u53d8\u5316\u65f6&#xff0c;ArkUI \u6846\u67b6\u81ea\u52a8\u91cd\u65b0\u6267\u884c uild() \u65b9\u6cd5&#xff0c;\u66f4\u65b0 UI \u663e\u793a\u3002\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u64cd\u4f5c DOM\/View&#xff0c;\u6781\u5927\u964d\u4f4e\u4e86 UI \u540c\u6b65\u7684\u590d\u6742\u5ea6\u3002<\/p>\n<h5>\u72b6\u6001\u9a71\u52a8 UI \u66f4\u65b0\u673a\u5236<\/h5>\n<p>\u7528\u6237\u64cd\u4f5c\/\u6570\u636e\u53d8\u5316 \u2193 &#064;State \u53d8\u91cf\u66f4\u65b0 \u2193 ArkUI \u6846\u67b6\u68c0\u6d4b\u53d8\u5316 \u2193 \u91cd\u65b0\u6267\u884c build() \u2193 \u865a\u62df DOM diff \u2193 \u6700\u5c0f\u5316\u771f\u5b9e UI \u66f4\u65b0<\/p>\n<p>\u8fd9\u79cd\u673a\u5236\u786e\u4fdd\u4e86 IVGuard \u5728 3 \u79d2\u91c7\u6837\u95f4\u9694\u7684\u6db2\u4f4d\u66f4\u65b0\u4e2d&#xff0c;UI \u59cb\u7ec8\u4e0e\u6570\u636e\u4fdd\u6301\u540c\u6b65&#xff0c;\u800c\u5f00\u53d1\u8005\u53ea\u9700\u5173\u6ce8\u72b6\u6001\u53d8\u91cf\u7684\u66f4\u65b0\u3002\u5728 MonitorPage.ets \u4e2d&#xff0c;setInterval \u56de\u8c03\u53ea\u9700\u66f4\u65b0 his.currentLevel&#xff0c;ArkUI \u6846\u67b6\u81ea\u52a8\u5b8c\u6210\u540e\u7eed\u7684 UI \u5237\u65b0\u5de5\u4f5c\u3002<\/p>\n<h5>\u58f0\u660e\u5f0f\u6846\u67b6\u7684\u6027\u80fd\u4f18\u5316<\/h5>\n<p>ArkUI \u7684\u58f0\u660e\u5f0f\u6846\u67b6\u5185\u7f6e\u4e86\u591a\u9879\u6027\u80fd\u4f18\u5316&#xff1a;<\/p>\n<li>\u5dee\u91cf\u66f4\u65b0&#xff1a;uild() \u91cd\u6267\u884c\u540e&#xff0c;\u6846\u67b6\u901a\u8fc7\u865a\u62df DOM diff \u7b97\u6cd5&#xff0c;\u53ea\u66f4\u65b0\u5b9e\u9645\u53d8\u5316\u7684\u90e8\u5206\u3002\u4f8b\u5982\u6db2\u4f4d\u4ece 45% \u53d8\u4e3a 44% \u65f6&#xff0c;\u53ea\u66f4\u65b0 Text \u7ec4\u4ef6\u7684\u5185\u5bb9\u548c LevelProgress \u7684\u8fdb\u5ea6\u503c&#xff0c;\u4e0d\u4f1a\u91cd\u5efa\u6574\u4e2a\u9875\u9762<\/li>\n<li>\u6309\u9700\u5237\u65b0&#xff1a;\u53ea\u6709 &#064;State \u53d8\u91cf\u76f4\u63a5\u5173\u8054\u7684 UI \u7ec4\u4ef6\u4f1a\u88ab\u66f4\u65b0&#xff0c;\u672a\u5173\u8054\u7684\u7ec4\u4ef6\u4fdd\u6301\u4e0d\u53d8<\/li>\n<li>\u61d2\u52a0\u8f7d&#xff1a;Tabs \u7ec4\u4ef6\u9ed8\u8ba4\u53ea\u6e32\u67d3\u5f53\u524d Tab \u7684\u5185\u5bb9&#xff0c;\u5207\u6362\u65f6\u624d\u52a0\u8f7d\u76ee\u6807 Tab<\/li>\n<h4>4.3 Canvas vs \u7ec4\u4ef6\u5316 UI \u7684\u53d6\u820d<\/h4>\n<p>IVGuard \u4e2d\u540c\u65f6\u4f7f\u7528\u4e86\u4e24\u79cd UI \u6e32\u67d3\u65b9\u5f0f&#xff1a;\u58f0\u660e\u5f0f\u7ec4\u4ef6\u548c Canvas \u81ea\u7ed8\u3002\u53d6\u820d\u539f\u5219\u5982\u4e0b&#xff1a;<\/p>\n<h5>\u9009\u62e9 Canvas \u7684\u573a\u666f<\/h5>\n<table>\n<tr>\u7ec4\u4ef6\u9009\u62e9 Canvas \u7684\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>CostPieChart<\/td>\n<td>\u997c\u56fe\u9700\u8981\u6247\u5f62\u7ed8\u5236\u3001\u5f27\u5f62\u8def\u5f84\u3001\u989c\u8272\u6e10\u53d8&#xff0c;ArkUI \u7ec4\u4ef6\u65e0\u6cd5\u76f4\u63a5\u5b9e\u73b0<\/td>\n<\/tr>\n<tr>\n<td>FlowChart<\/td>\n<td>\u8d8b\u52bf\u56fe\u9700\u8981\u8d1d\u585e\u5c14\u66f2\u7ebf\u3001\u591a\u6570\u636e\u70b9\u8fde\u7ebf\u3001\u5750\u6807\u8f74&#xff0c;\u5fc5\u987b\u81ea\u7ed8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Canvas \u7684\u672c\u8d28\u4f18\u52bf&#xff1a;\u5f53 UI \u5143\u7d20\u65e0\u6cd5\u7528&#034;\u77e9\u5f62 &#043; \u6587\u5b57 &#043; \u56fe\u7247&#034;\u7684\u7ec4\u5408\u6765\u8868\u8fbe\u65f6&#xff0c;Canvas \u662f\u552f\u4e00\u9009\u62e9\u3002\u997c\u56fe\u7684\u6247\u5f62\u533a\u57df\u3001\u8d8b\u52bf\u56fe\u7684\u5e73\u6ed1\u66f2\u7ebf\u3001\u5750\u6807\u7cfb\u7b49\u51e0\u4f55\u56fe\u5f62&#xff0c;\u5728 ArkUI \u7684\u58f0\u660e\u5f0f\u7ec4\u4ef6\u4f53\u7cfb\u4e2d\u6ca1\u6709\u76f4\u63a5\u5bf9\u5e94\u7269\u3002<\/p>\n<p>Canvas \u7684\u6027\u80fd\u8003\u91cf&#xff1a;Canvas \u7ed8\u5236\u5728 IVGuard \u4e2d\u9700\u8981\u6ee1\u8db3 60fps \u7684\u6e32\u67d3\u8981\u6c42\u3002\u4e3a\u6b64&#xff0c;\u6211\u4eec\u91c7\u7528\u4e86\u4ee5\u4e0b\u4f18\u5316\u7b56\u7565&#xff1a;<\/p>\n<ul>\n<li>\u6570\u636e\u70b9\u9884\u8ba1\u7b97&#xff1a;\u5728 onReady \u56de\u8c03\u4e2d\u4e00\u6b21\u6027\u8ba1\u7b97\u6240\u6709\u5750\u6807&#xff0c;\u907f\u514d\u6bcf\u5e27\u91cd\u590d\u8ba1\u7b97<\/li>\n<li>\u9650\u5236\u6570\u636e\u91cf&#xff1a;\u8d8b\u52bf\u56fe\u6700\u591a\u5c55\u793a 100 \u4e2a\u6570\u636e\u70b9&#xff0c;\u8d85\u51fa\u65f6\u91c7\u6837\u964d\u9891<\/li>\n<li>\u907f\u514d\u9891\u7e41\u91cd\u7ed8&#xff1a;\u53ea\u5728\u6570\u636e\u53d8\u5316\u65f6\u89e6\u53d1 drawChart()&#xff0c;\u800c\u975e\u6bcf\u5e27\u91cd\u7ed8<\/li>\n<\/ul>\n<h5>\u9009\u62e9\u58f0\u660e\u5f0f\u7ec4\u4ef6\u7684\u573a\u666f<\/h5>\n<table>\n<tr>\u7ec4\u4ef6\u9009\u62e9\u58f0\u660e\u5f0f\u7ec4\u4ef6\u7684\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>LevelProgress<\/td>\n<td>\u5706\u5f62\u8fdb\u5ea6\u6761\u53ef\u7528 Progress \u7ec4\u4ef6 &#043; Stack \u53e0\u52a0\u5b9e\u73b0<\/td>\n<\/tr>\n<tr>\n<td>MedicineCard<\/td>\n<td>\u5361\u7247\u5e03\u5c40\u5929\u7136\u9002\u5408 Column &#043; Row \u7ec4\u5408<\/td>\n<\/tr>\n<tr>\n<td>AlertCard<\/td>\n<td>\u4fe1\u606f\u5c55\u793a\u5361\u7247&#xff0c;\u58f0\u660e\u5f0f\u66f4\u6613\u7ef4\u62a4<\/td>\n<\/tr>\n<tr>\n<td>StepIndicator<\/td>\n<td>\u6b65\u9aa4\u6307\u793a\u5668&#xff0c;\u72b6\u6001\u9a71\u52a8\u663e\u793a<\/td>\n<\/tr>\n<tr>\n<td>HospitalMapView<\/td>\n<td>\u57fa\u4e8e Image &#043; \u53e0\u52a0\u6807\u6ce8\u5b9e\u73b0<\/td>\n<\/tr>\n<tr>\n<td>MonitorOverlay<\/td>\n<td>\u57fa\u4e8e Stack &#043; Position \u53e0\u52a0\u5b9e\u73b0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u58f0\u660e\u5f0f\u7ec4\u4ef6\u7684\u672c\u8d28\u4f18\u52bf&#xff1a;\u5f53 UI \u53ef\u4ee5\u7528&#034;\u7ed3\u6784\u5316\u5e03\u5c40 &#043; \u6570\u636e\u7ed1\u5b9a&#034;\u6765\u8868\u8fbe\u65f6&#xff0c;\u58f0\u660e\u5f0f\u7ec4\u4ef6\u4f18\u4e8e Canvas\u3002\u539f\u56e0\u5305\u62ec&#xff1a;\u81ea\u52a8\u54cd\u5e94\u72b6\u6001\u53d8\u5316\u3001\u5185\u7f6e\u65e0\u969c\u788d\u652f\u6301\u3001\u652f\u6301\u624b\u52bf\u548c\u52a8\u753b\u3001\u4ee3\u7801\u53ef\u8bfb\u6027\u66f4\u9ad8\u3002<\/p>\n<h5>Canvas \u5b9e\u73b0\u793a\u4f8b<\/h5>\n<p>&#096; ypescript \/\/ FlowChart.ets \u4e2d\u7684 Canvas \u7ed8\u5236\u903b\u8f91 &#064;Component struct FlowChart { &#064;Prop records: LevelRecord[] private settings: RenderingContextSettings &#061; new RenderingContextSettings(true) private context: CanvasRenderingContext2D &#061; new CanvasRenderingContext2D(this.settings)<\/p>\n<p>build() { Canvas(this.context) .width(\u2018100%\u2019) .height(200) .onReady(() &#061;&gt; { this.drawChart() }) }<\/p>\n<p>private drawChart() { const ctx &#061; this.context const width &#061; 380 const height &#061; 180 const padding &#061; 40<\/p>\n<p>\/\/ \u6e05\u9664\u753b\u5e03<br \/>\nctx.clearRect(0, 0, width &#043; padding, height &#043; 20)<\/p>\n<p>\/\/ \u7ed8\u5236\u5750\u6807\u8f74<br \/>\nctx.strokeStyle &#061; &#039;#999999&#039;<br \/>\nctx.lineWidth &#061; 1<br \/>\nctx.beginPath()<br \/>\nctx.moveTo(padding, 10)<br \/>\nctx.lineTo(padding, height)<br \/>\nctx.lineTo(width, height)<br \/>\nctx.stroke()<\/p>\n<p>\/\/ \u7ed8\u5236 Y \u8f74\u523b\u5ea6<br \/>\nctx.fillStyle &#061; &#039;#666666&#039;<br \/>\nctx.font &#061; &#039;10px sans-serif&#039;<br \/>\nfor (let i &#061; 0; i &lt;&#061; 100; i &#043;&#061; 25) {<br \/>\n  const y &#061; height &#8211; (i \/ 100) * (height &#8211; 10)<br \/>\n  ctx.fillText(${i}%, 5, y &#043; 3)<br \/>\n  ctx.beginPath()<br \/>\n  ctx.strokeStyle &#061; &#039;#EEEEEE&#039;<br \/>\n  ctx.moveTo(padding, y)<br \/>\n  ctx.lineTo(width, y)<br \/>\n  ctx.stroke()<br \/>\n}<\/p>\n<p>\/\/ \u7ed8\u5236\u6570\u636e\u66f2\u7ebf<br \/>\nif (this.records.length &#061;&#061;&#061; 0) return<\/p>\n<p>ctx.strokeStyle &#061; &#039;#4CAF50&#039;<br \/>\nctx.lineWidth &#061; 2<br \/>\nctx.beginPath()<br \/>\nthis.records.forEach((record, index) &#061;&gt; {<br \/>\n  const x &#061; padding &#043; (index \/ Math.max(1, this.records.length &#8211; 1)) * (width &#8211; padding)<br \/>\n  const y &#061; height &#8211; (record.level \/ 100) * (height &#8211; 10)<br \/>\n  if (index &#061;&#061;&#061; 0) ctx.moveTo(x, y)<br \/>\n  else ctx.lineTo(x, y)<br \/>\n})<br \/>\nctx.stroke()<\/p>\n<p>\/\/ \u7ed8\u5236\u9884\u8b66\u7ebf<br \/>\nctx.strokeStyle &#061; &#039;#FF5722&#039;<br \/>\nctx.lineWidth &#061; 1<br \/>\nctx.setLineDash([5, 5])<br \/>\nconst alertY &#061; height &#8211; (20 \/ 100) * (height &#8211; 10)<br \/>\nctx.beginPath()<br \/>\nctx.moveTo(padding, alertY)<br \/>\nctx.lineTo(width, alertY)<br \/>\nctx.stroke()<br \/>\nctx.setLineDash([])<\/p>\n<p>} } &#096;<\/p>\n<h4>4.4 Preferences vs \u5173\u7cfb\u578b\u6570\u636e\u5e93<\/h4>\n<p>HarmonyOS \u63d0\u4f9b\u4e86\u4e24\u79cd\u672c\u5730\u6570\u636e\u6301\u4e45\u5316\u65b9\u6848&#xff1a;\u8f7b\u91cf\u7ea7 KV \u5b58\u50a8&#xff08;Preferences&#xff09;\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93&#xff08;RDB&#xff09;\u3002IVGuard \u5728 MVP \u9636\u6bb5\u9009\u62e9 Preferences&#xff0c;\u539f\u56e0\u5982\u4e0b&#xff1a;<\/p>\n<h5>\u5bf9\u6bd4\u5206\u6790<\/h5>\n<table>\n<tr>\u7ef4\u5ea6Preferences\u5173\u7cfb\u578b\u6570\u636e\u5e93 (RDB)<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u6a21\u578b<\/td>\n<td>Key-Value<\/td>\n<td>\u5173\u7cfb\u8868 &#043; SQL<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528\u6570\u636e\u91cf<\/td>\n<td>&lt; 10KB \u63a8\u8350<\/td>\n<td>\u65e0\u786c\u6027\u4e0a\u9650<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u8be2\u80fd\u529b<\/td>\n<td>\u6309 Key \u76f4\u8bfb<\/td>\n<td>SQL \u5168\u529f\u80fd\u67e5\u8be2<\/td>\n<\/tr>\n<tr>\n<td>\u4e8b\u52a1\u652f\u6301<\/td>\n<td>\u65e0<\/td>\n<td>\u5b8c\u6574 ACID<\/td>\n<\/tr>\n<tr>\n<td>\u8054\u8868\u67e5\u8be2<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<td>\u652f\u6301 JOIN<\/td>\n<\/tr>\n<tr>\n<td>\u5b66\u4e60\u6210\u672c<\/td>\n<td>\u4f4e<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>\u521d\u59cb\u5316\u5f00\u9500<\/td>\n<td>\u6781\u4f4e<\/td>\n<td>\u8f83\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528\u9636\u6bb5<\/td>\n<td>MVP\/\u539f\u578b<\/td>\n<td>\u751f\u4ea7\/\u89c4\u6a21<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>IVGuard \u9009\u62e9 Preferences \u7684\u7406\u7531<\/h5>\n<li>MVP \u4f18\u5148&#xff1a;\u4ea7\u54c1\u9a8c\u8bc1\u9636\u6bb5&#xff0c;\u6570\u636e\u91cf\u5c0f&#xff08;\u5355\u7528\u6237\u573a\u666f&#xff09;&#xff0c;KV \u5b58\u50a8\u5b8c\u5168\u6ee1\u8db3\u9700\u6c42<\/li>\n<li>\u5f00\u53d1\u6548\u7387&#xff1a;DataStore \u5c01\u88c5\u4e86 Preferences \u7684\u8bfb\u5199&#xff0c;\u4ee3\u7801\u91cf\u6bd4 RDB \u5c11 60% \u4ee5\u4e0a<\/li>\n<li>\u6027\u80fd\u4f18\u52bf&#xff1a;KV \u76f4\u8bfb\u6bd4 SQL \u89e3\u6790 &#043; \u6267\u884c\u5feb\u4e00\u4e2a\u6570\u91cf\u7ea7&#xff0c;\u9002\u5408 3 \u79d2\u95f4\u9694\u7684\u9ad8\u9891\u8bfb\u53d6<\/li>\n<li>\u6e10\u8fdb\u6f14\u8fdb&#xff1a;\u672a\u6765\u5982\u9700\u8fc1\u79fb\u81f3 RDB&#xff0c;\u53ea\u9700\u66ff\u6362 DataStore \u5b9e\u73b0&#xff0c;\u4e0a\u5c42\u4ee3\u7801\u65e0\u9700\u53d8\u66f4<\/li>\n<h5>Preferences \u5728 IVGuard \u4e2d\u7684\u5b58\u50a8\u7ed3\u6784<\/h5>\n<p>&#096; Preferences Key-Value \u6620\u5c04:<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 Key \u2502 Value (JSON) \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u201cmedicines\u201d \u2502 [{\u201cid\u201d:\u201cm1\u201d,\u201cname\u201d:\u201cNaCl\u201d,\u2026},\u2026] \u2502 \u2502 \u201cmonitor_sessions\u201d \u2502 [{\u201cid\u201d:\u201cs1\u201d,\u201cstartTime\u201d:\u2026, \u2026},\u2026]\u2502 \u2502 \u201ccost_items\u201d \u2502 [{\u201cid\u201d:\u201cc1\u201d,\u201cname\u201d:\u201c\u6302\u53f7\u8d39\u201d,\u2026},\u2026] \u2502 \u2502 \u201cinsurance_policy\u201d \u2502 {\u201ccity\u201d:\u201c\u5317\u4eac\u201d,\u201crate\u201d:0.85,\u2026} \u2502 \u2502 \u201capp_settings\u201d \u2502 {\u201calertThreshold\u201d:20,\u2026} \u2502 \u2502 \u201cuser_role\u201d \u2502 \u201cpatient\u201d \u2502 \u2502 \u201calert_events\u201d \u2502 [{\u201cid\u201d:\u201ca1\u201d,\u201ctype\u201d:\u201clevel_low\u201d,\u2026}] \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 &#096;<\/p>\n<p>&#096; ypescript \/\/ DataStore.ets \u57fa\u4e8e Preferences \u7684\u5b9e\u73b0 import dataPreferences from \u2018&#064;ohos.data.preferences\u2019<\/p>\n<p>export class DataStore { private static prefs: dataPreferences.Preferences | null &#061; null<\/p>\n<p>static async init(context: Context): Promise { DataStore.prefs &#061; await dataPreferences.getPreferences(context, \u2018ivguard_db\u2019) }<\/p>\n<p>static async save(key: string, value: T): Promise { if (!DataStore.prefs) return await DataStore.prefs.put(key, JSON.stringify(value)) await DataStore.prefs.flush() }<\/p>\n<p>static async load(key: string, defaultValue: T): Promise { if (!DataStore.prefs) return defaultValue const raw &#061; await DataStore.prefs.get(key, JSON.stringify(defaultValue)) return JSON.parse(raw as string) as T }<\/p>\n<p>static async delete(key: string): Promise { if (!DataStore.prefs) return await DataStore.prefs.delete(key) await DataStore.prefs.flush() }<\/p>\n<p>static async clear(): Promise { if (!DataStore.prefs) return await DataStore.prefs.clear() await DataStore.prefs.flush() } } &#096;<\/p>\n<h5>\u672a\u6765\u8fc1\u79fb\u8def\u5f84<\/h5>\n<p>\u5f53 IVGuard \u8fdb\u5165\u751f\u4ea7\u9636\u6bb5&#xff0c;\u6570\u636e\u91cf\u589e\u957f\u540e&#xff0c;DataStore \u7684\u5185\u90e8\u5b9e\u73b0\u53ef\u4ee5\u4ece Preferences \u5e73\u6ed1\u5207\u6362\u4e3a RDB&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ \u672a\u6765 RDB \u7248\u672c\u7684 DataStore&#xff08;\u63a5\u53e3\u4e0d\u53d8&#xff0c;\u5b9e\u73b0\u66ff\u6362&#xff09; export class DataStore { private static rdb: relationalStore.RdbStore | null &#061; null<\/p>\n<p>static async init(context: Context): Promise { DataStore.rdb &#061; await relationalStore.getRdbStore(context, { name: \u2018ivguard.db\u2019, securityLevel: relationalStore.SecurityLevel.S1 }) \/\/ \u521b\u5efa\u8868\u2026 }<\/p>\n<p>static async save(key: string, value: T): Promise { \/\/ INSERT OR REPLACE\u2026 }<\/p>\n<p>static async load(key: string, defaultValue: T): Promise { \/\/ SELECT\u2026 } } &#096;<\/p>\n<p>\u7531\u4e8e\u9875\u9762\u5c42\u548c\u7ec4\u4ef6\u5c42\u53ea\u4f9d\u8d56 DataStore \u7684\u9759\u6001\u65b9\u6cd5\u7b7e\u540d&#xff0c;\u4e0d\u5173\u5fc3\u5185\u90e8\u5b9e\u73b0&#xff0c;\u56e0\u6b64\u8fd9\u79cd\u8fc1\u79fb\u5bf9\u4e0a\u5c42\u5b8c\u5168\u900f\u660e\u3002<\/p>\n<h4>4.5 API Level \u4e0e\u517c\u5bb9\u6027<\/h4>\n<p>IVGuard \u57fa\u4e8e API Level 24&#xff08;HarmonyOS 5.0&#xff09; \u5f00\u53d1&#xff0c;\u8fd9\u4e00\u9009\u62e9\u7684\u6280\u672f\u8003\u91cf&#xff1a;<\/p>\n<table>\n<tr>API Level\u5bf9\u5e94\u7248\u672cIVGuard \u9700\u8981\u7684\u5173\u952e API<\/tr>\n<tbody>\n<tr>\n<td>12<\/td>\n<td>HarmonyOS 4.1<\/td>\n<td>\u57fa\u7840 ArkUI&#xff0c;\u7f3a\u5c11\u90e8\u5206 Camera2 API<\/td>\n<\/tr>\n<tr>\n<td>24<\/td>\n<td>HarmonyOS 5.0<\/td>\n<td>\u5b8c\u6574 Camera2, NFC, Preferences, Notification<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9009\u62e9 API Level 24 \u7684\u539f\u56e0&#xff1a;<\/p>\n<li>Camera2 \u5b8c\u6574\u652f\u6301&#xff1a;\u89c6\u89c9\u8bc6\u522b\u4f9d\u8d56\u7684\u5e27\u56de\u8c03 API \u5728 Level 24 \u624d\u5b8c\u6574\u7a33\u5b9a&#xff0c;Level 12 \u7684 Camera API \u7f3a\u5c11\u5b9e\u65f6\u5e27\u56de\u8c03\u80fd\u529b<\/li>\n<li>NFC \u589e\u5f3a\u529f\u80fd&#xff1a;NFC \u6807\u7b7e\u8bfb\u53d6\u7684\u5f02\u6b65 API \u5728 Level 24 \u6709\u91cd\u5927\u6539\u8fdb&#xff0c;\u652f\u6301 NDEF \u683c\u5f0f\u7684\u81ea\u52a8\u89e3\u6790<\/li>\n<li>Preferences \u6027\u80fd\u4f18\u5316&#xff1a;Level 24 \u7684 lush() \u65b9\u6cd5\u6027\u80fd\u63d0\u5347\u4e86\u7ea6 40%&#xff0c;\u5bf9 3 \u79d2\u95f4\u9694\u7684\u9ad8\u9891\u5199\u5165\u66f4\u53cb\u597d<\/li>\n<li>Notification \u6e20\u9053\u5316&#xff1a;\u9884\u8b66\u901a\u77e5\u7684\u5206\u7c7b\u548c\u4f18\u5148\u7ea7\u7ba1\u7406\u5728 Level 24 \u66f4\u52a0\u7075\u6d3b&#xff0c;\u652f\u6301\u7d27\u6025\/\u91cd\u8981\/\u666e\u901a\u4e09\u6863<\/li>\n<li>Canvas 2D \u589e\u5f3a&#xff1a;Level 24 \u7684 Canvas API \u652f\u6301 setLineDash()\u3001rc() \u7b49\u7ed8\u56fe\u65b9\u6cd5&#xff0c;\u662f\u8d8b\u52bf\u56fe\u548c\u997c\u56fe\u7684\u5fc5\u8981\u4f9d\u8d56<\/li>\n<hr \/>\n<h3>5. \u6570\u636e\u6d41\u67b6\u6784<\/h3>\n<h4>5.1 \u6838\u5fc3\u76d1\u63a7\u6570\u636e\u6d41<\/h4>\n<p>\u6838\u5fc3\u76d1\u63a7\u6570\u636e\u6d41\u662f IVGuard \u6700\u5173\u952e\u7684\u6570\u636e\u6d41&#xff0c;\u4ece\u76f8\u673a\u91c7\u96c6\u5230\u9884\u8b66\u89e6\u53d1\u7684\u5b8c\u6574\u94fe\u8def&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u5e27\u6570\u636e \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u6db2\u4f4d\u503c \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 Camera \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 VisionService \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 \u9884\u8b66\u5224\u65ad\u903b\u8f91 \u2502 \u2502 Service \u2502 \u2502 analyzeFrame()\u2502 \u2502 (\u9608\u503c\u68c0\u6d4b) \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u6db2\u4f4d &lt; 20% \u2502 \u6db2\u4f4d &lt; 10% \u2502 \u6db2\u4f4d &lt; 5% \u2193 \u2193 \u2193 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u9ec4\u8272\u9884\u8b66 \u2502 \u2502 \u6a59\u8272\u9884\u8b66 \u2502 \u2502 \u7ea2\u8272\u9884\u8b66 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2193 \u2502 \u2502 \u2193 \u2502 \u2502 \u2193 \u2502 \u2502Notification\u2502 \u2502Notification\u2502 \u2502Notification\u2502 \u2502 \u901a\u77e5\u680f \u2502 \u2502 \u901a\u77e5\u680f \u2502 \u2502 \u901a\u77e5\u680f \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 &#043; \u9707\u52a8 \u2502 \u2502 \u2502 \u2502 Speech \u2502 \u2502 &#043; \u8bed\u97f3 \u2502 \u2502 \u2502 \u2502 \u8bed\u97f3\u63d0\u9192 \u2502 \u2502 &#043; \u624b\u8868\u9707\u52a8 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6570\u636e\u6d41\u8be6\u7ec6\u6b65\u9aa4&#xff1a;<\/p>\n<li>CameraService.startCapture() \u542f\u52a8\u540e\u7f6e\u6444\u50cf\u5934&#xff0c;\u4ee5 setInterval(3000) \u4e3a\u95f4\u9694\u83b7\u53d6\u5e27<\/li>\n<li>\u6bcf\u5e27\u6570\u636e\u4f20\u5165 VisionService.analyzeFrame(frame)&#xff0c;\u8bc6\u522b\u6db2\u4f4d\u767e\u5206\u6bd4<\/li>\n<li>VisionService \u5185\u90e8\u903b\u8f91&#xff08;\u5f53\u524d\u4e3a\u6a21\u62df&#xff09;&#xff1a;\n<ul>\n<li>\u521d\u59cb\u6db2\u4f4d 85%<\/li>\n<li>\u6bcf\u6b21\u91c7\u6837\u8870\u51cf 1-2%&#xff08;\u968f\u673a&#xff09;<\/li>\n<li>\u8fd4\u56de\u5f53\u524d\u6db2\u4f4d\u503c<\/li>\n<\/ul>\n<\/li>\n<li>\u9875\u9762\u5c42\u63a5\u6536\u5230\u6db2\u4f4d\u503c\u540e\u66f4\u65b0 &#064;State currentLevel<\/li>\n<li>\u9884\u8b66\u5224\u65ad\u903b\u8f91\u6839\u636e\u9608\u503c\u5206\u7ea7\u89e6\u53d1<\/li>\n<li>\u89e6\u53d1\u540e\u8c03\u7528 NotificationService\u3001SpeechService\u3001WatchService<\/li>\n<h5>VisionService \u6db2\u4f4d\u6a21\u62df\u7b97\u6cd5\u8be6\u89e3<\/h5>\n<p>&#096; ypescript \/\/ VisionService.ets \u5b8c\u6574\u5b9e\u73b0 export class VisionService { private static currentLevel: number &#061; 85 private static lastTimestamp: number &#061; 0 private static flowRate: number &#061; 0<\/p>\n<p>static analyzeFrame(frame: image.PixelMap | null): number { \/\/ MVP: \u6a21\u62df\u6db2\u4f4d\u8870\u51cf \/\/ \u751f\u4ea7\u73af\u5883: \u8d34\u7eb8\u523b\u5ea6\u8bc6\u522b &#043; \u989c\u8272\u8fb9\u754c\u68c0\u6d4b const decay &#061; 1 &#043; Math.random() \/\/ 1-2% \u6bcf\u91c7\u6837\u5468\u671f VisionService.currentLevel &#061; Math.max(0, VisionService.currentLevel &#8211; decay)<\/p>\n<p>\/\/ \u8ba1\u7b97\u6d41\u901f<br \/>\nconst now &#061; Date.now()<br \/>\nif (VisionService.lastTimestamp &gt; 0) {<br \/>\n  const elapsed &#061; (now &#8211; VisionService.lastTimestamp) \/ 60000 \/\/ \u5206\u949f<br \/>\n  VisionService.flowRate &#061; decay \/ elapsed \/\/ %\/min<br \/>\n}<br \/>\nVisionService.lastTimestamp &#061; now<\/p>\n<p>return VisionService.currentLevel<\/p>\n<p>}<\/p>\n<p>static getFlowRate(): number { return VisionService.flowRate }<\/p>\n<p>static getEstimatedTime(): number { if (VisionService.flowRate &lt;&#061; 0) return Infinity return VisionService.currentLevel \/ VisionService.flowRate }<\/p>\n<p>static reset(): void { VisionService.currentLevel &#061; 85 VisionService.lastTimestamp &#061; 0 VisionService.flowRate &#061; 0 } } &#096;<\/p>\n<h5>\u9884\u8b66\u9608\u503c\u5206\u7ea7\u7b56\u7565<\/h5>\n<p>IVGuard \u91c7\u7528\u4e09\u7ea7\u9884\u8b66\u673a\u5236&#xff0c;\u6839\u636e\u6db2\u4f4d\u767e\u5206\u6bd4\u548c\u4e0b\u964d\u901f\u7387\u7efc\u5408\u5224\u65ad&#xff1a;<\/p>\n<table>\n<tr>\u7b49\u7ea7\u6db2\u4f4d\u9608\u503c\u901a\u77e5\u65b9\u5f0f\u8bed\u97f3\u9707\u52a8\u624b\u8868<\/tr>\n<tbody>\n<tr>\n<td>\u9ec4\u8272\u9884\u8b66<\/td>\n<td>&lt; 20%<\/td>\n<td>\u901a\u77e5\u680f\u63d0\u793a<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u6a59\u8272\u9884\u8b66<\/td>\n<td>&lt; 10%<\/td>\n<td>\u901a\u77e5\u680f&#043;\u6a2a\u5e45<\/td>\n<td>\u8bed\u97f3\u63d0\u9192<\/td>\n<td>\u77ed\u9707\u52a8<\/td>\n<td>\u9707\u52a8<\/td>\n<\/tr>\n<tr>\n<td>\u7ea2\u8272\u9884\u8b66<\/td>\n<td>&lt; 5%<\/td>\n<td>\u7d27\u6025\u901a\u77e5&#043;\u5168\u5c4f<\/td>\n<td>\u8bed\u97f3\u63d0\u9192<\/td>\n<td>\u957f\u9707\u52a8<\/td>\n<td>\u8fde\u7eed\u9707\u52a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> ypescript \/\/ MonitorPage.ets \u4e2d\u7684\u9884\u8b66\u5224\u65ad\u903b\u8f91 private checkAlert(level: number): void { if (level &lt; 5) { \/\/ \u7ea2\u8272\u9884\u8b66 NotificationService.sendUrgent(&#039;\u7d27\u6025\u9884\u8b66&#039;, \u6db2\u4f4d\u4ec5\u5269 %&#xff0c;\u8bf7\u7acb\u5373\u5904\u7406&#xff01;) SpeechService.speak(&#039;\u8f93\u6db2\u5373\u5c06\u7ed3\u675f&#xff0c;\u8bf7\u7acb\u5373\u547c\u53eb\u62a4\u58eb&#039;) WatchService.vibrate(&#039;urgent&#039;) } else if (level &lt; 10) { \/\/ \u6a59\u8272\u9884\u8b66 NotificationService.sendAlert(&#039;\u8f93\u6db2\u9884\u8b66&#039;, \u6db2\u4f4d %&#xff0c;\u5373\u5c06\u5b8c\u6210) SpeechService.speak(&#039;\u8f93\u6db2\u5373\u5c06\u7ed3\u675f&#xff0c;\u8bf7\u6ce8\u610f&#039;) WatchService.vibrate(&#039;warning&#039;) } else if (level &lt; 20) { \/\/ \u9ec4\u8272\u9884\u8b66 NotificationService.sendInfo(&#039;\u8f93\u6db2\u63d0\u793a&#039;, \u6db2\u4f4d %&#xff0c;\u8bf7\u7559\u610f) } } <\/p>\n<h4>5.2 \u836f\u7269\u7ba1\u7406\u6570\u636e\u6d41<\/h4>\n<p>\u836f\u7269\u7ba1\u7406\u7684\u6570\u636e\u6d41\u6d89\u53ca\u836f\u7269\u5f55\u5165\u3001\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b\u548c UI \u5c55\u793a&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u836f\u7269\u7ba1\u7406\u6570\u636e\u6d41 \u2502 \u2502 \u2502 \u2502 \u8f93\u5165\u6e90 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502\u626b\u7801\u6dfb\u52a0 \u2502 \u2502\u624b\u52a8\u8f93\u5165 \u2502 \u2502NFC \u8d34\u7eb8\u8bfb\u53d6 \u2502 \u2502 \u2502 \u2502ScanService\u2502 \u2502\u7528\u6237\u8868\u5355 \u2502 \u2502NfcService \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2193 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 Medicine \u5bf9\u8c61 \u2502 \u2502 \u2502 \u2502 (\u6570\u636e\u6a21\u578b) \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2193 \u2193 \u2193 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 DataStore \u2502 \u2502DrugDB\u67e5\u8be2 \u2502 \u2502\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b \u2502 \u2502 \u2502 \u2502 save() \u2502 \u2502IVDrugDB \u2502 \u2502DrugDatabase \u2502 \u2502 \u2502 \u2502 \u6301\u4e45\u5316 \u2502 \u2502\u836f\u7269\u8be6\u60c5 \u2502 \u2502 12\u7ec4\u68c0\u6d4b \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u6709\u76f8\u4e92\u4f5c\u7528 \u2502 \u65e0\u76f8\u4e92\u4f5c\u7528 \u2502 \u2502 \u2502 \u2193 \u2193 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u2502 AlertCard \u2502 \u2502MedicineC.\u2502 \u2502 \u2502 \u2502 \u2502 \u7ea2\u8272\u8b66\u544a \u2502 \u2502 \u6b63\u5e38\u5361\u7247 \u2502 \u2502 \u2502 \u2502 \u2502 \u663e\u793a\u98ce\u9669\u63cf\u8ff0 \u2502 \u2502 \u663e\u793a\u8be6\u60c5 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b\u903b\u8f91&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ DrugDatabase.ets \u4e2d\u7684\u68c0\u6d4b\u903b\u8f91 export class DrugDatabase { static readonly INTERACTIONS: DrugInteraction[] &#061; [ { drugA: \u2018\u5934\u5b62\u66f2\u677e\u2019, drugB: \u2018\u542b\u9499\u8f93\u6db2\u2019, severity: \u2018high\u2019, description: \u2018\u5934\u5b62\u66f2\u677e\u4e0e\u542b\u9499\u8f93\u6db2\u914d\u4f0d\u53ef\u5f62\u6210\u81f4\u547d\u6027\u6c89\u6dc0\u2019 }, { drugA: \u2018\u534e\u6cd5\u6797\u2019, drugB: \u2018\u963f\u53f8\u5339\u6797\u2019, severity: \u2018high\u2019, description: \u2018\u8054\u5408\u4f7f\u7528\u663e\u8457\u589e\u52a0\u51fa\u8840\u98ce\u9669\u2019 }, { drugA: \u2018\u5e86\u5927\u9709\u7d20\u2019, drugB: \u2018\u544b\u585e\u7c73\u2019, severity: \u2018high\u2019, description: \u2018\u589e\u52a0\u8033\u6bd2\u6027\u548c\u80be\u6bd2\u6027\u98ce\u9669\u2019 }, { drugA: \u2018\u5934\u5b62\u54cc\u916e\u2019, drugB: \u2018\u9152\u7cbe\u2019, severity: \u2018high\u2019, description: \u2018\u53cc\u786b\u4ed1\u6837\u53cd\u5e94&#xff0c;\u9762\u90e8\u6f6e\u7ea2\u3001\u5934\u75db\u3001\u5fc3\u60b8\u2019 }, \/\/ \u2026 \u5171 12 \u7ec4 ]<\/p>\n<p>static checkInteraction(drug1: string, drug2: string): DrugInteraction | null { for (const interaction of DrugDatabase.INTERACTIONS) { if ((interaction.drugA &#061;&#061;&#061; drug1 &amp;&amp; interaction.drugB &#061;&#061;&#061; drug2) || (interaction.drugA &#061;&#061;&#061; drug2 &amp;&amp; interaction.drugB &#061;&#061;&#061; drug1)) { return interaction } } return null }<\/p>\n<p>static checkAllInteractions(newDrug: string, existingDrugs: string[]): DrugInteraction[] { const results: DrugInteraction[] &#061; [] for (const drug of existingDrugs) { const interaction &#061; DrugDatabase.checkInteraction(newDrug, drug) if (interaction) results.push(interaction) } return results } } &#096;<\/p>\n<p>\u836f\u7269\u6dfb\u52a0\u5b8c\u6574\u6d41\u7a0b&#xff1a;<\/p>\n<p>\u5f53\u7528\u6237\u901a\u8fc7\u626b\u7801\u6216\u624b\u52a8\u65b9\u5f0f\u6dfb\u52a0\u65b0\u836f\u7269\u65f6&#xff0c;\u7cfb\u7edf\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u83b7\u53d6\u836f\u7269\u6807\u8bc6&#xff08;\u6761\u7801\/\u540d\u79f0\/NFC ID&#xff09;<\/li>\n<li>\u67e5\u8be2 IVDrugDatabase \u83b7\u53d6\u836f\u7269\u8be6\u60c5<\/li>\n<li>\u6784\u5efa Medicine \u5bf9\u8c61<\/li>\n<li>\u8c03\u7528 DrugDatabase.checkAllInteractions() \u68c0\u6d4b\u76f8\u4e92\u4f5c\u7528<\/li>\n<li>\u5982\u679c\u6709\u76f8\u4e92\u4f5c\u7528&#xff0c;\u521b\u5efa AlertCard \u663e\u793a\u8b66\u544a<\/li>\n<li>\u8c03\u7528 DataStore.save(\u2018medicines\u2019, updatedList) \u6301\u4e45\u5316<\/li>\n<li>\u66f4\u65b0 UI \u5217\u8868\u663e\u793a<\/li>\n<h4>5.3 \u8d39\u7528\u8ba1\u7b97\u6570\u636e\u6d41<\/h4>\n<p>\u8d39\u7528\u7ba1\u7406\u7684\u6570\u636e\u6d41\u6db5\u76d6\u8d39\u7528\u5f55\u5165\u3001\u533b\u4fdd\u8ba1\u7b97\u548c\u53ef\u89c6\u5316\u5c55\u793a&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u8d39\u7528\u8ba1\u7b97\u6570\u636e\u6d41 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u8d39\u7528\u5f55\u5165 \u2502 \u2500\u2500\u2192 \u2502 CostItem\u5bf9\u8c61 \u2502 \u2500\u2500\u2192 \u2502 CostService \u2502 \u2502 \u2502 \u2502 (\u7528\u6237) \u2502 \u2502 (\u6570\u636e\u6a21\u578b) \u2502 \u2502 calculate() \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2193 \u2193 \u2193 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u533b\u4fdd\u62a5\u9500\u8ba1\u7b97 \u2502 \u2502 \u81ea\u8d39\u4f30\u7b97 \u2502 \u2502 \u8d39\u7528\u5206\u7c7b \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u5f52\u96c6 \u2502 \u2502 \u2502 \u2502 InsuranceRef \u2502 \u2502 \u4e2a\u4eba\u81ea\u4ed8 \u2502 \u2502 \u6309\u7c7b\u522b \u2502 \u2502 \u2502 \u2502 6\u57ce\u5e02\u53c2\u8003 \u2502 \u2502 &#061; \u603b\u989d \u2502 \u2502 \u7edf\u8ba1 \u2502 \u2502 \u2502 \u2502 \u8d77\u4ed8\u7ebf\/\u6bd4\u4f8b \u2502 \u2502 &#8211; \u62a5\u9500\u989d \u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2193 \u2193 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 CostSummary\u5bf9\u8c61 \u2502 \u2502 \u5206\u7c7b\u8d39\u7528\u6570\u7ec4 \u2502 \u2502 \u2502 \u2502 \u603b\u989d\/\u62a5\u9500\/\u81ea\u4ed8 \u2502 \u2502 [\u836f\u8d39,\u68c0\u67e5,..]\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u2502 \u2193 \u2193 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u6587\u5b57\u5c55\u793a \u2502 \u2502 CostPieChart \u2502 \u2502 \u2502 \u2502 \u8d39\u7528\u660e\u7ec6 \u2502 \u2502 \u997c\u56fe\u5c55\u793a \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>CostService \u533b\u4fdd\u8ba1\u7b97\u6838\u5fc3\u903b\u8f91&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ CostService.ets export class CostService { static calculateReimbursement( totalCost: number, policy: InsurancePolicy ): CostSummary { const deductible &#061; policy.deductible \/\/ \u8d77\u4ed8\u7ebf const rate &#061; policy.reimbursementRate \/\/ \u62a5\u9500\u6bd4\u4f8b const cap &#061; policy.annualCap \/\/ \u5e74\u5ea6\u5c01\u9876\u7ebf<\/p>\n<p>\/\/ \u8d85\u8fc7\u8d77\u4ed8\u7ebf\u7684\u90e8\u5206\u624d\u80fd\u62a5\u9500<br \/>\nconst aboveDeductible &#061; Math.max(0, totalCost &#8211; deductible)<br \/>\n\/\/ \u6309\u62a5\u9500\u6bd4\u4f8b\u8ba1\u7b97<br \/>\nconst rawReimbursement &#061; aboveDeductible * rate<br \/>\n\/\/ \u4e0d\u8d85\u8fc7\u5e74\u5ea6\u5c01\u9876\u7ebf<br \/>\nconst cappedReimbursement &#061; Math.min(rawReimbursement, cap &#8211; policy.yearToDate)<br \/>\n\/\/ \u6700\u7ec8\u62a5\u9500\u91d1\u989d&#xff08;\u4e0d\u5141\u8bb8\u4e3a\u8d1f&#xff09;<br \/>\nconst finalReimbursement &#061; Math.max(0, cappedReimbursement)<br \/>\n\/\/ \u4e2a\u4eba\u81ea\u4ed8<br \/>\nconst outOfPocket &#061; totalCost &#8211; finalReimbursement<\/p>\n<p>return new CostSummary(<br \/>\n  totalCost,<br \/>\n  finalReimbursement,<br \/>\n  outOfPocket,<br \/>\n  deductible<br \/>\n)<\/p>\n<p>}<\/p>\n<p>static breakdownByCategory(items: CostItem[]): Map&lt;string, number&gt; { const categoryMap &#061; new Map&lt;string, number&gt;() for (const item of items) { const current &#061; categoryMap.get(item.category) || 0 categoryMap.set(item.category, current &#043; item.amount) } return categoryMap }<\/p>\n<p>static estimateOutOfPocket( items: CostItem[], policy: InsurancePolicy ): number { const total &#061; items.reduce((sum, item) &#061;&gt; sum &#043; item.amount, 0) const summary &#061; CostService.calculateReimbursement(total, policy) return summary.outOfPocket } } &#096;<\/p>\n<h5>\u533b\u4fdd\u8ba1\u7b97\u793a\u4f8b<\/h5>\n<p>\u4ee5\u5317\u4eac\u5e02\u533b\u4fdd\u4e3a\u4f8b&#xff0c;\u5047\u8bbe\u603b\u8d39\u7528 8000 \u5143&#xff1a;<\/p>\n<p>&#096; \u8f93\u5165&#xff1a; \u603b\u8d39\u7528: 8,000 \u5143 \u8d77\u4ed8\u7ebf: 1,300 \u5143 (\u5317\u4eac) \u62a5\u9500\u6bd4\u4f8b: 85% \u5e74\u5ea6\u5c01\u9876\u7ebf: 50,000 \u5143 \u5e74\u5ea6\u5df2\u62a5\u9500: 12,000 \u5143<\/p>\n<p>\u8ba1\u7b97\u8fc7\u7a0b&#xff1a; \u8d85\u8d77\u4ed8\u7ebf\u90e8\u5206: 8,000 &#8211; 1,300 &#061; 6,700 \u5143 \u539f\u59cb\u62a5\u9500\u989d: 6,700 * 0.85 &#061; 5,695 \u5143 \u5c01\u9876\u9650\u5236: min(5,695, 50,000 &#8211; 12,000) &#061; 5,695 \u5143 (\u672a\u8d85) \u6700\u7ec8\u62a5\u9500: 5,695 \u5143 \u4e2a\u4eba\u81ea\u4ed8: 8,000 &#8211; 5,695 &#061; 2,305 \u5143<\/p>\n<p>\u8f93\u51fa CostSummary: total: 8,000 \u5143 reimbursed: 5,695 \u5143 outOfPocket: 2,305 \u5143 deductible: 1,300 \u5143 &#096;<\/p>\n<h4>5.4 \u5b8c\u6574\u6570\u636e\u6d41\u56fe<\/h4>\n<p>\u4ee5\u4e0b ASCII \u56fe\u5c55\u793a\u4e86 IVGuard \u7cfb\u7edf\u4e2d\u6240\u6709\u6838\u5fc3\u6570\u636e\u6d41\u7684\u5b8c\u6574\u5173\u7cfb&#xff1a;<\/p>\n<p>\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557 \u2551 IVGuard \u5b8c\u6574\u6570\u636e\u6d41\u56fe \u2551 \u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563 \u2551 \u2551 \u2551 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2551 \u2551 \u2502 \u786c\u4ef6\u5c42 \u2502 \u2551 \u2551 \u2502 \u2502 \u2551 \u2551 \u2502 Camera \u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2551 \u2551 \u2502 NFC \u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2551 \u2551 \u2502 \u626b\u7801\u5668 \u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2551 \u2551 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2551 \u2551 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2551 \u2551 \u2502 \u670d\u52a1\u5c42 \u2502 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 ScanService \u2190\u2518 \u2502 \u2193 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 CameraService \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 startCapture() \u2502 \u2502 \u2551 \u2551 \u2502 \u2193 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2551 \u2551 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u5e27\u6570\u636e \u2502 \u2551 \u2551 \u2502 \u2502DataStore\u2502 \u2502 \u2193 \u2502 \u2551 \u2551 \u2502 \u2502 save() \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2551 \u2551 \u2502 \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 VisionService \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 analyzeFrame() \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 \u6db2\u4f4d\u503c \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2193 \u2193 \u2502 \u2551 \u2551 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502NfcService \u2502 \u2502Notification\u2502 \u2502SpeechService \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502pair()\/read()\u2502 \u2502Service \u2502 \u2502speak() \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2191 \u2502 \u2551 \u2551 \u2502 \u2502 \u2193 \u2502 \u2502 \u2551 \u2551 \u2502 \u250c\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u6570\u636e\u5c42 (Model) \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 DataModels RouteParams HospitalData \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 DrugDatabase IVDrugDatabase InsuranceRef \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 CostService \u2190\u2500\u2500\u2500\u2500\u2500\u2524 AIService \u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\u2500\u2500\u2518 \u2502 \u2551 \u2551 \u2502 \u2502 calculate() \u2502 analyze() \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 \u2502 \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 WatchService \u2502 NavService \u2502 \u2502 \u2551 \u2551 \u2502 \u2502 sync()\/alert() \u2502 navigate() \u2502 \u2502 \u2551 \u2551 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2551 \u2551 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2551 \u2551 \u2551 \u2551 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2551 \u2551 \u2502 \u7ec4\u4ef6\u5c42 &#043; \u9875\u9762\u5c42 \u2502 \u2551 \u2551 \u2502 \u2502 \u2551 \u2551 \u2502 LevelProgress \u2190\u2500\u2500 currentLevel MedicineCard \u2190\u2500\u2500 Medicine \u2502 \u2551 \u2551 \u2502 MonitorOverlay \u2190\u2500\u2500 frame AlertCard \u2190\u2500\u2500 DrugInteraction \u2502 \u2551 \u2551 \u2502 FlowChart \u2190\u2500\u2500 LevelRecord[] CostPieChart \u2190\u2500\u2500 CostItem[] \u2502 \u2551 \u2551 \u2502 HospitalMapView \u2190\u2500\u2500 HospitalPOI StepIndicator \u2190\u2500\u2500 step\u72b6\u6001 \u2502 \u2551 \u2551 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2551 \u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d<\/p>\n<h5>NFC \u914d\u5bf9\u6570\u636e\u6d41<\/h5>\n<p>NFC \u914d\u5bf9\u662f IVGuard \u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u8f85\u52a9\u6570\u636e\u6d41&#xff0c;\u7528\u4e8e\u5feb\u901f\u5173\u8054\u8f93\u6db2\u888b\u4e0e\u836f\u7269\u4fe1\u606f&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 NFC\u6807\u7b7e\u6570\u636e \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u8d34\u7eb8ID \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 NFC\u6807\u7b7e \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 NfcService \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 DataStore \u2502 \u2502 (\u8d34\u7eb8\u5185) \u2502 \u2502 pair()\/read()\u2502 \u2502 load() \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u836f\u7269\u5173\u8054ID \u2502 \u836f\u7269\u5217\u8868 \u2193 \u2193 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502IVDrugDatabase\u2502 \u2502 Medicine[] \u2502 \u2502 50\u79cd\u836f\u7269\u8be6\u60c5 \u2502 \u2502 \u7528\u6237\u836f\u7269\u5217\u8868 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2193 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u81ea\u52a8\u586b\u5145 \u2502 \u2502 Medicine\u5bf9\u8c61 \u2502 \u2502 \u2192 \u836f\u7269\u7ba1\u7406\u9875 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u5f53\u7528\u6237\u5c06\u624b\u673a\u9760\u8fd1\u8f93\u6db2\u888b\u4e0a\u7684 NFC \u8d34\u7eb8\u65f6&#xff0c;NfcService \u8bfb\u53d6\u6807\u7b7e\u4e2d\u7684\u8d34\u7eb8 ID&#xff0c;\u7136\u540e\u6839\u636e ID \u5728 IVDrugDatabase \u4e2d\u67e5\u627e\u5173\u8054\u7684\u836f\u7269\u4fe1\u606f&#xff0c;\u81ea\u52a8\u586b\u5145\u5230 Medicine \u5bf9\u8c61\u4e2d&#xff0c;\u7701\u53bb\u4e86\u624b\u52a8\u8f93\u5165\u7684\u6b65\u9aa4\u3002<\/p>\n<h5>AI \u5206\u6790\u6570\u636e\u6d41<\/h5>\n<p>AIService \u901a\u8fc7\u67e5\u8be2 DataStore \u4e2d\u7684\u5386\u53f2\u76d1\u63a7\u6570\u636e&#xff0c;\u63d0\u4f9b\u667a\u80fd\u5efa\u8bae&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u5386\u53f2\u6570\u636e \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u5206\u6790\u7ed3\u679c \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 DataStore \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 AIService \u2502 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u2502 AnalysisPage \u2502 \u2502 load() \u2502 \u2502 analyze() \u2502 \u2502 UI\u5c55\u793a \u2502 \u2502 sessions \u2502 \u2502 suggest() \u2502 \u2502 \u2502 \u2502 records \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u57fa\u4e8e\u89c4\u5219\u7684\u63a8\u7406 \u2193 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u89c4\u5219\u5f15\u64ce: \u2502 \u2502 &#8211; \u5e73\u5747\u8f93\u6db2\u65f6\u957f &gt; 3h \u2192 \u5efa\u8bae\u54a8\u8be2 \u2502 \u2502 &#8211; \u9884\u8b66\u9891\u7387 &gt; 3\u6b21\/\u5929 \u2192 \u5173\u6ce8\u6d41\u901f \u2502 \u2502 &#8211; \u836f\u7269\u6570 &gt; 5 \u2192 \u68c0\u67e5\u76f8\u4e92\u4f5c\u7528 \u2502 \u2502 &#8211; \u591c\u95f4\u8f93\u6db2 \u2192 \u63d0\u9192\u966a\u62a4 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<hr \/>\n<h3>6. \u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8be6\u89e3<\/h3>\n<h4>6.1 \u76ee\u5f55\u6811\u603b\u89c8<\/h4>\n<p>entry\/src\/main\/ets\/ \u251c\u2500\u2500 model\/ # \u6570\u636e\u6a21\u578b\u5c42 (6\u4e2a\u6587\u4ef6) \u2502 \u251c\u2500\u2500 DataModels.ets # 15\u4e2a\u6838\u5fc3\u6570\u636e\u7c7b \u2502 \u251c\u2500\u2500 RouteParams.ets # \u8def\u7531\u53c2\u6570\u63a5\u53e3 \u2502 \u251c\u2500\u2500 HospitalData.ets # \u533b\u9662POI\u9759\u6001\u6570\u636e \u2502 \u251c\u2500\u2500 DrugDatabase.ets # \u836f\u7269\u76f8\u4e92\u4f5c\u7528 (12\u7ec4) \u2502 \u251c\u2500\u2500 IVDrugDatabase.ets # \u9759\u8109\u836f\u7269\u6570\u636e\u5e93 (50\u79cd) \u2502 \u2514\u2500\u2500 InsuranceReference.ets # 6\u57ce\u5e02\u533b\u4fdd\u53c2\u8003 \u251c\u2500\u2500 service\/ # \u670d\u52a1\u5c42 (11\u4e2a\u6587\u4ef6) \u2502 \u251c\u2500\u2500 DataStore.ets # \u6570\u636e\u6301\u4e45\u5316 \u2502 \u251c\u2500\u2500 CameraService.ets # \u76f8\u673a\u670d\u52a1 \u2502 \u251c\u2500\u2500 VisionService.ets # \u89c6\u89c9\u8bc6\u522b \u2502 \u251c\u2500\u2500 NfcService.ets # NFC\u914d\u5bf9 \u2502 \u251c\u2500\u2500 NotificationService.ets # \u901a\u77e5\u63a8\u9001 \u2502 \u251c\u2500\u2500 SpeechService.ets # \u8bed\u97f3\u63d0\u9192 \u2502 \u251c\u2500\u2500 ScanService.ets # \u626b\u7801\u670d\u52a1 \u2502 \u251c\u2500\u2500 NavService.ets # \u5bfc\u822a\u670d\u52a1 \u2502 \u251c\u2500\u2500 WatchService.ets # \u624b\u8868\u8054\u52a8 \u2502 \u251c\u2500\u2500 AIService.ets # AI\u5206\u6790 \u2502 \u2514\u2500\u2500 CostService.ets # \u8d39\u7528\u8ba1\u7b97 \u251c\u2500\u2500 component\/ # \u7ec4\u4ef6\u5c42 (8\u4e2a\u6587\u4ef6) \u2502 \u251c\u2500\u2500 LevelProgress.ets # \u6db2\u4f4d\u8fdb\u5ea6 \u2502 \u251c\u2500\u2500 MedicineCard.ets # \u836f\u7269\u5361\u7247 \u2502 \u251c\u2500\u2500 AlertCard.ets # \u9884\u8b66\u5361\u7247 \u2502 \u251c\u2500\u2500 MonitorOverlay.ets # \u76d1\u63a7\u53e0\u52a0\u5c42 \u2502 \u251c\u2500\u2500 HospitalMapView.ets # \u533b\u9662\u5e73\u9762\u56fe \u2502 \u251c\u2500\u2500 FlowChart.ets # \u6d41\u901f\u8d8b\u52bf\u56fe \u2502 \u251c\u2500\u2500 CostPieChart.ets # \u8d39\u7528\u997c\u56fe \u2502 \u2514\u2500\u2500 StepIndicator.ets # \u6b65\u9aa4\u6307\u793a\u5668 \u2514\u2500\u2500 pages\/ # \u9875\u9762\u5c42 (17\u4e2a\u6587\u4ef6) \u251c\u2500\u2500 Index.ets # \u5165\u53e3 (\u89d2\u8272\u9009\u62e9) \u251c\u2500\u2500 HomePage.ets # \u60a3\u8005\u4e3b\u9875 (5-Tab) \u251c\u2500\u2500 MonitorPage.ets # \u5b9e\u65f6\u76d1\u63a7 \u251c\u2500\u2500 MedicinePage.ets # \u836f\u7269\u7ba1\u7406 \u251c\u2500\u2500 MedicineDetailPage.ets # \u836f\u54c1\u8be6\u60c5 \u251c\u2500\u2500 HistoryPage.ets # \u5386\u53f2\u8bb0\u5f55 \u251c\u2500\u2500 AnalysisPage.ets # \u6570\u636e\u5206\u6790 \u251c\u2500\u2500 CostPage.ets # \u8d39\u7528\u7ba1\u7406 \u251c\u2500\u2500 CostDetailPage.ets # \u8d39\u7528\u8be6\u60c5 \u251c\u2500\u2500 InsuranceSetupPage.ets # \u533b\u4fdd\u8bbe\u7f6e (5\u6b65) \u251c\u2500\u2500 SettingsPage.ets # \u7cfb\u7edf\u8bbe\u7f6e \u251c\u2500\u2500 HospitalNavPage.ets # \u533b\u9662\u5bfc\u822a \u251c\u2500\u2500 NurseHomePage.ets # \u62a4\u58eb\u5de5\u4f5c\u53f0 \u251c\u2500\u2500 PatientListPage.ets # \u60a3\u8005\u5217\u8868 \u251c\u2500\u2500 NurseAnalysisPage.ets # \u62a4\u58eb\u5206\u6790 \u251c\u2500\u2500 FamilyHomePage.ets # \u5bb6\u5c5e\u8fdc\u7a0b\u76d1\u63a7 \u2514\u2500\u2500 FamilyAlertPage.ets # \u5bb6\u5c5e\u9884\u8b66\u8bb0\u5f55<\/p>\n<p>\u6587\u4ef6\u7edf\u8ba1&#xff1a;<\/p>\n<table>\n<tr>\u76ee\u5f55\u6587\u4ef6\u6570\u4ee3\u7801\u884c\u6570(\u4f30)\u804c\u8d23\u5b9a\u4f4d<\/tr>\n<tbody>\n<tr>\n<td>model\/<\/td>\n<td>6<\/td>\n<td>~600<\/td>\n<td>\u6570\u636e\u7ed3\u6784\u4e0e\u9759\u6001\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td>service\/<\/td>\n<td>11<\/td>\n<td>~1500<\/td>\n<td>\u4e1a\u52a1\u903b\u8f91\u4e0e\u7cfb\u7edf\u5c01\u88c5<\/td>\n<\/tr>\n<tr>\n<td>component\/<\/td>\n<td>8<\/td>\n<td>~1200<\/td>\n<td>\u53ef\u590d\u7528 UI \u7ec4\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>pages\/<\/td>\n<td>17<\/td>\n<td>~3000<\/td>\n<td>\u5b8c\u6574\u4e1a\u52a1\u9875\u9762<\/td>\n<\/tr>\n<tr>\n<td>\u5408\u8ba1<\/td>\n<td>42<\/td>\n<td>~6300<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.2 \u6570\u636e\u6a21\u578b\u5c42 (model\/)<\/h4>\n<p>\u6570\u636e\u6a21\u578b\u5c42\u662f\u6574\u4e2a\u7cfb\u7edf\u7684\u6570\u636e\u57fa\u7840&#xff0c;\u5b9a\u4e49\u4e86\u6240\u6709\u4e1a\u52a1\u5b9e\u4f53\u7684\u7ed3\u6784\u548c\u5173\u7cfb\u3002\u5171 6 \u4e2a\u6587\u4ef6&#xff0c;\u627f\u62c5\u4e0d\u540c\u7684\u6570\u636e\u804c\u8d23\u3002<\/p>\n<h5>DataModels.ets \u2014 \u6838\u5fc3\u6570\u636e\u7c7b\u5b9a\u4e49<\/h5>\n<p>\u8fd9\u662f\u7cfb\u7edf\u6700\u6838\u5fc3\u7684\u6570\u636e\u6587\u4ef6&#xff0c;\u5b9a\u4e49\u4e86 15 \u4e2a\u6570\u636e\u7c7b&#xff0c;\u6db5\u76d6\u4e86 IVGuard \u7684\u6240\u6709\u4e1a\u52a1\u5b9e\u4f53&#xff1a;<\/p>\n<table>\n<tr>\u5e8f\u53f7\u7c7b\u540d\u7528\u9014\u5173\u952e\u5b57\u6bb5<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Medicine<\/td>\n<td>\u836f\u7269\u4fe1\u606f<\/td>\n<td>id, name, dosage, frequency, startDate<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>MonitorSession<\/td>\n<td>\u76d1\u63a7\u4f1a\u8bdd<\/td>\n<td>id, startTime, endTime, startLevel, endLevel<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>LevelRecord<\/td>\n<td>\u6db2\u4f4d\u8bb0\u5f55<\/td>\n<td>timestamp, level, flowRate<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>MonitorRecord<\/td>\n<td>\u76d1\u63a7\u8bb0\u5f55<\/td>\n<td>sessionId, records: LevelRecord[]<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>DrugInteraction<\/td>\n<td>\u836f\u7269\u76f8\u4e92\u4f5c\u7528<\/td>\n<td>drugA, drugB, severity, description<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>AlertEvent<\/td>\n<td>\u9884\u8b66\u4e8b\u4ef6<\/td>\n<td>id, timestamp, type, level, message, handled<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>HospitalPOI<\/td>\n<td>\u533b\u9662\u5174\u8da3\u70b9<\/td>\n<td>id, name, type, floor, x, y<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>IVDrugInfo<\/td>\n<td>\u9759\u8109\u836f\u7269\u8be6\u60c5<\/td>\n<td>name, category, concentration, notes<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>CostItem<\/td>\n<td>\u8d39\u7528\u6761\u76ee<\/td>\n<td>id, name, category, amount, date<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>InsurancePolicy<\/td>\n<td>\u533b\u4fdd\u653f\u7b56<\/td>\n<td>city, deductible, rate, cap<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>CostSummary<\/td>\n<td>\u8d39\u7528\u6c47\u603b<\/td>\n<td>total, reimbursed, outOfPocket<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>AppSettings<\/td>\n<td>\u5e94\u7528\u8bbe\u7f6e<\/td>\n<td>alertThreshold, speechEnabled, darkMode<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>UserRole<\/td>\n<td>\u7528\u6237\u89d2\u8272\u679a\u4e3e<\/td>\n<td>PATIENT, NURSE, FAMILY<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>NavPathData<\/td>\n<td>\u5bfc\u822a\u8def\u5f84<\/td>\n<td>steps: string[], target: HospitalPOI<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>(\u8f85\u52a9\u7c7b\u578b)<\/td>\n<td>\u8def\u7531\u53c2\u6570\u7b49<\/td>\n<td>\u89c6\u5177\u4f53\u4e1a\u52a1\u5b9a\u4e49<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>UserRole \u679a\u4e3e\u7684\u7279\u522b\u8bf4\u660e\u2014\u2014\u5b83\u4e0d\u4ec5\u7528\u4e8e UI \u5206\u53d1&#xff0c;\u66f4\u662f\u5168\u7cfb\u7edf\u6743\u9650\u63a7\u5236\u7684\u57fa\u7840&#xff1a;<\/p>\n<p> ypescript export enum UserRole { PATIENT &#061; &#039;patient&#039;, NURSE &#061; &#039;nurse&#039;, FAMILY &#061; &#039;family&#039; } <\/p>\n<p>\u6570\u636e\u7c7b\u4e4b\u95f4\u7684\u5173\u7cfb&#xff1a;<\/p>\n<p>MonitorSession \u2500\u25001:N\u2500\u2500\u2192 LevelRecord (\u4e00\u6b21\u4f1a\u8bdd\u5305\u542b\u591a\u6761\u6db2\u4f4d\u8bb0\u5f55) MonitorSession \u2500\u25001:1\u2500\u2500\u2192 MonitorRecord (\u4e00\u6b21\u4f1a\u8bdd\u5bf9\u5e94\u4e00\u6761\u6c47\u603b\u8bb0\u5f55) Medicine \u2500\u2500N:N\u2500\u2500\u2192 DrugInteraction (\u836f\u7269\u95f4\u591a\u5bf9\u591a\u76f8\u4e92\u4f5c\u7528) AlertEvent \u2500\u2500N:1\u2500\u2500\u2192 MonitorSession (\u591a\u4e2a\u9884\u8b66\u5c5e\u4e8e\u540c\u4e00\u6b21\u4f1a\u8bdd) CostItem \u2500\u2500N:1\u2500\u2500\u2192 InsurancePolicy (\u591a\u9879\u8d39\u7528\u4f7f\u7528\u540c\u4e00\u533b\u4fdd) CostItem \u2500\u2500N:1\u2500\u2500\u2192 CostSummary (\u591a\u9879\u8d39\u7528\u6c47\u603b\u4e3a\u4e00\u4e2a\u7ed3\u679c) HospitalPOI \u2500\u25001:1\u2500\u2500\u2192 NavPathData (\u4e00\u4e2a\u76ee\u6807\u5bf9\u5e94\u4e00\u6761\u8def\u5f84)<\/p>\n<h5>RouteParams.ets \u2014 \u8def\u7531\u53c2\u6570\u63a5\u53e3<\/h5>\n<p>\u5b9a\u4e49\u9875\u9762\u95f4\u5bfc\u822a\u65f6\u4f20\u9012\u7684\u53c2\u6570\u63a5\u53e3&#xff0c;\u786e\u4fdd\u7c7b\u578b\u5b89\u5168&#xff1a;<\/p>\n<p>&#096; ypescript export interface MedicineDetailParams { medicineId: string }<\/p>\n<p>export interface MonitorParams { sessionId?: string }<\/p>\n<p>export interface CostDetailParams { costItemId: string }<\/p>\n<p>export interface NursePatientParams { patientId: string } &#096;<\/p>\n<p>\u8def\u7531\u53c2\u6570\u7684\u4f5c\u7528&#xff1a;\u5728 pushUrl \u65f6&#xff0c;\u901a\u8fc7 params \u5b57\u6bb5\u4f20\u9012\u53c2\u6570\u5bf9\u8c61&#xff0c;\u76ee\u6807\u9875\u9762\u901a\u8fc7\u8def\u7531\u72b6\u6001\u83b7\u53d6\u53c2\u6570&#xff0c;\u5b9e\u73b0\u9875\u9762\u95f4\u7684\u6570\u636e\u4f20\u9012\u3002\u76f8\u6bd4\u5168\u5c40\u72b6\u6001\u7ba1\u7406&#xff0c;\u8def\u7531\u53c2\u6570\u4f7f\u9875\u9762\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u66f4\u52a0\u663e\u5f0f\u548c\u53ef\u8ffd\u6eaf\u3002<\/p>\n<h5>HospitalData.ets \u2014 \u533b\u9662 POI \u9759\u6001\u6570\u636e<\/h5>\n<p>\u5b58\u50a8\u533b\u9662\u5185\u90e8\u7684\u5174\u8da3\u70b9&#xff08;Point of Interest&#xff09;\u6570\u636e&#xff0c;\u7528\u4e8e\u5bfc\u822a\u529f\u80fd&#xff1a;<\/p>\n<p>&#096; ypescript export class HospitalData { static readonly POIS: HospitalPOI[] &#061; [ { id: \u2018poi_001\u2019, name: \u2018\u5185\u79d1\u8bca\u5ba4\u2019, type: \u2018department\u2019, floor: 1, x: 120, y: 80 }, { id: \u2018poi_002\u2019, name: \u2018\u8f93\u6db2\u5ba4\u2019, type: \u2018treatment\u2019, floor: 1, x: 200, y: 150 }, { id: \u2018poi_003\u2019, name: \u2018\u68c0\u9a8c\u79d1\u2019, type: \u2018examination\u2019, floor: 2, x: 80, y: 200 }, { id: \u2018poi_004\u2019, name: \u2018\u836f\u623f\u2019, type: \u2018pharmacy\u2019, floor: 1, x: 300, y: 100 }, { id: \u2018poi_005\u2019, name: \u2018\u6536\u8d39\u5904\u2019, type: \u2018billing\u2019, floor: 1, x: 350, y: 80 }, \/\/ \u2026 \u66f4\u591a POI ]<\/p>\n<p>static readonly FLOORS: number[] &#061; [1, 2, 3]<\/p>\n<p>static getByType(type: string): HospitalPOI[] { return HospitalData.POIS.filter(poi &#061;&gt; poi.type &#061;&#061;&#061; type) }<\/p>\n<p>static getById(id: string): HospitalPOI | undefined { return HospitalData.POIS.find(poi &#061;&gt; poi.id &#061;&#061;&#061; id) } } &#096;<\/p>\n<p>POI \u7684 x \u548c y \u5750\u6807\u5bf9\u5e94\u533b\u9662\u5e73\u9762\u56fe\u4e0a\u7684\u50cf\u7d20\u4f4d\u7f6e&#xff0c;NavService \u57fa\u4e8e\u8fd9\u4e9b\u5750\u6807\u8fdb\u884c\u8def\u5f84\u89c4\u5212\u3002<\/p>\n<h5>DrugDatabase.ets \u2014 \u836f\u7269\u76f8\u4e92\u4f5c\u7528\u6570\u636e\u5e93<\/h5>\n<p>\u5185\u7f6e 12 \u7ec4\u5e38\u89c1\u7684\u9759\u8109\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u6570\u636e&#xff0c;\u662f\u836f\u7269\u5b89\u5168\u68c0\u6d4b\u7684\u6838\u5fc3\u6570\u636e\u6e90&#xff1a;<\/p>\n<p> ypescript export class DrugDatabase { static readonly INTERACTIONS: DrugInteraction[] &#061; [ { drugA: &#039;\u5934\u5b62\u66f2\u677e&#039;, drugB: &#039;\u542b\u9499\u8f93\u6db2&#039;, severity: &#039;high&#039;, description: &#039;\u5934\u5b62\u66f2\u677e\u4e0e\u542b\u9499\u8f93\u6db2\u914d\u4f0d\u53ef\u5f62\u6210\u81f4\u547d\u6027\u6c89\u6dc0&#039; }, { drugA: &#039;\u534e\u6cd5\u6797&#039;, drugB: &#039;\u963f\u53f8\u5339\u6797&#039;, severity: &#039;high&#039;, description: &#039;\u8054\u5408\u4f7f\u7528\u663e\u8457\u589e\u52a0\u51fa\u8840\u98ce\u9669&#039; }, { drugA: &#039;\u5e86\u5927\u9709\u7d20&#039;, drugB: &#039;\u544b\u585e\u7c73&#039;, severity: &#039;high&#039;, description: &#039;\u589e\u52a0\u8033\u6bd2\u6027\u548c\u80be\u6bd2\u6027\u98ce\u9669&#039; }, { drugA: &#039;\u5934\u5b62\u54cc\u916e&#039;, drugB: &#039;\u9152\u7cbe&#039;, severity: &#039;high&#039;, description: &#039;\u53cc\u786b\u4ed1\u6837\u53cd\u5e94&#xff0c;\u9762\u90e8\u6f6e\u7ea2\u3001\u5934\u75db\u3001\u5fc3\u60b8&#039; }, { drugA: &#039;\u6c2f\u5316\u94be&#039;, drugB: &#039;\u8461\u8404\u7cd6&#039;, severity: &#039;medium&#039;, description: &#039;\u9700\u63a7\u5236\u6ef4\u901f&#xff0c;\u907f\u514d\u9ad8\u94be\u8840\u75c7&#039; }, { drugA: &#039;\u6c28\u82c4\u897f\u6797&#039;, drugB: &#039;\u6c28\u57fa\u7cd6\u82f7\u7c7b&#039;, severity: &#039;medium&#039;, description: &#039;\u4e0d\u53ef\u540c\u74f6\u6ef4\u6ce8&#xff0c;\u9700\u5206\u5f00\u7ed9\u836f&#039; }, { drugA: &#039;\u7ef4\u751f\u7d20K&#039;, drugB: &#039;\u534e\u6cd5\u6797&#039;, severity: &#039;high&#039;, description: &#039;\u7ef4\u751f\u7d20K\u62ee\u6297\u534e\u6cd5\u6797\u6297\u51dd\u4f5c\u7528&#039; }, { drugA: &#039;\u809d\u7d20&#039;, drugB: &#039;\u963f\u53f8\u5339\u6797&#039;, severity: &#039;high&#039;, description: &#039;\u8054\u5408\u4f7f\u7528\u51fa\u8840\u98ce\u9669\u663e\u8457\u589e\u52a0&#039; }, { drugA: &#039;\u80f0\u5c9b\u7d20&#039;, drugB: &#039;\u8461\u8404\u7cd6&#039;, severity: &#039;medium&#039;, description: &#039;\u9700\u5bc6\u5207\u76d1\u6d4b\u8840\u7cd6&#xff0c;\u8c03\u6574\u80f0\u5c9b\u7d20\u5242\u91cf&#039; }, { drugA: &#039;\u591a\u5df4\u80fa&#039;, drugB: &#039;\u78b3\u9178\u6c22\u94a0&#039;, severity: &#039;medium&#039;, description: &#039;\u78b1\u6027\u73af\u5883\u4e2d\u591a\u5df4\u80fa\u5931\u6d3b&#039; }, { drugA: &#039;\u4e24\u6027\u9709\u7d20B&#039;, drugB: &#039;\u6c2f\u5316\u94a0&#039;, severity: &#039;high&#039;, description: &#039;\u4e24\u6027\u9709\u7d20B\u4e0d\u53ef\u7528\u6c2f\u5316\u94a0\u6eb6\u89e3&#039; }, { drugA: &#039;\u4e07\u53e4\u9709\u7d20&#039;, drugB: &#039;\u809d\u7d20&#039;, severity: &#039;medium&#039;, description: &#039;\u540c\u7ba1\u8f93\u6ce8\u53ef\u80fd\u4ea7\u751f\u6c89\u6dc0&#039; }, ] } <\/p>\n<h5>IVDrugDatabase.ets \u2014 \u9759\u8109\u836f\u7269\u6570\u636e\u5e93<\/h5>\n<p>\u6536\u5f55 50 \u79cd\u5e38\u89c1\u7684\u9759\u8109\u8f93\u6db2\u836f\u7269\u4fe1\u606f&#xff0c;\u5305\u62ec\u836f\u7269\u540d\u79f0\u3001\u5206\u7c7b\u3001\u6d53\u5ea6\u3001\u6ce8\u610f\u4e8b\u9879\u7b49&#xff1a;<\/p>\n<p>&#096; ypescript export class IVDrugDatabase { static readonly DRUGS: IVDrugInfo[] &#061; [ { name: \u20180.9%\u6c2f\u5316\u94a0\u6ce8\u5c04\u6db2\u2019, category: \u2018\u6eb6\u5a92\u2019, concentration: \u20180.9%\u2019, notes: \u2018\u7b49\u6e17\u6eb6\u6db2&#xff0c;\u5e38\u7528\u6eb6\u5a92\u2019 }, { name: \u20185%\u8461\u8404\u7cd6\u6ce8\u5c04\u6db2\u2019, category: \u2018\u6eb6\u5a92\u2019, concentration: \u20185%\u2019, notes: \u2018\u7b49\u6e17\u6eb6\u6db2&#xff0c;\u7cd6\u5c3f\u75c5\u60a3\u8005\u614e\u7528\u2019 }, { name: \u2018\u5934\u5b62\u544b\u8f9b\u94a0\u2019, category: \u2018\u6297\u751f\u7d20\u2019, concentration: \u20180.75g\/\u652f\u2019, notes: \u2018\u9700\u76ae\u8bd5&#xff0c;\u6ef4\u6ce8\u65f6\u95f4\u4e0d\u5c11\u4e8e30\u5206\u949f\u2019 }, { name: \u2018\u5de6\u6c27\u6c1f\u6c99\u661f\u2019, category: \u2018\u6297\u751f\u7d20\u2019, concentration: \u20180.5g\/100ml\u2019, notes: \u2018\u907f\u5149\u6ef4\u6ce8&#xff0c;\u6ef4\u901f\u4e0d\u5b9c\u8fc7\u5feb\u2019 }, \/\/ \u2026 \u5171 50 \u79cd ]<\/p>\n<p>static searchByName(keyword: string): IVDrugInfo[] { return IVDrugDatabase.DRUGS.filter( drug &#061;&gt; drug.name.includes(keyword) ) }<\/p>\n<p>static getByCategory(category: string): IVDrugInfo[] { return IVDrugDatabase.DRUGS.filter( drug &#061;&gt; drug.category &#061;&#061;&#061; category ) } } &#096;<\/p>\n<h5>InsuranceReference.ets \u2014 \u533b\u4fdd\u53c2\u8003\u6570\u636e<\/h5>\n<p>\u6536\u5f55 6 \u4e2a\u57ce\u5e02\u7684\u533b\u4fdd\u62a5\u9500\u53c2\u8003\u6570\u636e&#xff0c;\u4e3a\u8d39\u7528\u4f30\u7b97\u63d0\u4f9b\u57fa\u7840\u53c2\u6570&#xff1a;<\/p>\n<p>&#096; ypescript export class InsuranceReference { static readonly POLICIES: InsurancePolicy[] &#061; [ { city: \u2018\u5317\u4eac\u2019, deductible: 1300, reimbursementRate: 0.85, annualCap: 50000 }, { city: \u2018\u4e0a\u6d77\u2019, deductible: 1500, reimbursementRate: 0.85, annualCap: 55000 }, { city: \u2018\u5e7f\u5dde\u2019, deductible: 1600, reimbursementRate: 0.80, annualCap: 45000 }, { city: \u2018\u6df1\u5733\u2019, deductible: 1000, reimbursementRate: 0.90, annualCap: 60000 }, { city: \u2018\u6210\u90fd\u2019, deductible: 800, reimbursementRate: 0.82, annualCap: 40000 }, { city: \u2018\u6b66\u6c49\u2019, deductible: 1200, reimbursementRate: 0.83, annualCap: 48000 }, ]<\/p>\n<p>static getByCity(city: string): InsurancePolicy | undefined { return InsuranceReference.POLICIES.find(p &#061;&gt; p.city &#061;&#061;&#061; city) }<\/p>\n<p>static getCities(): string[] { return InsuranceReference.POLICIES.map(p &#061;&gt; p.city) } } &#096;<\/p>\n<h4>6.3 \u670d\u52a1\u5c42 (service\/)<\/h4>\n<p>\u670d\u52a1\u5c42\u662f IVGuard \u7684\u4e1a\u52a1\u903b\u8f91\u6838\u5fc3&#xff0c;\u5171 11 \u4e2a\u6587\u4ef6&#xff0c;\u5168\u90e8\u91c7\u7528\u9759\u6001\u7c7b\u6a21\u5f0f\u3002<\/p>\n<h5>\u5b8c\u6574\u670d\u52a1\u6e05\u5355<\/h5>\n<table>\n<tr>\u670d\u52a1\u6587\u4ef6\u6838\u5fc3\u65b9\u6cd5\u4f9d\u8d56<\/tr>\n<tbody>\n<tr>\n<td>DataStore<\/td>\n<td>DataStore.ets<\/td>\n<td>init, save, load, delete, clear<\/td>\n<td>Preferences<\/td>\n<\/tr>\n<tr>\n<td>CameraService<\/td>\n<td>CameraService.ets<\/td>\n<td>startCapture, stopCapture, getCurrentFrame<\/td>\n<td>Camera2 API<\/td>\n<\/tr>\n<tr>\n<td>VisionService<\/td>\n<td>VisionService.ets<\/td>\n<td>analyzeFrame, getFlowRate, getEstimatedTime, reset<\/td>\n<td>CameraService(frame)<\/td>\n<\/tr>\n<tr>\n<td>NfcService<\/td>\n<td>NfcService.ets<\/td>\n<td>pair, read, stop<\/td>\n<td>NFC API<\/td>\n<\/tr>\n<tr>\n<td>NotificationService<\/td>\n<td>NotificationService.ets<\/td>\n<td>sendAlert, sendUrgent, sendInfo, cancel<\/td>\n<td>Notification API<\/td>\n<\/tr>\n<tr>\n<td>SpeechService<\/td>\n<td>SpeechService.ets<\/td>\n<td>speak, stop<\/td>\n<td>TextToSpeech API<\/td>\n<\/tr>\n<tr>\n<td>ScanService<\/td>\n<td>ScanService.ets<\/td>\n<td>scan, stop<\/td>\n<td>Barcode Scan API<\/td>\n<\/tr>\n<tr>\n<td>NavService<\/td>\n<td>NavService.ets<\/td>\n<td>navigate, search, getPath<\/td>\n<td>HospitalData<\/td>\n<\/tr>\n<tr>\n<td>WatchService<\/td>\n<td>WatchService.ets<\/td>\n<td>sync, alert, vibrate<\/td>\n<td>DeviceManager API<\/td>\n<\/tr>\n<tr>\n<td>AIService<\/td>\n<td>AIService.ets<\/td>\n<td>analyze, suggest<\/td>\n<td>DataStore<\/td>\n<\/tr>\n<tr>\n<td>CostService<\/td>\n<td>CostService.ets<\/td>\n<td>calculateReimbursement, breakdownByCategory, estimateOutOfPocket<\/td>\n<td>InsuranceReference, DataStore<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u670d\u52a1\u4f9d\u8d56\u77e9\u9635<\/h5>\n<p>&#096; DataStore Camera Vision NFC Notif Speech Scan Nav Watch AI Cost DataStore &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; CameraService &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; VisionService &#8211; \u2192\u2460 &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; NfcService \u2192\u2461 &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; NotificationSvc &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; SpeechService &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; ScanService \u2192\u2462 &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; NavService &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; WatchService &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; AIService \u2192\u2463 &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; CostService \u2192\u2464 &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<\/p>\n<p>\u2460 VisionService \u63a5\u6536 CameraService \u7684\u5e27\u6570\u636e&#xff08;\u4f46\u901a\u8fc7\u53c2\u6570\u4f20\u9012&#xff0c;\u975e\u76f4\u63a5\u8c03\u7528&#xff09; \u2461 NfcService \u5c06\u8bfb\u53d6\u7684\u8d34\u7eb8 ID \u5b58\u5165 DataStore \u2462 ScanService \u5c06\u626b\u7801\u7ed3\u679c\u5b58\u5165 DataStore \u2463 AIService \u4ece DataStore \u8bfb\u53d6\u5386\u53f2\u6570\u636e\u8fdb\u884c\u5206\u6790 \u2464 CostService \u4ece DataStore \u8bfb\u53d6\u8d39\u7528\u6570\u636e\u548c\u533b\u4fdd\u8bbe\u7f6e &#096;<\/p>\n<h4>6.4 \u7ec4\u4ef6\u5c42 (component\/)<\/h4>\n<p>\u7ec4\u4ef6\u5c42\u5305\u542b 8 \u4e2a\u53ef\u590d\u7528 UI \u7ec4\u4ef6&#xff0c;\u6bcf\u4e2a\u7ec4\u4ef6\u4e13\u6ce8\u4e8e\u5355\u4e00\u89c6\u89c9\u804c\u8d23\u3002<\/p>\n<h5>\u7ec4\u4ef6\u6e05\u5355\u4e0e\u5c5e\u6027\u63a5\u53e3<\/h5>\n<table>\n<tr>\u7ec4\u4ef6\u6587\u4ef6\u63a5\u6536\u5c5e\u6027\u6e32\u67d3\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>LevelProgress<\/td>\n<td>LevelProgress.ets<\/td>\n<td>&#064;Prop level: number<\/td>\n<td>\u58f0\u660e\u5f0f(Progress)<\/td>\n<\/tr>\n<tr>\n<td>MedicineCard<\/td>\n<td>MedicineCard.ets<\/td>\n<td>&#064;Prop medicine: Medicine<\/td>\n<td>\u58f0\u660e\u5f0f(Card)<\/td>\n<\/tr>\n<tr>\n<td>AlertCard<\/td>\n<td>AlertCard.ets<\/td>\n<td>&#064;Prop interaction: DrugInteraction<\/td>\n<td>\u58f0\u660e\u5f0f(Card)<\/td>\n<\/tr>\n<tr>\n<td>MonitorOverlay<\/td>\n<td>MonitorOverlay.ets<\/td>\n<td>&#064;Prop level: number, &#064;Prop isMonitoring: boolean<\/td>\n<td>\u58f0\u660e\u5f0f(Stack)<\/td>\n<\/tr>\n<tr>\n<td>HospitalMapView<\/td>\n<td>HospitalMapView.ets<\/td>\n<td>&#064;Prop pois: HospitalPOI[], &#064;Prop currentFloor: number<\/td>\n<td>\u58f0\u660e\u5f0f(Image&#043;Stack)<\/td>\n<\/tr>\n<tr>\n<td>FlowChart<\/td>\n<td>FlowChart.ets<\/td>\n<td>&#064;Prop records: LevelRecord[]<\/td>\n<td>Canvas<\/td>\n<\/tr>\n<tr>\n<td>CostPieChart<\/td>\n<td>CostPieChart.ets<\/td>\n<td>&#064;Prop items: CostItem[]<\/td>\n<td>Canvas<\/td>\n<\/tr>\n<tr>\n<td>StepIndicator<\/td>\n<td>StepIndicator.ets<\/td>\n<td>&#064;Prop currentStep: number, &#064;Prop totalSteps: number<\/td>\n<td>\u58f0\u660e\u5f0f(Row)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u7ec4\u4ef6\u590d\u7528\u5206\u6790<\/h5>\n<p>&#096; \u7ec4\u4ef6\u88ab\u54ea\u4e9b\u9875\u9762\u4f7f\u7528&#xff1a;<\/p>\n<p>LevelProgress: MonitorPage, FamilyHomePage MedicineCard: MedicinePage, MedicineDetailPage AlertCard: MedicinePage, NurseHomePage, FamilyAlertPage MonitorOverlay: MonitorPage HospitalMapView: HospitalNavPage FlowChart: AnalysisPage, MonitorPage CostPieChart: CostPage, CostDetailPage StepIndicator: InsuranceSetupPage, HospitalNavPage &#096;<\/p>\n<h4>6.5 \u9875\u9762\u5c42 (pages\/)<\/h4>\n<p>\u9875\u9762\u5c42\u5305\u542b 17 \u4e2a\u5b8c\u6574\u4e1a\u52a1\u9875\u9762&#xff0c;\u6309\u89d2\u8272\u5206\u7ec4\u5982\u4e0b&#xff1a;<\/p>\n<h5>\u60a3\u8005\u7aef\u9875\u9762 (12 \u4e2a)<\/h5>\n<table>\n<tr>\u9875\u9762\u6587\u4ef6\u5165\u53e3\u65b9\u5f0f\u6838\u5fc3\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>\u9996\u9875<\/td>\n<td>HomePage.ets<\/td>\n<td>Index \u89d2\u8272\u5206\u53d1<\/td>\n<td>5-Tab \u5bfc\u822a\u6846\u67b6<\/td>\n<\/tr>\n<tr>\n<td>\u5b9e\u65f6\u76d1\u63a7<\/td>\n<td>MonitorPage.ets<\/td>\n<td>\u9996\u9875\u76d1\u63a7 Tab \u2192 \u8be6\u60c5<\/td>\n<td>\u6db2\u4f4d\u76d1\u63a7\u3001\u76f8\u673a\u9884\u89c8<\/td>\n<\/tr>\n<tr>\n<td>\u836f\u7269\u7ba1\u7406<\/td>\n<td>MedicinePage.ets<\/td>\n<td>\u9996\u9875\u836f\u7269 Tab<\/td>\n<td>\u836f\u7269\u5217\u8868\u3001\u6dfb\u52a0\/\u5220\u9664<\/td>\n<\/tr>\n<tr>\n<td>\u836f\u54c1\u8be6\u60c5<\/td>\n<td>MedicineDetailPage.ets<\/td>\n<td>MedicinePage \u2192 \u70b9\u51fb\u5361\u7247<\/td>\n<td>\u836f\u7269\u8be6\u60c5\u3001\u76f8\u4e92\u4f5c\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u5386\u53f2\u8bb0\u5f55<\/td>\n<td>HistoryPage.ets<\/td>\n<td>\u9996\u9875\u5386\u53f2 Tab<\/td>\n<td>\u4f1a\u8bdd\u5217\u8868\u3001\u8be6\u60c5\u67e5\u770b<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5206\u6790<\/td>\n<td>AnalysisPage.ets<\/td>\n<td>\u9996\u9875 \u2192 \u66f4\u591a<\/td>\n<td>\u8d8b\u52bf\u56fe\u3001AI \u5efa\u8bae<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528\u7ba1\u7406<\/td>\n<td>CostPage.ets<\/td>\n<td>\u9996\u9875\u8d39\u7528 Tab<\/td>\n<td>\u8d39\u7528\u5217\u8868\u3001\u997c\u56fe<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528\u8be6\u60c5<\/td>\n<td>CostDetailPage.ets<\/td>\n<td>CostPage \u2192 \u70b9\u51fb\u6761\u76ee<\/td>\n<td>\u8d39\u7528\u8be6\u60c5\u3001\u62a5\u9500\u8ba1\u7b97<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u4fdd\u8bbe\u7f6e<\/td>\n<td>InsuranceSetupPage.ets<\/td>\n<td>CostPage \u2192 \u8bbe\u7f6e\u533b\u4fdd<\/td>\n<td>5 \u6b65\u5f15\u5bfc\u8bbe\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>\u7cfb\u7edf\u8bbe\u7f6e<\/td>\n<td>SettingsPage.ets<\/td>\n<td>\u9996\u9875 \u2192 \u6211\u7684 \u2192 \u8bbe\u7f6e<\/td>\n<td>\u901a\u77e5\u3001\u8bed\u97f3\u3001\u9608\u503c<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u9662\u5bfc\u822a<\/td>\n<td>HospitalNavPage.ets<\/td>\n<td>\u9996\u9875 \u2192 \u5bfc\u822a<\/td>\n<td>\u5e73\u9762\u56fe\u3001\u8def\u5f84\u89c4\u5212<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u62a4\u58eb\u7aef\u9875\u9762 (3 \u4e2a)<\/h5>\n<table>\n<tr>\u9875\u9762\u6587\u4ef6\u5165\u53e3\u65b9\u5f0f\u6838\u5fc3\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>\u5de5\u4f5c\u53f0<\/td>\n<td>NurseHomePage.ets<\/td>\n<td>Index \u89d2\u8272\u5206\u53d1<\/td>\n<td>\u9884\u8b66\u961f\u5217\u3001\u4eca\u65e5\u7edf\u8ba1<\/td>\n<\/tr>\n<tr>\n<td>\u60a3\u8005\u5217\u8868<\/td>\n<td>PatientListPage.ets<\/td>\n<td>\u5de5\u4f5c\u53f0 \u2192 \u60a3\u8005\u5217\u8868<\/td>\n<td>\u5168\u60a3\u8005\u72b6\u6001\u603b\u89c8<\/td>\n<\/tr>\n<tr>\n<td>\u805a\u5408\u5206\u6790<\/td>\n<td>NurseAnalysisPage.ets<\/td>\n<td>\u5de5\u4f5c\u53f0 \u2192 \u5206\u6790<\/td>\n<td>\u79d1\u5ba4\u7edf\u8ba1\u3001\u8d8b\u52bf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u5bb6\u5c5e\u7aef\u9875\u9762 (2 \u4e2a)<\/h5>\n<table>\n<tr>\u9875\u9762\u6587\u4ef6\u5165\u53e3\u65b9\u5f0f\u6838\u5fc3\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>\u8fdc\u7a0b\u76d1\u63a7<\/td>\n<td>FamilyHomePage.ets<\/td>\n<td>Index \u89d2\u8272\u5206\u53d1<\/td>\n<td>\u4eb2\u4eba\u72b6\u6001\u3001\u4e00\u952e\u8054\u7cfb<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u8b66\u8bb0\u5f55<\/td>\n<td>FamilyAlertPage.ets<\/td>\n<td>\u8fdc\u7a0b\u76d1\u63a7 \u2192 \u9884\u8b66\u8bb0\u5f55<\/td>\n<td>\u5386\u53f2\u9884\u8b66\u3001\u5904\u7406\u72b6\u6001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u5165\u53e3\u9875\u9762 (1 \u4e2a)<\/h5>\n<table>\n<tr>\u9875\u9762\u6587\u4ef6\u5165\u53e3\u65b9\u5f0f\u6838\u5fc3\u529f\u80fd<\/tr>\n<tbody>\n<tr>\n<td>\u89d2\u8272\u9009\u62e9<\/td>\n<td>Index.ets<\/td>\n<td>\u5e94\u7528\u542f\u52a8<\/td>\n<td>\u89d2\u8272\u9009\u62e9\u3001\u8def\u7531\u5206\u53d1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.6 \u6587\u4ef6\u547d\u540d\u89c4\u8303<\/h4>\n<p>IVGuard \u4e25\u683c\u9075\u5faa\u4ee5\u4e0b\u547d\u540d\u89c4\u8303&#xff1a;<\/p>\n<table>\n<tr>\u7c7b\u578b\u89c4\u8303\u793a\u4f8b<\/tr>\n<tbody>\n<tr>\n<td>\u9875\u9762\u6587\u4ef6<\/td>\n<td>PascalCase &#043; Page \u540e\u7f00<\/td>\n<td>MonitorPage.ets\u3001CostDetailPage.ets<\/td>\n<\/tr>\n<tr>\n<td>\u7ec4\u4ef6\u6587\u4ef6<\/td>\n<td>PascalCase<\/td>\n<td>LevelProgress.ets\u3001AlertCard.ets<\/td>\n<\/tr>\n<tr>\n<td>\u670d\u52a1\u6587\u4ef6<\/td>\n<td>PascalCase &#043; Service \u540e\u7f00<\/td>\n<td>CameraService.ets\u3001VisionService.ets<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u6a21\u578b<\/td>\n<td>PascalCase<\/td>\n<td>DataModels.ets\u3001RouteParams.ets<\/td>\n<\/tr>\n<tr>\n<td>\u9759\u6001\u6570\u636e<\/td>\n<td>PascalCase &#043; Database\/Reference\/Data \u540e\u7f00<\/td>\n<td>DrugDatabase.ets\u3001InsuranceReference.ets<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u7c7b<\/td>\n<td>PascalCase<\/td>\n<td>Medicine\u3001MonitorSession\u3001CostItem<\/td>\n<\/tr>\n<tr>\n<td>\u679a\u4e3e<\/td>\n<td>PascalCase<\/td>\n<td>UserRole<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u53e3<\/td>\n<td>PascalCase &#043; Params\/Config \u540e\u7f00<\/td>\n<td>MedicineDetailParams<\/td>\n<\/tr>\n<tr>\n<td>\u9759\u6001\u65b9\u6cd5<\/td>\n<td>camelCase<\/td>\n<td>startCapture()\u3001nalyzeFrame()<\/td>\n<\/tr>\n<tr>\n<td>\u9759\u6001\u5c5e\u6027<\/td>\n<td>camelCase<\/td>\n<td>currentLevel\u3001isRunning<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.7 \u5c42\u95f4\u4f9d\u8d56\u5173\u7cfb<\/h4>\n<p>IVGuard \u7684\u5c42\u95f4\u4f9d\u8d56\u9075\u5faa\u4e25\u683c\u7684\u5355\u5411\u89c4\u5219&#xff0c;\u7981\u6b62\u53cd\u5411\u4f9d\u8d56\u548c\u8de8\u5c42\u8c03\u7528&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u4f9d\u8d56\u65b9\u5411\u56fe \u2502 \u2502 \u2502 \u2502 Index.ets \u2502 \u2502 \u2193 pushUrl \u2502 \u2502 Pages \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 Component (\u901a\u8fc7 &#064;Prop\/&#064;Link \u4f20\u9012\u6570\u636e) \u2502 \u2502 \u2502 \u2502 \u2502 \u2193 \u9759\u6001\u65b9\u6cd5\u8c03\u7528 \u2502 \u2502 Services \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 Model (\u901a\u8fc7\u6570\u636e\u7c7b\u578b\u548c\u9759\u6001\u6570\u636e) \u2502 \u2502 \u2502 \u2502 \u2502 \u2193 JSON\u5e8f\u5217\u5316\/\u53cd\u5e8f\u5217\u5316 \u2502 \u2502 DataStore \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 Preferences (\u5e95\u5c42\u5b58\u50a8) \u2502 \u2502 \u2502 \u2502 \u7981\u6b62\u4f9d\u8d56: \u2502 \u2502 \u2717 Component \u2192 Service (\u7ec4\u4ef6\u4e0d\u76f4\u63a5\u8c03\u7528\u670d\u52a1) \u2502 \u2502 \u2717 Model \u2192 Service (\u6570\u636e\u5c42\u4e0d\u4f9d\u8d56\u670d\u52a1\u5c42) \u2502 \u2502 \u2717 Service \u2192 Page (\u670d\u52a1\u4e0d\u4f9d\u8d56\u9875\u9762) \u2502 \u2502 \u2717 Page \u2192 Model (\u76f4\u63a5) (\u9875\u9762\u901a\u8fc7\u670d\u52a1\u95f4\u63a5\u4f7f\u7528\u6570\u636e) \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u4f9d\u8d56\u6ce8\u5165\u66ff\u4ee3\u65b9\u6848&#xff1a;\u7531\u4e8e ArkTS \u4e0d\u652f\u6301\u4f9d\u8d56\u6ce8\u5165\u6846\u67b6&#xff0c;IVGuard \u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5b9e\u73b0\u89e3\u8026&#xff1a;<\/p>\n<li>\u670d\u52a1\u5c42\u9759\u6001\u65b9\u6cd5&#xff1a;\u9875\u9762\u8c03\u7528 VisionService.analyzeFrame() \u800c\u975e\u6301\u6709\u4e00\u4e2a\u5b9e\u4f8b&#xff0c;\u670d\u52a1\u5b9e\u73b0\u7684\u53d8\u66f4\u5bf9\u9875\u9762\u900f\u660e<\/li>\n<li>&#064;Prop\/&#064;Link \u6570\u636e\u7ed1\u5b9a&#xff1a;\u7ec4\u4ef6\u53ea\u63a5\u6536\u6570\u636e&#xff0c;\u4e0d\u5173\u5fc3\u6570\u636e\u6765\u6e90&#xff0c;\u5b9e\u73b0\u4e86\u7ec4\u4ef6\u4e0e\u6570\u636e\u6e90\u7684\u89e3\u8026<\/li>\n<li>DataStore \u7edf\u4e00\u5c01\u88c5&#xff1a;\u6240\u6709\u6301\u4e45\u5316\u64cd\u4f5c\u901a\u8fc7 DataStore \u7684\u7edf\u4e00\u63a5\u53e3\u8fdb\u884c&#xff0c;\u5e95\u5c42\u5b58\u50a8\u4ece Preferences \u5207\u6362\u5230 RDB \u65f6&#xff0c;\u4e0a\u5c42\u65e0\u611f\u77e5<\/li>\n<hr \/>\n<h3>7. \u7cfb\u7edf\u7528\u4f8b\u56fe\u4e0e\u573a\u666f\u5206\u6790<\/h3>\n<h4>7.1 \u7cfb\u7edf\u7528\u4f8b\u56fe<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 IVGuard \u7cfb\u7edf\u7528\u4f8b\u56fe \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u60a3\u8005 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 UC01: \u542f\u52a8\u8f93\u6db2\u76d1\u63a7 \u2502 \u2502 \u251c\u2500\u2500 UC02: \u67e5\u770b\u6db2\u4f4d\u72b6\u6001 \u2502 \u2502 \u251c\u2500\u2500 UC03: \u7ba1\u7406\u836f\u7269\u5217\u8868 \u2502 \u2502 \u251c\u2500\u2500 UC04: \u67e5\u770b\u836f\u7269\u8be6\u60c5 \u2502 \u2502 \u251c\u2500\u2500 UC05: \u68c0\u6d4b\u836f\u7269\u76f8\u4e92\u4f5c\u7528 \u2500\u2500\u2500\u2500 \u00abinclude\u00bb \u2500\u2500 UC03 \u2502 \u2502 \u251c\u2500\u2500 UC06: \u626b\u7801\u6dfb\u52a0\u836f\u7269 \u2502 \u2502 \u251c\u2500\u2500 UC07: NFC\u914d\u5bf9\u8f93\u6db2\u888b \u2502 \u2502 \u251c\u2500\u2500 UC08: \u67e5\u770b\u5386\u53f2\u8bb0\u5f55 \u2502 \u2502 \u251c\u2500\u2500 UC09: \u67e5\u770b\u6570\u636e\u5206\u6790 \u2502 \u2502 \u251c\u2500\u2500 UC10: \u5f55\u5165\u533b\u7597\u8d39\u7528 \u2502 \u2502 \u251c\u2500\u2500 UC11: \u4f30\u7b97\u533b\u4fdd\u62a5\u9500 \u2500\u2500\u2500\u2500 \u00abinclude\u00bb \u2500\u2500 UC10 \u2502 \u2502 \u251c\u2500\u2500 UC12: \u8bbe\u7f6e\u533b\u4fdd\u4fe1\u606f \u2502 \u2502 \u251c\u2500\u2500 UC13: \u67e5\u770b\u8d39\u7528\u997c\u56fe \u2500\u2500\u2500\u2500 \u00abextend\u00bb \u2500\u2500 UC10 \u2502 \u2502 \u251c\u2500\u2500 UC14: \u533b\u9662\u5ba4\u5185\u5bfc\u822a \u2502 \u2502 \u251c\u2500\u2500 UC15: \u4fee\u6539\u5e94\u7528\u8bbe\u7f6e \u2502 \u2502 \u251c\u2500\u2500 UC16: \u63a5\u6536\u8bed\u97f3\u9884\u8b66 \u2500\u2500\u2500\u2500 \u00abextend\u00bb \u2500\u2500 UC02 \u2502 \u2502 \u2514\u2500\u2500 UC17: \u624b\u8868\u8054\u52a8\u67e5\u770b \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u62a4\u58eb \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 UC18: \u67e5\u770b\u9884\u8b66\u961f\u5217 \u2502 \u2502 \u251c\u2500\u2500 UC19: \u5904\u7406\u9884\u8b66\u4e8b\u4ef6 \u2502 \u2502 \u251c\u2500\u2500 UC20: \u67e5\u770b\u60a3\u8005\u5217\u8868 \u2502 \u2502 \u251c\u2500\u2500 UC21: \u7b5b\u9009\u60a3\u8005\u72b6\u6001 \u2502 \u2502 \u251c\u2500\u2500 UC22: \u67e5\u770b\u805a\u5408\u5206\u6790 \u2502 \u2502 \u2514\u2500\u2500 UC23: \u6279\u91cf\u5904\u7406\u9884\u8b66 \u2500\u2500\u2500\u2500 \u00abextend\u00bb \u2500\u2500 UC19 \u2502 \u2502 \u2502 \u2502 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u2502 \u2502 \u5bb6\u5c5e \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 UC24: \u8fdc\u7a0b\u67e5\u770b\u8f93\u6db2\u72b6\u6001 \u2502 \u2502 \u251c\u2500\u2500 UC25: \u63a5\u6536\u9884\u8b66\u901a\u77e5 \u2500\u2500\u2500\u2500 \u00abextend\u00bb \u2500\u2500 UC24 \u2502 \u2502 \u251c\u2500\u2500 UC26: \u67e5\u770b\u9884\u8b66\u8bb0\u5f55 \u2502 \u2502 \u2514\u2500\u2500 UC27: \u4e00\u952e\u8054\u7cfb\u62a4\u58eb\u7ad9 \u2502 \u2502 \u2502 \u2502 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2500 \u2502 \u2502 \u2502 \u2502 \u8de8\u89d2\u8272\u5171\u4eab: \u2502 \u2502 \u251c\u2500\u2500 UC28: \u4fee\u6539\u5e94\u7528\u8bbe\u7f6e \u2502 \u2502 \u2514\u2500\u2500 UC29: \u5207\u6362\u7528\u6237\u89d2\u8272 \u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h5>\u7528\u4f8b\u5173\u7cfb\u8bf4\u660e<\/h5>\n<ul>\n<li>\u00abinclude\u00bb&#xff1a;\u88ab\u5305\u542b\u7528\u4f8b\u662f\u57fa\u7840\u7528\u4f8b\u7684\u5fc5\u7ecf\u6b65\u9aa4\u3002\u4f8b\u5982 UC05&#xff08;\u68c0\u6d4b\u836f\u7269\u76f8\u4e92\u4f5c\u7528&#xff09;\u662f UC03&#xff08;\u7ba1\u7406\u836f\u7269\u5217\u8868&#xff09;\u7684\u5fc5\u8981\u73af\u8282\u2014\u2014\u6bcf\u6b21\u6dfb\u52a0\u836f\u7269\u90fd\u5fc5\u987b\u6267\u884c\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b<\/li>\n<li>\u00abextend\u00bb&#xff1a;\u6269\u5c55\u7528\u4f8b\u662f\u57fa\u7840\u7528\u4f8b\u7684\u53ef\u9009\u589e\u5f3a\u3002\u4f8b\u5982 UC16&#xff08;\u63a5\u6536\u8bed\u97f3\u9884\u8b66&#xff09;\u662f UC02&#xff08;\u67e5\u770b\u6db2\u4f4d\u72b6\u6001&#xff09;\u7684\u53ef\u9009\u6269\u5c55\u2014\u2014\u53ea\u6709\u6db2\u4f4d\u4f4e\u4e8e\u9608\u503c\u65f6\u624d\u89e6\u53d1\u8bed\u97f3<\/li>\n<\/ul>\n<h4>7.2 \u60a3\u8005\u5178\u578b\u573a\u666f<\/h4>\n<h5>\u573a\u666f\u4e00&#xff1a;\u5b8c\u6574\u8f93\u6db2\u76d1\u63a7\u6d41\u7a0b<\/h5>\n<p>\u8fd9\u662f\u60a3\u8005\u4f7f\u7528 IVGuard \u7684\u6700\u6838\u5fc3\u573a\u666f&#xff0c;\u8986\u76d6\u4ece\u6302\u53f7\u5230\u8d39\u7528\u7ed3\u7b97\u7684\u5b8c\u6574\u6d41\u7a0b\u3002<\/p>\n<p>\u65f6\u95f4\u7ebf \u64cd\u4f5c\u6b65\u9aa4 \u7cfb\u7edf\u54cd\u5e94 \u6d89\u53ca\u9875\u9762\/\u670d\u52a1 \u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 09:00 \u60a3\u8005\u6302\u53f7\u5c31\u8bca &#8211; &#8211; 09:30 \u533b\u751f\u5f00\u5177\u8f93\u6db2\u5904\u65b9 &#8211; &#8211; 09:45 \u62a4\u58eb\u914d\u836f\u5e76\u5f00\u59cb\u8f93\u6db2 &#8211; &#8211; \u60a3\u8005\u6253\u5f00 IVGuard&#xff0c;\u9009\u62e9&#034;\u60a3\u8005&#034;\u89d2\u8272 Index \u5206\u53d1\u81f3 HomePage Index \u2192 HomePage 09:46 \u60a3\u8005\u70b9\u51fb&#034;\u5f00\u59cb\u76d1\u63a7&#034; \u542f\u52a8 CameraService MonitorPage VisionService \u5f00\u59cb\u8bc6\u522b 3\u79d2\u95f4\u9694\u91c7\u6837\u6db2\u4f4d \u6db2\u4f4d\u663e\u793a 85% LevelProgress \u6e32\u67d3 LevelProgress 09:50 \u60a3\u8005\u901a\u8fc7 NFC \u8d34\u7eb8\u914d\u5bf9 NfcService \u8bfb\u53d6\u8d34\u7eb8 NfcService \u7cfb\u7edf\u81ea\u52a8\u586b\u5145\u836f\u7269\u4fe1\u606f \u67e5\u8be2 IVDrugDatabase MedicinePage \u81ea\u52a8\u68c0\u6d4b DrugDatabase AlertCard 10:30 \u6db2\u4f4d\u964d\u81f3 20% \u89e6\u53d1\u9ec4\u8272\u9884\u8b66 NotificationService \u53d1\u9001\u901a\u77e5\u680f\u63d0\u793a NotificationService 10:45 \u6db2\u4f4d\u964d\u81f3 10% \u89e6\u53d1\u6a59\u8272\u9884\u8b66 NotificationService \u901a\u77e5\u680f &#043; \u8bed\u97f3\u63d0\u9192 SpeechService \u624b\u8868\u9707\u52a8 WatchService 10:50 \u6db2\u4f4d\u964d\u81f3 5% \u89e6\u53d1\u7ea2\u8272\u9884\u8b66 NotificationService \u7d27\u6025\u901a\u77e5 &#043; \u8bed\u97f3 SpeechService \u624b\u8868\u8fde\u7eed\u9707\u52a8 WatchService \u901a\u77e5\u62a4\u58eb\u7aef NotificationService 10:55 \u62a4\u58eb\u5230\u8fbe&#xff0c;\u66f4\u6362\u8f93\u6db2\u888b \u60a3\u8005\u786e\u8ba4\u6362\u74f6 MonitorPage \u7cfb\u7edf\u91cd\u7f6e\u6db2\u4f4d\u81f3 85% VisionService.reset() VisionService 11:30 \u8f93\u6db2\u5b8c\u6210 \u60a3\u8005\u7ed3\u675f\u76d1\u63a7 MonitorPage \u4fdd\u5b58 MonitorSession DataStore.save() DataStore 11:35 \u60a3\u8005\u5f55\u5165\u8d39\u7528\u9879\u76ee \u6dfb\u52a0 CostItem CostPage \u8bbe\u7f6e\u533b\u4fdd\u4fe1\u606f InsuranceSetupPage 5\u6b65\u5f15\u5bfc InsuranceSetupPage \u67e5\u770b\u62a5\u9500\u4f30\u7b97 CostService.calculate() CostService \u67e5\u770b\u8d39\u7528\u997c\u56fe CostPieChart \u6e32\u67d3 CostPieChart<\/p>\n<h5>\u573a\u666f\u4e8c&#xff1a;\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u68c0\u6d4b\u573a\u666f<\/h5>\n<p>\u6b65\u9aa4 \u64cd\u4f5c \u7cfb\u7edf\u5904\u7406 UI \u5c55\u793a \u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 1 \u60a3\u8005\u5df2\u6709\u836f\u7269: \u534e\u6cd5\u6797 DataStore.load(&#039;medicines&#039;) MedicineCard 2 \u60a3\u8005\u626b\u7801\u6dfb\u52a0: \u963f\u53f8\u5339\u6797 ScanService.scan() \u626b\u7801\u754c\u9762 3 \u7cfb\u7edf\u68c0\u6d4b\u76f8\u4e92\u4f5c\u7528 DrugDatabase.checkAllInteractions &#8211; 4 \u53d1\u73b0\u9ad8\u5371\u7ec4\u5408: \u534e\u6cd5\u6797&#043;\u963f\u53f8\u5339\u6797 \u8fd4\u56de DrugInteraction(severity&#061;high) &#8211; 5 \u663e\u793a\u7ea2\u8272\u9884\u8b66\u5361\u7247 AlertCard \u6e32\u67d3 AlertCard(\u7ea2\u8272) &#034;\u8054\u5408\u4f7f\u7528\u663e\u8457\u589e\u52a0\u51fa\u8840\u98ce\u9669&#034; \u63cf\u8ff0\u6587\u5b57\u663e\u793a \u8b66\u544a\u63cf\u8ff0 6 \u60a3\u8005\u786e\u8ba4\u5df2\u77e5\u6653 \u9884\u8b66\u72b6\u6001\u66f4\u65b0 \u9884\u8b66\u6807\u8bb0\u5df2\u8bfb 7 \u836f\u7269\u6dfb\u52a0\u5b8c\u6210 DataStore.save(&#039;medicines&#039;) \u66f4\u65b0\u836f\u7269\u5217\u8868<\/p>\n<h5>\u573a\u666f\u4e09&#xff1a;\u533b\u9662\u5bfc\u822a\u573a\u666f<\/h5>\n<p>\u6b65\u9aa4 \u64cd\u4f5c \u7cfb\u7edf\u5904\u7406 UI \u5c55\u793a \u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 1 \u60a3\u8005\u70b9\u51fb&#034;\u533b\u9662\u5bfc\u822a&#034; HospitalNavPage \u52a0\u8f7d HospitalMapView 2 \u5e73\u9762\u56fe\u5c55\u793a HospitalData.POIS \u52a0\u8f7d \u697c\u5c42\u5e73\u9762\u56fe 3 \u60a3\u8005\u9009\u62e9&#034;\u68c0\u9a8c\u79d1&#034; NavService.search(&#039;\u68c0\u9a8c\u79d1&#039;) \u641c\u7d22\u7ed3\u679c 4 \u7cfb\u7edf\u89c4\u5212\u8def\u5f84 NavService.navigate() StepIndicator 5 \u6b65\u9aa4\u5f15\u5bfc: &#034;\u6cbf\u8d70\u5eca\u524d\u884c50\u7c73&#034; StepIndicator \u6e32\u67d3\u6b65\u9aa41 \u8def\u5f84\u6307\u5f15 6 \u6b65\u9aa4\u5f15\u5bfc: &#034;\u4e0a2\u697c&#034; StepIndicator \u6e32\u67d3\u6b65\u9aa42 \u697c\u5c42\u5207\u6362 7 \u5230\u8fbe\u76ee\u6807 \u6807\u8bb0\u5b8c\u6210 \u5230\u8fbe\u786e\u8ba4<\/p>\n<h4>7.3 \u62a4\u58eb\u5178\u578b\u573a\u666f<\/h4>\n<h5>\u573a\u666f\u4e00&#xff1a;\u9884\u8b66\u5904\u7406\u6d41\u7a0b<\/h5>\n<p>\u65f6\u95f4\u7ebf \u64cd\u4f5c\u6b65\u9aa4 \u7cfb\u7edf\u54cd\u5e94 \u6d89\u53ca\u9875\u9762\/\u670d\u52a1 \u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 10:45 \u62a4\u58eb\u6536\u5230\u6a59\u8272\u9884\u8b66\u63a8\u9001 NotificationService \u901a\u77e5\u680f &#034;3\u5e8a\u5f20\u4e09 \u6db2\u4f4d10%&#034; AlertCard \u663e\u793a AlertCard 10:46 \u62a4\u58eb\u6253\u5f00\u5de5\u4f5c\u53f0 NurseHomePage \u52a0\u8f7d NurseHomePage \u67e5\u770b\u9884\u8b66\u961f\u5217 \u6309\u7d27\u6025\u7a0b\u5ea6\u6392\u5e8f \u9884\u8b66\u5217\u8868 10:47 \u62a4\u58eb\u70b9\u51fb\u5f20\u4e09\u9884\u8b66\u5361\u7247 \u5c55\u5f00\u9884\u8b66\u8be6\u60c5 AlertCard(\u8be6\u60c5) \u67e5\u770b\u60a3\u8005\u4fe1\u606f: 3\u5e8a, 0.9%NaCl \u663e\u793a\u836f\u7269\u548c\u6db2\u4f4d\u4fe1\u606f \u8be6\u60c5\u9762\u677f 10:48 \u62a4\u58eb\u6807\u8bb0&#034;\u5df2\u5904\u7406&#034; AlertEvent.handled &#061; true \u72b6\u6001\u66f4\u65b0 \u524d\u5f803\u5e8a\u66f4\u6362\u8f93\u6db2\u888b &#8211; &#8211; 10:55 \u66f4\u6362\u5b8c\u6210&#xff0c;\u56de\u5230\u5de5\u4f5c\u53f0 \u9884\u8b66\u961f\u5217\u66f4\u65b0 NurseHomePage \u9884\u8b66\u72b6\u6001\u53d8\u4e3a&#034;\u5df2\u5904\u7406&#034; \u79fb\u51fa\u9884\u8b66\u961f\u5217 \u5df2\u5904\u7406\u5217\u8868<\/p>\n<h5>\u573a\u666f\u4e8c&#xff1a;\u805a\u5408\u5206\u6790\u573a\u666f<\/h5>\n<p>\u6b65\u9aa4 \u64cd\u4f5c \u7cfb\u7edf\u5904\u7406 UI \u5c55\u793a \u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 1 \u62a4\u58eb\u70b9\u51fb&#034;\u805a\u5408\u5206\u6790&#034; NurseAnalysisPage \u52a0\u8f7d NurseAnalysisPage 2 \u67e5\u770b\u4eca\u65e5\u7edf\u8ba1 AIService.analyze(&#039;daily&#039;) \u7edf\u8ba1\u5361\u7247 3 \u67e5\u770b\u79d1\u5ba4\u8f93\u6db2\u5206\u5e03 \u6309\u79d1\u5ba4\u5206\u7ec4\u7edf\u8ba1 \u67f1\u72b6\u56fe\/\u5217\u8868 4 \u67e5\u770b\u9ad8\u9891\u9884\u8b66\u65f6\u6bb5 \u6309\u5c0f\u65f6\u7edf\u8ba1\u9884\u8b66\u9891\u7387 \u70ed\u529b\u56fe\/\u5217\u8868 5 \u67e5\u770b\u836f\u7269\u4f7f\u7528\u6392\u884c \u6309\u836f\u7269\u7edf\u8ba1\u4f7f\u7528\u6b21\u6570 \u6392\u884c\u699c 6 \u67e5\u770b\u5de5\u4f5c\u8d1f\u8377\u8d8b\u52bf \u6309\u65e5\u7edf\u8ba1\u5de1\u68c0\u548c\u9884\u8b66\u6570 \u8d8b\u52bf\u56fe<\/p>\n<h4>7.4 \u5bb6\u5c5e\u5178\u578b\u573a\u666f<\/h4>\n<h5>\u573a\u666f\u4e00&#xff1a;\u8fdc\u7a0b\u76d1\u63a7\u6d41\u7a0b<\/h5>\n<p>\u65f6\u95f4\u7ebf \u64cd\u4f5c\u6b65\u9aa4 \u7cfb\u7edf\u54cd\u5e94 \u6d89\u53ca\u9875\u9762\/\u670d\u52a1 \u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 09:00 \u5bb6\u5c5e\u6253\u5f00 IVGuard&#xff0c;\u9009\u62e9&#034;\u5bb6\u5c5e&#034;\u89d2\u8272 Index \u5206\u53d1\u81f3 FamilyHomePage Index \u2192 FamilyHomePage 09:01 \u67e5\u770b\u4eb2\u4eba\u8f93\u6db2\u72b6\u6001 \u52a0\u8f7d\u5b9e\u65f6\u6570\u636e \u72b6\u6001\u9762\u677f \u6db2\u4f4d 85%&#xff0c;\u9884\u8ba1\u5269\u4f59 2\u5c0f\u65f6 LevelProgress \u6e32\u67d3 LevelProgress \u836f\u7269: 0.9%NaCl &#043; \u5934\u5b62\u544b\u8f9b \u836f\u7269\u5217\u8868\u663e\u793a MedicineCard 10:30 \u5bb6\u5c5e\u624b\u673a\u63a8\u9001: &#034;\u6db2\u4f4d 20%&#034; NotificationService \u901a\u77e5\u63a8\u9001 \u5bb6\u5c5e\u6253\u5f00 App \u67e5\u770b\u8be6\u60c5 FamilyHomePage \u5237\u65b0 \u72b6\u6001\u66f4\u65b0 10:45 \u5bb6\u5c5e\u6536\u5230\u9884\u8b66: &#034;\u6db2\u4f4d 10%&#034; \u63a8\u9001 &#043; App\u5185\u63d0\u9192 \u901a\u77e5&#043;\u5f39\u7a97 \u5bb6\u5c5e\u70b9\u51fb&#034;\u8054\u7cfb\u62a4\u58eb\u7ad9&#034; \u62e8\u6253\u62a4\u58eb\u7ad9\u7535\u8bdd \u7cfb\u7edf\u7535\u8bdd 10:55 \u62a4\u58eb\u5904\u7406\u5b8c\u6210 \u72b6\u6001\u66f4\u65b0\u4e3a&#034;\u5df2\u5904\u7406&#034; \u72b6\u6001\u5237\u65b0 \u5bb6\u5c5e\u770b\u5230\u72b6\u6001\u6062\u590d\u4e3a 85% FamilyHomePage \u66f4\u65b0 \u72b6\u6001\u66f4\u65b0<\/p>\n<h5>\u573a\u666f\u4e8c&#xff1a;\u9884\u8b66\u8bb0\u5f55\u67e5\u770b<\/h5>\n<p>\u6b65\u9aa4 \u64cd\u4f5c \u7cfb\u7edf\u5904\u7406 UI \u5c55\u793a \u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 1 \u5bb6\u5c5e\u70b9\u51fb&#034;\u9884\u8b66\u8bb0\u5f55&#034; FamilyAlertPage \u52a0\u8f7d FamilyAlertPage 2 \u67e5\u770b\u5386\u53f2\u9884\u8b66\u65f6\u95f4\u7ebf \u6309\u65f6\u95f4\u5012\u5e8f\u6392\u5217 \u65f6\u95f4\u7ebf 3 \u67e5\u770b\u5355\u6761\u9884\u8b66\u8be6\u60c5 \u5c55\u5f00\u9884\u8b66\u7c7b\u578b\u3001\u7ea7\u522b\u3001\u5904\u7406\u72b6\u6001 \u8be6\u60c5\u9762\u677f 4 \u7edf\u8ba1\u6458\u8981: \u672c\u5468 3 \u6b21\u9884\u8b66 \u7edf\u8ba1\u5df2\u5904\u7406\/\u672a\u5904\u7406\/\u5e73\u5747\u54cd\u5e94\u65f6\u95f4 \u6458\u8981\u5361\u7247<\/p>\n<hr \/>\n<h3>8. \u975e\u529f\u80fd\u6027\u9700\u6c42<\/h3>\n<h4>8.1 \u6027\u80fd\u9700\u6c42<\/h4>\n<p>IVGuard \u4f5c\u4e3a\u5b9e\u65f6\u8f93\u6db2\u76d1\u63a7\u7cfb\u7edf&#xff0c;\u6027\u80fd\u662f\u7528\u6237\u4f53\u9a8c\u7684\u57fa\u77f3\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u6027\u80fd\u6307\u6807\u53ca\u5b9e\u73b0\u7b56\u7565&#xff1a;<\/p>\n<h5>\u6838\u5fc3\u6027\u80fd\u6307\u6807<\/h5>\n<table>\n<tr>\u6307\u6807\u76ee\u6807\u503c\u6d4b\u91cf\u65b9\u6cd5\u5b9e\u73b0\u7b56\u7565<\/tr>\n<tbody>\n<tr>\n<td>\u91c7\u6837\u95f4\u9694<\/td>\n<td>3 \u79d2 (3000ms)<\/td>\n<td>setInterval \u56de\u8c03\u95f4\u9694<\/td>\n<td>MonitorPage.ets \u4e2d\u8bbe\u7f6e setInterval(3000)<\/td>\n<\/tr>\n<tr>\n<td>\u6db2\u4f4d\u66f4\u65b0\u5ef6\u8fdf<\/td>\n<td>&lt; 100ms<\/td>\n<td>\u4ece VisionService \u8fd4\u56de\u5230 UI \u66f4\u65b0<\/td>\n<td>&#064;State \u9a71\u52a8\u81ea\u52a8\u5237\u65b0<\/td>\n<\/tr>\n<tr>\n<td>Canvas \u6e32\u67d3\u5e27\u7387<\/td>\n<td>60fps<\/td>\n<td>onReady &#043; \u7ed8\u5236\u8017\u65f6<\/td>\n<td>\u9884\u8ba1\u7b97\u5750\u6807&#xff0c;\u9650\u5236\u6570\u636e\u91cf<\/td>\n<\/tr>\n<tr>\n<td>\u9875\u9762\u5207\u6362\u65f6\u95f4<\/td>\n<td>&lt; 500ms<\/td>\n<td>\u4ece pushUrl \u5230\u9875\u9762\u6e32\u67d3\u5b8c\u6210<\/td>\n<td>\u61d2\u52a0\u8f7d\u975e\u9996\u5c4f\u5185\u5bb9<\/td>\n<\/tr>\n<tr>\n<td>\u5e94\u7528\u51b7\u542f\u52a8<\/td>\n<td>&lt; 3 \u79d2<\/td>\n<td>\u4ece\u70b9\u51fb\u56fe\u6807\u5230\u9996\u9875\u53ef\u4ea4\u4e92<\/td>\n<td>DataStore.init() \u5f02\u6b65\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u901a\u77e5\u63a8\u9001\u5ef6\u8fdf<\/td>\n<td>&lt; 2 \u79d2<\/td>\n<td>\u4ece\u9884\u8b66\u89e6\u53d1\u5230\u901a\u77e5\u5230\u8fbe<\/td>\n<td>\u7cfb\u7edf\u7ea7\u901a\u77e5\u901a\u9053<\/td>\n<\/tr>\n<tr>\n<td>\u8bed\u97f3\u5408\u6210\u5ef6\u8fdf<\/td>\n<td>&lt; 500ms<\/td>\n<td>\u4ece\u8c03\u7528 speak() \u5230\u58f0\u97f3\u8f93\u51fa<\/td>\n<td>\u9884\u52a0\u8f7d\u8bed\u97f3\u5f15\u64ce<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>3 \u79d2\u91c7\u6837\u95f4\u9694\u7684\u8bbe\u8ba1\u8003\u91cf<\/h5>\n<p>3 \u79d2\u7684\u91c7\u6837\u95f4\u9694\u662f\u7ecf\u8fc7\u6743\u8861\u540e\u7684\u9009\u62e9&#xff1a;<\/p>\n<p>&#096; \u95f4\u9694\u9009\u62e9\u5206\u6790:<\/p>\n<p>1\u79d2\u95f4\u9694: \u4f18\u52bf: \u6db2\u4f4d\u66f4\u65b0\u66f4\u9891\u7e41&#xff0c;\u611f\u77e5\u5ef6\u8fdf\u66f4\u4f4e \u52a3\u52bf: CPU\/\u76f8\u673a\/\u7535\u6c60\u6d88\u8017\u5927&#xff0c;\u89c6\u89c9\u8bc6\u522b\u8d1f\u62c5\u91cd \u7ed3\u8bba: \u8fc7\u5ea6\u6d88\u8017\u8d44\u6e90&#xff0c;\u4e0d\u5fc5\u8981<\/p>\n<p>3\u79d2\u95f4\u9694 (\u6700\u7ec8\u9009\u62e9): \u4f18\u52bf: \u5e73\u8861\u4e86\u5b9e\u65f6\u6027\u548c\u8d44\u6e90\u6d88\u8017 \u52a3\u52bf: \u6700\u5927 3 \u79d2\u7684\u6db2\u4f4d\u66f4\u65b0\u5ef6\u8fdf \u7ed3\u8bba: \u6db2\u4f4d\u53d8\u5316\u662f\u7f13\u6162\u8fc7\u7a0b&#xff0c;3\u79d2\u5ef6\u8fdf\u53ef\u63a5\u53d7<\/p>\n<p>5\u79d2\u95f4\u9694: \u4f18\u52bf: \u8d44\u6e90\u6d88\u8017\u66f4\u4f4e \u52a3\u52bf: \u9884\u8b66\u54cd\u5e94\u5ef6\u8fdf\u589e\u5927&#xff0c;\u7528\u6237\u4f53\u9a8c\u4e0b\u964d \u7ed3\u8bba: \u9884\u8b66\u4e0d\u591f\u53ca\u65f6<\/p>\n<p>10\u79d2\u95f4\u9694: \u4f18\u52bf: \u8d44\u6e90\u6d88\u8017\u6781\u4f4e \u52a3\u52bf: \u9884\u8b66\u5ef6\u8fdf\u8fc7\u9ad8&#xff0c;\u53ef\u80fd\u9519\u8fc7\u6700\u4f73\u5904\u7406\u7a97\u53e3 \u7ed3\u8bba: \u4e0d\u53ef\u63a5\u53d7 &#096;<\/p>\n<p>\u5728 MonitorPage.ets \u4e2d\u7684\u5b9e\u73b0&#xff1a;<\/p>\n<p>&#096; ypescript aboutToAppear() { this.timer &#061; setInterval(() &#061;&gt; { const frame &#061; CameraService.getCurrentFrame() if (frame) { this.currentLevel &#061; VisionService.analyzeFrame(frame) this.flowRate &#061; VisionService.getFlowRate() this.estimatedTime &#061; VisionService.getEstimatedTime() this.checkAlert(this.currentLevel) } }, 3000) }<\/p>\n<p>aboutToDisappear() { if (this.timer) { clearInterval(this.timer) CameraService.stopCapture() } } &#096;<\/p>\n<p>\u7279\u522b\u6ce8\u610f boutToDisappear \u4e2d\u7684\u6e05\u7406\u903b\u8f91\u2014\u2014\u9875\u9762\u9500\u6bc1\u65f6\u5fc5\u987b\u6e05\u9664\u5b9a\u65f6\u5668\u5e76\u505c\u6b62\u76f8\u673a&#xff0c;\u5426\u5219\u4f1a\u5bfc\u81f4\u540e\u53f0\u6301\u7eed\u5360\u7528\u786c\u4ef6\u8d44\u6e90\u3002<\/p>\n<h5>Canvas 60fps \u4f18\u5316\u7b56\u7565<\/h5>\n<p>IVGuard \u7684 FlowChart \u548c CostPieChart \u7ec4\u4ef6\u91c7\u7528 Canvas \u7ed8\u5236&#xff0c;\u9700\u8981\u4fdd\u6301 60fps \u7684\u6e32\u67d3\u6027\u80fd&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ \u4f18\u5316\u7b56\u7565\u4e00: \u6570\u636e\u9884\u8ba1\u7b97 private drawChart() { \/\/ \u5728\u7ed8\u5236\u524d\u4e00\u6b21\u6027\u8ba1\u7b97\u6240\u6709\u5750\u6807&#xff0c;\u907f\u514d\u9010\u5e27\u8ba1\u7b97 const points &#061; this.records.map((record, index) &#061;&gt; { return { x: padding &#043; (index \/ Math.max(1, this.records.length &#8211; 1)) * chartWidth, y: chartHeight &#8211; (record.level \/ 100) * chartHeight } }) \/\/ \u7136\u540e\u7528\u9884\u8ba1\u7b97\u7684 points \u7ed8\u5236 }<\/p>\n<p>\/\/ \u4f18\u5316\u7b56\u7565\u4e8c: \u9650\u5236\u6570\u636e\u91cf private get displayRecords(): LevelRecord[] { if (this.records.length &lt;&#061; 100) return this.records \/\/ \u91c7\u6837\u964d\u9891: \u53d6\u6700\u8fd1 100 \u4e2a\u70b9 const step &#061; Math.ceil(this.records.length \/ 100) return this.records.filter((_, index) &#061;&gt; index % step &#061;&#061;&#061; 0) }<\/p>\n<p>\/\/ \u4f18\u5316\u7b56\u7565\u4e09: \u6309\u9700\u91cd\u7ed8 \/\/ \u53ea\u5728 records \u6570\u636e\u53d8\u5316\u65f6\u89e6\u53d1\u91cd\u7ed8&#xff0c;\u800c\u975e\u6bcf\u5e27\u91cd\u7ed8 build() { Canvas(this.context) .width(\u2018100%\u2019) .height(200) .onReady(() &#061;&gt; { this.drawChart() \/\/ \u53ea\u5728 Canvas \u51c6\u5907\u597d\u65f6\u7ed8\u5236\u4e00\u6b21 }) } &#096;<\/p>\n<h4>8.2 \u53ef\u9760\u6027\u9700\u6c42<\/h4>\n<p>\u533b\u7597\u7cfb\u7edf\u7684\u53ef\u9760\u6027\u8981\u6c42\u8fdc\u9ad8\u4e8e\u666e\u901a\u6d88\u8d39\u7ea7\u5e94\u7528\u3002IVGuard \u4ece\u4ee5\u4e0b\u7ef4\u5ea6\u4fdd\u969c\u7cfb\u7edf\u53ef\u9760\u6027&#xff1a;<\/p>\n<h5>\u6570\u636e\u6301\u4e45\u5316\u4fdd\u969c<\/h5>\n<table>\n<tr>\u573a\u666f\u98ce\u9669\u4fdd\u969c\u63aa\u65bd<\/tr>\n<tbody>\n<tr>\n<td>\u5e94\u7528\u610f\u5916\u9000\u51fa<\/td>\n<td>\u76d1\u63a7\u6570\u636e\u4e22\u5931<\/td>\n<td>\u6bcf\u6b21 setInterval \u56de\u8c03\u540e DataStore.save()<\/td>\n<\/tr>\n<tr>\n<td>\u624b\u673a\u91cd\u542f<\/td>\n<td>\u5185\u5b58\u6570\u636e\u4e22\u5931<\/td>\n<td>\u6240\u6709\u5173\u952e\u6570\u636e\u901a\u8fc7 Preferences \u6301\u4e45\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u7a7a\u95f4\u4e0d\u8db3<\/td>\n<td>\u5199\u5165\u5931\u8d25<\/td>\n<td>lush() \u5f02\u5e38\u6355\u83b7&#xff0c;\u964d\u7ea7\u4e3a\u5185\u5b58\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u5e76\u53d1\u5199\u5165<\/td>\n<td>\u6570\u636e\u8986\u76d6<\/td>\n<td>\u5355\u7ebf\u7a0b\u6a21\u578b\u4e0b\u4e0d\u5b58\u5728\u771f\u6b63\u7684\u5e76\u53d1&#xff0c;\u4f46 lush() \u4fdd\u8bc1\u539f\u5b50\u6027<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u4f18\u96c5\u964d\u7ea7\u7b56\u7565<\/h5>\n<p>IVGuard \u5b9e\u73b0\u4e86\u591a\u5c42\u4f18\u96c5\u964d\u7ea7&#xff0c;\u786e\u4fdd\u6838\u5fc3\u529f\u80fd\u5728\u5404\u79cd\u5f02\u5e38\u60c5\u51b5\u4e0b\u4f9d\u7136\u53ef\u7528&#xff1a;<\/p>\n<p>&#096; \u964d\u7ea7\u5c42\u7ea7:<\/p>\n<p>Level 0 &#8211; \u5b8c\u6574\u529f\u80fd: \u76f8\u673a\u53ef\u7528 &#043; NFC\u53ef\u7528 &#043; \u901a\u77e5\u53ef\u7528 &#043; \u8bed\u97f3\u53ef\u7528 &#043; \u624b\u8868\u53ef\u7528 \u2192 \u5b8c\u6574\u76d1\u63a7\u4f53\u9a8c<\/p>\n<p>Level 1 &#8211; \u6838\u5fc3\u529f\u80fd (\u76f8\u673a\u4e0d\u53ef\u7528): VisionService \u4f7f\u7528\u6a21\u62df\u6570\u636e (currentLevel \u4ece85%\u8870\u51cf) \u2192 \u624b\u52a8\u6a21\u5f0f: \u7528\u6237\u89c2\u5bdf\u8f93\u6db2\u888b&#xff0c;App \u4f30\u7b97\u5269\u4f59\u65f6\u95f4<\/p>\n<p>Level 2 &#8211; \u57fa\u7840\u529f\u80fd (\u901a\u77e5\/\u8bed\u97f3\u4e0d\u53ef\u7528): \u4ec5\u9875\u9762\u5185\u9884\u8b66\u63d0\u793a&#xff0c;\u65e0\u7cfb\u7edf\u901a\u77e5 \u2192 \u7528\u6237\u9700\u4fdd\u6301 App \u5728\u524d\u53f0<\/p>\n<p>Level 3 &#8211; \u6700\u5c0f\u529f\u80fd (DataStore \u4e0d\u53ef\u7528): \u6240\u6709\u6570\u636e\u4ec5\u4fdd\u5b58\u5728\u5185\u5b58\u4e2d \u2192 \u5f53\u524d\u4f1a\u8bdd\u6570\u636e\u53ef\u7528&#xff0c;\u91cd\u542f\u540e\u4e22\u5931<\/p>\n<p>Level 4 &#8211; Mock \u670d\u52a1 (\u5f00\u53d1\/\u6d4b\u8bd5\u73af\u5883): \u6240\u6709 Service \u4f7f\u7528 Mock \u5b9e\u73b0 \u2192 \u5b8c\u6574\u529f\u80fd\u6a21\u62df&#xff0c;\u65e0\u9700\u771f\u5b9e\u786c\u4ef6 &#096;<\/p>\n<h5>Mock \u670d\u52a1\u5b9e\u73b0<\/h5>\n<p>&#096; ypescript \/\/ VisionService.ets \u7684 Mock \u5b9e\u73b0 (\u5f53\u524d MVP) export class VisionService { private static currentLevel: number &#061; 85<\/p>\n<p>static analyzeFrame(frame: image.PixelMap | null): number { \/\/ Mock: \u4e0d\u4f9d\u8d56\u771f\u5b9e\u5e27\u6570\u636e&#xff0c;\u76f4\u63a5\u6a21\u62df\u8870\u51cf const decay &#061; 1 &#043; Math.random() VisionService.currentLevel &#061; Math.max(0, VisionService.currentLevel &#8211; decay) return VisionService.currentLevel } }<\/p>\n<p>\/\/ \u672a\u6765\u751f\u4ea7\u7248\u672c\u7684 VisionService (OpenCV NAPI) \/\/ static analyzeFrame(frame: image.PixelMap): number { \/\/ const mat &#061; OpenCVUtils.pixelMapToMat(frame) \/\/ const stickerRegion &#061; StickerDetector.detect(mat) \/\/ const level &#061; LevelReader.read(stickerRegion) \/\/ return level \/\/ } &#096;<\/p>\n<h4>8.3 \u5b89\u5168\u9700\u6c42<\/h4>\n<p>\u533b\u7597\u6570\u636e\u5c5e\u4e8e\u654f\u611f\u4e2a\u4eba\u4fe1\u606f&#xff0c;IVGuard \u5728\u5b89\u5168\u65b9\u9762\u9075\u5faa&#034;\u6700\u5c0f\u6743\u9650\u3001\u6570\u636e\u8131\u654f\u3001\u672c\u5730\u4f18\u5148&#034;\u4e09\u5927\u539f\u5219\u3002<\/p>\n<h5>\u6743\u9650\u6700\u5c0f\u5316<\/h5>\n<p>IVGuard \u8bf7\u6c42\u7684 8 \u9879\u7cfb\u7edf\u6743\u9650&#xff0c;\u6bcf\u4e00\u9879\u90fd\u6709\u660e\u786e\u7684\u4f7f\u7528\u573a\u666f\u548c\u6700\u5c0f\u5316\u8303\u56f4&#xff1a;<\/p>\n<table>\n<tr>\u5e8f\u53f7\u6743\u9650\u7528\u9014\u8bf7\u6c42\u65f6\u673a\u89d2\u8272\u9700\u6c42<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>ohos.permission.CAMERA<\/td>\n<td>\u62cd\u6444\u8f93\u6db2\u888b\u8fdb\u884c\u6db2\u4f4d\u8bc6\u522b<\/td>\n<td>\u9996\u6b21\u542f\u52a8\u76d1\u63a7\u65f6<\/td>\n<td>\u60a3\u8005<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>ohos.permission.NFC_TAG<\/td>\n<td>\u8bfb\u53d6 NFC \u8d34\u7eb8\u4fe1\u606f<\/td>\n<td>\u9996\u6b21\u914d\u5bf9\u65f6<\/td>\n<td>\u60a3\u8005<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>ohos.permission.NOTIFICATION<\/td>\n<td>\u53d1\u9001\u9884\u8b66\u901a\u77e5<\/td>\n<td>\u5e94\u7528\u542f\u52a8\u65f6<\/td>\n<td>\u5168\u89d2\u8272<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>ohos.permission.VIBRATE<\/td>\n<td>\u7d27\u6025\u9884\u8b66\u65f6\u9707\u52a8\u63d0\u9192<\/td>\n<td>\u5e94\u7528\u542f\u52a8\u65f6<\/td>\n<td>\u5168\u89d2\u8272<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>ohos.permission.INTERNET<\/td>\n<td>AI \u5206\u6790\u548c\u7f51\u7edc\u540c\u6b65&#xff08;\u9884\u7559&#xff09;<\/td>\n<td>\u5e94\u7528\u542f\u52a8\u65f6<\/td>\n<td>\u5168\u89d2\u8272<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>ohos.permission.LOCATION<\/td>\n<td>\u533b\u9662\u5bfc\u822a\u5b9a\u4f4d<\/td>\n<td>\u9996\u6b21\u5bfc\u822a\u65f6<\/td>\n<td>\u60a3\u8005\/\u62a4\u58eb<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>ohos.permission.SCAN_CODE<\/td>\n<td>\u626b\u63cf\u836f\u54c1\u6761\u7801<\/td>\n<td>\u9996\u6b21\u626b\u7801\u65f6<\/td>\n<td>\u60a3\u8005<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>ohos.permission.DISTRIBUTED_DATASYNC<\/td>\n<td>\u624b\u8868\u6570\u636e\u540c\u6b65<\/td>\n<td>\u9996\u6b21\u8fde\u63a5\u624b\u8868\u65f6<\/td>\n<td>\u60a3\u8005\/\u5bb6\u5c5e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6743\u9650\u8bf7\u6c42\u7b56\u7565&#xff1a;<\/p>\n<li>\u5ef6\u8fdf\u8bf7\u6c42&#xff1a;\u4e0d\u5728\u5e94\u7528\u542f\u52a8\u65f6\u4e00\u6b21\u6027\u8bf7\u6c42\u6240\u6709\u6743\u9650&#xff0c;\u800c\u662f\u5728\u9700\u8981\u4f7f\u7528\u5bf9\u5e94\u529f\u80fd\u65f6\u624d\u8bf7\u6c42<\/li>\n<li>\u6743\u9650\u8bf4\u660e&#xff1a;\u6bcf\u6b21\u8bf7\u6c42\u524d\u5411\u7528\u6237\u89e3\u91ca\u4e3a\u4f55\u9700\u8981\u8be5\u6743\u9650<\/li>\n<li>\u964d\u7ea7\u8fd0\u884c&#xff1a;\u7528\u6237\u62d2\u7edd\u6743\u9650\u65f6&#xff0c;\u5bf9\u5e94\u529f\u80fd\u4f18\u96c5\u964d\u7ea7\u800c\u975e\u5d29\u6e83<\/li>\n<h5>\u533b\u7597\u6570\u636e\u8131\u654f<\/h5>\n<p>&#096; \u6570\u636e\u5206\u7c7b\u4e0e\u8131\u654f\u7b56\u7565:<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502 \u654f\u611f\u7b49\u7ea7 \u2502 \u6570\u636e\u7c7b\u578b \u2502 \u8131\u654f\u7b56\u7565 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502 \u9ad8\u654f\u611f \u2502 \u60a3\u8005\u59d3\u540d\u3001\u8eab\u4efd\u8bc1\u53f7 \u2502 \u4e0d\u91c7\u96c6&#xff0c;\u4f7f\u7528\u4ee3\u53f7 \u2502 \u2502 \u9ad8\u654f\u611f \u2502 \u5177\u4f53\u836f\u7269\u5242\u91cf \u2502 \u4ec5\u663e\u793a\u901a\u7528\u540d\u79f0 \u2502 \u2502 \u4e2d\u654f\u611f \u2502 \u76d1\u63a7\u8bb0\u5f55\u3001\u6db2\u4f4d\u6570\u636e \u2502 \u672c\u5730\u5b58\u50a8&#xff0c;\u4e0d\u4e0a\u4f20 \u2502 \u2502 \u4e2d\u654f\u611f \u2502 \u9884\u8b66\u4e8b\u4ef6 \u2502 \u672c\u5730\u5b58\u50a8&#xff0c;\u4e0d\u4e0a\u4f20 \u2502 \u2502 \u4f4e\u654f\u611f \u2502 \u8d39\u7528\u6570\u636e \u2502 \u672c\u5730\u5b58\u50a8&#xff0c;\u4e0d\u4e0a\u4f20 \u2502 \u2502 \u975e\u654f\u611f \u2502 \u5e94\u7528\u8bbe\u7f6e \u2502 \u672c\u5730\u5b58\u50a8 \u2502 \u2502 \u975e\u654f\u611f \u2502 \u533b\u9662POI\u6570\u636e \u2502 \u9759\u6001\u5185\u7f6e \u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 &#096;<\/p>\n<h5>\u672c\u5730\u5b58\u50a8\u4f18\u5148<\/h5>\n<p>IVGuard \u7684 MVP \u7248\u672c\u91c7\u7528 \u7eaf\u672c\u5730\u5b58\u50a8 \u67b6\u6784&#xff0c;\u6240\u6709\u6570\u636e\u4fdd\u5b58\u5728\u8bbe\u5907\u672c\u5730&#xff0c;\u4e0d\u6d89\u53ca\u4e91\u7aef\u4f20\u8f93&#xff1a;<\/p>\n<p>&#096; \u6570\u636e\u5b58\u50a8\u4f4d\u7f6e:<\/p>\n<p>Preferences (\u2018ivguard_db\u2019): \u251c\u2500\u2500 \u836f\u7269\u5217\u8868 medicines \u251c\u2500\u2500 \u76d1\u63a7\u4f1a\u8bdd monitor_sessions \u251c\u2500\u2500 \u8d39\u7528\u6761\u76ee cost_items \u251c\u2500\u2500 \u533b\u4fdd\u8bbe\u7f6e insurance_policy \u251c\u2500\u2500 \u5e94\u7528\u8bbe\u7f6e app_settings \u251c\u2500\u2500 \u7528\u6237\u89d2\u8272 user_role \u2514\u2500\u2500 \u9884\u8b66\u4e8b\u4ef6 alert_events<\/p>\n<p>\u65e0\u4e91\u7aef\u5b58\u50a8: \u2717 \u65e0\u7528\u6237\u8d26\u53f7\u7cfb\u7edf \u2717 \u65e0\u6570\u636e\u4e0a\u4f20 \u2717 \u65e0\u7b2c\u4e09\u65b9\u6570\u636e\u5171\u4eab \u2713 \u6240\u6709\u6570\u636e\u4ec5\u5b58\u5728\u4e8e\u8bbe\u5907\u672c\u5730 &#096;<\/p>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u5728 MVP \u9636\u6bb5\u7684\u4f18\u52bf\u662f\u663e\u8457\u7684&#xff1a;\u65e0\u9700\u540e\u7aef\u670d\u52a1\u5668\u3001\u65e0\u9700\u7f51\u7edc\u5b89\u5168\u534f\u8bae\u3001\u65e0\u9700\u6570\u636e\u5408\u89c4\u5ba1\u6279\u3001\u65e0\u9700\u7528\u6237\u6ce8\u518c\u767b\u5f55\u3002\u540c\u65f6&#xff0c;DataStore \u7684\u62bd\u8c61\u5c42\u8bbe\u8ba1\u4e3a\u672a\u6765\u5f15\u5165\u4e91\u7aef\u540c\u6b65\u9884\u7559\u4e86\u6269\u5c55\u70b9\u2014\u2014\u53ea\u9700\u5728 DataStore \u4e2d\u589e\u52a0\u4e91\u7aef\u8bfb\u5199\u903b\u8f91&#xff0c;\u4e0a\u5c42\u4ee3\u7801\u65e0\u9700\u53d8\u66f4\u3002<\/p>\n<h4>8.4 \u53ef\u7ef4\u62a4\u6027\u9700\u6c42<\/h4>\n<h5>\u5206\u5c42\u67b6\u6784\u7684\u53ef\u7ef4\u62a4\u6027<\/h5>\n<p>IVGuard \u7684\u4e94\u5c42\u67b6\u6784\u76f4\u63a5\u652f\u6491\u4e86\u4ee5\u4e0b\u53ef\u7ef4\u62a4\u6027\u6307\u6807&#xff1a;<\/p>\n<table>\n<tr>\u7ef4\u62a4\u573a\u666f\u5f71\u54cd\u8303\u56f4\u4fee\u6539\u6587\u4ef6\u6570\u56de\u5f52\u98ce\u9669<\/tr>\n<tbody>\n<tr>\n<td>\u4fee\u6539\u9884\u8b66\u9608\u503c<\/td>\n<td>\u9875\u9762\u5c42<\/td>\n<td>1 (MonitorPage)<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u66ff\u6362\u89c6\u89c9\u8bc6\u522b\u7b97\u6cd5<\/td>\n<td>\u670d\u52a1\u5c42<\/td>\n<td>1 (VisionService)<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u65b0\u589e\u836f\u7269\u6570\u636e<\/td>\n<td>\u6570\u636e\u5c42<\/td>\n<td>1 (DrugDatabase)<\/td>\n<td>\u6781\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u65b0\u589e\u8d39\u7528\u7c7b\u522b<\/td>\n<td>\u6570\u636e\u5c42&#043;\u670d\u52a1\u5c42<\/td>\n<td>2 (DataModels&#043;CostService)<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u4fee\u6539\u6db2\u4f4d\u8fdb\u5ea6\u6761\u6837\u5f0f<\/td>\n<td>\u7ec4\u4ef6\u5c42<\/td>\n<td>1 (LevelProgress)<\/td>\n<td>\u6781\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u65b0\u589e\u9875\u9762<\/td>\n<td>\u9875\u9762\u5c42<\/td>\n<td>1 (\u65b0Page\u6587\u4ef6)<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u670d\u52a1\u5355\u4f8b\u7684\u53ef\u7ef4\u62a4\u6027<\/h5>\n<p>\u9759\u6001\u7c7b\u6a21\u5f0f\u7684 Service \u4f7f\u5f97\u4ee3\u7801\u5b9a\u4f4d\u548c\u4fee\u6539\u53d8\u5f97\u6781\u5176\u76f4\u89c2&#xff1a;<\/p>\n<p>&#096; \u9700\u6c42: \u201c\u4fee\u6539\u8bed\u97f3\u63d0\u9192\u7684\u6587\u6848\u201d<\/p>\n<p>\u5b9a\u4f4d\u8def\u5f84:<\/p>\n<li>\u8bed\u97f3\u76f8\u5173 \u2192 SpeechService.ets<\/li>\n<li>\u641c\u7d22 speak() \u65b9\u6cd5<\/li>\n<li>\u627e\u5230\u6587\u6848\u5b9a\u4e49<\/li>\n<li>\u4fee\u6539\u6587\u6848<\/li>\n<p>\u5f71\u54cd\u8303\u56f4: \u4ec5 SpeechService.ets \u4e00\u4e2a\u6587\u4ef6 \u56de\u5f52\u98ce\u9669: \u4ec5\u5f71\u54cd\u8bed\u97f3\u8f93\u51fa&#xff0c;\u4e0d\u5f71\u54cd\u5176\u4ed6\u529f\u80fd &#096;<\/p>\n<h5>\u7ec4\u4ef6\u590d\u7528\u7684\u53ef\u7ef4\u62a4\u6027<\/h5>\n<p>8 \u4e2a\u901a\u7528\u7ec4\u4ef6\u5728\u591a\u4e2a\u9875\u9762\u95f4\u590d\u7528&#xff0c;\u964d\u4f4e\u4e86\u91cd\u590d\u4ee3\u7801\u91cf&#xff1a;<\/p>\n<p>&#096; \u7ec4\u4ef6\u590d\u7528\u7387:<\/p>\n<p>LevelProgress: 2 \u4e2a\u9875\u9762\u4f7f\u7528 \u2192 1 \u4e2a\u7ec4\u4ef6\u66ff\u4ee3 2 \u4efd\u91cd\u590d\u4ee3\u7801 MedicineCard: 2 \u4e2a\u9875\u9762\u4f7f\u7528 \u2192 \u8282\u7701\u7ea6 120 \u884c\u4ee3\u7801 AlertCard: 3 \u4e2a\u9875\u9762\u4f7f\u7528 \u2192 \u8282\u7701\u7ea6 180 \u884c\u4ee3\u7801 FlowChart: 2 \u4e2a\u9875\u9762\u4f7f\u7528 \u2192 \u8282\u7701\u7ea6 200 \u884c\u4ee3\u7801 CostPieChart: 2 \u4e2a\u9875\u9762\u4f7f\u7528 \u2192 \u8282\u7701\u7ea6 200 \u884c\u4ee3\u7801<\/p>\n<p>\u603b\u8282\u7701: \u7ea6 700 \u884c\u4ee3\u7801 (\u5360\u9875\u9762\u5c42\u4ee3\u7801\u7684 ~23%) &#096;<\/p>\n<h4>8.5 \u53ef\u6269\u5c55\u6027\u9700\u6c42<\/h4>\n<p>IVGuard \u5728\u67b6\u6784\u5c42\u9762\u9884\u7559\u4e86\u591a\u4e2a\u6269\u5c55\u70b9&#xff0c;\u786e\u4fdd\u672a\u6765\u529f\u80fd\u8fed\u4ee3\u65e0\u9700\u5927\u89c4\u6a21\u91cd\u6784&#xff1a;<\/p>\n<h5>\u6269\u5c55\u70b9\u4e00&#xff1a;OpenCV NAPI \u9884\u7559<\/h5>\n<p>\u5f53\u524d VisionService \u91c7\u7528\u6a21\u62df\u7b97\u6cd5&#xff0c;\u672a\u6765\u63a5\u5165\u771f\u5b9e\u89c6\u89c9\u8bc6\u522b\u65f6&#xff0c;\u9700\u8981\u901a\u8fc7 NAPI&#xff08;Native API&#xff09;\u8c03\u7528 OpenCV&#xff1a;<\/p>\n<p>&#096; \u6269\u5c55\u8def\u5f84:<\/p>\n<p>\u5f53\u524d (MVP): VisionService.analyzeFrame(frame) \u2192 \u6a21\u62df: currentLevel &#8211; random(1-2)<\/p>\n<p>\u672a\u6765 (\u751f\u4ea7): VisionService.analyzeFrame(frame) \u2192 NAPI: OpenCVUtils.pixelMapToMat(frame) \u2192 NAPI: StickerDetector.detect(mat) \u2192 NAPI: LevelReader.read(stickerRegion) \u2192 \u8fd4\u56de\u771f\u5b9e\u6db2\u4f4d\u503c<\/p>\n<p>\u53d8\u66f4\u8303\u56f4: \u4ec5 VisionService.ets \u5185\u90e8\u5b9e\u73b0 \u4e0a\u5c42\u5f71\u54cd: \u65e0 (MonitorPage \u8c03\u7528\u63a5\u53e3\u4e0d\u53d8) &#096;<\/p>\n<h5>\u6269\u5c55\u70b9\u4e8c&#xff1a;\u624b\u8868\u7aef\u9884\u7559<\/h5>\n<p>WatchService \u7684\u63a5\u53e3\u8bbe\u8ba1\u5df2\u8003\u8651\u624b\u8868\u7aef\u6269\u5c55&#xff1a;<\/p>\n<p>&#096; ypescript export class WatchService { \/\/ \u5f53\u524d\u5b9e\u73b0: \u6a21\u62df\u624b\u8868\u901a\u4fe1 static async sync(data: MonitorSession): Promise { \/\/ TODO: \u901a\u8fc7 DeviceManager API \u5b9e\u73b0\u771f\u5b9e\u901a\u4fe1 }<\/p>\n<p>static async vibrate(pattern: string): Promise { \/\/ TODO: \u8c03\u7528\u624b\u8868\u7aef\u9707\u52a8 API }<\/p>\n<p>\/\/ \u672a\u6765\u6269\u5c55: \u624b\u8868\u7aef UI \/\/ static async updateWidget(level: number): Promise \/\/ static async showAlert(message: string): Promise } &#096;<\/p>\n<h5>\u6269\u5c55\u70b9\u4e09&#xff1a;\u4e91\u7aef\u540c\u6b65\u9884\u7559<\/h5>\n<p>DataStore \u7684\u62bd\u8c61\u5c42\u8bbe\u8ba1\u652f\u6301\u672a\u6765\u65e0\u7f1d\u5207\u6362\u81f3\u4e91\u7aef\u540c\u6b65&#xff1a;<\/p>\n<p>&#096; \u5f53\u524d\u67b6\u6784: Page \u2192 DataStore.save() \u2192 Preferences.put()<\/p>\n<p>\u672a\u6765\u67b6\u6784: Page \u2192 DataStore.save() \u2192 Preferences.put() (\u672c\u5730\u7f13\u5b58) &#043; CloudSync.upload() (\u4e91\u7aef\u540c\u6b65)<\/p>\n<p>Page \u2192 DataStore.load() \u2192 Preferences.get() (\u672c\u5730\u4f18\u5148) &#043; CloudSync.download() (\u51b2\u7a81\u5408\u5e76) &#096;<\/p>\n<h5>\u6269\u5c55\u70b9\u56db&#xff1a;\u591a\u8bed\u8a00\u9884\u7559<\/h5>\n<p>\u6240\u6709\u7528\u6237\u53ef\u89c1\u7684\u5b57\u7b26\u4e32\u5747\u672a\u786c\u7f16\u7801\u5728\u9875\u9762\u5c42&#xff0c;\u800c\u662f\u901a\u8fc7\u5e38\u91cf\u6216\u6570\u636e\u6a21\u578b\u63d0\u4f9b&#xff1a;<\/p>\n<p>&#096; ypescript \/\/ \u5f53\u524d: \u4e2d\u6587\u786c\u7f16\u7801 (MVP \u7b80\u5316) Text(\u2018\u5f53\u524d\u6db2\u4f4d\u2019)<\/p>\n<p>\/\/ \u672a\u6765: \u591a\u8bed\u8a00\u652f\u6301 Text(StringResource.get(\u2018monitor_current_level\u2019)) \/\/ zh: \u2018\u5f53\u524d\u6db2\u4f4d\u2019 \/\/ en: \u2018Current Level\u2019 &#096;<\/p>\n<h5>\u6269\u5c55\u70b9\u4e94&#xff1a;\u4e3b\u9898\u5207\u6362\u9884\u7559<\/h5>\n<p>AppSettings \u6570\u636e\u6a21\u578b\u4e2d\u9884\u7559\u4e86 darkMode \u5b57\u6bb5&#xff1a;<\/p>\n<p> ypescript export class AppSettings { alertThreshold: number &#061; 20 speechEnabled: boolean &#061; true darkMode: boolean &#061; false \/\/ \u9884\u7559&#xff1a;\u6df1\u8272\u6a21\u5f0f fontSize: number &#061; 16 \/\/ \u9884\u7559&#xff1a;\u5b57\u53f7\u8c03\u6574 language: string &#061; &#039;zh-CN&#039; \/\/ \u9884\u7559&#xff1a;\u8bed\u8a00\u8bbe\u7f6e } <\/p>\n<hr \/>\n<h3>9. \u6838\u5fc3\u6280\u672f\u51b3\u7b56\u8bb0\u5f55<\/h3>\n<p>\u6280\u672f\u51b3\u7b56\u8bb0\u5f55&#xff08;Architecture Decision Record, ADR&#xff09;\u662f IVGuard \u9879\u76ee\u6700\u91cd\u8981\u7684\u67b6\u6784\u8d44\u4ea7\u4e4b\u4e00\u3002\u6bcf\u4e2a\u51b3\u7b56\u90fd\u7ecf\u8fc7\u5145\u5206\u7684\u65b9\u6848\u5bf9\u6bd4\u548c\u5229\u5f0a\u6743\u8861&#xff0c;\u786e\u4fdd\u9009\u62e9\u7684\u65b9\u6848\u5728\u5f53\u524d\u9636\u6bb5\u662f\u6700\u4f18\u89e3&#xff0c;\u540c\u65f6\u4e3a\u672a\u6765\u7684\u6f14\u8fdb\u9884\u7559\u4e86\u7a7a\u95f4\u3002<\/p>\n<h4>9.1 \u89c6\u89c9\u8bc6\u522b\u65b9\u6848\u9009\u62e9<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-001 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>IVGuard \u7684\u6838\u5fc3\u529f\u80fd\u662f\u8f93\u6db2\u6db2\u4f4d\u8bc6\u522b\u3002\u9700\u8981\u9009\u62e9\u4e00\u79cd\u53ef\u9760\u7684\u6db2\u4f4d\u8bc6\u522b\u65b9\u6848&#xff0c;\u4f7f\u5f97\u666e\u901a\u667a\u80fd\u624b\u673a\u80fd\u591f\u51c6\u786e\u8bfb\u53d6\u8f93\u6db2\u888b\u4e2d\u7684\u6db2\u4f4d\u4fe1\u606f\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848<\/h5>\n<p>\u65b9\u6848 A&#xff1a;\u7eaf\u989c\u8272\u8fb9\u754c\u68c0\u6d4b<\/p>\n<p>&#096; \u539f\u7406: \u8f93\u6db2\u888b\u4e2d\u6db2\u4f53\u533a\u57df\u4e0e\u7a7a\u6c14\u533a\u57df\u7684\u989c\u8272\/\u900f\u660e\u5ea6\u4e0d\u540c \u901a\u8fc7\u68c0\u6d4b\u989c\u8272\u8fb9\u754c\u786e\u5b9a\u6db2\u9762\u4f4d\u7f6e \u6db2\u4f4d &#061; \u8fb9\u754c\u4f4d\u7f6e \/ \u8f93\u6db2\u888b\u603b\u9ad8\u5ea6<\/p>\n<p>\u4f18\u52bf: \u2713 \u65e0\u9700\u989d\u5916\u786c\u4ef6 \u2713 \u5b9e\u73b0\u7b80\u5355<\/p>\n<p>\u52a3\u52bf: \u2717 \u53d7\u5149\u7167\u5f71\u54cd\u5927 (\u65e5\u5149\/\u706f\u5149\/\u9634\u5f71) \u2717 \u53d7\u8f93\u6db2\u888b\u5f62\u72b6\u5f71\u54cd (\u4e0d\u540c\u5382\u5bb6\u888b\u578b\u4e0d\u540c) \u2717 \u53d7\u6db2\u4f53\u989c\u8272\u5f71\u54cd (\u6709\u8272\u6db2\u4f53 vs \u65e0\u8272\u6db2\u4f53) \u2717 \u8bc6\u522b\u7cbe\u5ea6\u7ea6 \u00b115% \u2717 \u9700\u8981\u5927\u91cf\u8bad\u7ec3\u6570\u636e &#096;<\/p>\n<p>\u65b9\u6848 B&#xff1a;\u8d34\u7eb8\u523b\u5ea6\u8bfb\u53d6&#xff08;\u6700\u7ec8\u9009\u62e9&#xff09;<\/p>\n<p>&#096; \u539f\u7406: \u5728\u8f93\u6db2\u888b\u5916\u58c1\u8d34\u4e00\u5f20\u4e13\u7528\u8d34\u7eb8 \u8d34\u7eb8\u5305\u542b\u7b49\u95f4\u8ddd\u523b\u5ea6\u7ebf\u548c\u989c\u8272\u6807\u8bb0 \u89c6\u89c9\u7b97\u6cd5\u901a\u8fc7\u8bc6\u522b\u523b\u5ea6\u7ebf\u4e0e\u6db2\u9762\u7684\u76f8\u5bf9\u4f4d\u7f6e\u786e\u5b9a\u6db2\u4f4d \u6db2\u4f4d &#061; \u6db2\u9762\u5904\u523b\u5ea6\u503c<\/p>\n<p>\u4f18\u52bf: \u2713 \u523b\u5ea6\u63d0\u4f9b\u7edd\u5bf9\u53c2\u8003\u7cfb&#xff0c;\u6d88\u9664\u5f62\u72b6\/\u89d2\u5ea6\u8bef\u5dee \u2713 \u989c\u8272\u6807\u8bb0\u4f5c\u4e3a\u8f85\u52a9\u8bc6\u522b&#xff0c;\u53cc\u91cd\u4fdd\u969c \u2713 \u8bc6\u522b\u7cbe\u5ea6\u7ea6 \u00b15% \u2713 \u5bf9\u5149\u7167\u6761\u4ef6\u4e0d\u654f\u611f \u2713 \u4e0d\u540c\u8f93\u6db2\u888b\u901a\u7528<\/p>\n<p>\u52a3\u52bf: \u2717 \u9700\u8981\u7269\u7406\u8d34\u7eb8 (\u6210\u672c\u7ea6 0.5 \u5143\/\u5f20) \u2717 \u8d34\u7eb8\u7c98\u8d34\u9700\u8981\u89c4\u8303\u64cd\u4f5c \u2717 NFC \u82af\u7247\u589e\u52a0\u8d34\u7eb8\u6210\u672c &#096;<\/p>\n<p>\u65b9\u6848 C&#xff1a;\u6db2\u4f4d\u4f20\u611f\u5668\u786c\u4ef6<\/p>\n<p>&#096; \u539f\u7406: \u5728\u8f93\u6db2\u888b\u4e0a\u5b89\u88c5\u4e13\u7528\u6db2\u4f4d\u4f20\u611f\u5668 \u901a\u8fc7\u7535\u963b\/\u7535\u5bb9\/\u8d85\u58f0\u6ce2\u539f\u7406\u76f4\u63a5\u6d4b\u91cf\u6db2\u4f4d<\/p>\n<p>\u4f18\u52bf: \u2713 \u7cbe\u5ea6\u6781\u9ad8 (\u00b11%) \u2713 \u4e0d\u53d7\u89c6\u89c9\u6761\u4ef6\u5f71\u54cd<\/p>\n<p>\u52a3\u52bf: \u2717 \u9700\u8981\u4e13\u7528\u786c\u4ef6&#xff0c;\u6210\u672c\u9ad8 (50-200 \u5143\/\u4e2a) \u2717 \u9700\u8981\u4e0e\u8f93\u6db2\u888b\u96c6\u6210&#xff0c;\u6d89\u53ca\u533b\u7597\u5668\u68b0\u5ba1\u6279 \u2717 \u9700\u8981\u84dd\u7259\/WiFi \u6865\u63a5\u5230\u624b\u673a \u2717 \u4e0d\u9002\u5408 MVP \u9a8c\u8bc1 &#096;<\/p>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 B&#xff08;\u8d34\u7eb8\u523b\u5ea6\u8bfb\u53d6&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>\u7cbe\u5ea6\u4e0e\u6210\u672c\u7684\u5e73\u8861&#xff1a;\u00b15% \u7684\u7cbe\u5ea6\u6ee1\u8db3\u4e34\u5e8a\u9884\u8b66\u9700\u6c42&#xff08;20%\/10%\/5% \u4e09\u7ea7\u9608\u503c&#xff09;&#xff0c;\u8d34\u7eb8\u6210\u672c\u6781\u4f4e<\/li>\n<li>\u901a\u7528\u6027&#xff1a;\u8d34\u7eb8\u53ef\u9002\u914d\u4efb\u4f55\u54c1\u724c\u7684\u8f93\u6db2\u888b&#xff0c;\u4e0d\u53d7\u888b\u578b\u9650\u5236<\/li>\n<li>MVP \u53cb\u597d&#xff1a;\u8d34\u7eb8\u53ef\u5feb\u901f\u6253\u6837\u9a8c\u8bc1&#xff0c;\u65e0\u9700\u786c\u4ef6\u5f00\u53d1\u5468\u671f<\/li>\n<li>\u53cc\u6a21\u5f0f\u8bc6\u522b&#xff1a;\u523b\u5ea6 &#043; \u989c\u8272\u53cc\u91cd\u8bc6\u522b&#xff0c;\u63d0\u9ad8\u9c81\u68d2\u6027<\/li>\n<li>NFC \u589e\u5f3a&#xff1a;\u8d34\u7eb8\u5185\u5d4c NFC \u82af\u7247&#xff0c;\u5b9e\u73b0\u5feb\u901f\u914d\u5bf9\u548c\u836f\u7269\u4fe1\u606f\u5173\u8054<\/li>\n<h5>\u5f71\u54cd\u8303\u56f4<\/h5>\n<ul>\n<li>VisionService.ets&#xff1a;\u8bc6\u522b\u7b97\u6cd5\u9700\u9488\u5bf9\u8d34\u7eb8\u523b\u5ea6\u8bbe\u8ba1<\/li>\n<li>NfcService.ets&#xff1a;\u9700\u5b9e\u73b0 NFC \u8d34\u7eb8\u8bfb\u53d6<\/li>\n<li>MonitorOverlay.ets&#xff1a;\u9700\u53e0\u52a0\u663e\u793a\u8bc6\u522b\u7ed3\u679c<\/li>\n<li>\u786c\u4ef6\u4f9b\u5e94\u94fe&#xff1a;\u9700\u8bbe\u8ba1\u5e76\u751f\u4ea7\u4e13\u7528\u8d34\u7eb8<\/li>\n<\/ul>\n<h4>9.2 \u591a\u74f6\u76d1\u63a7\u65b9\u6848<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-002 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>\u4e34\u5e8a\u573a\u666f\u4e2d&#xff0c;\u60a3\u8005\u53ef\u80fd\u540c\u65f6\u63a5\u53d7\u591a\u74f6\u8f93\u6db2&#xff08;\u5e8f\u8d2f\u8f93\u6ce8\u6216\u53cc\u901a\u9053\u8f93\u6ce8&#xff09;\u3002\u9700\u8981\u9009\u62e9\u591a\u74f6\u76d1\u63a7\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848<\/h5>\n<p>\u65b9\u6848 A&#xff1a;\u5feb\u901f\u5207\u6362\u76d1\u63a7&#xff08;\u6700\u7ec8\u9009\u62e9&#xff09;<\/p>\n<p>&#096; \u539f\u7406: \u7528\u6237\u5728\u591a\u4e2a\u8f93\u6db2\u74f6\u4e4b\u95f4\u5feb\u901f\u5207\u6362 \u6bcf\u6b21\u53ea\u76d1\u63a7\u4e00\u74f6 \u901a\u8fc7 Tab \u6216\u4e0b\u62c9\u9009\u62e9\u5207\u6362\u76ee\u6807<\/p>\n<p>\u4f18\u52bf: \u2713 \u5b9e\u73b0\u7b80\u5355 \u2713 \u5355\u6444\u50cf\u5934\u5373\u53ef \u2713 UI \u8bbe\u8ba1\u7b80\u6d01 \u2713 \u7b26\u5408\u5e8f\u8d2f\u8f93\u6ce8\u7684\u5e38\u89c1\u573a\u666f<\/p>\n<p>\u52a3\u52bf: \u2717 \u65e0\u6cd5\u540c\u65f6\u76d1\u63a7\u591a\u74f6 \u2717 \u5207\u6362\u95f4\u9694\u5b58\u5728\u76d1\u63a7\u76f2\u533a &#096;<\/p>\n<p>\u65b9\u6848 B&#xff1a;\u540c\u65f6\u591a\u6807\u8bb0\u76d1\u63a7<\/p>\n<p>&#096; \u539f\u7406: \u5728\u540c\u4e00\u753b\u9762\u4e2d\u8bc6\u522b\u591a\u4e2a\u8d34\u7eb8\u6807\u8bb0 \u5206\u522b\u8ba1\u7b97\u6bcf\u4e2a\u6807\u8bb0\u7684\u6db2\u4f4d \u540c\u65f6\u5c55\u793a\u591a\u74f6\u72b6\u6001<\/p>\n<p>\u4f18\u52bf: \u2713 \u771f\u6b63\u7684\u591a\u74f6\u5e76\u884c\u76d1\u63a7 \u2713 \u65e0\u5207\u6362\u76f2\u533a \u2713 \u9002\u5408\u53cc\u901a\u9053\u8f93\u6ce8<\/p>\n<p>\u52a3\u52bf: \u2717 \u89c6\u89c9\u8bc6\u522b\u7b97\u6cd5\u590d\u6742\u5ea6\u500d\u589e \u2717 \u9700\u8981\u66f4\u5e7f\u7684\u6444\u50cf\u5934\u89c6\u91ce \u2717 UI \u5c55\u793a\u590d\u6742 \u2717 \u6027\u80fd\u5f00\u9500\u589e\u5927 \u2717 \u591a\u6807\u8bb0\u5e72\u6270\u95ee\u9898 &#096;<\/p>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 A&#xff08;\u5feb\u901f\u5207\u6362\u76d1\u63a7&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>MVP \u7b80\u5316&#xff1a;\u591a\u74f6\u540c\u65f6\u76d1\u63a7\u662f&#034;\u9526\u4e0a\u6dfb\u82b1&#034;\u800c\u975e&#034;\u96ea\u4e2d\u9001\u70ad&#034;&#xff0c;MVP \u9636\u6bb5\u4f18\u5148\u9a8c\u8bc1\u6838\u5fc3\u6d41\u7a0b<\/li>\n<li>\u4e34\u5e8a\u73b0\u5b9e&#xff1a;\u591a\u6570\u60a3\u8005\u4e00\u6b21\u53ea\u8f93\u4e00\u74f6&#xff08;\u5e8f\u8d2f\u8f93\u6ce8\u65f6\u9010\u74f6\u66f4\u6362&#xff09;&#xff0c;\u5feb\u901f\u5207\u6362\u8db3\u4ee5\u8986\u76d6<\/li>\n<li>\u6027\u80fd\u4fdd\u969c&#xff1a;\u5355\u76ee\u6807\u8bc6\u522b\u7684\u6027\u80fd\u548c\u7cbe\u5ea6\u8fdc\u4f18\u4e8e\u591a\u76ee\u6807<\/li>\n<li>\u6f14\u8fdb\u8def\u5f84\u6e05\u6670&#xff1a;\u672a\u6765\u53ef\u5728 VisionService \u4e2d\u589e\u52a0\u591a\u76ee\u6807\u68c0\u6d4b\u80fd\u529b&#xff0c;UI \u5c42\u589e\u52a0\u591a\u74f6\u9762\u677f<\/li>\n<h4>9.3 \u5bb6\u5c5e\u7aef\u65b9\u6848<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-003 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>\u5bb6\u5c5e\u9700\u8981\u8fdc\u7a0b\u67e5\u770b\u4eb2\u4eba\u7684\u8f93\u6db2\u72b6\u6001\u3002\u9700\u8981\u9009\u62e9\u5bb6\u5c5e\u529f\u80fd\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848<\/h5>\n<p>\u65b9\u6848 A&#xff1a;\u540c App \u89d2\u8272\u5207\u6362&#xff08;\u6700\u7ec8\u9009\u62e9&#xff09;<\/p>\n<p>&#096; \u539f\u7406: \u5728\u540c\u4e00\u4e2a App \u4e2d\u652f\u6301\u4e09\u79cd\u89d2\u8272 Index.ets \u5165\u53e3\u5904\u9009\u62e9\u89d2\u8272 \u4e0d\u540c\u89d2\u8272\u8fdb\u5165\u4e0d\u540c\u7684 HomePage \u5171\u4eab\u5e95\u5c42 Service \u548c Model<\/p>\n<p>\u4f18\u52bf: \u2713 \u5355\u4e00 App&#xff0c;\u5f00\u53d1\u548c\u7ef4\u62a4\u6210\u672c\u4f4e \u2713 \u89d2\u8272\u5207\u6362\u65b9\u4fbf (\u4e00\u4e2a\u624b\u673a\u53ef\u5207\u6362\u591a\u4e2a\u89d2\u8272) \u2713 \u5171\u4eab\u4ee3\u7801\u91cf\u5927 (Service\/Component\/Model \u5168\u90e8\u590d\u7528) \u2713 \u5e94\u7528\u5546\u5e97\u53ea\u9700\u53d1\u5e03\u4e00\u4e2a\u5305<\/p>\n<p>\u52a3\u52bf: \u2717 \u89d2\u8272\u5207\u6362\u9700\u91cd\u65b0\u767b\u5f55 \u2717 App \u4f53\u79ef\u7a0d\u5927 (\u5305\u542b\u6240\u6709\u89d2\u8272\u9875\u9762) \u2717 \u4e0d\u652f\u6301\u540c\u65f6\u5728\u624b\u673a\u7aef\u770b\u60a3\u8005\u548c\u5bb6\u5c5e\u754c\u9762 &#096;<\/p>\n<p>\u65b9\u6848 B&#xff1a;\u72ec\u7acb App<\/p>\n<p>&#096; \u539f\u7406: \u4e3a\u4e09\u79cd\u89d2\u8272\u5206\u522b\u5f00\u53d1\u72ec\u7acb App IVGuard-Patient \/ IVGuard-Nurse \/ IVGuard-Family \u5404\u81ea\u72ec\u7acb\u5b89\u88c5\u548c\u8fd0\u884c<\/p>\n<p>\u4f18\u52bf: \u2713 \u5404 App \u529f\u80fd\u805a\u7126&#xff0c;UI \u7cbe\u7b80 \u2713 \u53ef\u4ee5\u540c\u65f6\u5b89\u88c5\u8fd0\u884c (\u624b\u673a\u7aef&#043;\u624b\u8868\u7aef\u5206\u522b\u8fd0\u884c) \u2713 \u5b89\u5168\u9694\u79bb\u66f4\u5f7b\u5e95<\/p>\n<p>\u52a3\u52bf: \u2717 \u5f00\u53d1\u548c\u7ef4\u62a4\u6210\u672c \u00d73 \u2717 \u4ee3\u7801\u91cd\u590d\u91cf\u5927 \u2717 \u4e09\u4e2a App \u7684\u53d1\u5e03\u548c\u66f4\u65b0\u7ba1\u7406 \u2717 \u5bb6\u5c5e App \u7684\u63a8\u5e7f\u548c\u5b89\u88c5\u95e8\u69db &#096;<\/p>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 A&#xff08;\u540c App \u89d2\u8272\u5207\u6362&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>MVP \u6210\u672c\u63a7\u5236&#xff1a;\u4e00\u4e2a App \u7684\u5f00\u53d1\u6210\u672c\u8fdc\u4f4e\u4e8e\u4e09\u4e2a App<\/li>\n<li>\u4ee3\u7801\u590d\u7528&#xff1a;11 \u4e2a Service\u30018 \u4e2a Component\u30016 \u4e2a Model \u5168\u90e8\u590d\u7528&#xff0c;\u4ec5 Page \u5c42\u6309\u89d2\u8272\u5206\u5316<\/li>\n<li>\u7528\u6237\u4f53\u9a8c&#xff1a;\u5bb6\u5c5e\u65e0\u9700\u5355\u72ec\u4e0b\u8f7d App&#xff0c;\u964d\u4f4e\u4e86\u4f7f\u7528\u95e8\u69db<\/li>\n<li>\u89d2\u8272\u7075\u6d3b\u5207\u6362&#xff1a;\u966a\u62a4\u5bb6\u5c5e\u53ef\u4ee5\u5728\u540c\u4e00\u53f0\u624b\u673a\u4e0a\u5207\u6362&#034;\u60a3\u8005&#034;\u548c&#034;\u5bb6\u5c5e&#034;\u89d2\u8272<\/li>\n<h4>9.4 \u6570\u636e\u5b58\u50a8\u65b9\u6848<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-004 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>IVGuard \u9700\u8981\u672c\u5730\u6301\u4e45\u5316\u5b58\u50a8\u7528\u6237\u6570\u636e&#xff08;\u836f\u7269\u5217\u8868\u3001\u76d1\u63a7\u8bb0\u5f55\u3001\u8d39\u7528\u6570\u636e\u7b49&#xff09;\u3002HarmonyOS \u63d0\u4f9b\u4e86 Preferences&#xff08;KV \u5b58\u50a8&#xff09;\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93&#xff08;RDB&#xff09;\u4e24\u79cd\u65b9\u6848\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848\u5bf9\u6bd4<\/h5>\n<p>&#096; \u65b9\u6848 A: Preferences (\u8f7b\u91cf\u7ea7 KV \u5b58\u50a8) \u2014 \u6700\u7ec8\u9009\u62e9<\/p>\n<p>\u9002\u7528\u573a\u666f: \u6570\u636e\u91cf\u5c0f\u3001\u7ed3\u6784\u7b80\u5355\u3001\u67e5\u8be2\u9700\u6c42\u4f4e \u6570\u636e\u6a21\u578b: Key-Value (JSON \u5e8f\u5217\u5316) \u6027\u80fd\u7279\u5f81: \u8bfb\u53d6 O(1)&#xff0c;\u5199\u5165\u9700 flush() \u5b58\u50a8\u4e0a\u9650: \u5efa\u8bae &lt; 10KB<\/p>\n<p>\u4f18\u52bf: \u2713 \u521d\u59cb\u5316\u96f6\u5f00\u9500 \u2713 API \u6781\u7b80 (get\/put\/flush) \u2713 \u5b66\u4e60\u6210\u672c\u4f4e \u2713 \u9002\u5408 MVP \u5feb\u901f\u9a8c\u8bc1 \u2713 \u6027\u80fd\u7a33\u5b9a\u53ef\u9884\u6d4b<\/p>\n<p>\u52a3\u52bf: \u2717 \u65e0\u6cd5\u6309\u6761\u4ef6\u67e5\u8be2 (\u53ea\u80fd\u6309 Key \u8bfb\u53d6) \u2717 \u65e0\u4e8b\u52a1\u652f\u6301 \u2717 \u6570\u636e\u91cf\u589e\u5927\u540e\u6027\u80fd\u4e0b\u964d \u2717 \u6570\u636e\u5173\u7cfb\u9700\u5728\u5e94\u7528\u5c42\u7ef4\u62a4<\/p>\n<p>\u65b9\u6848 B: \u5173\u7cfb\u578b\u6570\u636e\u5e93 (RDB)<\/p>\n<p>\u9002\u7528\u573a\u666f: \u6570\u636e\u91cf\u5927\u3001\u5173\u7cfb\u590d\u6742\u3001\u9700\u590d\u6742\u67e5\u8be2 \u6570\u636e\u6a21\u578b: \u5173\u7cfb\u8868 &#043; SQL \u6027\u80fd\u7279\u5f81: SQL \u89e3\u6790 &#043; \u7d22\u5f15\u67e5\u8be2 \u5b58\u50a8\u4e0a\u9650: \u65e0\u786c\u6027\u4e0a\u9650<\/p>\n<p>\u4f18\u52bf: \u2713 \u5b8c\u6574 SQL \u67e5\u8be2\u80fd\u529b \u2713 ACID \u4e8b\u52a1\u652f\u6301 \u2713 \u8054\u8868\u67e5\u8be2 \u2713 \u9002\u5408\u6570\u636e\u91cf\u589e\u957f \u2713 \u6570\u636e\u5173\u7cfb\u5728\u6570\u636e\u5e93\u5c42\u7ef4\u62a4<\/p>\n<p>\u52a3\u52bf: \u2717 \u521d\u59cb\u5316\u5f00\u9500\u8f83\u5927 (\u5efa\u8868\u3001\u7d22\u5f15) \u2717 SQL \u4ee3\u7801\u91cf\u591a \u2717 \u5b66\u4e60\u6210\u672c\u4e2d \u2717 MVP \u9636\u6bb5\u8fc7\u5ea6\u8bbe\u8ba1 &#096;<\/p>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 A&#xff08;Preferences&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>MVP \u6570\u636e\u91cf\u5c0f&#xff1a;\u5355\u7528\u6237\u573a\u666f\u4e0b&#xff0c;\u836f\u7269\u5217\u8868\u7ea6 3-5 \u6761\u3001\u76d1\u63a7\u8bb0\u5f55\u7ea6 10-20 \u6761\u3001\u8d39\u7528\u9879\u76ee\u7ea6 5-10 \u6761&#xff0c;\u603b\u6570\u636e\u91cf &lt; 5KB<\/li>\n<li>\u5f00\u53d1\u6548\u7387&#xff1a;DataStore \u5c01\u88c5\u540e\u53ea\u9700 save() \/ load() \u4e24\u4e2a\u65b9\u6cd5&#xff0c;\u6bd4 RDB \u5c11 60% \u4ee3\u7801\u91cf<\/li>\n<li>\u8bfb\u53d6\u6027\u80fd&#xff1a;3 \u79d2\u95f4\u9694\u7684\u9ad8\u9891\u8bfb\u53d6&#xff0c;KV \u76f4\u8bfb\u6bd4 SQL \u89e3\u6790\u5feb\u4e00\u4e2a\u6570\u91cf\u7ea7<\/li>\n<li>\u6e10\u8fdb\u6f14\u8fdb&#xff1a;DataStore \u7684\u62bd\u8c61\u5c42\u4fdd\u8bc1\u672a\u6765\u53ef\u5e73\u6ed1\u8fc1\u79fb\u81f3 RDB<\/li>\n<h4>9.5 \u836f\u7269\u6570\u636e\u5e93\u65b9\u6848<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-005 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>IVGuard \u9700\u8981\u5185\u7f6e\u9759\u8109\u836f\u7269\u6570\u636e\u5e93&#xff08;50 \u79cd\u836f\u7269&#xff09;\u548c\u836f\u7269\u76f8\u4e92\u4f5c\u7528\u6570\u636e\u5e93&#xff08;12 \u7ec4&#xff09;\u3002\u9700\u8981\u9009\u62e9\u6570\u636e\u7684\u5b58\u50a8\u548c\u52a0\u8f7d\u65b9\u5f0f\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848<\/h5>\n<p>\u65b9\u6848 A&#xff1a;ArkTS \u9759\u6001\u6570\u7ec4&#xff08;\u6700\u7ec8\u9009\u62e9&#xff09;<\/p>\n<p> ypescript export class DrugDatabase { static readonly INTERACTIONS: DrugInteraction[] &#061; [ { drugA: &#039;\u5934\u5b62\u66f2\u677e&#039;, drugB: &#039;\u542b\u9499\u8f93\u6db2&#039;, severity: &#039;high&#039;, description: &#039;\u5934\u5b62\u66f2\u677e\u4e0e\u542b\u9499\u8f93\u6db2\u914d\u4f0d\u53ef\u5f62\u6210\u81f4\u547d\u6027\u6c89\u6dc0&#039; }, \/\/ &#8230; ] } <\/p>\n<p>\u65b9\u6848 B&#xff1a;rawfile JSON \u6587\u4ef6<\/p>\n<p>resources\/rawfile\/drug_interactions.json: [ { &#034;drugA&#034;: &#034;\u5934\u5b62\u66f2\u677e&#034;, &#034;drugB&#034;: &#034;\u542b\u9499\u8f93\u6db2&#034;, &#8230; }, &#8230; ]<\/p>\n<h5>\u5bf9\u6bd4\u5206\u6790<\/h5>\n<table>\n<tr>\u7ef4\u5ea6\u9759\u6001\u6570\u7ec4rawfile JSON<\/tr>\n<tbody>\n<tr>\n<td>\u7c7b\u578b\u5b89\u5168<\/td>\n<td>\u7f16\u8bd1\u671f\u7c7b\u578b\u68c0\u67e5<\/td>\n<td>\u8fd0\u884c\u65f6 JSON \u89e3\u6790&#xff0c;\u9700\u624b\u52a8\u7c7b\u578b\u8f6c\u6362<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u8f7d\u65b9\u5f0f<\/td>\n<td>\u7c7b\u52a0\u8f7d\u65f6\u81ea\u52a8\u53ef\u7528<\/td>\n<td>\u9700\u5f02\u6b65\u8bfb\u53d6 rawfile<\/td>\n<\/tr>\n<tr>\n<td>\u4ee3\u7801\u63d0\u793a<\/td>\n<td>IDE \u5b8c\u6574\u63d0\u793a<\/td>\n<td>\u65e0&#xff08;JSON \u662f\u7eaf\u6587\u672c&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u4fee\u6539\u65b9\u5f0f<\/td>\n<td>\u4fee\u6539 .ets \u6587\u4ef6<\/td>\n<td>\u4fee\u6539 .json \u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd<\/td>\n<td>\u96f6\u52a0\u8f7d\u5f00\u9500<\/td>\n<td>\u9996\u6b21\u8bfb\u53d6\u6709 IO \u5f00\u9500<\/td>\n<\/tr>\n<tr>\n<td>ArkTS \u53cb\u597d\u5ea6<\/td>\n<td>\u539f\u751f\u652f\u6301<\/td>\n<td>\u9700 JSON.parse &#043; \u7c7b\u578b\u65ad\u8a00<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 A&#xff08;ArkTS \u9759\u6001\u6570\u7ec4&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>\u7c7b\u578b\u5b89\u5168&#xff1a;ArkTS \u7684\u4e25\u683c\u7c7b\u578b\u68c0\u67e5\u5728\u9759\u6001\u6570\u7ec4\u4e2d\u5929\u7136\u751f\u6548&#xff0c;JSON \u65b9\u5f0f\u9700\u8981 JSON.parse() \u540e\u624b\u52a8\u7c7b\u578b\u8f6c\u6362&#xff0c;\u5bb9\u6613\u51fa\u9519<\/li>\n<li>\u96f6\u52a0\u8f7d\u5f00\u9500&#xff1a;\u9759\u6001\u6570\u7ec4\u5728\u7c7b\u52a0\u8f7d\u65f6\u5373\u53ef\u7528&#xff0c;\u65e0\u9700\u5f02\u6b65 IO<\/li>\n<li>IDE \u652f\u6301&#xff1a;TypeScript\/ArkTS \u7684\u9759\u6001\u6570\u7ec4\u4eab\u6709\u5b8c\u6574\u7684\u4ee3\u7801\u8865\u5168\u3001\u91cd\u6784\u3001\u8df3\u8f6c\u652f\u6301<\/li>\n<li>\u6570\u636e\u91cf\u53ef\u63a7&#xff1a;50 \u79cd\u836f\u7269 &#043; 12 \u7ec4\u4ea4\u4e92\u6570\u636e\u91cf\u7ea6 300 \u884c&#xff0c;\u9759\u6001\u6570\u7ec4\u7684\u53ef\u7ef4\u62a4\u6027\u53ef\u63a5\u53d7<\/li>\n<h4>9.6 \u72b6\u6001\u7ba1\u7406\u65b9\u6848<\/h4>\n<p>\u51b3\u7b56\u7f16\u53f7: ADR-006 \u51b3\u7b56\u72b6\u6001: \u5df2\u91c7\u7eb3 \u51b3\u7b56\u65e5\u671f: \u9879\u76ee\u542f\u52a8\u671f<\/p>\n<h5>\u51b3\u7b56\u80cc\u666f<\/h5>\n<p>HarmonyOS ArkUI \u63d0\u4f9b\u4e86\u4e24\u5957\u72b6\u6001\u7ba1\u7406\u65b9\u6848&#xff1a;V1&#xff08;&#064;Component \/ &#064;State&#xff09;\u548c V2&#xff08;&#064;ComponentV2 \/ &#064;Local&#xff09;\u3002\u9700\u8981\u9009\u62e9\u4e00\u5957\u4f5c\u4e3a\u9879\u76ee\u6807\u51c6\u3002<\/p>\n<h5>\u5019\u9009\u65b9\u6848<\/h5>\n<p>\u65b9\u6848 A&#xff1a;V1 \u72b6\u6001\u7ba1\u7406&#xff08;\u6700\u7ec8\u9009\u62e9&#xff09;<\/p>\n<p>&#096; ypescript &#064;Component struct MonitorPage { &#064;State currentLevel: number &#061; 85 &#064;State isMonitoring: boolean &#061; false &#064;Prop alertThreshold: number<\/p>\n<p>build() { Column() { LevelProgress({ level: this.currentLevel }) } } } &#096;<\/p>\n<p>\u65b9\u6848 B&#xff1a;V2 \u72b6\u6001\u7ba1\u7406<\/p>\n<p>&#096; ypescript &#064;ComponentV2 struct MonitorPage { &#064;Local currentLevel: number &#061; 85 &#064;Local isMonitoring: boolean &#061; false &#064;Param alertThreshold: number<\/p>\n<p>build() { Column() { LevelProgress({ level: this.currentLevel }) } } } &#096;<\/p>\n<h5>\u5bf9\u6bd4\u5206\u6790<\/h5>\n<table>\n<tr>\u7ef4\u5ea6V1 (&#064;Component\/&#064;State)V2 (&#064;ComponentV2\/&#064;Local)<\/tr>\n<tbody>\n<tr>\n<td>\u7a33\u5b9a\u6027<\/td>\n<td>\u6210\u719f\u7a33\u5b9a&#xff0c;API 5.0 \u5b98\u65b9\u63a8\u8350<\/td>\n<td>\u8f83\u65b0&#xff0c;\u90e8\u5206 API \u4ecd\u5728\u8fed\u4ee3<\/td>\n<\/tr>\n<tr>\n<td>\u793e\u533a\u8d44\u6e90<\/td>\n<td>\u4e30\u5bcc&#xff0c;\u5927\u91cf\u793a\u4f8b\u548c\u6587\u6863<\/td>\n<td>\u8f83\u5c11&#xff0c;\u4ecd\u5728\u5efa\u8bbe\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>\u88c5\u9970\u5668<\/td>\n<td>&#064;State, &#064;Prop, &#064;Link, &#064;Provide, &#064;Consume<\/td>\n<td>&#064;Local, &#064;Param, &#064;Provider, &#064;Consumer<\/td>\n<\/tr>\n<tr>\n<td>\u6027\u80fd<\/td>\n<td>\u4f18<\/td>\n<td>\u66f4\u4f18&#xff08;\u7cbe\u7ec6\u5316\u66f4\u65b0&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u517c\u5bb9\u6027<\/td>\n<td>API Level 12&#043; \u5b8c\u6574\u652f\u6301<\/td>\n<td>API Level 24&#043; \u5b8c\u6574\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u8fc1\u79fb\u98ce\u9669<\/td>\n<td>\u4f4e<\/td>\n<td>\u4e2d&#xff08;API \u53ef\u80fd\u53d8\u66f4&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u51b3\u7b56\u7ed3\u8bba<\/h5>\n<p>\u9009\u62e9 \u65b9\u6848 A&#xff08;V1 \u72b6\u6001\u7ba1\u7406&#xff09;&#xff0c;\u7406\u7531&#xff1a;<\/p>\n<li>\u6210\u719f\u7a33\u5b9a&#xff1a;V1 \u662f HarmonyOS 5.0 \u7684\u5b98\u65b9\u63a8\u8350\u65b9\u6848&#xff0c;API \u7a33\u5b9a&#xff0c;\u4e0d\u4f1a\u6709\u7834\u574f\u6027\u53d8\u66f4<\/li>\n<li>\u6587\u6863\u548c\u793e\u533a&#xff1a;V1 \u7684\u6587\u6863\u3001\u793a\u4f8b\u3001\u793e\u533a\u8ba8\u8bba\u8fdc\u6bd4 V2 \u4e30\u5bcc&#xff0c;\u964d\u4f4e\u5b66\u4e60\u6210\u672c\u548c\u6392\u969c\u65f6\u95f4<\/li>\n<li>\u9879\u76ee\u89c4\u6a21\u9002\u914d&#xff1a;IVGuard \u7684 17 \u4e2a\u9875\u9762 &#043; 8 \u4e2a\u7ec4\u4ef6\u7684\u89c4\u6a21&#xff0c;V1 \u7684\u72b6\u6001\u7ba1\u7406\u80fd\u529b\u5b8c\u5168\u8db3\u591f<\/li>\n<li>\u8fc1\u79fb\u8def\u5f84&#xff1a;V1 \u5230 V2 \u7684\u8fc1\u79fb\u662f\u6e10\u8fdb\u5f0f\u7684&#xff0c;\u672a\u6765\u53ef\u5728\u7a33\u5b9a\u540e\u9010\u6b65\u5207\u6362<\/li>\n<h4>9.7 \u51b3\u7b56\u8bb0\u5f55\u6c47\u603b\u8868<\/h4>\n<table>\n<tr>ADR \u7f16\u53f7\u51b3\u7b56\u6807\u9898\u9009\u62e9\u65b9\u6848\u6838\u5fc3\u7406\u7531\u53ef\u6f14\u8fdb\u65b9\u5411<\/tr>\n<tbody>\n<tr>\n<td>ADR-001<\/td>\n<td>\u89c6\u89c9\u8bc6\u522b\u65b9\u6848<\/td>\n<td>\u8d34\u7eb8\u523b\u5ea6\u8bfb\u53d6<\/td>\n<td>\u7cbe\u5ea6\u4e0e\u6210\u672c\u5e73\u8861&#xff0c;MVP \u53cb\u597d<\/td>\n<td>OpenCV NAPI \u771f\u5b9e\u8bc6\u522b<\/td>\n<\/tr>\n<tr>\n<td>ADR-002<\/td>\n<td>\u591a\u74f6\u76d1\u63a7\u65b9\u6848<\/td>\n<td>\u5feb\u901f\u5207\u6362<\/td>\n<td>MVP \u7b80\u5316&#xff0c;\u8986\u76d6\u4e3b\u8981\u573a\u666f<\/td>\n<td>VisionService \u591a\u76ee\u6807\u68c0\u6d4b<\/td>\n<\/tr>\n<tr>\n<td>ADR-003<\/td>\n<td>\u5bb6\u5c5e\u7aef\u65b9\u6848<\/td>\n<td>\u540c App \u89d2\u8272\u5207\u6362<\/td>\n<td>\u5f00\u53d1\u6210\u672c\u4f4e&#xff0c;\u4ee3\u7801\u590d\u7528<\/td>\n<td>\u53ef\u62c6\u5206\u4e3a\u72ec\u7acb App<\/td>\n<\/tr>\n<tr>\n<td>ADR-004<\/td>\n<td>\u6570\u636e\u5b58\u50a8\u65b9\u6848<\/td>\n<td>Preferences<\/td>\n<td>MVP \u8f7b\u91cf&#xff0c;\u5f00\u53d1\u6548\u7387\u9ad8<\/td>\n<td>\u8fc1\u79fb\u81f3 RDB<\/td>\n<\/tr>\n<tr>\n<td>ADR-005<\/td>\n<td>\u836f\u7269\u6570\u636e\u5e93\u65b9\u6848<\/td>\n<td>ArkTS \u9759\u6001\u6570\u7ec4<\/td>\n<td>\u7c7b\u578b\u5b89\u5168&#xff0c;\u96f6\u52a0\u8f7d\u5f00\u9500<\/td>\n<td>rawfile JSON &#043; \u6570\u636e\u66f4\u65b0<\/td>\n<\/tr>\n<tr>\n<td>ADR-006<\/td>\n<td>\u72b6\u6001\u7ba1\u7406\u65b9\u6848<\/td>\n<td>V1 (&#064;Component\/&#064;State)<\/td>\n<td>\u6210\u719f\u7a33\u5b9a&#xff0c;\u6587\u6863\u4e30\u5bcc<\/td>\n<td>\u6e10\u8fdb\u8fc1\u79fb\u81f3 V2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u51b3\u7b56\u539f\u5219\u603b\u7ed3<\/h5>\n<p>\u56de\u987e\u4ee5\u4e0a 6 \u4e2a\u6838\u5fc3\u6280\u672f\u51b3\u7b56&#xff0c;\u53ef\u4ee5\u53d1\u73b0\u4e00\u4e2a\u7edf\u4e00\u7684\u51b3\u7b56\u539f\u5219&#xff1a;MVP \u4f18\u5148\u3001\u6e10\u8fdb\u6f14\u8fdb\u3002<\/p>\n<p>\u6bcf\u4e2a\u51b3\u7b56\u90fd\u5728&#034;\u5f53\u524d\u6700\u4f18&#034;\u548c&#034;\u672a\u6765\u53ef\u6269\u5c55&#034;\u4e4b\u95f4\u53d6\u5f97\u4e86\u5e73\u8861&#xff1a;<\/p>\n<li>\u4e0d\u8ffd\u6c42\u4e00\u6b65\u5230\u4f4d&#xff1a;\u9009\u62e9\u5f53\u524d\u9636\u6bb5\u6700\u7b80\u65b9\u6848&#xff08;\u8d34\u7eb8\u800c\u975e\u4f20\u611f\u5668\u3001\u5355\u74f6\u800c\u975e\u591a\u74f6\u3001Preferences \u800c\u975e RDB&#xff09;<\/li>\n<li>\u9884\u7559\u6f14\u8fdb\u63a5\u53e3&#xff1a;\u6bcf\u4e2a\u51b3\u7b56\u90fd\u6807\u6ce8\u4e86\u672a\u6765\u7684\u53ef\u6f14\u8fdb\u65b9\u5411<\/li>\n<li>\u62bd\u8c61\u5c42\u4fdd\u62a4&#xff1a;\u901a\u8fc7 DataStore\u3001VisionService \u7b49\u62bd\u8c61\u5c42&#xff0c;\u5e95\u5c42\u5b9e\u73b0\u7684\u53d8\u66f4\u5bf9\u4e0a\u5c42\u900f\u660e<\/li>\n<li>\u6210\u672c\u654f\u611f&#xff1a;\u5728 MVP \u9636\u6bb5&#xff0c;\u5f00\u53d1\u6210\u672c\u548c\u7ef4\u62a4\u6210\u672c\u662f\u9996\u8981\u8003\u8651\u56e0\u7d20<\/li>\n<p>\u8fd9\u79cd&#034;\u5c0f\u6b65\u5feb\u8dd1&#034;\u7684\u6280\u672f\u7b56\u7565&#xff0c;\u786e\u4fdd IVGuard \u80fd\u591f\u5feb\u901f\u9a8c\u8bc1\u4ea7\u54c1\u5047\u8bbe&#xff0c;\u540c\u65f6\u4e0d\u56e0\u8fc7\u65e9\u4f18\u5316\u800c\u6d6a\u8d39\u8d44\u6e90&#xff0c;\u4e5f\u4e0d\u56e0\u67b6\u6784\u7f3a\u9677\u800c\u963b\u788d\u672a\u6765\u6f14\u8fdb\u3002<\/p>\n<hr \/>\n<h3>\u9644\u5f55<\/h3>\n<h4>\u9644\u5f55 A&#xff1a;\u672f\u8bed\u8868<\/h4>\n<table>\n<tr>\u672f\u8bed\u82f1\u6587\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>\u9759\u8109\u8f93\u6db2<\/td>\n<td>Intravenous (IV) Therapy<\/td>\n<td>\u901a\u8fc7\u9759\u8109\u9014\u5f84\u5c06\u6db2\u4f53\u3001\u836f\u7269\u8f93\u5165\u4f53\u5185\u7684\u6cbb\u7597\u65b9\u6cd5<\/td>\n<\/tr>\n<tr>\n<td>\u6db2\u4f4d<\/td>\n<td>Level<\/td>\n<td>\u8f93\u6db2\u888b\u4e2d\u6db2\u4f53\u7684\u5269\u4f59\u91cf&#xff0c;\u4ee5\u767e\u5206\u6bd4\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>\u8d34\u7eb8<\/td>\n<td>Smart Sticker<\/td>\n<td>IVGuard \u4e13\u7528\u7684\u8f93\u6db2\u888b\u6807\u8bc6\u8d34\u7eb8&#xff0c;\u542b\u523b\u5ea6\u548c NFC \u82af\u7247<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u8b66<\/td>\n<td>Alert<\/td>\n<td>\u6db2\u4f4d\u4f4e\u4e8e\u9608\u503c\u65f6\u89e6\u53d1\u7684\u5206\u7ea7\u8b66\u544a<\/td>\n<\/tr>\n<tr>\n<td>POI<\/td>\n<td>Point of Interest<\/td>\n<td>\u5174\u8da3\u70b9&#xff0c;\u533b\u9662\u5185\u7684\u79d1\u5ba4\u3001\u8bbe\u65bd\u7b49\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>\u76f8\u4e92\u4f5c\u7528<\/td>\n<td>Drug Interaction<\/td>\n<td>\u4e24\u79cd\u6216\u591a\u79cd\u836f\u7269\u540c\u65f6\u4f7f\u7528\u65f6\u4ea7\u751f\u7684\u4e0d\u826f\u5f71\u54cd<\/td>\n<\/tr>\n<tr>\n<td>\u533b\u4fdd<\/td>\n<td>Medical Insurance<\/td>\n<td>\u57fa\u672c\u533b\u7597\u4fdd\u9669&#xff0c;\u7528\u4e8e\u62a5\u9500\u90e8\u5206\u533b\u7597\u8d39\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u8d77\u4ed8\u7ebf<\/td>\n<td>Deductible<\/td>\n<td>\u533b\u4fdd\u5f00\u59cb\u62a5\u9500\u524d\u9700\u4e2a\u4eba\u5148\u884c\u652f\u4ed8\u7684\u8d39\u7528\u989d\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>\u5c01\u9876\u7ebf<\/td>\n<td>Annual Cap<\/td>\n<td>\u533b\u4fdd\u5e74\u5ea6\u62a5\u9500\u7684\u6700\u9ad8\u9650\u989d<\/td>\n<\/tr>\n<tr>\n<td>NFC<\/td>\n<td>Near Field Communication<\/td>\n<td>\u8fd1\u573a\u901a\u4fe1\u6280\u672f&#xff0c;\u7528\u4e8e\u8d34\u7eb8\u5feb\u901f\u914d\u5bf9<\/td>\n<\/tr>\n<tr>\n<td>SOA<\/td>\n<td>Service-Oriented Architecture<\/td>\n<td>\u670d\u52a1\u5bfc\u5411\u67b6\u6784<\/td>\n<\/tr>\n<tr>\n<td>MVP<\/td>\n<td>Minimum Viable Product<\/td>\n<td>\u6700\u5c0f\u53ef\u884c\u4ea7\u54c1<\/td>\n<\/tr>\n<tr>\n<td>ADR<\/td>\n<td>Architecture Decision Record<\/td>\n<td>\u67b6\u6784\u51b3\u7b56\u8bb0\u5f55<\/td>\n<\/tr>\n<tr>\n<td>KV<\/td>\n<td>Key-Value<\/td>\n<td>\u952e\u503c\u5bf9\u6570\u636e\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>RDB<\/td>\n<td>Relational Database<\/td>\n<td>\u5173\u7cfb\u578b\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td>AOT<\/td>\n<td>Ahead-Of-Time<\/td>\n<td>\u63d0\u524d\u7f16\u8bd1<\/td>\n<\/tr>\n<tr>\n<td>NAPI<\/td>\n<td>Native API<\/td>\n<td>\u539f\u751f\u63a5\u53e3&#xff0c;\u7528\u4e8e\u8c03\u7528 C\/C&#043;&#043; \u5e93<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf&#xff08;1&#xff09;-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1<br \/>\n\u76ee\u5f55<br \/>\n1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f2. \u529f\u80fd\u5168\u666f\u56fe3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba14. \u6280\u672f\u6808\u9009\u578b5. \u6570\u636e\u6d41\u67b6\u67846. \u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8be6\u89e37. \u7cfb\u7edf\u7528\u4f8b\u56fe\u4e0e\u573a\u666f\u5206\u67908. \u975e\u529f\u80fd\u6027\u9700\u6c429. \u6838\u5fc3\u6280\u672f\u51b3\u7b56\u8bb0\u5f55 1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f<br \/>\n1.1 \u9759\u8109\u8f93\u6db2\u76d1\u63a7\u7684\u4e34\u5e8a\u9700\u6c42\u5206\u6790<br \/>\n\u9759\u8109\u8f93\u6db2&#xff08;Intravenous Therapy&#xff0c;\u7b80\u79f0 IV&#xff09;\u662f\u5168\u7403\u8303\u56f4\u5185\u6700\u666e\u904d\u7684\u4e34\u5e8a\u6cbb\u7597\u624b\u6bb5\u4e4b\u4e00<\/p>\n","protected":false},"author":2,"featured_media":89802,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[280,67],"topic":[],"class_list":["post-89803","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-harmonyos","tag-67"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \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\/89803.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf&#xff08;1&#xff09;-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 \u76ee\u5f55 1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f2. \u529f\u80fd\u5168\u666f\u56fe3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba14. \u6280\u672f\u6808\u9009\u578b5. \u6570\u636e\u6d41\u67b6\u67846. \u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8be6\u89e37. \u7cfb\u7edf\u7528\u4f8b\u56fe\u4e0e\u573a\u666f\u5206\u67908. \u975e\u529f\u80fd\u6027\u9700\u6c429. \u6838\u5fc3\u6280\u672f\u51b3\u7b56\u8bb0\u5f55 1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f 1.1 \u9759\u8109\u8f93\u6db2\u76d1\u63a7\u7684\u4e34\u5e8a\u9700\u6c42\u5206\u6790 \u9759\u8109\u8f93\u6db2&#xff08;Intravenous Therapy&#xff0c;\u7b80\u79f0 IV&#xff09;\u662f\u5168\u7403\u8303\u56f4\u5185\u6700\u666e\u904d\u7684\u4e34\u5e8a\u6cbb\u7597\u624b\u6bb5\u4e4b\u4e00\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/89803.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-03T12:16:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260803121636-6a7086a42a38a.jpg\" \/>\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=\"25 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89803.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/89803.html\",\"name\":\"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-03T12:16:37+00:00\",\"dateModified\":\"2026-08-03T12:16:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/89803.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/89803.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/89803.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1\"}]},{\"@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\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \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\/89803.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf&#xff08;1&#xff09;-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 \u76ee\u5f55 1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f2. \u529f\u80fd\u5168\u666f\u56fe3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba14. \u6280\u672f\u6808\u9009\u578b5. \u6570\u636e\u6d41\u67b6\u67846. \u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8be6\u89e37. \u7cfb\u7edf\u7528\u4f8b\u56fe\u4e0e\u573a\u666f\u5206\u67908. \u975e\u529f\u80fd\u6027\u9700\u6c429. \u6838\u5fc3\u6280\u672f\u51b3\u7b56\u8bb0\u5f55 1. \u9879\u76ee\u80cc\u666f\u4e0e\u613f\u666f 1.1 \u9759\u8109\u8f93\u6db2\u76d1\u63a7\u7684\u4e34\u5e8a\u9700\u6c42\u5206\u6790 \u9759\u8109\u8f93\u6db2&#xff08;Intravenous Therapy&#xff0c;\u7b80\u79f0 IV&#xff09;\u662f\u5168\u7403\u8303\u56f4\u5185\u6700\u666e\u904d\u7684\u4e34\u5e8a\u6cbb\u7597\u624b\u6bb5\u4e4b\u4e00","og_url":"https:\/\/www.wsisp.com\/helps\/89803.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-03T12:16:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260803121636-6a7086a42a38a.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"25 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/89803.html","url":"https:\/\/www.wsisp.com\/helps\/89803.html","name":"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-03T12:16:37+00:00","dateModified":"2026-08-03T12:16:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/89803.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/89803.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/89803.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e\u9e3f\u8499OS\u5f00\u53d1\u9759\u8109\u8f93\u6db2\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\uff081\uff09-\u9879\u76ee\u603b\u89c8\u4e0e\u67b6\u6784\u8bbe\u8ba1"}]},{"@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\/89803","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=89803"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/89803\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/89802"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=89803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=89803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=89803"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=89803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}