{"id":1396,"date":"2025-10-15T17:52:03","date_gmt":"2025-10-15T17:52:03","guid":{"rendered":"http:\/\/selectairsystemsinccom.local\/?page_id=1396"},"modified":"2025-10-15T19:23:49","modified_gmt":"2025-10-15T19:23:49","slug":"mcc-spec-sheet","status":"publish","type":"page","link":"https:\/\/selectairsystemsinc.com\/selectwp\/electrical-controls\/mcc-spec-sheet\/","title":{"rendered":"MCC Spec Sheet Three Phase Power"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Three Phase MCC Spec Sheet<\/title>\n<style>\n  body { font-family: Arial, sans-serif; padding: 20px; background: #f9f9f9; }\n  h2, h3 { text-align: center; }\n  table { width: 100%; border-collapse: collapse; margin-top: 10px; }\n  th, td { border: 1px solid #ccc; padding: 8px; text-align: center; }\n  select, button { font-size: 16px; }\n  button { padding: 10px 20px; cursor: pointer; }\n  #panelGen-spec-generator { max-width: 800px; margin: 0 auto; padding: 20px; background: #fff; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }\n  .double-row th { border-bottom: none; }\n  .double-row td { border-top: none; }\n<\/style>\n<\/head>\n<body>\n\n<div id=\"panelGen-spec-generator\">\n  <h2>Three Phase MCC Spec Sheet<\/h2>\n\n  <!-- Configuration Selection -->\n  <div class=\"panelGen-selector\" style=\"margin-bottom: 20px;\">\n    <label for=\"panelGen-configuration\" style=\"font-weight: bold; display: block; margin-bottom: 5px;\">Select Configuration:<\/label>\n    <select id=\"panelGen-configuration\" style=\"width: 100%; padding: 8px;\">\n      <option value=\"\" selected>Select Configuration<\/option>\n      <option value=\"single-exhaust-single-supply\">Single Exhaust Single Supply<\/option>\n      <option value=\"single-exhaust-two-supply\">Single Exhaust Two Supply<\/option>\n      <option value=\"two-exhaust-single-supply\">Two Exhaust Single Supply<\/option>\n      <option value=\"two-exhaust-two-supply\">Two Exhaust Two Supply<\/option>\n      <option value=\"single-exhaust\">Single Exhaust<\/option>\n      <option value=\"two-exhaust\">Two Exhaust<\/option>\n    <\/select>\n  <\/div>\n\n  <!-- Spec Table -->\n  <div id=\"panelGen-spec-table\" style=\"display: none; margin-bottom: 20px;\">\n    <h3>Specification Sheet<\/h3>\n    <table class=\"double-row\">\n      <tbody id=\"panelGen-spec-table-body\"><\/tbody>\n    <\/table>\n  <\/div>\n\n  <!-- Panel Image -->\n  <div id=\"panelGen-preview\" style=\"text-align: center; margin-bottom: 20px;\">\n    <img decoding=\"async\" id=\"panelGen-image\" src=\"\" alt=\"Panel Preview\" style=\"max-width: 100%; border: 1px solid #ccc; padding: 10px; display: none;\">\n  <\/div>\n\n  <!-- Generate Spec Sheet Button -->\n  <div style=\"margin-top: 20px; text-align: center;\">\n    <button id=\"panelGen-print-button\">Generate Spec Sheet<\/button>\n  <\/div>\n<\/div>\n\n<script>\n(function() {\n  const templateShorthand = {\n    \"single-exhaust-single-supply\": \"1ef1sf\",\n    \"single-exhaust-two-supply\": \"1ef2sf\",\n    \"two-exhaust-single-supply\": \"2ef1sf\",\n    \"two-exhaust-two-supply\": \"2ef2sf\",\n    \"single-exhaust\": \"1ef\",\n    \"two-exhaust\": \"2ef\"\n  };\n\n  const templateLonghand = {\n    \"1ef1sf\": \"Single Exhaust Single Supply\",\n    \"1ef2sf\": \"Single Exhaust Two Supply\",\n    \"2ef1sf\": \"Two Exhaust Single Supply\",\n    \"2ef2sf\": \"Two Exhaust Two Supply\",\n    \"1ef\": \"Single Exhaust\",\n    \"2ef\": \"Two Exhaust\"\n  };\n\n  \/\/ Updated panel images\n  const panelImages = {\n    \"1ef1sf\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-1EF1SF.png\",\n    \"1ef2sf\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-1EF2SF.png\",\n    \"2ef1sf\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-2EF1SF.png\",\n    \"2ef2sf\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-2EF2SF.png\",\n    \"1ef\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-1EF.png\",\n    \"2ef\": \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/3-2EF.png\"\n  };\n\n  const panelSpecs = {\n    \"1ef1sf\": [\n      { param: \"Panel Config\", value: \"Single Exhaust Single Supply\" },\n      { param: \"No. of Exhaust Fans\", value: \"1\" },\n      { param: \"No. of Supplies\", value: \"1\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ],\n    \"1ef2sf\": [\n      { param: \"Panel Config\", value: \"Single Exhaust Two Supply\" },\n      { param: \"No. of Exhaust Fans\", value: \"1\" },\n      { param: \"No. of Supplies\", value: \"2\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ],\n    \"2ef1sf\": [\n      { param: \"Panel Config\", value: \"Two Exhaust Single Supply\" },\n      { param: \"No. of Exhaust Fans\", value: \"2\" },\n      { param: \"No. of Supplies\", value: \"1\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ],\n    \"2ef2sf\": [\n      { param: \"Panel Config\", value: \"Two Exhaust Two Supply\" },\n      { param: \"No. of Exhaust Fans\", value: \"2\" },\n      { param: \"No. of Supplies\", value: \"2\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ],\n    \"1ef\": [\n      { param: \"Panel Config\", value: \"Single Exhaust\" },\n      { param: \"No. of Exhaust Fans\", value: \"1\" },\n      { param: \"No. of Supplies\", value: \"0\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ],\n    \"2ef\": [\n      { param: \"Panel Config\", value: \"Two Exhaust\" },\n      { param: \"No. of Exhaust Fans\", value: \"2\" },\n      { param: \"No. of Supplies\", value: \"0\" },\n      { param: \"Panel Size\", value: '14\"x14\"x8\" (std.)' }\n    ]\n  };\n\n  const standardFeatures = [\n    \"Complete factory pre-wiring with all U.L. listed components and wiring.\",\n    \"Factory interlock provided for supply fan shutdown in fire mode.\",\n    \"Terminal block wiring for easy field wiring connections.\",\n    \"Adjustable trip settings on overload relays.\",\n    \"Factory interlock provided for hood lights shunting if needed.\",\n    \"15amp LPCC fuse protection of control circuit.\",\n    \"Ice cube relay with indicator light.\"\n  ];\n\n  const notes = [\n    \"In fire mode, exhaust fan will continue to operate, supply fan will shut down and locked out.\",\n    \"In fire mode, fan switches, heat sensors, and\/or light switches will be bypassed.\",\n    \"Fire system switches are located at the fire system control head (chemical tanks).\",\n    \"Shunt trips for receptacles, cooking equipment are provided by others.\",\n    \"If additional fire system interlocks are required for building alarms, monitoring, or additional systems they must be field supplied.\",\n    \"Main line power for receptacles not to be provided through this panel.\"\n  ];\n\n  const configDropdown = document.getElementById(\"panelGen-configuration\");\n  const panelImage = document.getElementById(\"panelGen-image\");\n  const specTable = document.getElementById(\"panelGen-spec-table\");\n  const specTableBody = document.getElementById(\"panelGen-spec-table-body\");\n  const printButton = document.getElementById(\"panelGen-print-button\");\n\n  const preloadedImages = {};\n  for (const key in panelImages) {\n    const img = new Image();\n    img.src = panelImages[key];\n    preloadedImages[key] = img;\n  }\n\n  let currentShorthand = null;\n\n  function updateLivePreview(shorthand) {\n    if (!shorthand) {\n      panelImage.style.display = \"none\";\n      specTable.style.display = \"none\";\n      currentShorthand = null;\n      return;\n    }\n    if (shorthand === currentShorthand) return;\n    currentShorthand = shorthand;\n\n    panelImage.src = preloadedImages[shorthand]?.src || \"\";\n    panelImage.style.display = preloadedImages[shorthand] ? \"block\" : \"none\";\n\n    const specs = panelSpecs[shorthand] || [];\n    if (!specs.length) {\n      specTable.style.display = \"none\";\n      return;\n    }\n    specTableBody.innerHTML = `\n      <tr>${specs.map(s => `<th>${s.param}<\/th>`).join('')}<\/tr>\n      <tr>${specs.map(s => `<td>${s.value}<\/td>`).join('')}<\/tr>\n    `;\n    specTable.style.display = \"block\";\n  }\n\n  updateLivePreview(null);\n\n  configDropdown.addEventListener(\"change\", function() {\n    const shorthand = templateShorthand[this.value] || null;\n    updateLivePreview(shorthand);\n  });\n\n  printButton.addEventListener(\"click\", function() {\n    const shorthand = templateShorthand[configDropdown.value];\n    if (!shorthand) return;\n\n    const specs = panelSpecs[shorthand] || [];\n    const panelSrc = panelImages[shorthand] || \"\";\n    const configLabel = templateLonghand[shorthand];\n    const logoSrc = \"https:\/\/selectairsystemsinc.com\/selectwp\/wp-content\/uploads\/2025\/10\/SELECT-AIR-SYSTEMS-LOGO-black-on-white.jpg\";\n\n    const css = `\n      <style>\n        body { font-family: Arial, sans-serif; margin:10px; font-size:12px; }\n        h2, h3 { text-align:center; margin:5px 0; }\n        table { border-collapse:collapse; width:100%; text-align:center; margin:6px 0; }\n        th, td { border:1px solid #ccc; padding:4px; font-size:12px; }\n        th { background-color: #f0f0f0; }\n        img { display:block; margin:6px auto; max-width:80%; height:auto; page-break-inside:avoid; }\n        ul { text-align:left; margin:6px auto; max-width:95%; padding-left:16px; font-size:12px; }\n        #panel-logo { position:absolute; top:0; left:0; height:40px; }\n        #header-container { position:relative; padding-bottom:8px; border-bottom:2px solid #000; margin-bottom:8px; }\n        button { padding:6px 12px; background:#0073aa; color:#fff; border:none; border-radius:4px; cursor:pointer; font-size:12px; }\n        @media print { #print-btn { display:none; } body { zoom:0.85; } }\n      <\/style>\n    `;\n\n    const htmlContent = `\n      <html>\n        <head>\n          <title>${configLabel} Spec Sheet<\/title>\n          ${css}\n        <\/head>\n        <body>\n          <div id=\"header-container\">\n            <img decoding=\"async\" id=\"panel-logo\" src=\"${logoSrc}\" alt=\"Logo\">\n            <h2>${configLabel} Specification Sheet<\/h2>\n          <\/div>\n\n          <table class=\"double-row\">\n            <tr>${specs.map(s => `<th>${s.param}<\/th>`).join('')}<\/tr>\n            <tr>${specs.map(s => `<td>${s.value}<\/td>`).join('')}<\/tr>\n          <\/table>\n\n          <div style=\"text-align:center; margin:8px 0;\">\n            <img decoding=\"async\" src=\"${panelSrc}\" alt=\"Panel Preview\">\n          <\/div>\n\n          <h3>Standard Features<\/h3>\n          <ul>${standardFeatures.map(f => `<li>${f}<\/li>`).join('')}<\/ul>\n\n          <h3>Notes<\/h3>\n          <ul>${notes.map(n => `<li>${n}<\/li>`).join('')}<\/ul>\n\n          <div style=\"text-align:center; margin-top:12px;\">\n            <button id=\"print-btn\" onclick=\"window.print()\">Print Spec Sheet<\/button>\n          <\/div>\n        <\/body>\n      <\/html>\n    `;\n\n    const specWindow = window.open(\"\", \"_blank\", \"width=900,height=900,scrollbars=yes\");\n    specWindow.document.write(htmlContent);\n    specWindow.document.close();\n    specWindow.focus();\n  });\n\n})();\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Three Phase MCC Spec Sheet Three Phase MCC Spec Sheet Select Configuration: Select ConfigurationSingle Exhaust Single SupplySingle Exhaust Two SupplyTwo Exhaust Single SupplyTwo Exhaust Two SupplySingle ExhaustTwo Exhaust Specification Sheet Generate Spec Sheet<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":36,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1396","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/pages\/1396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/comments?post=1396"}],"version-history":[{"count":4,"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/pages\/1396\/revisions"}],"predecessor-version":[{"id":1416,"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/pages\/1396\/revisions\/1416"}],"up":[{"embeddable":true,"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/pages\/36"}],"wp:attachment":[{"href":"https:\/\/selectairsystemsinc.com\/selectwp\/wp-json\/wp\/v2\/media?parent=1396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}