{"id":1944,"date":"2020-10-08T11:02:02","date_gmt":"2020-10-08T09:02:02","guid":{"rendered":"https:\/\/cn.gshydro.com\/?page_id=1944"},"modified":"2020-10-08T15:01:33","modified_gmt":"2020-10-08T13:01:33","slug":"thread-identification","status":"publish","type":"page","link":"https:\/\/cn.gshydro.com\/zh\/gs-resources\/thread-identification\/","title":{"rendered":"\u7ebf\u7a0b\u8bc6\u522b"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1944\" class=\"elementor elementor-1944\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7329e70 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7329e70\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[{&quot;jet_parallax_layout_image&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;_id&quot;:&quot;289fc21&quot;,&quot;jet_parallax_layout_image_tablet&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;jet_parallax_layout_image_mobile&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;jet_parallax_layout_speed&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:50,&quot;sizes&quot;:[]},&quot;jet_parallax_layout_type&quot;:&quot;scroll&quot;,&quot;jet_parallax_layout_direction&quot;:&quot;1&quot;,&quot;jet_parallax_layout_fx_direction&quot;:null,&quot;jet_parallax_layout_z_index&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_x&quot;:50,&quot;jet_parallax_layout_bg_x_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_x_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_y&quot;:50,&quot;jet_parallax_layout_bg_y_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_y_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_size&quot;:&quot;auto&quot;,&quot;jet_parallax_layout_bg_size_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_size_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_animation_prop&quot;:&quot;transform&quot;,&quot;jet_parallax_layout_on&quot;:[&quot;desktop&quot;,&quot;tablet&quot;]}]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cde0e52\" data-id=\"cde0e52\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d81378b elementor-widget elementor-widget-heading\" data-id=\"d81378b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><b>\u7ebf<\/b> \u9274\u522b<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0b0fb7d elementor-widget elementor-widget-html\" data-id=\"0b0fb7d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t <form id=\"flangeForm\" action=\"\">\r\n      <div class=\"form-row\">\r\n      <label>\u5916\u5f84[mm]<select name=\"thread-od\"><\/select><\/label>\r\n      <label>\u5185\u5f84[mm]<select name=\"thread-id\"><\/select><\/label>\r\n      <label>\u87ba\u7eb9\u7c7b\u578b<select name=\"thread-type\"><\/select><\/label>\r\n      <\/div>\r\n    <input type=\"hidden\" name=\"trp-form-language\" value=\"zh\"\/><\/form>\r\n    <div class=\"results-wrapper\">\r\n      <table>\r\n        <thead>\r\n          <tr>\r\n            <td colspan=\"3\">\u7ebf\u7a0b\u8bc6\u522b<\/td>\r\n            <td colspan=\"2\">JIC<\/td>\r\n            <td colspan=\"2\">DIN\u6807\u51c6<\/td>\r\n          <\/tr>\r\n          <tr>\r\n            <td>\u5916\u5f84[mm]<\/td>\r\n            <td>\u5185\u5f84[mm]<\/td>\r\n            <td>\u87ba\u7eb9\u7c7b\u578b<\/td>\r\n            <td>\u5c3a\u5bf8<\/td>\r\n            <td>\u6ca5\u9752<\/td>\r\n            <td>\u5c3a\u5bf8<\/td>\r\n            <td>\u6ca5\u9752<\/td>\r\n          <\/tr>\r\n        <\/thead>\r\n        <tbody id=\"results\"><\/tbody>\r\n      <\/table>\r\n    <\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-19dae9b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"19dae9b\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[{&quot;jet_parallax_layout_image&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;_id&quot;:&quot;ee9433f&quot;,&quot;jet_parallax_layout_image_tablet&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;jet_parallax_layout_image_mobile&quot;:{&quot;url&quot;:&quot;&quot;,&quot;id&quot;:&quot;&quot;,&quot;size&quot;:&quot;&quot;},&quot;jet_parallax_layout_speed&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:50,&quot;sizes&quot;:[]},&quot;jet_parallax_layout_type&quot;:&quot;scroll&quot;,&quot;jet_parallax_layout_direction&quot;:&quot;1&quot;,&quot;jet_parallax_layout_fx_direction&quot;:null,&quot;jet_parallax_layout_z_index&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_x&quot;:50,&quot;jet_parallax_layout_bg_x_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_x_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_y&quot;:50,&quot;jet_parallax_layout_bg_y_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_y_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_size&quot;:&quot;auto&quot;,&quot;jet_parallax_layout_bg_size_tablet&quot;:&quot;&quot;,&quot;jet_parallax_layout_bg_size_mobile&quot;:&quot;&quot;,&quot;jet_parallax_layout_animation_prop&quot;:&quot;transform&quot;,&quot;jet_parallax_layout_on&quot;:[&quot;desktop&quot;,&quot;tablet&quot;]}]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-008f6de\" data-id=\"008f6de\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8addaac elementor-widget elementor-widget-html\" data-id=\"8addaac\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\n    let filters = {\n  od: \"\",\n  id: \"\",\n  threadType: \"\",\n};\nconst data = {\n  Threads: [\n    {\n      od: \"7.95\",\n      id: \"6.78\",\n      threadType: \"5\/16\u201dUNF\",\n    },\n    {\n      od: \"8.00\",\n      id: \"6.92\",\n      threadType: \"M8\",\n      dinSize: \"04LL\",\n      dinPitch: \"1.0\",\n    },\n    {\n      od: \"9.73\",\n      id: \"8.57\",\n      threadType: \"1\/8\u201dBSP\",\n    },\n    {\n      od: \"10.00\",\n      id: \"8.92\",\n      threadType: \"M10\",\n      dinSize: \"06LL\",\n      dinPitch: \"1.0\",\n    },\n    {\n      od: \"10.27\",\n      id: \"8.77\",\n      threadType: \"1\/8\u201dNPT\",\n    },\n    {\n      od: \"11.11\",\n      id: \"9.74\",\n      threadType: \"7\/16\u201dUNF\",\n      jicSize: \"-04\",\n      jicPitch: \"20\",\n    },\n    {\n      od: \"12.00\",\n      id: \"10.38\",\n      threadType: \"M12\",\n      dinSize: \"08LL, 06L\",\n      dinPitch: \"1.0,1.5\",\n    },\n    {\n      od: \"12.70\",\n      id: \"11.33\",\n      threadType: \"1\/2\u201dUNF\",\n      jicSize: \"-05\",\n      jicPitch: \"20\",\n    },\n    {\n      od: \"13.16\",\n      id: \"11.45\",\n      threadType: \"1\/4\u201dBSP\",\n    },\n    {\n      od: \"13.57\",\n      id: \"11.31\",\n      threadType: \"1\/4\u201dNPT\",\n    },\n    {\n      od: \"14.00\",\n      id: \"12.38\",\n      threadType: \"M14\",\n      dinSize: \"08L, 06S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"14.27\",\n      id: \"12.76\",\n      threadType: \"9\/16\u201dUNF\",\n      jicSize: \"-06\",\n      jicPitch: \"18\",\n    },\n    {\n      od: \"15.88\",\n      id: \"14.35\",\n      threadType: \"5\/8\u201dUNF\",\n    },\n    {\n      od: \"16.00\",\n      id: \"14.38\",\n      threadType: \"M16\",\n      dinSize: \"10L, 08S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"16.66\",\n      id: \"14.95\",\n      threadType: \"3\/8\u201dBSP\",\n    },\n    {\n      od: \"17.06\",\n      id: \"14.80\",\n      threadType: \"3\/8\u201dNPT\",\n    },\n    {\n      od: \"18.00\",\n      id: \"16.38\",\n      threadType: \"M18\",\n      dinSize: \"12L, 10S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"19.05\",\n      id: \"17.33\",\n      threadType: \"3\/4\u201dUNF\",\n      jicSize: \"-08\",\n      jicPitch: \"16\",\n    },\n    {\n      od: \"20.00\",\n      id: \"18.38\",\n      threadType: \"M20\",\n      dinSize: \"12S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"20.96\",\n      id: \"18.63\",\n      threadType: \"1\/2\u201dBSP\",\n    },\n    {\n      od: \"21.22\",\n      id: \"18.32\",\n      threadType: \"1\/2\u201dNPT\",\n    },\n    {\n      od: \"22.00\",\n      id: \"20.38\",\n      threadType: \"M22\",\n      dinSize: \"15L, 14S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"22.23\",\n      id: \"20.26\",\n      threadType: \"7\/8\u201dUNF\",\n      jicSize: \"-10\",\n      jicPitch: \"14\",\n    },\n    {\n      od: \"22.91\",\n      id: \"20.59\",\n      threadType: \"5\/8\u201dBSP\",\n    },\n    {\n      od: \"24.00\",\n      id: \"22.38\",\n      threadType: \"M24\",\n      dinSize: \"16S\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"26.00\",\n      id: \"24.38\",\n      threadType: \"M26\",\n      dinSize: \"18L\",\n      dinPitch: \"1.5\",\n    },\n    {\n      od: \"26.44\",\n      id: \"24.12\",\n      threadType: \"3\/4\u201dBSP\",\n    },\n    {\n      od: \"26.57\",\n      id: \"23.67\",\n      threadType: \"3\/4\u201dNPT\",\n    },\n    {\n      od: \"26.99\",\n      id: \"25.10\",\n      threadType: \"1 1\/16\u201dUN\",\n      jicSize: \"-12\",\n      jicPitch: \"12\",\n    },\n    {\n      od: \"27.00\",\n      id: \"24.83\",\n      threadType: \"M27\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"28.00\",\n      id: \"26.38\",\n      threadType: \"M28\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"30.00\",\n      id: \"27.83\",\n      threadType: \"M30\",\n      dinSize: \"22L, 20S\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"30.16\",\n      id: \"28.20\",\n      threadType: \"1 3\/16\u201dUN\",\n    },\n    {\n      od: \"30.20\",\n      id: \"27.88\",\n      threadType: \"7\/8\u201dBSP\",\n    },\n    {\n      od: \"31.23\",\n      id: \"29.61\",\n      threadType: \"1\u201dNPT\",\n    },\n    {\n      od: \"33.25\",\n      id: \"30.29\",\n      threadType: \"1\u201dBSP\",\n    },\n    {\n      od: \"33.34\",\n      id: \"31.40\",\n      threadType: \"1 5\/16\u201dUN\",\n      jicSize: \"-16\",\n      jicPitch: \"12\",\n    },\n    {\n      od: \"36.00\",\n      id: \"33.83\",\n      threadType: \"M36\",\n      dinSize: \"28L, 25S\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"41.28\",\n      id: \"39.30\",\n      threadType: \"1 5\/8\u201dUN\",\n      jicSize: \"-20\",\n      jicPitch: \"12\",\n    },\n    {\n      od: \"41.91\",\n      id: \"38.95\",\n      threadType: \"1 1\/4\u201dBSP\",\n    },\n    {\n      od: \"41.99\",\n      id: \"38.95\",\n      threadType: \"1 1\/4\u201dNPT\",\n    },\n    {\n      od: \"42.00\",\n      id: \"39.83\",\n      threadType: \"M42\",\n      dinSize: \"30S\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"45.00\",\n      id: \"42.83\",\n      threadType: \"M45\",\n      dinSize: \"35L\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"47.63\",\n      id: \"45.80\",\n      threadType: \"1 7\/8\u201dUN\",\n      jicSize: \"-24\",\n      jicPitch: \"12\",\n    },\n    {\n      od: \"47.80\",\n      id: \"44.85\",\n      threadType: \"1 1\/2\u201dBSP\",\n    },\n    {\n      od: \"48.05\",\n      id: \"44.52\",\n      threadType: \"1 1\/2\u201dNPT\",\n    },\n    {\n      od: \"52.00\",\n      id: \"49.83\",\n      threadType: \"M52\",\n      dinSize: \"42L, 38S\",\n      dinPitch: \"2.0\",\n    },\n    {\n      od: \"59.60\",\n      id: \"56.66\",\n      threadType: \"2\u201dBSP\",\n    },\n    {\n      od: \"60.09\",\n      id: \"56.56\",\n      threadType: \"2\u201dNPT\",\n    },\n    {\n      od: \"63.50\",\n      id: \"60.80\",\n      threadType: \"2 1\/2\u201dUN\",\n    },\n    {\n      od: \"65.71\",\n      id: \"62.75\",\n      threadType: \"2 1\/4\u201dBSP\",\n    },\n    {\n      od: \"73.00\",\n      id: \"68.80\",\n      threadType: \"2 1\/2\u201dNPT\",\n    },\n    {\n      od: \"75.18\",\n      id: \"72.23\",\n      threadType: \"2 1\/2\u201dBSP\",\n    },\n    {\n      od: \"87.88\",\n      id: \"84.93\",\n      threadType: \"3\u201dBSP\",\n    },\n    {\n      od: \"89.00\",\n      id: \"85.00\",\n      threadType: \"3\u201dNPT\",\n    },\n    {\n      od: \"113.03\",\n      id: \"110.70\",\n      threadType: \"4\u201dBSP\",\n    },\n    {\n      od: \"114.35\",\n      id: \"110.38\",\n      threadType: \"4\u201dNPT\",\n    },\n  ],\n};\n\nconst threadOd = document.querySelector('select[name=\"thread-od\"]'),\n  threadId = document.querySelector('select[name=\"thread-id\"]'),\n  threadTypeInput = document.querySelector('select[name=\"thread-type\"]'),\n  submitButton = document.querySelector('input[name=\"thread-search\"]');\nlet products = data.Threads;\n\nfor (let product of products) {\n  let o = document.createElement(\"option\");\n  let i = document.createElement(\"option\");\n  let t = document.createElement(\"option\");\n  let { od, id, threadType } = product;\n  o.value = od;\n  o.innerText = od;\n  i.value = id;\n  i.innerText = id;\n  t.value = threadType;\n  t.innerText = threadType;\n  document.querySelector(`option[value=\"${od}\"]`) ? false : threadOd.append(o);\n  document.querySelector(`option[value=\"${id}\"]`) ? false : threadId.append(i);\n  document.querySelector(`option[value=\"${threadType}\"]`)\n    ? falsed\n    : threadTypeInput.append(t);\n}\n\nconst selects = document.querySelectorAll(\"select\");\nfor (let select of selects) {\n  select.addEventListener(\"change\", (e) => {\n    document.getElementById(\"results\").innerHTML = \"\";\n    let attrName = e.target.getAttribute(\"name\");\n    if (attrName === \"thread-od\") {\n      filters.od = e.target.value;\n      products = products.filter((item) => item.od === filters.od);\n    } else if (attrName === \"thread-id\") {\n      filters.id = e.target.value;\n      products = products.filter((item) => item.id === filters.id);\n    } else if (attrName === \"thread-type\") {\n      filters.threadType = e.target.value;\n      products = products.filter(\n        (item) => item.threadType === filters.threadType\n      );\n    }\n    products.map((product) => {\n      let row = document.createElement(\"tr\");\n      let {\n        od,\n        id,\n        threadType,\n        jicPitch,\n        jicSize,\n        dinPitch,\n        dinSize,\n      } = product;\n      row.innerHTML = `\n      <td>${od}<\/td>\n      <td>${id}<\/td>\n      <td>${threadType}<\/td>\n      <td>${jicSize === undefined ? \"\" : jicSize}<\/td>\n      <td>${jicPitch === undefined ? \"\" : jicPitch}<\/td>\n      <td>${dinPitch === undefined ? \"\" : dinPitch}<\/td>\n      <td>${dinSize === undefined ? \"\" : dinSize}<\/td>`;\n      document.getElementById(\"results\").append(row);\n    });\n    products = data.Threads;\n  });\n}\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u87ba\u7eb9\u6807\u8bc6 OD[mm] ID[mm] \u87ba\u7eb9\u7c7b\u578b \u87ba\u7eb9\u6807\u8bc6 JIC DIN OD[mm] ID[mm] \u87ba\u7eb9\u7c7b\u578b \u5c3a\u5bf8 \u87ba\u8ddd \u5c3a\u5bf8 \u87ba\u8ddd<\/p>","protected":false},"author":3,"featured_media":0,"parent":1934,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-1944","page","type-page","status-publish","hentry","entry","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/pages\/1944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/comments?post=1944"}],"version-history":[{"count":0,"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/pages\/1944\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/pages\/1934"}],"wp:attachment":[{"href":"https:\/\/cn.gshydro.com\/zh\/wp-json\/wp\/v2\/media?parent=1944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}