{"id":24885,"date":"2026-06-06T19:52:28","date_gmt":"2026-06-06T11:52:28","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=24885"},"modified":"2026-06-07T01:24:17","modified_gmt":"2026-06-06T17:24:17","slug":"pc-dmis-%e4%bd%bf%e7%94%a8-basic-%e5%bc%80%e5%8f%91%e8%af%bb%e5%8f%96%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=24885","title":{"rendered":"PC-DMIS \u4f7f\u7528 BASIC \u5f00\u53d1\u8bfb\u5199\u6570\u636e"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=24885\/#%E5%89%8D%E8%A8%80\" >\u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=24885\/#%E6%B5%8B%E8%AF%95%E8%BD%AF%E4%BB%B6%E7%89%88%E6%9C%AC\" >\u6d4b\u8bd5\u8f6f\u4ef6\u7248\u672c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.iyatt.com\/?p=24885\/#%E5%AE%9E%E8%B7%B5%E8%AE%B0%E5%BD%95\" >\u5b9e\u8df5\u8bb0\u5f55<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.iyatt.com\/?p=24885\/#%E6%8F%92%E5%85%A5%E8%84%9A%E6%9C%AC\" >\u63d2\u5165\u811a\u672c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.iyatt.com\/?p=24885\/#BASIC_%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%E7%BC%96%E7%A0%81\" >BASIC \u811a\u672c\u6587\u4ef6\u7f16\u7801<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E5%89%8D%E8%A8%80\"><\/span>\u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>2026\/6\/6<br \/>\n\u53bb\u5e74\u542f\u52a8\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u7528\u7eaf Python \u5b9e\u73b0\u7684\uff0c\u7528\u4e8e\u81ea\u52a8\u5bfc\u51fa\u6d4b\u91cf\u6570\u636e\u5230 Excel\uff0c\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/IYATT-yx\/pcdmis-export-data\">https:\/\/github.com\/IYATT-yx\/pcdmis-export-data<\/a><br \/>\n\u8fd1\u671f\u5c1d\u8bd5\u4f18\u5316\uff0c\u4f46\u662f\u6548\u679c\u751a\u5fae\u3002\u6211\u7528\u5185\u7f6e\u7684 BASIC \u6d4b\u8bd5\u53d1\u73b0\u540c\u6837\u7684\u6570\u636e\u5bfc\u51fa\uff0cBASIC \u53ef\u4ee5\u505a\u5230 0.0078s\uff0c\u800c Python \u8981 3s\uff0c\u8fd9\u6027\u80fd\u5dee\u5f02\u4e0d\u662f\u4e00\u822c\u7684\u5927\u3002\u4e3b\u8981\u95ee\u9898\u662f Python \u662f\u5916\u90e8\u8fdb\u7a0b\u6267\u884c\uff0c\u901a\u8fc7 COM \u8de8\u8fdb\u7a0b\u4ea4\u4e92\u7684\u4ee3\u4ef7\u975e\u5e38\u9ad8\uff0c\u800c BASIC \u662f PC-DMIS \u5185\u7f6e\u6267\u884c\uff0c\u540c\u8fdb\u7a0b\u5185\u7684\u8c03\u7528\u6548\u7387\u975e\u5e38\u9ad8\u3002\u56e0\u6b64\u6211\u51c6\u5907\u91cd\u6784\u8fd9\u4e2a\u9879\u76ee\uff0c\u5c06\u6570\u636e\u8bfb\u53d6\u90e8\u5206\u6539\u4e3a BASIC \u5b9e\u73b0\uff0c\u5176\u5b83\u529f\u80fd\u7528 Python \u5b9e\u73b0\uff0c\u8fd9\u6837\u5e94\u8be5\u53ef\u4ee5\u5927\u5927\u6539\u5584\u5bfc\u51fa\u6548\u7387\u3002\u73b0\u5728\u7eaf Python \u65b9\u6848\u786e\u5b9e\u6027\u80fd\u592a\u62c9\u8de8\u4e86\uff0c\u6709\u4e00\u4e2a\u7bb1\u4f53\u96f6\u4ef6\uff0c\u68c0\u6d4b\u62a5\u544a 13 \u9875\u7684\u6837\u5b50\uff0c\u5bfc\u51fa\u8981 28s \u5de6\u53f3\uff08\u90a3\u53f0\u4e09\u5750\u6807\u7535\u8111\u8fd8\u662f\u673a\u68b0\u786c\u76d8\u7684\uff09\uff0c\u65f6\u95f4\u5f00\u9500\u592a\u5927\u3002<br \/>\n\u8fd9\u91cc\u5c31\u8bb0\u5f55 BASIC \u65b9\u6848\u7684\u5b9e\u8df5\u3002<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E6%B5%8B%E8%AF%95%E8%BD%AF%E4%BB%B6%E7%89%88%E6%9C%AC\"><\/span>\u6d4b\u8bd5\u8f6f\u4ef6\u7248\u672c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<ul>\n<li>PC-DMIS 2023.1<\/li>\n<\/ul>\n<h1><span class=\"ez-toc-section\" id=\"%E5%AE%9E%E8%B7%B5%E8%AE%B0%E5%BD%95\"><\/span>\u5b9e\u8df5\u8bb0\u5f55<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"%E6%8F%92%E5%85%A5%E8%84%9A%E6%9C%AC\"><\/span>\u63d2\u5165\u811a\u672c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8fd9\u73a9\u610f\u6298\u817e\u4e86\u6211\u665a\u4e0a\u4e00\u4e24\u4e2a\u5c0f\u65f6\uff0c\u6211\u4e0d\u662f\u5f88\u719f\u6089 PC-DMIS \u6709\u4e2a\u6807\u8bb0\u64cd\u4f5c\uff0c\u4e0d\u77e5\u9053\u9ed8\u8ba4\u63d2\u5165\u7684 BASIC \u662f\u4e0d\u6267\u884c\u72b6\u6001\u7684\uff0c\u7136\u540e\u53cd\u590d\u7814\u7a76\u5230\u5e95\u600e\u4e48\u56de\u4e8b\u3002\u6700\u540e\u624d\u53d1\u73b0\u8981\u5207\u6362\u6807\u8bb0\u624d\u80fd\u6267\u884c\u3002<\/p>\n<p>\u63d2\u5165 &#8211; BASIC \u811a\u672c<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780764518386.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 343px; --smush-placeholder-aspect-ratio: 343\/489;\" \/><\/p>\n<p>\u5982\u679c\u6709\u73b0\u6210\u7684\u811a\u672c\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9\uff0c\u6ca1\u6709\u5c31\u81ea\u5df1\u53d6\u4e00\u4e2a\u6587\u4ef6\u540d<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780764580422.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1054px; --smush-placeholder-aspect-ratio: 1054\/700;\" \/><\/p>\n<p>\u63d2\u5165\u540e\u53ef\u4ee5\u770b\u5230\u8272\u6709\u80cc\u666f\u8272\u7684\uff0c\u73b0\u5728\u8fd0\u884c\u6d4b\u91cf\u7a0b\u5e8f\u65f6\u662f\u4e0d\u4f1a\u6267\u884c\u5b83\u7684<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780764626101.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1251px; --smush-placeholder-aspect-ratio: 1251\/276;\" \/><\/p>\n<p>\u5149\u6807\u70b9\u5230\u8fd9\u4e2a\u547d\u4ee4\u4e0a\uff0c\u6309\u4e00\u4e0b<code class=\"kb-btn\">F3<\/code>\uff0c\u8fd9\u6837\u5c31\u5207\u6362\u5230\u53ef\u6267\u884c\u72b6\u6001\u4e86<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780764785620.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1255px; --smush-placeholder-aspect-ratio: 1255\/204;\" \/><\/p>\n<p>\u5149\u6807\u5728\u547d\u4ee4\u4e0a\uff0c\u6309<code class=\"kb-btn\">F9<\/code>\u53ef\u4ee5\u6253\u5f00\u811a\u672c\u7f16\u8f91\u5668<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780765638168.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 923px; --smush-placeholder-aspect-ratio: 923\/835;\" \/><\/p>\n<p>\u9009\u4e2d\u6574\u4e2a\u547d\u4ee4\uff0c\u6309<code class=\"kb-btn\">Ctrl<\/code>+<code class=\"kb-btn\">L<\/code>\u6267\u884c\u5f53\u524d\u547d\u4ee4\uff0c\u6210\u529f\u6267\u884c\u4ee5\u540e\u4f1a\u663e\u793a\u51fa<strong>\u7ec8\u6b62\u811a\u672c\/<\/strong>\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780766488410.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 922px; --smush-placeholder-aspect-ratio: 922\/175;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780766602258.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1059px; --smush-placeholder-aspect-ratio: 1059\/265;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780766610612.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 939px; --smush-placeholder-aspect-ratio: 939\/160;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"BASIC_%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%E7%BC%96%E7%A0%81\"><\/span>BASIC \u811a\u672c\u6587\u4ef6\u7f16\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e2d\u6587\u8bed\u8a00\u4e0b\u901a\u8fc7 PC-DMIS \u63d2\u5165\u521b\u5efa\u9ed8\u8ba4\u7528\u7684 <strong>GB2312<\/strong>\uff0c\u5982\u679c\u81ea\u5df1\u521b\u5efa\u811a\u672c\u7684\u8bdd\u5c31\u8981\u7279\u522b\u9009\u62e9\u3002<br \/>\n\u6bd4\u5982\u6211\u7528 VScode \u5199\u4ee3\u7801\uff0c\u4fdd\u5b58\u5c31\u624b\u52a8\u9009\u7f16\u7801 <strong>GB2312<\/strong>\u3002\u5982\u679c\u8981\u56fd\u9645\u5316\uff0c\u5efa\u8bae\u811a\u672c\u91cc\u5199\u7eaf\u82f1\u6587\uff0c\u4e0d\u8981\u51fa\u73b0\u4e2d\u6587\u5b57\u7b26\uff0c\u8fd9\u65f6\u5019 GB2312 \u53ef\u4ee5\u7b49\u6548\u4e3a ANSI\u3002\u5728\u975e\u4e2d\u6587\u8bed\u8a00\u7684\u7535\u8111\u4e0a\u4e5f\u80fd\u6b63\u5e38\u663e\u793a\u5b57\u7b26\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2026\/06\/image-1780766136815.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1240px; --smush-placeholder-aspect-ratio: 1240\/602;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 2026\/6\/6 \u53bb\u5e74\u542f\u52a8\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u7528\u7eaf Python \u5b9e\u73b0\u7684\uff0c\u7528\u4e8e\u81ea\u52a8\u5bfc\u51fa\u6d4b\u91cf\u6570\u636e\u5230 Excel\uff0c\u9879 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":null,"zakra_menu_item_active_color":null,"zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1],"tags":[],"class_list":["post-24885","post","type-post","status-publish","format-standard","hentry","category-all"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24885"}],"version-history":[{"count":6,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24885\/revisions"}],"predecessor-version":[{"id":24906,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/24885\/revisions\/24906"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}