{"id":504512,"date":"2026-11-24T07:56:13","date_gmt":"2026-11-24T04:56:13","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=504512"},"modified":"2026-11-24T07:56:13","modified_gmt":"2026-11-24T04:56:13","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=504512","title":{"rendered":"\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f COM-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432 \u043a 1\u0421 \u0438 Python: \u043a\u0430\u043a \u044f \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u0437\u043e\u043e\u043f\u0430\u0440\u043a \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0435 \u0432\u0435\u0441\u044b \u043a 1\u0421, \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u044d\u0442\u0443 \u0431\u043e\u043b\u044c: \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c (\u0438\u043b\u0438 \u0435\u0451 \u043d\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435), \u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u0441\u0442\u043e\u044f\u0442 \u043a\u0430\u043a \u043a\u0440\u044b\u043b\u043e \u0441\u0430\u043c\u043e\u043b\u0451\u0442\u0430 \u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p>\u041c\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e 1\u0421 \u0434\u043b\u044f \u0443\u0447\u0451\u0442\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430? \u0423 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0441\u0442\u043e\u044f\u043b\u0438 <strong>Metrisoft<\/strong>, \u0443 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u2014 <strong>CAS CI-200A<\/strong>, \u0443 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u2014 <strong>Massa-K<\/strong>. \u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u043e \u0441\u0432\u043e\u0438\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c, \u0441\u0432\u043e\u0435\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0438 \u0441\u0432\u043e\u0438\u043c\u0438 \u201c\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438\u201d.<\/p>\n<p>\u041f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0435 \u0432\u0435\u0441\u044b? \u041d\u0435\u0442, \u0441\u043f\u0430\u0441\u0438\u0431\u043e. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <strong>\u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0443\u044e COM-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f:<\/p>\n<ul>\n<li>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <strong>15+ \u0431\u0440\u0435\u043d\u0434\u043e\u0432<\/strong> \u0432\u0435\u0441\u043e\u0432 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p><strong>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442<\/strong> \u0442\u0438\u043f \u0432\u0435\u0441\u043e\u0432 \u043f\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0431\u0430\u0439\u0442\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432 <strong>1\u0421<\/strong>, \u0438 \u0432 <strong>Python<\/strong>, \u0438 \u0432 <strong>C#<\/strong>, \u0438 \u0432 <strong>PowerShell<\/strong>.<\/p>\n<\/li>\n<li>\n<p><strong>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430<\/strong> (\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f MIT).<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u044f \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u043a\u0430\u043f\u0440\u0438\u0437\u043d\u044b\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b, \u0438 \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445.<\/p>\n<hr\/>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0437\u043e\u043e\u043f\u0430\u0440\u043a \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432<\/h3>\n<p>\u0422\u043e\u0440\u0433\u043e\u0432\u044b\u0435 \u0432\u0435\u0441\u044b \u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 COM-\u043f\u043e\u0440\u0442 (RS-232). \u0417\u0432\u0443\u0447\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u0441\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<p><strong>CAS (\u042e\u0436\u043d\u0430\u044f \u041a\u043e\u0440\u0435\u044f, ASCII):<\/strong><\/p>\n<pre><code>ST,GS,+ 1.234 kg\\r\\n<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u0433\u0434\u0435 <code>ST<\/code> = stable, <code>GS<\/code> = gross.<\/p>\n<p><strong>Mettler Toledo (\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044f, ASCII):<\/strong><\/p>\n<pre><code> S 12.345 kg\\r\\n<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><strong>Massa-K (\u0420\u043e\u0441\u0441\u0438\u044f):<\/strong> \u0417\u0434\u0435\u0441\u044c \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0441\u0430\u0434\u0430. \u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f ASCII-\u0440\u0435\u0436\u0438\u043c (<code>S 001234<\/code>), \u043d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043e\u043d \u0447\u0430\u0441\u0442\u043e \u0433\u043b\u044e\u0447\u0438\u0442 \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d. \u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439, \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0431\u043e\u0442\u044b \u2014 \u044d\u0442\u043e <strong>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u21162 (\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439, \u0437\u0430\u043f\u0440\u043e\u0441-\u043e\u0442\u0432\u0435\u0442)<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 1 \u0431\u0430\u0439\u0442: <code>0x45<\/code> (\u0417\u0430\u043f\u0440\u043e\u0441 \u043c\u0430\u0441\u0441\u044b).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0441\u044b \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0440\u043e\u0432\u043d\u043e <strong>2 \u0431\u0430\u0439\u0442\u0430<\/strong> (16 \u0431\u0438\u0442) \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Little Endian.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. 15 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 \u2014 15 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432. \u041f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0435\u0440 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0439? \u0421\u043a\u0443\u0447\u043d\u043e. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c? \u0415\u0449\u0451 \u0441\u043a\u0443\u0447\u043d\u0435\u0435. \u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0435\u0434\u0438\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<hr\/>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0435\u0434\u0438\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 + \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432<\/h3>\n<p>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0432\u044b\u0431\u0440\u0430\u043b, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043d\u0430 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0435 \u201c\u0421\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044f\u201d \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u043e\u0440\u0442\u0430 \u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<pre><code>\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                    ScalesComponent.dll                      \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  \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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u2502\u2502  \u2502  Scales (COM)   \u2502---&gt;\u2502  SerialPortManager           \u2502    \u2502\u2502  \u2502  - Connect()    \u2502    \u2502  - \u0424\u043e\u043d\u043e\u0432\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 (Thread)   \u2502    \u2502\u2502  \u2502  - GetWeight()  \u2502    \u2502  - \u0411\u0443\u0444\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445        \u2502    \u2502\u2502  \u2502  - Tare()       \u2502    \u2502  - Active Polling (\u0431\u0438\u043d\u0430\u0440.)   \u2502    \u2502\u2502  \u2514\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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2502\u2502           \u2502                          \u2502                      \u2502\u2502           \u25bc                          \u25bc                      \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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u2502\u2502  \u2502  IScalesParser  \u2502&lt;---\u2502  Parsers (15+ \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439)    \u2502    \u2502\u2502  \u2502  - Parse()      \u2502    \u2502  - CAS, Mettler (ASCII)      \u2502    \u2502\u2502  \u2502  - ParseBytes() \u2502    \u2502  - MassaK (Binary 0x45)      \u2502    \u2502\u2502  \u2502  - Detect()     \u2502    \u2502  - AutoDetect (\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430)   \u2502    \u2502\u2502  \u2514\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\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\u2518<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<h4>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0438\u0434\u0435\u0438:<\/h4>\n<ol>\n<li>\n<p><strong>\u0414\u0432\u043e\u0439\u043d\u043e\u0439 \u0440\u0435\u0436\u0438\u043c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430:<\/strong> \u042f \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 <code>IScalesParser<\/code> \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b \u043a\u0430\u043a <code>Parse(string line)<\/code> \u0434\u043b\u044f \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0445 ASCII-\u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0442\u0430\u043a \u0438 <code>ParseBytes(byte[] data)<\/code> \u0434\u043b\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 \u201c\u0437\u0430\u043f\u0440\u043e\u0441-\u043e\u0442\u0432\u0435\u0442\u201d.<\/p>\n<\/li>\n<li>\n<p><strong>\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043e\u043f\u0440\u043e\u0441 (Active Polling):<\/strong> \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0441\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442, \u0447\u0442\u043e \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u0437\u0430\u043f\u0440\u043e\u0441 (<code>RequiresPolling == true<\/code>), <code>SerialPortManager<\/code> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>0x45<\/code>) \u043a\u0430\u0436\u0434\u044b\u0435 ~80 \u043c\u0441 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>AutoDetect:<\/strong> \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0443\u043c\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 3-5 \u0441\u0442\u0440\u043e\u043a \u0438\u043b\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u0438\u043f \u0432\u0435\u0441\u043e\u0432 \u043f\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0439 \u0441 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c\u0438 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ol>\n<hr\/>\n<h3>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c: \u043f\u043e\u0431\u0435\u0436\u0434\u0430\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b<\/h3>\n<p>\u0421\u0430\u043c\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043a\u0435\u0439\u0441\u043e\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f <strong>Massa-K \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u21162<\/strong>. \u0412\u0435\u0441\u044b \u043d\u0435 \u0448\u043b\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0430\u043c\u0438, \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u201c\u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c\u201d, \u0438 \u043e\u043d\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u043d\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0430 \u0441\u044b\u0440\u044b\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u043c\u0438.<\/p>\n<h4>1. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u0447\u0442\u0435\u043d\u0438\u0435<\/h4>\n<p>\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0430\u0439\u0442 <code>0x45<\/code>, \u0436\u0434\u0451\u0442 50 \u043c\u0441 \u0438 \u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u043e\u0432\u043d\u043e 2 \u0431\u0430\u0439\u0442\u0430 \u043e\u0442\u0432\u0435\u0442\u0430.<\/p>\n<h4>2. \u041f\u043e\u0431\u0438\u0442\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 (C#)<\/h4>\n<p>\u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, 16 \u0431\u0438\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<ul>\n<li>\n<p><strong>\u0411\u0438\u0442 D15<\/strong> (\u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0431\u0438\u0442): \u0437\u043d\u0430\u043a \u043c\u0430\u0441\u0441\u044b (<code>0<\/code> = \u201c+\u201d, <code>1<\/code> = \u201c-\u201d).<\/p>\n<\/li>\n<li>\n<p><strong>\u0411\u0438\u0442\u044b D14-D0<\/strong>: \u043c\u0430\u0441\u0441\u0430 \u0432 \u0433\u0440\u0430\u043c\u043c\u0430\u0445.<\/p>\n<\/li>\n<\/ul>\n<pre><code>public ScalesReading ParseBytes(byte[] packet){    if (packet == null || packet.Length &lt; 2) return null;    \/\/ Little Endian: packet[0] = D0-D7, packet[1] = D8-D15    ushort rawValue = (ushort)(packet[0] | (packet[1] &lt;&lt; 8));    \/\/ D15 \u2014 \u0437\u043d\u0430\u043a \u043c\u0430\u0441\u0441\u044b    bool isNegative = (rawValue &amp; 0x8000) != 0;        \/\/ D14-D0 \u2014 \u043c\u0430\u0441\u0441\u0430 \u0432 \u0433\u0440\u0430\u043c\u043c\u0430\u0445 (\u043c\u0430\u0441\u043a\u0430 0x7FFF \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0431\u0438\u0442)    int massInGrams = rawValue &amp; 0x7FFF;        double weightInKg = massInGrams \/ 1000.0;    if (isNegative) weightInKg = -weightInKg;    return new ScalesReading    {        Weight = Math.Round(weightInKg, 3),        IsStable = true,         RawData = $\"HEX: {packet[0]:X2} {packet[1]:X2}\",        LastUpdate = DateTime.Now    };}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c COM-\u043f\u043e\u0440\u0442 \u043d\u0430 <\/em><strong><em>4800 \u0431\u043e\u0434<\/em><\/strong><em> \u0438 <\/em><strong><em>Parity: Even<\/em><\/strong><em>. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u0435\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/em><\/p>\n<hr\/>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f<\/h3>\n<h4>\u0428\u0430\u0433 1: \u0421\u043a\u0430\u0447\u0430\u0442\u044c DLL<\/h4>\n<p>\u0413\u043e\u0442\u043e\u0432\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 <a href=\"https:\/\/github.com\/cripp09\/ScalesComponent\/releases\/latest\" rel=\"noopener nofollow\">Releases \u043d\u0430 GitHub<\/a>.<\/p>\n<h4>\u0428\u0430\u0433 2: \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 Windows<\/h4>\n<p>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 <code>cmd<\/code> <strong>\u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430<\/strong>:<\/p>\n<p><strong>\u0414\u043b\u044f 32-\u0431\u0438\u0442\u043d\u043e\u0439 1\u0421:<\/strong><\/p>\n<pre><code>C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\regasm.exe \"\u043f\u0443\u0442\u044c\\\u043a\\ScalesComponent.dll\" \/codebase<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><strong>\u0414\u043b\u044f 64-\u0431\u0438\u0442\u043d\u043e\u0439 1\u0421 \/ Python:<\/strong><\/p>\n<pre><code>C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\regasm.exe \"\u043f\u0443\u0442\u044c\\\u043a\\ScalesComponent.dll\" \/codebase<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<hr\/>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 1\u0421:\u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435<\/h3>\n<pre><code>&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0435\u0440\u0435\u043c \u0412\u0435\u0441\u044bCOM;&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0412\u0435\u0441\u044b(\u041a\u043e\u043c\u0430\u043d\u0434\u0430)    \u041f\u043e\u043f\u044b\u0442\u043a\u0430        \u0412\u0435\u0441\u044bCOM = \u041d\u043e\u0432\u044b\u0439 COM\u041e\u0431\u044a\u0435\u043a\u0442(\"ScalesComponent.Scales.1\");                \/\/ \u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f Massa-K: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 4800, \u0442\u0438\u043f MassaK        \u0415\u0441\u043b\u0438 \u0412\u0435\u0441\u044bCOM.Connect(\"COM1\", 4800, \"MassaK\") \u0422\u043e\u0433\u0434\u0430            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(\"\u2705 \u0412\u0435\u0441\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b\");        \u0418\u043d\u0430\u0447\u0435            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(\"\u274c \u041e\u0448\u0438\u0431\u043a\u0430: \" + \u0412\u0435\u0441\u044bCOM.GetLastError());        \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;    \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435        \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(\"\u274c \u041e\u0448\u0438\u0431\u043a\u0430: \" + \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u041e\u0448\u0438\u0431\u043a\u0438());    \u041a\u043e\u043d\u0435\u0446\u041f\u043e\u043f\u044b\u0442\u043a\u0438;\u041a\u043e\u043d\u0435\u0446\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0412\u0437\u0432\u0435\u0441\u0438\u0442\u044c\u0422\u043e\u0432\u0430\u0440(\u041a\u043e\u043c\u0430\u043d\u0434\u0430)    \u0415\u0441\u043b\u0438 \u0412\u0435\u0441\u044bCOM = \u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0422\u043e\u0433\u0434\u0430 \u0412\u043e\u0437\u0432\u0440\u0430\u0442; \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;        \u041f\u043e\u043f\u044b\u0442\u043a\u0430        \/\/ \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0441\u0430\u043c\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 0x45 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0441 \u0434\u043e 5 \u0441\u0435\u043a        \u0412\u0435\u0441 = \u0412\u0435\u0441\u044bCOM.GetStableWeight(5000);                \u0415\u0441\u043b\u0438 \u0412\u0435\u0441 &gt; 0 \u0422\u043e\u0433\u0434\u0430            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(\"\u2705 \u0412\u0435\u0441: \" + \u0412\u0435\u0441 + \" \u043a\u0433\");            \u041e\u0431\u044a\u0435\u043a\u0442.\u0412\u0435\u0441 = \u0412\u0435\u0441;        \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;    \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435        \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(\"\u274c \u041e\u0448\u0438\u0431\u043a\u0430: \" + \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u041e\u0448\u0438\u0431\u043a\u0438());    \u041a\u043e\u043d\u0435\u0446\u041f\u043e\u043f\u044b\u0442\u043a\u0438;\u041a\u043e\u043d\u0435\u0446\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<hr\/>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Python<\/h3>\n<pre><code class=\"python\">import win32com.clientimport pythoncompythoncom.CoInitialize()scales = win32com.client.Dispatch(\"ScalesComponent.Scales.1\")# \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 (Auto = \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430)if scales.Connect(\"COM3\", 9600, \"Auto\"):    print(\"\u2705 \u0412\u0435\u0441\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b\")        # \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0435\u0441\u0430    weight = scales.GetStableWeight(5000)    print(f\"\u2705 \u0412\u0435\u0441: {weight} \u043a\u0433\")        # \u0422\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435    scales.Tare()    scales.Disconnect()pythoncom.CoUninitialize()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<hr\/>\n<h3>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0442\u0438\u043f\u044b \u0432\u0435\u0441\u043e\u0432<\/h3>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0411\u0440\u0435\u043d\u0434<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0421\u0442\u0440\u0430\u043d\u0430<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \/ \u0427\u0435\u0442\u043d\u043e\u0441\u0442\u044c<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>CAS<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u042e\u0436\u043d\u0430\u044f \u041a\u043e\u0440\u0435\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">ASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)<\/p>\n<\/td>\n<td>\n<p align=\"left\">9600 \/ None<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Massa-K<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0420\u043e\u0441\u0441\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Binary (\u041f\u0440.2, \u0437\u0430\u043f\u0440\u043e\u0441 0x45)<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>4800 \/ Even<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Mettler Toledo<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">ASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)<\/p>\n<\/td>\n<td>\n<p align=\"left\">9600 \/ None<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>A&amp;D<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u042f\u043f\u043e\u043d\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">ASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)<\/p>\n<\/td>\n<td>\n<p align=\"left\">9600 \/ None<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0428\u0442\u0440\u0438\u0445-\u041c<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0420\u043e\u0441\u0441\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">ASCII<\/p>\n<\/td>\n<td>\n<p align=\"left\">9600 \/ None<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Digi<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u042f\u043f\u043e\u043d\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">ASCII (\u201c@00W\u201d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">9600 \/ None<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><em>\u0438 \u0435\u0449\u0451 9+ \u0431\u0440\u0435\u043d\u0434\u043e\u0432<\/em><\/p>\n<\/td>\n<td>\n<p align=\"left\">\n<\/td>\n<td>\n<p align=\"left\">\n<\/td>\n<td>\n<p align=\"left\">\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<hr\/>\n<h3>\ud83d\udcda \u0411\u043e\u043d\u0443\u0441: \u041e\u0442\u043a\u0440\u044b\u0442\u0430\u044f \u0431\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 (Docs)<\/h3>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u201c\u0436\u0435\u043b\u0435\u0437\u043e\u043c\u201d \u2014 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u0435\u043d\u044e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043f\u0430\u043f\u043a\u0443 <code>Docs\/<\/code>, \u0433\u0434\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/cripp09\/ScalesComponent\/blob\/master\/Docs\/CAS\/CI-200A.md\" rel=\"noopener nofollow\">CAS CI-200A<\/a>) \u0441\u043e\u0431\u0440\u0430\u043b:<\/p>\n<ol>\n<li>\n<p>\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0443\u044e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u043f\u043e \u0432\u0445\u043e\u0434\u0443 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044e \u0440\u0435\u0436\u0438\u043c\u0430 COM.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0445\u0435\u043c\u0443 \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0438<\/strong> (\u043a\u0430\u043a\u043e\u0439 \u043f\u0438\u043d \u043a\u0443\u0434\u0430 \u043f\u0430\u044f\u0442\u044c, \u043d\u0443\u0436\u0435\u043d \u043b\u0438 \u043d\u0443\u043b\u044c-\u043c\u043e\u0434\u0435\u043c\u043d\u044b\u0439 \u043a\u0430\u0431\u0435\u043b\u044c).<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u043b\u043e\u0433\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u042d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0447\u0430\u0441\u044b \u0433\u0443\u0433\u043b\u0435\u043d\u0438\u044f \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.<\/p>\n<hr\/>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0439. \u042f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u043e\u0442 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439: \u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0448\u043b\u044e\u0442 \u043b\u0438 \u0432\u0435\u0441\u044b ASCII-\u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 <code>0x45<\/code> \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438. \u0412\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0435 <code>GetStableWeight(5000)<\/code>.<\/p>\n<p><strong>\u0427\u0442\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u0430\u043b\u044c\u0448\u0435:<\/strong><\/p>\n<ul>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0432\u0435\u0441\u043e\u0432 \u0441 Ethernet\/Wi-Fi (TCP\/IP).<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0431\u0430\u0437\u0443 <code>Docs\/<\/code> \u0441\u0438\u043b\u0430\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 (\u0432\u0430\u0448\u0438 PR \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f!).<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438:<\/strong> <a href=\"https:\/\/github.com\/cripp09\/ScalesComponent\" rel=\"noopener nofollow\">GitHub \u2014 ScalesComponent<\/a><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u2014 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043b\u0430\u0439\u043a, \u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432 (\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0440\u0435\u0434\u043a\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439), \u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043f\u043e\u043c\u043e\u0447\u044c!<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1111554\/\">https:\/\/habr.com\/ru\/articles\/1111554\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u0415\u0441\u043b\u0438 \u0432\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0435 \u0432\u0435\u0441\u044b \u043a 1\u0421, \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u044d\u0442\u0443 \u0431\u043e\u043b\u044c: \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c (\u0438\u043b\u0438 \u0435\u0451 \u043d\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435), \u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u0441\u0442\u043e\u044f\u0442 \u043a\u0430\u043a \u043a\u0440\u044b\u043b\u043e \u0441\u0430\u043c\u043e\u043b\u0451\u0442\u0430 \u0438 \u0447\u0430\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e.\u041c\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e 1\u0421 \u0434\u043b\u044f \u0443\u0447\u0451\u0442\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430? \u0423 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0441\u0442\u043e\u044f\u043b\u0438 Metrisoft, \u0443 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u2014 CAS CI-200A, \u0443 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u2014 Massa-K. \u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u043e \u0441\u0432\u043e\u0438\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c, \u0441\u0432\u043e\u0435\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0438 \u0441\u0432\u043e\u0438\u043c\u0438 \u201c\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438\u201d.\u041f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0435 \u0432\u0435\u0441\u044b? \u041d\u0435\u0442, \u0441\u043f\u0430\u0441\u0438\u0431\u043e. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0443\u044e COM-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f:\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 15+ \u0431\u0440\u0435\u043d\u0434\u043e\u0432 \u0432\u0435\u0441\u043e\u0432 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u0438\u043f \u0432\u0435\u0441\u043e\u0432 \u043f\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0431\u0430\u0439\u0442\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0445.\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432 1\u0421, \u0438 \u0432 Python, \u0438 \u0432 C#, \u0438 \u0432 PowerShell.\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430 (\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f MIT).\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a \u044f \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u043a\u0430\u043f\u0440\u0438\u0437\u043d\u044b\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b, \u0438 \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0432 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0437\u043e\u043e\u043f\u0430\u0440\u043a \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432\u0422\u043e\u0440\u0433\u043e\u0432\u044b\u0435 \u0432\u0435\u0441\u044b \u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 COM-\u043f\u043e\u0440\u0442 (RS-232). \u0417\u0432\u0443\u0447\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u0441\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0445:CAS (\u042e\u0436\u043d\u0430\u044f \u041a\u043e\u0440\u0435\u044f, ASCII):ST,GS,+ 1.234 kg\\r\\n\u0433\u0434\u0435 ST = stable, GS = gross.Mettler Toledo (\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044f, ASCII): S 12.345 kg\\r\\nMassa-K (\u0420\u043e\u0441\u0441\u0438\u044f): \u0417\u0434\u0435\u0441\u044c \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0441\u0430\u0434\u0430. \u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f ASCII-\u0440\u0435\u0436\u0438\u043c (S 001234), \u043d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043e\u043d \u0447\u0430\u0441\u0442\u043e \u0433\u043b\u044e\u0447\u0438\u0442 \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d. \u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439, \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0431\u043e\u0442\u044b \u2014 \u044d\u0442\u043e \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u21162 (\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439, \u0437\u0430\u043f\u0440\u043e\u0441-\u043e\u0442\u0432\u0435\u0442):\u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 1 \u0431\u0430\u0439\u0442: 0x45 (\u0417\u0430\u043f\u0440\u043e\u0441 \u043c\u0430\u0441\u0441\u044b).\u0412\u0435\u0441\u044b \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0440\u043e\u0432\u043d\u043e 2 \u0431\u0430\u0439\u0442\u0430 (16 \u0431\u0438\u0442) \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Little Endian.\u0418 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. 15 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 \u2014 15 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432. \u041f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0435\u0440 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0439? \u0421\u043a\u0443\u0447\u043d\u043e. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c? \u0415\u0449\u0451 \u0441\u043a\u0443\u0447\u043d\u0435\u0435. \u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0435\u0434\u0438\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0435\u0434\u0438\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 + \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0432\u044b\u0431\u0440\u0430\u043b, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043d\u0430 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0435 \u201c\u0421\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044f\u201d \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u043e\u0440\u0442\u0430 \u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u044b\u0445:\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                    ScalesComponent.dll                      \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  \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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u2502\u2502  \u2502  Scales (COM)   \u2502&#8212;&gt;\u2502  SerialPortManager           \u2502    \u2502\u2502  \u2502  &#8212; Connect()    \u2502    \u2502  &#8212; \u0424\u043e\u043d\u043e\u0432\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 (Thread)   \u2502    \u2502\u2502  \u2502  &#8212; GetWeight()  \u2502    \u2502  &#8212; \u0411\u0443\u0444\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445        \u2502    \u2502\u2502  \u2502  &#8212; Tare()       \u2502    \u2502  &#8212; Active Polling (\u0431\u0438\u043d\u0430\u0440.)   \u2502    \u2502\u2502  \u2514\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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2502\u2502           \u2502                          \u2502                      \u2502\u2502           \u25bc                          \u25bc                      \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\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u2502\u2502  \u2502  IScalesParser  \u2502&lt;&#8212;\u2502  Parsers (15+ \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439)    \u2502    \u2502\u2502  \u2502  &#8212; Parse()      \u2502    \u2502  &#8212; CAS, Mettler (ASCII)      \u2502    \u2502\u2502  \u2502  &#8212; ParseBytes() \u2502    \u2502  &#8212; MassaK (Binary 0x45)      \u2502    \u2502\u2502  \u2502  &#8212; Detect()     \u2502    \u2502  &#8212; AutoDetect (\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430)   \u2502    \u2502\u2502  \u2514\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\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\u2518\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0438\u0434\u0435\u0438:\u0414\u0432\u043e\u0439\u043d\u043e\u0439 \u0440\u0435\u0436\u0438\u043c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430: \u042f \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 IScalesParser \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b \u043a\u0430\u043a Parse(string line) \u0434\u043b\u044f \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0445 ASCII-\u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0442\u0430\u043a \u0438 ParseBytes(byte[] data) \u0434\u043b\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 \u201c\u0437\u0430\u043f\u0440\u043e\u0441-\u043e\u0442\u0432\u0435\u0442\u201d.\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043e\u043f\u0440\u043e\u0441 (Active Polling): \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0441\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442, \u0447\u0442\u043e \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u0437\u0430\u043f\u0440\u043e\u0441 (RequiresPolling == true), SerialPortManager \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 0x45) \u043a\u0430\u0436\u0434\u044b\u0435 ~80 \u043c\u0441 \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435.AutoDetect: \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0443\u043c\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 3-5 \u0441\u0442\u0440\u043e\u043a \u0438\u043b\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u0438\u043f \u0432\u0435\u0441\u043e\u0432 \u043f\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0439 \u0441 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c\u0438 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438.\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c: \u043f\u043e\u0431\u0435\u0436\u0434\u0430\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0421\u0430\u043c\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043a\u0435\u0439\u0441\u043e\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043b\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Massa-K \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u21162. \u0412\u0435\u0441\u044b \u043d\u0435 \u0448\u043b\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0430\u043c\u0438, \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u201c\u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c\u201d, \u0438 \u043e\u043d\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u043d\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0430 \u0441\u044b\u0440\u044b\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u043c\u0438.1. \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u0447\u0442\u0435\u043d\u0438\u0435\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0430\u0439\u0442 0x45, \u0436\u0434\u0451\u0442 50 \u043c\u0441 \u0438 \u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u043e\u0432\u043d\u043e 2 \u0431\u0430\u0439\u0442\u0430 \u043e\u0442\u0432\u0435\u0442\u0430.2. \u041f\u043e\u0431\u0438\u0442\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 (C#)\u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, 16 \u0431\u0438\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a:\u0411\u0438\u0442 D15 (\u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0431\u0438\u0442): \u0437\u043d\u0430\u043a \u043c\u0430\u0441\u0441\u044b (0 = \u201c+\u201d, 1 = \u201c-\u201d).\u0411\u0438\u0442\u044b D14-D0: \u043c\u0430\u0441\u0441\u0430 \u0432 \u0433\u0440\u0430\u043c\u043c\u0430\u0445.public ScalesReading ParseBytes(byte[] packet){    if (packet == null || packet.Length &lt; 2) return null;    \/\/ Little Endian: packet[0] = D0-D7, packet[1] = D8-D15    ushort rawValue = (ushort)(packet[0] | (packet[1] &lt;&lt; 8));    \/\/ D15 \u2014 \u0437\u043d\u0430\u043a \u043c\u0430\u0441\u0441\u044b    bool isNegative = (rawValue &amp; 0x8000) != 0;        \/\/ D14-D0 \u2014 \u043c\u0430\u0441\u0441\u0430 \u0432 \u0433\u0440\u0430\u043c\u043c\u0430\u0445 (\u043c\u0430\u0441\u043a\u0430 0x7FFF \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0431\u0438\u0442)    int massInGrams = rawValue &amp; 0x7FFF;        double weightInKg = massInGrams \/ 1000.0;    if (isNegative) weightInKg = -weightInKg;    return new ScalesReading    {        Weight = Math.Round(weightInKg, 3),        IsStable = true,         RawData = $&#187;HEX: {packet[0]:X2} {packet[1]:X2}&#187;,        LastUpdate = DateTime.Now    };}\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c COM-\u043f\u043e\u0440\u0442 \u043d\u0430 4800 \u0431\u043e\u0434 \u0438 Parity: Even. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u0435\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u0428\u0430\u0433 1: \u0421\u043a\u0430\u0447\u0430\u0442\u044c DLL\u0413\u043e\u0442\u043e\u0432\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 Releases \u043d\u0430 GitHub.\u0428\u0430\u0433 2: \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435 Windows\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 cmd \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430:\u0414\u043b\u044f 32-\u0431\u0438\u0442\u043d\u043e\u0439 1\u0421:C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\regasm.exe &#171;\u043f\u0443\u0442\u044c\\\u043a\\ScalesComponent.dll&#187; \/codebase\u0414\u043b\u044f 64-\u0431\u0438\u0442\u043d\u043e\u0439 1\u0421 \/ Python:C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\regasm.exe &#171;\u043f\u0443\u0442\u044c\\\u043a\\ScalesComponent.dll&#187; \/codebase\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 1\u0421:\u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0435\u0440\u0435\u043c \u0412\u0435\u0441\u044bCOM;&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0412\u0435\u0441\u044b(\u041a\u043e\u043c\u0430\u043d\u0434\u0430)    \u041f\u043e\u043f\u044b\u0442\u043a\u0430        \u0412\u0435\u0441\u044bCOM = \u041d\u043e\u0432\u044b\u0439 COM\u041e\u0431\u044a\u0435\u043a\u0442(&#171;ScalesComponent.Scales.1&#187;);                \/\/ \u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f Massa-K: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 4800, \u0442\u0438\u043f MassaK        \u0415\u0441\u043b\u0438 \u0412\u0435\u0441\u044bCOM.Connect(&#171;COM1&#187;, 4800, &#171;MassaK&#187;) \u0422\u043e\u0433\u0434\u0430            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&#171;\u2705 \u0412\u0435\u0441\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b&#187;);        \u0418\u043d\u0430\u0447\u0435            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&#171;\u274c \u041e\u0448\u0438\u0431\u043a\u0430: &#187; + \u0412\u0435\u0441\u044bCOM.GetLastError());        \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;    \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435        \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&#171;\u274c \u041e\u0448\u0438\u0431\u043a\u0430: &#187; + \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u041e\u0448\u0438\u0431\u043a\u0438());    \u041a\u043e\u043d\u0435\u0446\u041f\u043e\u043f\u044b\u0442\u043a\u0438;\u041a\u043e\u043d\u0435\u0446\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b&amp;\u041d\u0430\u041a\u043b\u0438\u0435\u043d\u0442\u0435\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0412\u0437\u0432\u0435\u0441\u0438\u0442\u044c\u0422\u043e\u0432\u0430\u0440(\u041a\u043e\u043c\u0430\u043d\u0434\u0430)    \u0415\u0441\u043b\u0438 \u0412\u0435\u0441\u044bCOM = \u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0422\u043e\u0433\u0434\u0430 \u0412\u043e\u0437\u0432\u0440\u0430\u0442; \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;        \u041f\u043e\u043f\u044b\u0442\u043a\u0430        \/\/ \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0441\u0430\u043c\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 0x45 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0441 \u0434\u043e 5 \u0441\u0435\u043a        \u0412\u0435\u0441 = \u0412\u0435\u0441\u044bCOM.GetStableWeight(5000);                \u0415\u0441\u043b\u0438 \u0412\u0435\u0441 &gt; 0 \u0422\u043e\u0433\u0434\u0430            \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&#171;\u2705 \u0412\u0435\u0441: &#187; + \u0412\u0435\u0441 + &#187; \u043a\u0433&#187;);            \u041e\u0431\u044a\u0435\u043a\u0442.\u0412\u0435\u0441 = \u0412\u0435\u0441;        \u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438;    \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435        \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&#171;\u274c \u041e\u0448\u0438\u0431\u043a\u0430: &#187; + \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u041e\u0448\u0438\u0431\u043a\u0438());    \u041a\u043e\u043d\u0435\u0446\u041f\u043e\u043f\u044b\u0442\u043a\u0438;\u041a\u043e\u043d\u0435\u0446\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Pythonimport win32com.clientimport pythoncompythoncom.CoInitialize()scales = win32com.client.Dispatch(&#171;ScalesComponent.Scales.1&#187;)# \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 (Auto = \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430)if scales.Connect(&#171;COM3&#187;, 9600, &#171;Auto&#187;):    print(&#171;\u2705 \u0412\u0435\u0441\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b&#187;)        # \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0435\u0441\u0430    weight = scales.GetStableWeight(5000)    print(f&#187;\u2705 \u0412\u0435\u0441: {weight} \u043a\u0433&#187;)        # \u0422\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435    scales.Tare()    scales.Disconnect()pythoncom.CoUninitialize()\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0442\u0438\u043f\u044b \u0432\u0435\u0441\u043e\u0432\u0411\u0440\u0435\u043d\u0434\u0421\u0442\u0440\u0430\u043d\u0430\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \/ \u0427\u0435\u0442\u043d\u043e\u0441\u0442\u044cCAS\u042e\u0436\u043d\u0430\u044f \u041a\u043e\u0440\u0435\u044fASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)9600 \/ NoneMassa-K\u0420\u043e\u0441\u0441\u0438\u044fBinary (\u041f\u0440.2, \u0437\u0430\u043f\u0440\u043e\u0441 0x45)4800 \/ EvenMettler Toledo\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044fASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)9600 \/ NoneA&amp;D\u042f\u043f\u043e\u043d\u0438\u044fASCII (\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0439)9600 \/ None\u0428\u0442\u0440\u0438\u0445-\u041c\u0420\u043e\u0441\u0441\u0438\u044fASCII9600 \/ NoneDigi\u042f\u043f\u043e\u043d\u0438\u044fASCII (\u201c@00W\u201d)9600 \/ None\u0438 \u0435\u0449\u0451 9+ \u0431\u0440\u0435\u043d\u0434\u043e\u0432\ud83d\udcda \u0411\u043e\u043d\u0443\u0441: \u041e\u0442\u043a\u0440\u044b\u0442\u0430\u044f \u0431\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 (Docs)\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u201c\u0436\u0435\u043b\u0435\u0437\u043e\u043c\u201d \u2014 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u0435\u043d\u044e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043f\u0430\u043f\u043a\u0443 Docs\/, \u0433\u0434\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, CAS CI-200A) \u0441\u043e\u0431\u0440\u0430\u043b:\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0443\u044e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u043f\u043e \u0432\u0445\u043e\u0434\u0443 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044e \u0440\u0435\u0436\u0438\u043c\u0430 COM.\u0421\u0445\u0435\u043c\u0443 \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0438 (\u043a\u0430\u043a\u043e\u0439 \u043f\u0438\u043d \u043a\u0443\u0434\u0430 \u043f\u0430\u044f\u0442\u044c, \u043d\u0443\u0436\u0435\u043d \u043b\u0438 \u043d\u0443\u043b\u044c-\u043c\u043e\u0434\u0435\u043c\u043d\u044b\u0439 \u043a\u0430\u0431\u0435\u043b\u044c).\u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u043b\u043e\u0433\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430.\u042d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0447\u0430\u0441\u044b \u0433\u0443\u0433\u043b\u0435\u043d\u0438\u044f \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0439. \u042f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u043e\u0442 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439: \u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0448\u043b\u044e\u0442 \u043b\u0438 \u0432\u0435\u0441\u044b ASCII-\u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 0x45 \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438. \u0412\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0435 GetStableWeight(5000).\u0427\u0442\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u0430\u043b\u044c\u0448\u0435:\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0432\u0435\u0441\u043e\u0432 \u0441 Ethernet\/Wi-Fi (TCP\/IP).\u0420\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0431\u0430\u0437\u0443 Docs\/ \u0441\u0438\u043b\u0430\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 (\u0432\u0430\u0448\u0438 PR \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f!).\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438: GitHub \u2014 ScalesComponent\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u2014 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043b\u0430\u0439\u043a, \u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432 (\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0440\u0435\u0434\u043a\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439), \u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b. \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043f\u043e\u043c\u043e\u0447\u044c!\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1111554\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-504512","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/504512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=504512"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/504512\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=504512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=504512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=504512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}