https://www.nationrise.com.tw/custom_142451.html
揚程單位換算
揚程單位換算
/* 專屬命名空間:防止與智邦全站 CSS 產生衝突與跑位 */
.nr-press-container {
--primary-navy: #0f2b48;
--accent-blue: #1d63b8;
--bg-gray: #f8fafc;
--card-bg: #ffffff;
--text-dark: #1e293b;
--text-muted: #64748b;
--border-color: #e2e8f0;
--input-bg: #f8fafc;
--focus-ring: rgba(29, 99, 184, 0.15);
box-sizing: border-box;
width: 100% !important;
max-width: 100% !important;
margin: 0 auto;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.nr-press-container * {
box-sizing: border-box;
}
/* 主卡片容器 */
.nr-press-card {
background: var(--card-bg);
width: 100%;
padding: 24px 20px;
border-radius: 8px;
box-shadow: 0 2px 12px rgba(15, 43, 72, 0.05);
border: 1px solid var(--border-color);
}
/* 頂部 Header 區塊 */
.nr-press-header {
margin-bottom: 16px;
text-align: left;
}
.nr-press-subtitle {
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 1.5px;
color: var(--accent-blue);
text-transform: uppercase;
margin-bottom: 4px;
}
.nr-press-title {
font-size: 1.35rem;
color: var(--primary-navy);
font-weight: 700;
letter-spacing: -0.5px;
margin: 0;
padding: 0;
line-height: 1.3;
}
.nr-press-desc {
font-size: 0.85rem;
color: var(--text-muted);
margin-top: 6px;
line-height: 1.4;
}
.nr-press-divider {
height: 1px;
background-color: var(--border-color);
margin: 16px 0 20px 0;
}
/* 響應式網格:自動排版與適應框架寬度 */
.nr-press-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
width: 100%;
}
.nr-press-group {
display: flex;
flex-direction: column;
width: 100%;
}
.nr-press-group label {
font-size: 0.85rem;
font-weight: 600;
color: var(--primary-navy);
margin-bottom: 6px;
display: block;
}
.nr-press-wrapper {
position: relative;
display: flex;
align-items: center;
width: 100%;
}
.nr-press-wrapper input {
width: 100%;
height: 42px;
padding: 0 85px 0 12px;
font-size: 0.95rem;
font-weight: 600;
color: var(--text-dark);
background-color: var(--input-bg);
border: 1px solid var(--border-color);
border-radius: 6px;
outline: none;
transition: all 0.2s ease;
box-shadow: none;
}
.nr-press-wrapper input:focus {
background-color: #ffffff;
border-color: var(--accent-blue);
box-shadow: 0 0 0 3px var(--focus-ring);
}
.nr-press-unit {
position: absolute;
right: 8px;
font-size: 0.75rem;
font-weight: 700;
color: var(--accent-blue);
background-color: #e0f2fe;
padding: 4px 8px;
border-radius: 4px;
pointer-events: none;
user-select: none;
white-space: nowrap;
}
/* 按鈕獨立容器:解決重置按鈕跑位問題 */
.nr-press-actions {
margin-top: 20px;
display: flex;
justify-content: flex-end;
width: 100%;
clear: both;
}
.nr-press-btn-reset {
background-color: #ffffff;
color: var(--text-muted);
border: 1px solid var(--border-color);
padding: 8px 18px;
font-size: 0.85rem;
font-weight: 600;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
display: inline-block;
line-height: 1.2;
}
.nr-press-btn-reset:hover {
background-color: var(--primary-navy);
color: #ffffff;
border-color: var(--primary-navy);
}
/* 對照基準說明區塊 */
.nr-press-principle {
background-color: #f1f5f9;
border-left: 4px solid var(--accent-blue);
padding: 12px 16px;
border-radius: 0 6px 6px 0;
margin-top: 20px;
width: 100%;
}
.nr-press-principle-title {
font-size: 0.75rem;
font-weight: 700;
color: var(--accent-blue);
letter-spacing: 1px;
margin-bottom: 4px;
}
.nr-press-principle-text {
font-size: 0.8rem;
color: var(--text-muted);
line-height: 1.5;
}
PUMP ENGINEERING TOOL
泵浦壓力與揚程換算器
輸入任一壓力或揚程數值,系統將自動連動換算其他常用工程單位(以常溫清水為基準)。
揚程 / 水頭 (m)
m (米)
壓力 (Bar)
bar
公斤壓力 (kg/cm²)
kg/cm²
英磅壓力 (PSI)
psi
千帕 (kPa)
kPa
兆帕 (MPa)
MPa
美制揚程 (ft)
ft (呎)
重新計算 / 清除
01 / CONVERSION BASIS
常用泵浦壓力與揚程換算基準(清水 SG = 1.0):• 1 bar ≈ 10.197 m (水頭米) ≈ 1.0197 kg/cm² ≈ 14.504 psi• 1 kg/cm² ≈ 10 m (水頭米) ≈ 0.981 bar ≈ 14.223 psi• 1 MPa = 10 bar = 1000 kPa ≈ 101.97 m (水頭米)
// 以 Bar 為基準的轉換係數
const factors = {
BAR: 1,
HEAD_M: 10.197162, // 1 bar ≈ 10.197 mH2O
KG_CM2: 1.019716, // 1 bar ≈ 1.0197 kg/cm²
PSI: 14.503774, // 1 bar ≈ 14.504 psi
KPA: 100, // 1 bar = 100 kPa
MPA: 0.1, // 1 bar = 0.1 MPa
HEAD_FT: 33.455256 // 1 bar ≈ 33.455 ftH2O
};
const inputs = {
BAR: document.getElementById('BAR'),
HEAD_M: document.getElementById('HEAD_M'),
KG_CM2: document.getElementById('KG_CM2'),
PSI: document.getElementById('PSI'),
KPA: document.getElementById('KPA'),
MPA: document.getElementById('MPA'),
HEAD_FT: document.getElementById('HEAD_FT')
};
Object.keys(inputs).forEach(key => {
inputs[key].addEventListener('input', (e) => convert(key, e.target.value));
});
function convert(sourceKey, val) {
if (val === '' || isNaN(val)) {
resetForm();
return;
}
const numVal = parseFloat(val);
// 轉換為基準單位 Bar
const baseBAR = numVal / factors[sourceKey];
// 即時計算其他單位
Object.keys(inputs).forEach(key => {
if (key !== sourceKey) {
const result = baseBAR * factors[key];
inputs[key].value = Number.isInteger(result) ? result : parseFloat(result.toFixed(4));
}
});
}
function resetForm() {
Object.keys(inputs).forEach(key => {
inputs[key].value = '';
});
}
https://www.nationrise.com.tw/
國楊興業 Stairs Pump | Stairs泵浦 | 宏奇泵浦專營
01 / CONVERSION BASIS
常用泵浦壓力與揚程換算基準(清水 SG = 1.0):
• 1 bar ≈ 10.197 m (水頭米) ≈ 1.0197 kg/cm² ≈ 14.504 psi
• 1 kg/cm² ≈ 10 m (水頭米) ≈ 0.981 bar ≈ 14.223 psi
• 1 MPa = 10 bar = 1000 kPa ≈ 101.97 m (水頭米)