// # @hook UI61-parameter-labels 20260805
// Parameter labels are normalized to Chinese hydrology terms with unit and help text.
window.PROGRAM_FORM_CONFIGS = {
  "1-01": {
    "programId": "1-01",
    "title": "流域参数与设计暴雨",
    "description": "设计点雨量 · 面雨量 · 历时选择 · 参数表",
    "source": "软件内置洪水计算",
    "fields": [
      {
        "key": "area_km2",
        "label": "流域面积",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "frequencies",
        "label": "计算重现期",
        "default": "100,50,20,10",
        "unit": "年",
        "type": "text",
        "required": false,
        "help": "保留重现期键；100年对应设计频率1%。"
      },
      {
        "key": "h1_mean_mm",
        "label": "1h 点雨量均值",
        "default": 38.5,
        "unit": "mm",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "h1_cv",
        "label": "1h 点雨量变差系数 Cv",
        "default": 0.45,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "h6_mean_mm",
        "label": "6h 点雨量均值",
        "default": 64,
        "unit": "mm",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "h6_cv",
        "label": "6h 点雨量变差系数 Cv",
        "default": 0.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "h24_mean_mm",
        "label": "24h 点雨量均值",
        "default": 95,
        "unit": "mm",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "h24_cv",
        "label": "24h 点雨量变差系数 Cv",
        "default": 0.55,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "cs_ratio",
        "label": "偏态系数比值 Cs/Cv",
        "default": 3.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "alpha1",
        "label": "1h 点面折减系数 α",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "gamma1",
        "label": "1h 流域形状修正系数 γ",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "alpha3",
        "label": "3h 点面折减系数 α",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "gamma3",
        "label": "3h 流域形状修正系数 γ",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "alpha6",
        "label": "6h 点面折减系数 α",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "gamma6",
        "label": "6h 流域形状修正系数 γ",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "alpha24",
        "label": "24h 点面折减系数 α",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "gamma24",
        "label": "24h 流域形状修正系数 γ",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      }
    ],
    "moduleKey": "1"
  },
  "1-02": {
    "programId": "1-02",
    "title": "铁一院两所法设计洪水",
    "description": "洪峰流量 · 参数表 · 计算书",
    "source": "历史 GUI 与既有 core 参数表；A1/A2 取值须核定",
    "fields": [
      {
        "key": "basin_name",
        "label": "流域名称",
        "default": "示例流域",
        "unit": "",
        "type": "text",
        "required": false,
        "help": ""
      },
      {
        "key": "area",
        "label": "流域面积 F",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "river_length_l1",
        "label": "主河道长度 L1",
        "default": 13.8,
        "unit": "km",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "river_slope_j1",
        "label": "主河道比降 J1",
        "default": 0.095724,
        "unit": "小数",
        "type": "number",
        "required": true,
        "help": "沿用原桥接数值口径，1‰填0.001；不对旧草稿自动换算。"
      },
      {
        "key": "slope_length_l2",
        "label": "坡面长度 L2",
        "default": "",
        "unit": "km",
        "type": "number",
        "required": false,
        "help": "留空沿用历史估算式 L2=F/(2.7L1)。"
      },
      {
        "key": "slope_slope_i2",
        "label": "山坡平均坡度 J2（I2）",
        "default": "",
        "unit": "小数",
        "type": "number",
        "required": false,
        "help": "留空沿用历史估算式 J2=0.6J1。"
      },
      {
        "key": "a1",
        "label": "主河槽汇流参数 A1",
        "default": 0.341,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "仅为历史软件可调默认值，不是土类规范表；按项目依据核定。"
      },
      {
        "key": "a2",
        "label": "山坡汇流参数 A2",
        "default": 0.025,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "仅为历史软件可调默认值；用户新参数表尚未提供。"
      },
      {
        "key": "n",
        "label": "暴雨衰减指数 n",
        "default": 0.65,
        "unit": "",
        "type": "number",
        "required": false,
        "help": ""
      },
      {
        "key": "soil_class",
        "label": "土类",
        "default": "III",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "",
        "options": [
          {
            "value": "II",
            "label": "II类土"
          },
          {
            "value": "III",
            "label": "III类土"
          },
          {
            "value": "IV",
            "label": "IV类土"
          },
          {
            "value": "V",
            "label": "V类土"
          },
          {
            "value": "VI",
            "label": "VI类土"
          }
        ]
      },
      {
        "key": "moisture_condition",
        "label": "前期土壤水分",
        "default": "medium",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "",
        "options": [
          {
            "value": "wet",
            "label": "湿润"
          },
          {
            "value": "medium",
            "label": "中等"
          },
          {
            "value": "dry",
            "label": "干燥"
          }
        ]
      },
      {
        "key": "c_landform",
        "label": "地貌",
        "default": "高低山",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "",
        "options": [
          {
            "value": "高低山",
            "label": "高低山"
          },
          {
            "value": "丘陵",
            "label": "丘陵"
          },
          {
            "value": "平坦",
            "label": "平坦"
          }
        ]
      },
      {
        "key": "soil_param_mode",
        "label": "产流损失参数来源",
        "default": "legacy",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "查表仅使用已有 TIE_SOIL_CLASS_PARAMS，不含 A1/A2 参数表。",
        "options": [
          {
            "value": "legacy",
            "label": "土类查表（已有人工值优先）"
          },
          {
            "value": "table",
            "label": "按土类及前期水分查表"
          },
          {
            "value": "manual",
            "label": "人工输入 R、r1"
          }
        ]
      },
      {
        "key": "r_param",
        "label": "损失参数 R",
        "default": "",
        "unit": "",
        "type": "number",
        "required": false,
        "help": "兼容模式留空按土类查表；人工模式必须填写。",
        "visibleWhen": {
          "soil_param_mode": [
            "legacy",
            "manual"
          ]
        }
      },
      {
        "key": "r1_param",
        "label": "损失指数 r1",
        "default": "",
        "unit": "",
        "type": "number",
        "required": false,
        "help": "兼容模式留空按前期水分查表；人工模式必须填写。",
        "visibleWhen": {
          "soil_param_mode": [
            "legacy",
            "manual"
          ]
        }
      },
      {
        "key": "runoff_coefficient_auto",
        "label": "径流系数 C 取值方式",
        "default": "false",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "自动值由土类、前期水分、地貌、面积、n、S逐频率确定。",
        "options": [
          {
            "value": "false",
            "label": "人工输入"
          },
          {
            "value": "true",
            "label": "按表3-3自动查算"
          }
        ]
      },
      {
        "key": "runoff_coefficient",
        "label": "径流系数 C",
        "default": 0.86,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "",
        "visibleWhen": {
          "runoff_coefficient_auto": [
            "false"
          ]
        }
      },
      {
        "key": "rainfall_mode",
        "label": "24h 暴雨输入方式",
        "default": "direct",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "",
        "options": [
          {
            "value": "direct",
            "label": "直接输入各重现期面雨量"
          },
          {
            "value": "statistics",
            "label": "由点雨量均值、Cv、Cs/Cv计算"
          }
        ]
      },
      {
        "key": "h24_mean",
        "label": "24h 点雨量均值",
        "default": 70,
        "unit": "mm",
        "type": "number",
        "required": true,
        "help": "",
        "visibleWhen": {
          "rainfall_mode": [
            "statistics"
          ]
        }
      },
      {
        "key": "h24_cv",
        "label": "24h 点雨量变差系数 Cv",
        "default": 0.47,
        "unit": "",
        "type": "number",
        "required": true,
        "help": "",
        "visibleWhen": {
          "rainfall_mode": [
            "statistics"
          ]
        }
      },
      {
        "key": "h24_cs_ratio",
        "label": "24h 偏态系数比值 Cs/Cv",
        "default": 3.5,
        "unit": "",
        "type": "number",
        "required": true,
        "help": "",
        "visibleWhen": {
          "rainfall_mode": [
            "statistics"
          ]
        }
      },
      {
        "key": "areal_reduction",
        "label": "点面折减系数 η",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": true,
        "help": "",
        "visibleWhen": {
          "rainfall_mode": [
            "statistics"
          ]
        }
      },
      {
        "key": "shape_correction",
        "label": "流域形状修正系数 φ",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": true,
        "help": "",
        "visibleWhen": {
          "rainfall_mode": [
            "statistics"
          ]
        }
      },
      {
        "key": "h24_100",
        "label": "24h 面雨量（100年，P=1%）",
        "default": 180,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_50",
        "label": "24h 面雨量（50年，P=2%）",
        "default": 160,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_30",
        "label": "24h 面雨量（30年，P=3.333%）",
        "default": "",
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_25",
        "label": "24h 面雨量（25年，P=4%）",
        "default": "",
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_20",
        "label": "24h 面雨量（20年，P=5%）",
        "default": 135,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_10",
        "label": "24h 面雨量（10年，P=10%）",
        "default": 118,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_5",
        "label": "24h 面雨量（5年，P=20%）",
        "default": "",
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "h24_2",
        "label": "24h 面雨量（2年，P=50%）",
        "default": "",
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "已经是面雨量，不再乘点面折减或形状修正；留空不计算该频率。",
        "visibleWhen": {
          "rainfall_mode": [
            "direct"
          ]
        }
      },
      {
        "key": "beta1",
        "label": "历史兼容参数 β1",
        "default": 0.65,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "旧参数键保留归档；现有 core 铁一院洪峰公式未使用该值，不改变计算结果。"
      }
    ],
    "moduleKey": "1"
  },
  "1-03": {
    "programId": "1-03",
    "title": "地区经验公式洪峰流量",
    "description": "洪峰流量 · 地区参数 · 频率系数",
    "source": "软件内置洪水计算",
    "fields": [
      {
        "key": "basin_name",
        "label": "流域名称",
        "default": "示例流域",
        "unit": "",
        "type": "text",
        "required": false,
        "help": ""
      },
      {
        "key": "area",
        "label": "流域面积 F",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": true,
        "help": ""
      },
      {
        "key": "region_id",
        "label": "地区经验分区",
        "default": "",
        "unit": "",
        "type": "select",
        "required": true,
        "help": "按水系与适用面积明确选择，不自动猜测或截断分区编号。",
        "options": [
          {
            "value": "",
            "label": "请选择地区经验分区"
          },
          {
            "value": "1",
            "label": "昌马河 F<11000"
          },
          {
            "value": "2",
            "label": "昌马河 F>11000"
          },
          {
            "value": "3",
            "label": "白杨河、赤金河、踏实河"
          },
          {
            "value": "4",
            "label": "黑河、梨园河 F<10000"
          },
          {
            "value": "5",
            "label": "黑河、梨园河 F>10000"
          },
          {
            "value": "6",
            "label": "山丹马营河等"
          },
          {
            "value": "7",
            "label": "讨赖河 F<7000"
          },
          {
            "value": "8",
            "label": "讨赖河 F>7000"
          },
          {
            "value": "9",
            "label": "杂木河、金塔河"
          },
          {
            "value": "10",
            "label": "黄羊河等 F<800"
          },
          {
            "value": "11",
            "label": "黄羊河等 F>800"
          },
          {
            "value": "12",
            "label": "西营河"
          },
          {
            "value": "13",
            "label": "东大河、西大河"
          },
          {
            "value": "14",
            "label": "内陆河流走廊地区 F>10000"
          },
          {
            "value": "15",
            "label": "大夏河 F<6200"
          },
          {
            "value": "16",
            "label": "大夏河 F>6200"
          },
          {
            "value": "17",
            "label": "洮河干流 F<7400"
          },
          {
            "value": "18",
            "label": "洮河干流 7400<F<15000"
          },
          {
            "value": "19",
            "label": "洮河干流 F>15000"
          },
          {
            "value": "20",
            "label": "卓尼以上，洮河干支流"
          },
          {
            "value": "21",
            "label": "羊沙河、大峪河、冶木河"
          },
          {
            "value": "22",
            "label": "胭脂河、东峪沟、大碧河"
          },
          {
            "value": "23",
            "label": "广通河"
          },
          {
            "value": "24",
            "label": "纳纳河、漫坝河、迭藏河"
          },
          {
            "value": "25",
            "label": "大通河"
          },
          {
            "value": "26",
            "label": "庄浪河"
          },
          {
            "value": "27",
            "label": "关川河"
          },
          {
            "value": "28",
            "label": "祖厉河干流"
          },
          {
            "value": "29",
            "label": "祖厉河支流"
          },
          {
            "value": "30",
            "label": "甘谷以上渭河干流以南支流"
          },
          {
            "value": "31",
            "label": "渭河干流以北 F<3900"
          },
          {
            "value": "32",
            "label": "渭河干流以北 3900<F<7600"
          },
          {
            "value": "33",
            "label": "渭河干流以北 7600<F<23500"
          },
          {
            "value": "34",
            "label": "渭河干流以北 F>23500"
          },
          {
            "value": "35",
            "label": "牛头河、水洛河、清水河"
          },
          {
            "value": "36",
            "label": "葫芦河干流 F<2800"
          },
          {
            "value": "37",
            "label": "葫芦河干流 F>2800"
          },
          {
            "value": "38",
            "label": "散渡河"
          },
          {
            "value": "39",
            "label": "静宁以下葫芦河干流以西支流"
          },
          {
            "value": "40",
            "label": "泾河干流及汭河 250<F<14000"
          },
          {
            "value": "41",
            "label": "泾河干流及汭河 14000<F<40000"
          },
          {
            "value": "42",
            "label": "泾河干流及汭河 F>40000"
          },
          {
            "value": "43",
            "label": "茹河、颉河三关口以上"
          },
          {
            "value": "44",
            "label": "泾河崆峒峡以上及汭河 F<250"
          },
          {
            "value": "45",
            "label": "崆峒峡至泾川区间支流及洪河"
          },
          {
            "value": "46",
            "label": "蒲河支流交口河"
          },
          {
            "value": "47",
            "label": "蒲河干流及巴家咀以上 F<3500"
          },
          {
            "value": "48",
            "label": "蒲河干流及巴家咀以上 F>3500"
          },
          {
            "value": "49",
            "label": "马莲河东川"
          },
          {
            "value": "50",
            "label": "马莲河干流及马莲河西川洪德以下"
          },
          {
            "value": "51",
            "label": "马莲河庆阳至雨落坪区间支流"
          },
          {
            "value": "52",
            "label": "马莲河洪德以上"
          },
          {
            "value": "53",
            "label": "达溪河 F<2500"
          },
          {
            "value": "54",
            "label": "达溪河 F>2500"
          },
          {
            "value": "55",
            "label": "黑河(泾河水系)"
          },
          {
            "value": "56",
            "label": "新店子以上嘉陵江干流及东坡以上支流"
          },
          {
            "value": "57",
            "label": "东坡至谈家庄区间支流"
          },
          {
            "value": "58",
            "label": "西汉水干流及毛坝以上 F<3400"
          },
          {
            "value": "59",
            "label": "西汉水干流及毛坝以上 F>3400"
          },
          {
            "value": "60",
            "label": "略阳以下嘉陵江右岸支流"
          },
          {
            "value": "61",
            "label": "玉垒至跳渡区间支流 F<800"
          },
          {
            "value": "62",
            "label": "白龙江干流两水以上 F<15000"
          },
          {
            "value": "63",
            "label": "白龙江干流 15000<F<26000"
          },
          {
            "value": "64",
            "label": "白龙江干流 F>26000"
          },
          {
            "value": "65",
            "label": "蒿子店至两水区间支流"
          },
          {
            "value": "66",
            "label": "白水江干流"
          },
          {
            "value": "67",
            "label": "白水江支流"
          }
        ]
      },
      {
        "key": "allow_out_of_range",
        "label": "分区面积范围校核",
        "default": "false",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "",
        "options": [
          {
            "value": "false",
            "label": "严格校核（不允许外推）"
          },
          {
            "value": "true",
            "label": "允许外推（结果保留警告）"
          }
        ]
      }
    ],
    "moduleKey": "1"
  },
  "1-04": {
    "programId": "1-04",
    "title": "瞬时单位线法",
    "description": "按《甘肃省暴雨洪水图集》组织点雨量、点面折减、形状修正、入渗产流和瞬时单位线汇流；输出面雨量、净雨、单位线和洪水过程线。",
    "source": "《甘肃省暴雨洪水图集》雨型、点面折减、附表12入渗参数及软件内置瞬时单位线公式",
    "fieldLayout": "gansuRainFlood",
    "resultProfile": "instantUnitLine",
    "fields": [
      {
        "key": "area_km2",
        "label": "流域面积",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": false,
        "help": "控制断面以上汇水面积。"
      },
      {
        "key": "frequencies",
        "label": "计算频率组合",
        "default": "100,50,20,10",
        "unit": "年",
        "type": "text",
        "required": false,
        "help": "逗号分隔重现期，例如 100,50,20,10。软件按这些频率同步输出洪峰、洪量、净雨和过程线。"
      },
      {
        "key": "river_slope_permille",
        "label": "河道比降",
        "default": 95.724,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "计算河段或主沟平均坡降。"
      },
      {
        "key": "rainfall_zone_id",
        "label": "暴雨分区",
        "default": "huanghe",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "仅用于图集雨型过程选取；不需要雨型分区的其他方法不会强制使用。请按项目所在流域分区选择。",
        "options": [
          {
            "value": "hexi",
            "label": "河西区"
          },
          {
            "value": "huanghe",
            "label": "黄河干支流区"
          },
          {
            "value": "jialingjiang",
            "label": "嘉陵江区"
          },
          {
            "value": "weihe",
            "label": "渭河区"
          },
          {
            "value": "jinghe",
            "label": "泾河区"
          }
        ]
      },
      {
        "key": "h1_mean_mm",
        "label": "1h 点雨量均值 H1",
        "default": 38.5,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填图集等值线、站点统计或审定资料确定的点雨量均值，不是面雨量；面雨量由点雨量、频率系数、点面折减和形状修正共同换算。"
      },
      {
        "key": "h1_cv",
        "label": "1h 点雨量变差系数",
        "default": 0.45,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "1h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "h6_mean_mm",
        "label": "6h 点雨量均值 H6",
        "default": 64.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填 6h 历时点雨量均值；若后续接入图集等值线数据库，可由坐标自动查算。"
      },
      {
        "key": "h6_cv",
        "label": "6h 点雨量变差系数",
        "default": 0.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "6h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "h24_mean_mm",
        "label": "24h 点雨量均值 H24",
        "default": 95.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填 24h 历时点雨量均值；用于形成设计暴雨、产流和洪水过程线。"
      },
      {
        "key": "h24_cv",
        "label": "24h 点雨量变差系数",
        "default": 0.55,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "24h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "cs_ratio",
        "label": "偏态系数与变差系数比值",
        "default": 3.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "频率曲线计算采用的 Cs/Cv 比值。"
      },
      {
        "key": "alpha1",
        "label": "1h 点面折减系数 α1",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "点雨量换算面雨量的空间折减系数；应按流域面积、历时和图集点面折减关系查取。"
      },
      {
        "key": "alpha3",
        "label": "3h 点面折减系数 α3",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "3h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "alpha6",
        "label": "6h 点面折减系数 α6",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "6h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "alpha24",
        "label": "24h 点面折减系数 α24",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "24h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "gamma1",
        "label": "1h 形状修正系数 γ1",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "按图集流域形状修正关系查算；无审定资料时不要编造，默认 1.0 表示不修正。"
      },
      {
        "key": "gamma3",
        "label": "3h 形状修正系数 γ3",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 3h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "gamma6",
        "label": "6h 形状修正系数 γ6",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 6h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "gamma24",
        "label": "24h 形状修正系数 γ24",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 24h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "delta_t_h",
        "label": "计算时段长度",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "过程线离散计算采用的时间步长。"
      },
      {
        "key": "runoff_duration_h",
        "label": "产流历时 Tc",
        "default": "",
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "可留空由雨型和净雨过程自动判断；手动填写时按审定产流历时覆盖自动值。"
      },
      {
        "key": "infiltration_rate_mmh",
        "label": "平均入渗率 f",
        "default": "",
        "unit": "mm/h",
        "type": "number",
        "required": false,
        "help": "可留空由附表12和产流历时自动查算；手动填写时作为产流损失率覆盖自动查算值。"
      },
      {
        "key": "infiltration_table_id",
        "label": "入渗分区",
        "default": "huangtu",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "按《甘肃省暴雨洪水图集》附表12选择入渗损失参数；仅用于产净雨过程。",
        "options": [
          {
            "value": "hexi_shishan",
            "label": "河西石山森林草原区（附表12一）"
          },
          {
            "value": "longnan_shishan",
            "label": "陇南石山林区（附表12二）"
          },
          {
            "value": "huangtu",
            "label": "黄土区（附表12三）"
          },
          {
            "value": "huangtu_shanlin",
            "label": "黄土山（林）区（附表12四）"
          },
          {
            "value": "liupanshan_tushishan",
            "label": "六盘山土石山区（附表12五）"
          }
        ]
      },
      {
        "key": "unit_param_region",
        "label": "单位线参数分区",
        "default": "huangtu",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "瞬时单位线参数分区；未有项目所在区资料时请先补充图集依据。",
        "options": [
          {
            "value": "huangtu",
            "label": "黄土区公式（表8/示例）"
          },
          {
            "value": "excel_weibei_ref",
            "label": "参考表旧公式（暂保留）"
          }
        ]
      }
    ],
    "moduleKey": "1"
  },
  "1-05": {
    "programId": "1-05",
    "title": "推理公式法",
    "description": "按《甘肃省暴雨洪水图集》组织点雨量、空间修正、入渗产流和推理公式联立求解；输出汇流曲线、洪峰流量和洪水过程线。",
    "source": "《甘肃省暴雨洪水图集》雨型、附表12入渗参数、表10推理公式参数及软件内置联立求解",
    "fieldLayout": "gansuRainFlood",
    "resultProfile": "rationalFormula",
    "fields": [
      {
        "key": "area_km2",
        "label": "流域面积",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": false,
        "help": "控制断面以上汇水面积。"
      },
      {
        "key": "frequencies",
        "label": "计算频率组合",
        "default": "100,50,20,10",
        "unit": "年",
        "type": "text",
        "required": false,
        "help": "逗号分隔重现期，例如 100,50,20,10。软件同步求解各频率洪峰、τ、洪量和过程线。"
      },
      {
        "key": "river_length_km",
        "label": "主河道长度",
        "default": 13.8,
        "unit": "km",
        "type": "number",
        "required": false,
        "help": "流域出口至分水岭的主河道长度。"
      },
      {
        "key": "river_slope_permille",
        "label": "河道比降",
        "default": 95.724,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "计算河段或主沟平均坡降。"
      },
      {
        "key": "rainfall_zone_id",
        "label": "暴雨分区",
        "default": "huanghe",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "仅用于图集雨型过程选取；不需要雨型分区的其他方法不会强制使用。请按项目所在流域分区选择。",
        "options": [
          {
            "value": "hexi",
            "label": "河西区"
          },
          {
            "value": "huanghe",
            "label": "黄河干支流区"
          },
          {
            "value": "jialingjiang",
            "label": "嘉陵江区"
          },
          {
            "value": "weihe",
            "label": "渭河区"
          },
          {
            "value": "jinghe",
            "label": "泾河区"
          }
        ]
      },
      {
        "key": "h1_mean_mm",
        "label": "1h 点雨量均值 H1",
        "default": 38.5,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填图集等值线、站点统计或审定资料确定的点雨量均值，不是面雨量；面雨量由点雨量、频率系数、点面折减和形状修正共同换算。"
      },
      {
        "key": "h1_cv",
        "label": "1h 点雨量变差系数",
        "default": 0.45,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "1h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "h6_mean_mm",
        "label": "6h 点雨量均值 H6",
        "default": 64.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填 6h 历时点雨量均值；若后续接入图集等值线数据库，可由坐标自动查算。"
      },
      {
        "key": "h6_cv",
        "label": "6h 点雨量变差系数",
        "default": 0.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "6h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "h24_mean_mm",
        "label": "24h 点雨量均值 H24",
        "default": 95.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "这里填 24h 历时点雨量均值；用于推理公式雨量式和洪水过程线。"
      },
      {
        "key": "h24_cv",
        "label": "24h 点雨量变差系数",
        "default": 0.55,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "24h 点雨量频率计算采用的变差系数。"
      },
      {
        "key": "cs_ratio",
        "label": "偏态系数与变差系数比值",
        "default": 3.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "频率曲线计算采用的 Cs/Cv 比值。"
      },
      {
        "key": "alpha1",
        "label": "1h 点面折减系数 α1",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "点雨量换算面雨量的空间折减系数；应按流域面积、历时和图集点面折减关系查取。"
      },
      {
        "key": "alpha3",
        "label": "3h 点面折减系数 α3",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "3h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "alpha6",
        "label": "6h 点面折减系数 α6",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "6h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "alpha24",
        "label": "24h 点面折减系数 α24",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "24h 历时点雨量换算为面雨量的折减系数。"
      },
      {
        "key": "gamma1",
        "label": "1h 形状修正系数 γ1",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "按图集流域形状修正关系查算；无审定资料时不要编造，默认 1.0 表示不修正。"
      },
      {
        "key": "gamma3",
        "label": "3h 形状修正系数 γ3",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 3h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "gamma6",
        "label": "6h 形状修正系数 γ6",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 6h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "gamma24",
        "label": "24h 形状修正系数 γ24",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于 24h 面雨量形状修正；通常按图集附图查取。"
      },
      {
        "key": "delta_t_h",
        "label": "计算时段长度",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "过程线离散计算采用的时间步长。"
      },
      {
        "key": "runoff_duration_h",
        "label": "产流历时 Tc",
        "default": "",
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "可留空由雨型和净雨过程自动判断；手动填写时按审定产流历时覆盖自动值。"
      },
      {
        "key": "infiltration_rate_mmh",
        "label": "平均入渗率 f",
        "default": "",
        "unit": "mm/h",
        "type": "number",
        "required": false,
        "help": "可留空由附表12和产流历时自动查算；手动填写时作为产流损失率覆盖自动查算值。"
      },
      {
        "key": "infiltration_table_id",
        "label": "入渗分区",
        "default": "huangtu",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "按《甘肃省暴雨洪水图集》附表12选择入渗损失参数；仅用于产净雨过程。",
        "options": [
          {
            "value": "hexi_shishan",
            "label": "河西石山森林草原区（附表12一）"
          },
          {
            "value": "longnan_shishan",
            "label": "陇南石山林区（附表12二）"
          },
          {
            "value": "huangtu",
            "label": "黄土区（附表12三）"
          },
          {
            "value": "huangtu_shanlin",
            "label": "黄土山（林）区（附表12四）"
          },
          {
            "value": "liupanshan_tushishan",
            "label": "六盘山土石山区（附表12五）"
          }
        ]
      },
      {
        "key": "rational_region_id",
        "label": "推理公式汇流参数分区",
        "default": "huangtu",
        "unit": "",
        "type": "select",
        "required": false,
        "help": "推理公式汇流参数分区；用于查取 Ka、Kw、KT 等经验参数。",
        "options": [
          {
            "value": "huangtu",
            "label": "黄土区"
          },
          {
            "value": "liupanshan_forest",
            "label": "六盘山土石山林区"
          },
          {
            "value": "liupanshan_general",
            "label": "六盘山土石山植被一般区"
          }
        ]
      }
    ],
    "moduleKey": "1"
  },
  "1-06": {
    "programId": "1-06",
    "title": "洪水过程线合成",
    "description": "合成过程线 · 洪峰 · 峰现时间",
    "source": "软件内置洪水计算",
    "fields": [
      {
        "key": "unit_peak_m3s",
        "label": "瞬时单位线法洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "瞬时单位线法计算得到的洪峰流量。"
      },
      {
        "key": "unit_offset_h",
        "label": "瞬时单位线峰现时间偏移",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "瞬时单位线洪峰相对起算时刻的时间偏移。"
      },
      {
        "key": "rational_peak_m3s",
        "label": "推理公式法洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "推理公式法计算得到的洪峰流量。"
      },
      {
        "key": "rational_offset_h",
        "label": "推理公式峰现时间偏移",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "推理公式洪峰相对起算时刻的时间偏移。"
      },
      {
        "key": "delta_t_h",
        "label": "计算时段长度",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "过程线离散计算采用的时间步长。"
      }
    ],
    "moduleKey": "1"
  },
  "1-08": {
    "programId": "1-08",
    "title": "水库洪峰流量和洪水总量",
    "description": "洪峰流量 · 洪水总量",
    "source": "《水利大算盘》第五章第1节",
    "fields": [
      {
        "key": "inflow_hydrograph",
        "label": "入库洪水过程线",
        "default": "0,100;1,300;2,800;3,500;4,200",
        "unit": "m³/s",
        "type": "text",
        "required": false,
        "help": "按“时间,流量”录入的入库洪水过程线序列。"
      },
      {
        "key": "elevation_storage_curve",
        "label": "水位库容关系曲线",
        "default": "1200,1000000;1205,2000000;1210,4000000",
        "unit": "m,万m³",
        "type": "text",
        "required": false,
        "help": "按“水位,库容”录入的水位库容关系曲线。"
      },
      {
        "key": "elevation_discharge_curve",
        "label": "水位泄量关系曲线",
        "default": "1200,20;1205,200;1210,800",
        "unit": "m,m³/s",
        "type": "text",
        "required": false,
        "help": "按“水位,泄量”录入的水位泄量关系曲线。"
      },
      {
        "key": "initial_elevation_m",
        "label": "起调水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "调洪演算开始时的水库水位。"
      }
    ],
    "moduleKey": "1"
  },
  "1-09": {
    "programId": "1-09",
    "title": "中小河流经验公式法",
    "description": "洪峰流量 · 适用时段 · 参数说明",
    "source": "软件内置洪水计算",
    "fields": [
      {
        "key": "basin_name",
        "label": "流域名称",
        "default": "示例流域",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "本次计算对应的流域或控制断面名称。"
      },
      {
        "key": "region",
        "label": "计算分区",
        "default": 1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "地区经验公式或参数表对应分区。"
      },
      {
        "key": "area",
        "label": "流域面积",
        "default": 47.02,
        "unit": "km²",
        "type": "number",
        "required": false,
        "help": "控制断面以上汇水面积。"
      },
      {
        "key": "river_length",
        "label": "主河道长度",
        "default": 13.8,
        "unit": "km",
        "type": "number",
        "required": false,
        "help": "流域出口至分水岭的主河道长度。"
      },
      {
        "key": "slope",
        "label": "河道比降",
        "default": 0.095724,
        "unit": "小数",
        "type": "number",
        "required": false,
        "help": "按小数录入，1‰ 填 0.001；若资料为 95.724‰，本项填 0.095724。"
      },
      {
        "key": "cv",
        "label": "变差系数 Cv",
        "default": 0.45,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "频率计算采用的变差系数。"
      },
      {
        "key": "rainfall_is_mean",
        "label": "H 输入模式",
        "default": "false",
        "unit": "",
        "type": "select",
        "required": false,
        "options": [
          {
            "value": "false",
            "label": "直接输入各频率流域平均设计 H（推荐）"
          },
          {
            "value": "true",
            "label": "输入流域平均雨量均值 H₀，软件按 Cv 计算 Kp"
          }
        ],
        "help": "H 必须是面积对应历时的流域平均雨量；单站点雨量需先完成点面折减。"
      },
      {
        "key": "rainfall_mean_mm",
        "label": "流域平均雨量均值 H₀",
        "default": 70.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "仅在选择“均值 H₀”模式时使用；各频率设计 H = H₀ × Kp。"
      },
      {
        "key": "rainfall_10",
        "label": "P=10% 流域平均设计 H",
        "default": 56.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "直接设计 H 模式下填写该频率、面积对应历时的流域平均雨量；均值 H₀ 模式下可留空。"
      },
      {
        "key": "rainfall_5",
        "label": "P=5% 流域平均设计 H",
        "default": 68.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "直接设计 H 模式下填写该频率、面积对应历时的流域平均雨量；均值 H₀ 模式下可留空。"
      },
      {
        "key": "rainfall_2",
        "label": "P=2% 流域平均设计 H",
        "default": 82.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "直接设计 H 模式下填写该频率、面积对应历时的流域平均雨量；均值 H₀ 模式下可留空。"
      },
      {
        "key": "rainfall_1",
        "label": "P=1% 流域平均设计 H",
        "default": 95.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "直接设计 H 模式下填写该频率、面积对应历时的流域平均雨量；均值 H₀ 模式下可留空。"
      }
    ],
    "moduleKey": "1"
  },
  "1-10": {
    "programId": "1-10",
    "title": "设计洪水成果对比",
    "description": "成果对比表 · 采用值建议 · 偏差提示",
    "source": "软件内置洪水计算",
    "fields": [
      {
        "key": "tieyuan_q_m3s",
        "label": "铁一两所法洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "铁一两所法计算得到的洪峰流量。"
      },
      {
        "key": "regional_q_m3s",
        "label": "地区经验公式洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "地区经验公式计算得到的洪峰流量。"
      },
      {
        "key": "unit_q_m3s",
        "label": "瞬时单位线法洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "瞬时单位线法计算得到的洪峰流量。"
      },
      {
        "key": "rational_q_m3s",
        "label": "推理公式法洪峰流量",
        "default": 1.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "推理公式法计算得到的洪峰流量。"
      }
    ],
    "moduleKey": "1"
  },
  "2-01": {
    "programId": "2-01",
    "title": "引水灌溉灌水模数",
    "description": "灌水模数 · 作物净流量",
    "source": "《水利大算盘》第一章第1节",
    "fields": [
      {
        "key": "irrigation_area_mu",
        "label": "灌溉面积",
        "default": 100.0,
        "unit": "亩",
        "type": "number",
        "required": false,
        "help": "需要灌溉的控制面积。"
      },
      {
        "key": "quota_m3_per_mu",
        "label": "灌水定额",
        "default": 1.0,
        "unit": "m³/亩",
        "type": "number",
        "required": false,
        "help": "单位面积作物一次灌水所需水量。"
      },
      {
        "key": "duration_days",
        "label": "灌水历时",
        "default": 1.0,
        "unit": "d",
        "type": "number",
        "required": false,
        "help": "完成一次灌水过程所需天数。"
      }
    ],
    "moduleKey": "2"
  },
  "2-02": {
    "programId": "2-02",
    "title": "灌溉引水流量",
    "description": "续灌净流量 · 毛流量 · 轮灌流量",
    "source": "《水利大算盘》第一章第2节",
    "fields": [
      {
        "key": "param_1",
        "label": "控制面积",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌溉引水流量采用的控制面积。"
      },
      {
        "key": "param_2",
        "label": "灌水模数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌溉引水流量采用的灌水模数。"
      },
      {
        "key": "param_3",
        "label": "干支斗田水利用系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌溉引水流量采用的干支斗田水利用系数。"
      }
    ],
    "moduleKey": "2"
  },
  "2-03": {
    "programId": "2-03",
    "title": "灌区渠首水位",
    "description": "渠首设计水位 · 逐段水头损失",
    "source": "《水利大算盘》第一章第3节",
    "fields": [
      {
        "key": "param_1",
        "label": "最高田面高程",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌区渠首水位采用的最高田面高程。"
      },
      {
        "key": "param_2",
        "label": "田面灌水深",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌区渠首水位采用的田面灌水深。"
      },
      {
        "key": "param_3",
        "label": "渠道水深",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌区渠首水位采用的渠道水深。"
      },
      {
        "key": "param_4",
        "label": "建筑物损失",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌区渠首水位采用的建筑物损失。"
      }
    ],
    "moduleKey": "2"
  },
  "2-04": {
    "programId": "2-04",
    "title": "提水灌溉设计流量",
    "description": "提水设计流量 · 灌溉保证面积",
    "source": "《水利大算盘》第一章第4节",
    "fields": [
      {
        "key": "crop_ratio_percent",
        "label": "作物种植比例",
        "default": 1.0,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "该作物在灌区内的种植面积比例。"
      },
      {
        "key": "quota_m3_per_mu",
        "label": "灌水定额",
        "default": 1.0,
        "unit": "m³/亩",
        "type": "number",
        "required": false,
        "help": "单位面积作物一次灌水所需水量。"
      },
      {
        "key": "duration_days",
        "label": "灌水历时",
        "default": 1.0,
        "unit": "d",
        "type": "number",
        "required": false,
        "help": "完成一次灌水过程所需天数。"
      },
      {
        "key": "daily_pumping_hours",
        "label": "日抽水时数",
        "default": 1.0,
        "unit": "h",
        "type": "number",
        "required": false,
        "help": "泵站每日运行抽水小时数。"
      },
      {
        "key": "total_area_10k_mu",
        "label": "灌区总面积",
        "default": 100.0,
        "unit": "万亩",
        "type": "number",
        "required": false,
        "help": "灌区控制范围内的总面积。"
      },
      {
        "key": "irrigation_efficiency",
        "label": "灌溉水利用系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "灌溉输配水和田间利用综合效率。"
      }
    ],
    "moduleKey": "2"
  },
  "2-05": {
    "programId": "2-05",
    "title": "提灌站压力管道",
    "description": "管径 · 最小壁厚 · 通气孔面积",
    "source": "《水利大算盘》第一章第5节",
    "fields": [
      {
        "key": "param_1",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "提灌站压力管道采用的设计流量。"
      },
      {
        "key": "param_2",
        "label": "允许流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "提灌站压力管道采用的允许流速。"
      },
      {
        "key": "param_3",
        "label": "管材参数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "提灌站压力管道采用的管材参数。"
      },
      {
        "key": "param_4",
        "label": "内压",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "提灌站压力管道采用的内压。"
      }
    ],
    "moduleKey": "2"
  },
  "2-06": {
    "programId": "2-06",
    "title": "水泵设计扬程",
    "description": "净扬程 · 总损失 · 设计扬程",
    "source": "《水利大算盘》第一章第6节",
    "fields": [
      {
        "key": "outlet_water_level",
        "label": "出水池水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "泵站出水侧控制水位。"
      },
      {
        "key": "suction_water_level",
        "label": "进水池水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "泵站进水侧控制水位。"
      },
      {
        "key": "total_head_loss",
        "label": "管路总水头损失",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "吸水管、出水管及局部构件的总水头损失。"
      }
    ],
    "moduleKey": "2"
  },
  "2-07": {
    "programId": "2-07",
    "title": "水泵安装高程",
    "description": "允许安装高程 · 复核提示",
    "source": "《水利大算盘》第一章第7节",
    "fields": [
      {
        "key": "param_1",
        "label": "允许吸上真空高度",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵安装高程采用的允许吸上真空高度。"
      },
      {
        "key": "param_2",
        "label": "大气压",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵安装高程采用的大气压。"
      },
      {
        "key": "param_3",
        "label": "汽化压头",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵安装高程采用的汽化压头。"
      },
      {
        "key": "param_4",
        "label": "入口流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵安装高程采用的入口流速。"
      }
    ],
    "moduleKey": "2"
  },
  "2-08": {
    "programId": "2-08",
    "title": "水泵功率效率及比速",
    "description": "有效功率 · 总功率 · 效率 · 比速",
    "source": "《水利大算盘》第一章第8节",
    "fields": [
      {
        "key": "param_1",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵功率效率及比速采用的设计流量。"
      },
      {
        "key": "param_2",
        "label": "扬程",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵功率效率及比速采用的扬程。"
      },
      {
        "key": "param_3",
        "label": "设计功率",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵功率效率及比速采用的设计功率。"
      },
      {
        "key": "param_4",
        "label": "转速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水泵功率效率及比速采用的转速。"
      }
    ],
    "moduleKey": "2"
  },
  "2-09": {
    "programId": "2-09",
    "title": "泵站主变压器容量",
    "description": "主变容量 · 标准容量建议",
    "source": "《水利大算盘》第一章第9节",
    "fields": [
      {
        "key": "motor_count",
        "label": "电动机台数",
        "default": 1,
        "unit": "台",
        "type": "number",
        "required": false,
        "help": "泵站配置的电动机数量。"
      },
      {
        "key": "motor_rated_power_kw",
        "label": "电动机额定功率",
        "default": 1.0,
        "unit": "kW",
        "type": "number",
        "required": false,
        "help": "单台电动机铭牌额定功率。"
      },
      {
        "key": "pump_shaft_power_kw",
        "label": "水泵轴功率",
        "default": 1.0,
        "unit": "kW",
        "type": "number",
        "required": false,
        "help": "水泵运行所需轴功率。"
      },
      {
          "key": "motor_efficiency_percent",
        "label": "电动机效率",
          "default": 85,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "百分数输入：85表示85%，不要填写0.85；计算时自动除以100。",
        "min": 1.01,
        "max": 100
      },
      {
        "key": "power_factor",
        "label": "功率因数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "电动机运行功率因数。"
      },
      {
        "key": "correction_factor",
        "label": "容量修正系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "用于装机容量复核的修正系数。"
      },
      {
        "key": "lighting_load_kw",
        "label": "照明负荷",
        "default": 1.0,
        "unit": "kW",
        "type": "number",
        "required": false,
        "help": "泵站辅助照明负荷。"
      },
      {
        "key": "lighting_coincidence_factor",
        "label": "照明同时系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "照明负荷同时运行折减系数。"
      }
    ],
    "moduleKey": "2"
  },
  "3-01": {
    "programId": "3-01",
    "title": "进水闸引水角度",
    "description": "合理引水角 · 适用提示",
    "source": "《水利大算盘》第二章第1节",
    "fields": [
      {
        "key": "param_1",
        "label": "河道流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "进水闸引水角度采用的河道流速。"
      },
      {
        "key": "param_2",
        "label": "渠道流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "进水闸引水角度采用的渠道流速。"
      }
    ],
    "moduleKey": "2"
  },
  "3-02": {
    "programId": "3-02",
    "title": "明渠水力",
    "description": "面积 · 湿周 · 水力半径 · 流速",
    "source": "《水利大算盘》第二章第2节",
    "fields": [
      {
        "key": "bottom_width",
        "label": "渠底宽度",
        "default": 6.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "梯形或矩形渠道底部宽度。"
      },
      {
        "key": "water_depth",
        "label": "渠道水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渠道正常输水水深。"
      },
      {
        "key": "side_slope",
        "label": "边坡系数",
        "default": 1.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "梯形断面边坡水平比垂直的系数。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "enlarge_coefficient",
        "label": "修正系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "按规范表、试验资料或工程经验选取的修正系数。"
      }
    ],
    "moduleKey": "2"
  },
  "3-03": {
    "programId": "3-03",
    "title": "临界不冲流速",
    "description": "不冲流速 · 设计流速校核",
    "source": "《水利大算盘》第二章第3节",
    "fields": [
      {
        "key": "param_1",
        "label": "土质类型",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界不冲流速采用的土质类型。"
      },
      {
        "key": "param_2",
        "label": "水力半径",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界不冲流速采用的水力半径。"
      },
      {
        "key": "param_3",
        "label": "粒径",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界不冲流速采用的粒径。"
      },
      {
        "key": "param_4",
        "label": "护面形式",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界不冲流速采用的护面形式。"
      }
    ],
    "moduleKey": "2"
  },
  "3-04": {
    "programId": "3-04",
    "title": "不淤流速",
    "description": "不淤流速 · 淤积风险提示",
    "source": "《水利大算盘》第二章第4节",
    "fields": [
      {
        "key": "param_1",
        "label": "含沙条件",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "不淤流速采用的含沙条件。"
      },
      {
        "key": "param_2",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "不淤流速采用的设计流量。"
      },
      {
        "key": "param_3",
        "label": "经验系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "不淤流速采用的经验系数。"
      }
    ],
    "moduleKey": "2"
  },
  "3-05": {
    "programId": "3-05",
    "title": "临界水深",
    "description": "临界水深 · 临界流速 · 流态判别",
    "source": "《水利大算盘》第二章第5节",
    "fields": [
      {
        "key": "param_1",
        "label": "断面形式",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界水深采用的断面形式。"
      },
      {
        "key": "param_2",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界水深采用的设计流量。"
      },
      {
        "key": "param_3",
        "label": "底宽",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界水深采用的底宽。"
      },
      {
        "key": "param_4",
        "label": "边坡",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "临界水深采用的边坡。"
      }
    ],
    "moduleKey": "2"
  },
  "3-06": {
    "programId": "3-06",
    "title": "水力最佳断面",
    "description": "最佳水深 · 底宽 · 流量复核",
    "source": "《水利大算盘》第二章第6节",
    "fields": [
      {
        "key": "param_1",
        "label": "断面形式",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水力最佳断面采用的断面形式。"
      },
      {
        "key": "param_2",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水力最佳断面采用的设计流量。"
      },
      {
        "key": "param_3",
        "label": "糙率 n",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水力最佳断面采用的糙率 n。"
      },
      {
        "key": "param_4",
        "label": "比降",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水力最佳断面采用的比降。"
      }
    ],
    "moduleKey": "2"
  },
  "3-07": {
    "programId": "3-07",
    "title": "最佳实用经济断面",
    "description": "经济水深 · 经济底宽 · 复核流量",
    "source": "《水利大算盘》第二章第7节",
    "fields": [
      {
        "key": "param_1",
        "label": "面积偏离系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "最佳实用经济断面采用的面积偏离系数。"
      },
      {
        "key": "param_2",
        "label": "断面形式",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "最佳实用经济断面采用的断面形式。"
      },
      {
        "key": "param_3",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "最佳实用经济断面采用的设计流量。"
      }
    ],
    "moduleKey": "2"
  },
  "3-08": {
    "programId": "3-08",
    "title": "渠道渗漏损失",
    "description": "渗漏损失 · 末端流量",
    "source": "《水利大算盘》第二章第8节",
    "fields": [
      {
        "key": "param_1",
        "label": "渠道类型",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "渠道渗漏损失采用的渠道类型。"
      },
      {
        "key": "param_2",
        "label": "计算长度",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "渠道渗漏损失采用的计算长度。"
      },
      {
        "key": "param_3",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "渠道渗漏损失采用的设计流量。"
      },
      {
        "key": "param_4",
        "label": "土壤系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "渠道渗漏损失采用的土壤系数。"
      }
    ],
    "moduleKey": "2"
  },
  "3-09": {
    "programId": "3-09",
    "title": "河道流量估算",
    "description": "河道流速 · 河道流量",
    "source": "《水利大算盘》第三章第1节",
    "fields": [
      {
        "key": "average_depth",
        "label": "平均水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "河道计算断面的平均水深。"
      },
      {
        "key": "water_width",
        "label": "水面宽度",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "计算断面的水面宽度。"
      },
      {
        "key": "water_surface_slope",
        "label": "水面比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "计算河段水面线平均比降。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      }
    ],
    "moduleKey": "3"
  },
  "3-10": {
    "programId": "3-10",
    "title": "河道治导线宽度",
    "description": "治导线宽度 · 适用提示",
    "source": "《水利大算盘》第三章第2节",
    "fields": [
      {
        "key": "flow",
        "label": "设计流量",
        "default": 120.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "training_depth",
        "label": "整治水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "河道整治或堤防验算采用的代表水深。"
      },
      {
        "key": "water_surface_slope",
        "label": "水面比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "计算河段水面线平均比降。"
      }
    ],
    "moduleKey": "3"
  },
  "4-01": {
    "programId": "4-01",
    "title": "堤防河道水面线推求",
    "description": "逐断面水位 · 能坡 · 水面线成果",
    "source": "《水利大算盘》第三章第3节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "downstream_water_level_m",
        "label": "下游控制水位",
        "default": 103.5,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水面线计算下游边界水位。"
      },
      {
        "key": "reach_lengths_m",
        "label": "分段河长序列",
        "default": "300",
        "unit": "m",
        "type": "text",
        "required": false,
        "help": "沿程水面线计算各相邻断面的距离序列。"
      },
      {
        "key": "sections_json",
        "label": "断面序列数据",
        "default": "",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "按断面桩号、点列和糙率组织的河道断面数据。"
      },
      {
        "key": "flow_regime",
        "label": "流态判别方式",
        "default": "subcritical",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "水面线推求采用的缓流、急流或自动判别方式。"
      },
      {
        "key": "contraction_coeff",
        "label": "收缩损失系数",
        "default": 0.1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "断面收缩段局部水头损失系数。"
      },
      {
        "key": "expansion_coeff",
        "label": "扩散损失系数",
        "default": 0.3,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "断面扩散段局部水头损失系数。"
      },
      {
        "key": "friction_method",
        "label": "沿程阻力计算方法",
        "default": "average_conveyance",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "水面线推求采用的沿程阻力计算方法。"
      }
    ],
    "moduleKey": "4"
  },
  "3-11": {
    "programId": "3-11",
    "title": "堤顶超高和堤顶高程",
    "description": "堤顶高程 · 超高组成表",
    "source": "《水利大算盘》第三章第4节",
    "fields": [
      {
        "key": "flow",
        "label": "设计流量",
        "default": 120.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "bottom_width",
        "label": "渠底宽度",
        "default": 6.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "梯形或矩形渠道底部宽度。"
      },
      {
        "key": "side_slope",
        "label": "边坡系数",
        "default": 1.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "梯形断面边坡水平比垂直的系数。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "wind_speed",
        "label": "设计风速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "风壅或波浪计算采用的风速。"
      },
      {
        "key": "fetch",
        "label": "风区长度",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "风浪计算采用的有效吹程。"
      },
      {
        "key": "safety_freeboard",
        "label": "输入参数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "本项计算采用的输入参数。"
      }
    ],
    "moduleKey": "3"
  },
  "3-12": {
    "programId": "3-12",
    "title": "基础埋深安全",
    "description": "冲刷线高程 · 富余埋深 · 安全判别",
    "source": "软件内置涉河影响",
    "fields": [
      {
        "key": "bed_elevation_m",
        "label": "河床高程",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "冲刷或埋深复核采用的现状河床高程。"
      },
      {
        "key": "general_scour_depth_m",
        "label": "一般冲刷深度",
        "default": 1.2,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "一般冲刷计算得到的冲刷深度。"
      },
      {
        "key": "local_scour_depth_m",
        "label": "局部冲刷深度",
        "default": 0.8,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "桥墩或构筑物局部冲刷深度。"
      },
      {
        "key": "foundation_bottom_elevation_m",
        "label": "基础底高程",
        "default": 1193,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "桥墩、挡墙或构筑物基础底面高程。"
      },
      {
        "key": "required_embedment_m",
        "label": "要求埋深",
        "default": 1.5,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "规范或设计要求的基础最小埋置深度。"
      }
    ],
    "moduleKey": "3"
  },
  "3-13": {
    "programId": "3-13",
    "title": "一般冲刷 + 局部冲刷计算",
    "description": "一般冲刷 · 局部冲刷 · 冲刷线",
    "source": "《水利大算盘》第三章第6节",
    "fields": [
      {
        "key": "Qp",
        "label": "设计洪峰流量",
        "default": 650.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "冲刷计算采用的设计洪峰流量。"
      },
      {
        "key": "Qc",
        "label": "河槽设计流量",
        "default": 500.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "河槽内承担的设计流量。"
      },
      {
        "key": "Qt1",
        "label": "桥下通过流量",
        "default": 150.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "桥孔压缩后桥下实际通过流量。"
      },
      {
        "key": "Bc",
        "label": "天然河槽宽度",
        "default": 100.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "天然状态下河槽计算宽度。"
      },
      {
        "key": "Bcg",
        "label": "桥下河槽宽度",
        "default": 80.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "桥孔范围内有效河槽宽度。"
      },
      {
        "key": "mu",
        "label": "压缩系数",
        "default": 0.97,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥孔压缩或冲刷公式采用的压缩系数。"
      },
      {
        "key": "hcm",
        "label": "河槽平均水深",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "河槽过水断面平均水深。"
      },
      {
        "key": "Bz",
        "label": "桥墩计算宽度",
        "default": 100.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "局部冲刷公式采用的桥墩计算宽度。"
      },
      {
        "key": "Hz",
        "label": "桥前水深",
        "default": 3.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "桥前断面设计水深。"
      },
      {
        "key": "Kxi",
        "label": "墩形修正系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "局部冲刷计算采用的墩形修正系数。"
      },
      {
        "key": "B1",
        "label": "桥墩等效宽度",
        "default": 1.5,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "局部冲刷计算采用的桥墩等效宽度。"
      },
      {
        "key": "v",
        "label": "断面平均流速",
        "default": 2.5,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "桥前或河槽断面的平均流速。"
      },
      {
        "key": "hp",
        "label": "冲刷坑水深",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "局部冲刷计算采用的冲刷坑水深。"
      },
      {
        "key": "d",
        "label": "河床颗粒粒径",
        "default": 0.02,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "河床泥沙代表粒径。"
      },
      {
        "key": "bed_elevation_m",
        "label": "河床高程",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "冲刷或埋深复核采用的现状河床高程。"
      },
      {
        "key": "lambda",
        "label": "河床稳定系数",
        "default": 0.05,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "冲刷公式采用的河床稳定修正系数。"
      },
      {
        "key": "general_method_key",
        "label": "一般冲刷公式",
        "default": "jtg_64_2_nonc_simplified",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "一般冲刷计算采用的公式类型。"
      },
      {
        "key": "local_method_key",
        "label": "局部冲刷公式",
        "default": "jtg_65_nonc_pier_auto",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "局部冲刷计算采用的公式类型。"
      }
    ],
    "moduleKey": "3"
  },
  "3-14": {
    "programId": "3-14",
    "title": "壅水曲线与上游回水影响",
    "description": "回水曲线 · 上游影响范围 · 关键断面水位",
    "source": "软件内置涉河影响",
    "fields": [
      {
        "key": "max_backwater_height_m",
        "label": "最大壅水高度",
        "default": 0.25,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "壅水曲线起点处的最大壅水高度。"
      },
      {
        "key": "backwater_length_m",
        "label": "回水影响长度",
        "default": 350,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "壅水影响向上游延伸的长度。"
      },
      {
        "key": "design_water_level_m",
        "label": "设计洪水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "设计频率洪水对应的水位。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "curve_steps",
        "label": "曲线离散步数",
        "default": 1.0,
        "unit": "",
        "type": "text",
        "required": false,
        "help": "壅水曲线计算采用的离散分段数量。"
      }
    ],
    "moduleKey": "3"
  },
  "3-15": {
    "programId": "3-15",
    "title": "阻水比/过水面积压缩比计算",
    "description": "面积阻水比 · 流量阻水比 · 审查提示",
    "source": "软件内置涉河影响",
    "fields": [
      {
        "key": "natural_area_m2",
        "label": "天然过水面积",
        "default": 260,
        "unit": "m²",
        "type": "number",
        "required": false,
        "help": "工程前天然断面过水面积。"
      },
      {
        "key": "effective_area_m2",
        "label": "桥下有效过水面积",
        "default": 230,
        "unit": "m²",
        "type": "number",
        "required": false,
        "help": "工程后桥孔或构筑物范围内有效过水面积。"
      },
      {
        "key": "design_flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "natural_width_m",
        "label": "天然水面宽度",
        "default": 80,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "工程前天然河道水面宽度。"
      },
      {
        "key": "effective_width_m",
        "label": "桥下有效宽度",
        "default": 72,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "工程后桥孔有效过水宽度。"
      },
      {
        "key": "blocked_flow_ratio_percent",
        "label": "阻水比",
        "default": 20.0,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "工程占用或桥孔压缩导致的阻水比例。"
      }
    ],
    "moduleKey": "3"
  },
  "3-16": {
    "programId": "3-16",
    "title": "桥前壅水计算",
    "description": "壅水高度 · 影响长度 · 桥下平均流速",
    "source": "软件内置涉河影响",
    "fields": [
      {
        "key": "design_flow_m3s",
        "label": "设计流量",
        "default": 650.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "full_section_area_m2",
        "label": "全断面过水面积",
        "default": 260.0,
        "unit": "m²",
        "type": "number",
        "required": false,
        "help": "天然或设计状态下全断面过水面积。"
      },
      {
        "key": "natural_channel_velocity_ms",
        "label": "天然河槽流速",
        "default": 1.8,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "工程前天然河槽平均流速。"
      },
      {
        "key": "bridge_actual_area_m2",
        "label": "桥下实际过水面积",
        "default": 230.0,
        "unit": "m²",
        "type": "number",
        "required": false,
        "help": "工程后桥孔范围内实际过水面积。"
      },
      {
        "key": "natural_water_surface_slope",
        "label": "天然水面比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "天然河道水面平均比降。"
      },
      {
        "key": "flow_angle_deg",
        "label": "水流交角",
        "default": 0.0,
        "unit": "°",
        "type": "number",
        "required": false,
        "help": "水流方向与构筑物轴线之间的夹角。"
      },
      {
        "key": "obstruction_area_ratio_percent",
        "label": "面积阻塞率",
        "default": 10.8,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "构筑物占用过水面积的比例。"
      },
      {
        "key": "blocked_flow_ratio_percent",
        "label": "阻水比",
        "default": 8.5,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "工程占用或桥孔压缩导致的阻水比例。"
      },
      {
        "key": "eta_manual",
        "label": "壅水修正系数",
        "default": 0.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥前壅水经验公式采用的修正系数。"
      },
      {
        "key": "design_water_level_m",
        "label": "设计洪水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "设计频率洪水对应的水位。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "curve_steps",
        "label": "曲线离散步数",
        "default": 12,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "壅水曲线计算采用的离散分段数量。"
      },
      {
        "key": "soil_type",
        "label": "土质类型",
        "default": "中等土",
        "unit": "",
        "type": "select",
        "required": false,
        "options": [
          "松软土",
          "中等土",
          "密实土"
        ],
        "help": "用于冲刷、边坡或水力稳定参数选取。"
      }
    ],
    "moduleKey": "3"
  },
  "3-17": {
    "programId": "3-17",
    "title": "净空校核",
    "description": "计算控制水位 · 所需梁底高程 · 净空富余 · 安全判别",
    "source": "软件内置涉河影响",
    "fields": [
      {
        "key": "design_water_level_m",
        "label": "设计洪水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "设计频率洪水对应的水位。"
      },
      {
        "key": "backwater_height_m",
        "label": "壅水高度",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "工程壅水或回水计算得到的水位抬高值。"
      },
      {
        "key": "safety_freeboard_m",
        "label": "安全超高",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "净空校核按规范或设计要求采用的安全超高。"
      },
      {
        "key": "girder_bottom_elevation_m",
        "label": "梁底高程",
        "default": 1205,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "桥梁或构筑物梁底控制高程。"
      }
    ],
    "moduleKey": "3"
  },
  "4-02": {
    "programId": "4-02",
    "title": "单断面曼宁公式水位",
    "description": "水位 · 面积 · 湿周 · 流速",
    "source": "软件内置水位计算",
    "fields": [
      {
        "key": "name",
        "label": "计算对象名称",
        "default": 1.0,
        "unit": "",
        "type": "text",
        "required": false,
        "help": "本次计算对象、断面或建筑物名称。"
      },
      {
        "key": "roughness_n",
        "label": "糙率 n",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "slope",
        "label": "河道比降",
        "default": 0.095724,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "计算河段或主沟平均坡降。"
      },
      {
        "key": "design_flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "points",
        "label": "断面点列",
        "default": "0,1200;10,1198;20,1198;30,1200",
        "unit": "x,z; x,z",
        "type": "text",
        "required": false,
        "help": "按“横距,高程; 横距,高程”录入单断面地形点。"
      }
    ],
    "moduleKey": "4"
  },
  "4-03": {
    "programId": "4-03",
    "title": "能量方程与 HEC 标准步法",
    "description": "沿程水面线 · 能量坡降 · 断面复核表",
    "source": "软件内置水位计算",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "downstream_water_level_m",
        "label": "下游控制水位",
        "default": 103.5,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水面线计算下游边界水位。"
      },
      {
        "key": "reach_lengths_m",
        "label": "分段河长序列",
        "default": "300",
        "unit": "m",
        "type": "text",
        "required": false,
        "help": "沿程水面线计算各相邻断面的距离序列。"
      },
      {
        "key": "sections_json",
        "label": "断面序列数据",
        "default": "",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "按断面桩号、点列和糙率组织的河道断面数据。"
      },
      {
        "key": "flow_regime",
        "label": "流态判别方式",
        "default": "subcritical",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "水面线推求采用的缓流、急流或自动判别方式。"
      },
      {
        "key": "contraction_coeff",
        "label": "收缩损失系数",
        "default": 0.1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "断面收缩段局部水头损失系数。"
      },
      {
        "key": "expansion_coeff",
        "label": "扩散损失系数",
        "default": 0.3,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "断面扩散段局部水头损失系数。"
      },
      {
        "key": "friction_method",
        "label": "沿程阻力计算方法",
        "default": "average_conveyance",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "水面线推求采用的沿程阻力计算方法。"
      }
    ],
    "moduleKey": "4"
  },
  "5-01": {
    "programId": "5-01",
    "title": "水库调洪演算",
    "description": "出库过程线 · 最高水位 · 最大下泄 · 削峰率",
    "source": "软件内置水库调洪",
    "fields": [
      {
        "key": "initial_elevation_m",
        "label": "起调水位",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "调洪演算开始时的水库水位。"
      },
      {
        "key": "inflow_hydrograph",
        "label": "入库洪水过程线",
        "default": "0,100;1,300;2,800;3,500;4,200",
        "unit": "m³/s",
        "type": "text",
        "required": false,
        "help": "按“时间,流量”录入的入库洪水过程线序列。"
      },
      {
        "key": "elevation_storage_curve",
        "label": "水位库容关系曲线",
        "default": "1200,1000000;1205,2000000;1210,4000000",
        "unit": "m,万m³",
        "type": "text",
        "required": false,
        "help": "按“水位,库容”录入的水位库容关系曲线。"
      },
      {
        "key": "elevation_discharge_curve",
        "label": "水位泄量关系曲线",
        "default": "1200,20;1205,200;1210,800",
        "unit": "m,m³/s",
        "type": "text",
        "required": false,
        "help": "按“水位,泄量”录入的水位泄量关系曲线。"
      },
      {
        "key": "reservoir_name",
        "label": "水库名称",
        "default": 1.0,
        "unit": "",
        "type": "text",
        "required": false,
        "help": "调洪演算或水库复核对应的水库名称。"
      }
    ],
    "moduleKey": "5"
  },
  "5-02": {
    "programId": "5-02",
    "title": "水库淤积库容估算",
    "description": "淤积库容 · 剩余库容",
    "source": "《水利大算盘》第五章第2节",
    "fields": [
      {
        "key": "param_1",
        "label": "输沙量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水库淤积库容估算采用的输沙量。"
      },
      {
        "key": "param_2",
        "label": "淤积年限",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水库淤积库容估算采用的淤积年限。"
      },
      {
        "key": "param_3",
        "label": "容重",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水库淤积库容估算采用的容重。"
      },
      {
        "key": "param_4",
        "label": "拦沙率",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水库淤积库容估算采用的拦沙率。"
      }
    ],
    "moduleKey": "5"
  },
  "5-03": {
    "programId": "5-03",
    "title": "水库年运用调节",
    "description": "逐月库容 · 兴利库容 · 弃水量",
    "source": "《水利大算盘》第五章第3节",
    "fields": [
      {
        "key": "effective_capacity_m3",
        "label": "有效库容",
        "default": 3000000.0,
        "unit": "m³",
        "type": "number",
        "required": false,
        "help": "水库调洪或蓄水计算采用的有效库容。"
      }
    ],
    "moduleKey": "5"
  },
  "5-04": {
    "programId": "5-04",
    "title": "土石坝坝顶超高",
    "description": "风壅 · 波浪爬高 · 坝顶超高",
    "source": "《水利大算盘》第五章第4节",
    "fields": [
      {
        "key": "water_depth_m",
        "label": "计算水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "本项计算采用的水深。"
      },
      {
        "key": "wind_speed_m_s",
        "label": "设计风速",
        "default": 20.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "风壅或波浪计算采用的风速。"
      },
      {
        "key": "fetch_m",
        "label": "风区长度",
        "default": 500.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "风浪计算采用的有效吹程。"
      },
      {
        "key": "wind_water_axis_angle_deg",
        "label": "夹角",
        "default": 1.0,
        "unit": "°",
        "type": "number",
        "required": false,
        "help": "水流、风向或轴线之间的夹角。"
      },
      {
        "key": "wave_period_s",
        "label": "周期",
        "default": 3.0,
        "unit": "s",
        "type": "number",
        "required": false,
        "help": "过程或波浪计算采用的周期。"
      },
      {
        "key": "upstream_slope",
        "label": "上游坝坡坡比",
        "default": 0.001,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "坝坡上游坡面坡比。"
      },
      {
        "key": "slope_permeability_coefficient",
        "label": "坝坡渗透系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "坝坡渗流或波浪爬高计算采用的渗透影响系数。"
      },
      {
        "key": "empirical_coefficient",
        "label": "经验修正系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "按规范、试验或地区经验选取的修正系数。"
      },
      {
        "key": "safety_margin_m",
        "label": "安全裕度",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "坝顶高程或超高复核保留的安全裕度。"
      }
    ],
    "moduleKey": "5"
  },
  "5-05": {
    "programId": "5-05",
    "title": "土石坝外轮廓尺寸",
    "description": "坝体高度 · 坝底宽度 · 轮廓尺寸",
    "source": "《水利大算盘》第五章第5节",
    "fields": [
      {
        "key": "param_1",
        "label": "坝高",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "土石坝外轮廓尺寸采用的坝高。"
      },
      {
        "key": "param_2",
        "label": "坝顶宽",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "土石坝外轮廓尺寸采用的坝顶宽。"
      },
      {
        "key": "param_3",
        "label": "上下游边坡",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "土石坝外轮廓尺寸采用的上下游边坡。"
      },
      {
        "key": "param_4",
        "label": "地基高程",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "土石坝外轮廓尺寸采用的地基高程。"
      }
    ],
    "moduleKey": "5"
  },
  "5-06": {
    "programId": "5-06",
    "title": "大坝护坡厚度",
    "description": "护坡块石尺寸 · 护坡厚度",
    "source": "《水利大算盘》第五章第6节",
    "fields": [
      {
        "key": "param_1",
        "label": "波高",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "大坝护坡厚度采用的波高。"
      },
      {
        "key": "param_2",
        "label": "块石容重",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "大坝护坡厚度采用的块石容重。"
      },
      {
        "key": "param_3",
        "label": "水容重",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "大坝护坡厚度采用的水容重。"
      },
      {
        "key": "param_4",
        "label": "边坡",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "大坝护坡厚度采用的边坡。"
      }
    ],
    "moduleKey": "5"
  },
  "5-07": {
    "programId": "5-07",
    "title": "坝基悬挂帷幕深度",
    "description": "帷幕深度 · 适用提示",
    "source": "《水利大算盘》第五章第7节",
    "fields": [
      {
        "key": "param_1",
        "label": "坝高",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "坝基悬挂帷幕深度采用的坝高。"
      },
      {
        "key": "param_2",
        "label": "地基参数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "坝基悬挂帷幕深度采用的地基参数。"
      },
      {
        "key": "param_3",
        "label": "经验常数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "坝基悬挂帷幕深度采用的经验常数。"
      }
    ],
    "moduleKey": "5"
  },
  "5-08": {
    "programId": "5-08",
    "title": "水库库容计算",
    "description": "分层库容 · 总库容 · 水位库容表",
    "source": "《水利大算盘》第五章第8节",
    "fields": [
      {
        "key": "cone_height_m",
        "label": "锥体高度",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "库容或几何体积计算采用的锥体高度。"
      },
      {
        "key": "cone_top_area_m2",
        "label": "锥体顶面积",
        "default": 1000.0,
        "unit": "m²",
        "type": "number",
        "required": false,
        "help": "库容或几何体积计算采用的锥体顶面面积。"
      },
      {
        "key": "layers",
        "label": "分层数据",
        "default": "2,1200,1000;3,1500,1200;4,1800,1500",
        "unit": "",
        "type": "text",
        "required": false,
        "help": "水库或几何体分层计算数据。"
      }
    ],
    "moduleKey": "5"
  },
  "5-09": {
    "programId": "5-09",
    "title": "平面闸门启闭力",
    "description": "启门力 · 闭门力 · 启闭机建议",
    "source": "《水利大算盘》第五章第9节",
    "fields": [
      {
        "key": "param_1",
        "label": "闸门尺寸",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "平面闸门启闭力采用的闸门尺寸。"
      },
      {
        "key": "param_2",
        "label": "作用水头",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "平面闸门启闭力采用的作用水头。"
      },
      {
        "key": "param_3",
        "label": "摩阻系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "平面闸门启闭力采用的摩阻系数。"
      },
      {
        "key": "param_4",
        "label": "止水参数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "平面闸门启闭力采用的止水参数。"
      }
    ],
    "moduleKey": "5"
  },
  "6-01": {
    "programId": "6-01",
    "title": "水电站水能出力",
    "description": "水电站出力 · 水轮机功率",
    "source": "《水利大算盘》第四章第1节",
    "fields": [
      {
        "key": "design_flow",
        "label": "设计流量",
        "default": 120.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "gross_head",
        "label": "毛水头",
        "default": 60.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水电站上、下游水位差形成的总水头。"
      },
      {
        "key": "head_loss",
        "label": "水头损失",
        "default": 3.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "引水系统和压力管道沿程及局部水头损失。"
      },
      {
        "key": "turbine_efficiency_percent",
        "label": "水轮机效率",
        "default": 88.0,
        "unit": "%",
        "type": "number",
        "required": false,
        "help": "水轮机额定运行效率。"
      },
      {
        "key": "output_coefficient",
        "label": "出力系数",
        "default": 9.81,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "水能计算采用的综合出力系数。"
      }
    ],
    "moduleKey": "6"
  },
  "6-02": {
    "programId": "6-02",
    "title": "装机容量计算与选择",
    "description": "装机容量 · 经济比较 · 推荐方案",
    "source": "《水利大算盘》第四章第2节",
    "fields": [
      {
        "key": "param_1",
        "label": "保证出力",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "装机容量计算与选择采用的保证出力。"
      },
      {
        "key": "param_2",
        "label": "年利用小时",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "装机容量计算与选择采用的年利用小时。"
      },
      {
        "key": "param_3",
        "label": "备选容量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "装机容量计算与选择采用的备选容量。"
      },
      {
        "key": "param_4",
        "label": "投资参数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "装机容量计算与选择采用的投资参数。"
      }
    ],
    "moduleKey": "6"
  },
  "6-03": {
    "programId": "6-03",
    "title": "压力管道直径和壁厚",
    "description": "管径 · 管壁厚度 · 校核结果",
    "source": "《水利大算盘》第四章第3节",
    "fields": [
      {
        "key": "design_flow",
        "label": "设计流量",
        "default": 120.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "max_design_flow",
        "label": "最大设计流量",
        "default": 20.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "压力管道或水电复核采用的最大设计流量。"
      },
      {
        "key": "design_velocity",
        "label": "设计流速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "压力管道或过水断面采用的设计流速。"
      },
      {
        "key": "design_head",
        "label": "设计水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "压力管道或水电计算采用的设计水头。"
      },
      {
        "key": "max_head",
        "label": "最大水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "压力管道强度复核采用的最大水头。"
      },
      {
        "key": "coefficient_k",
        "label": "直径计算系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "压力管道经济直径计算采用的系数。"
      },
      {
        "key": "weld_coefficient",
        "label": "焊缝系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "钢管壁厚强度计算采用的焊缝系数。"
      },
      {
        "key": "allowable_stress_kg_cm2",
        "label": "材料许用应力",
        "default": 1.0,
        "unit": "kg/cm²",
        "type": "number",
        "required": false,
        "help": "管材或构件强度复核采用的许用应力。"
      }
    ],
    "moduleKey": "6"
  },
  "6-04": {
    "programId": "6-04",
    "title": "管道进口最小淹没水深",
    "description": "最小淹没水深 · 进水口校核",
    "source": "《水利大算盘》第四章第4节",
    "fields": [
      {
        "key": "param_1",
        "label": "管径",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "管道进口最小淹没水深采用的管径。"
      },
      {
        "key": "param_2",
        "label": "进口流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "管道进口最小淹没水深采用的进口流速。"
      },
      {
        "key": "param_3",
        "label": "边界条件",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "管道进口最小淹没水深采用的边界条件。"
      }
    ],
    "moduleKey": "6"
  },
  "6-05": {
    "programId": "6-05",
    "title": "通气管面积与直径",
    "description": "通气面积 · 通气管直径",
    "source": "《水利大算盘》第四章第5节",
    "fields": [
      {
        "key": "param_1",
        "label": "通气流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "通气管面积与直径采用的通气流量。"
      },
      {
        "key": "param_2",
        "label": "允许负压",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "通气管面积与直径采用的允许负压。"
      },
      {
        "key": "param_3",
        "label": "平均流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "通气管面积与直径采用的平均流速。"
      }
    ],
    "moduleKey": "6"
  },
  "6-06": {
    "programId": "6-06",
    "title": "压力管道水锤压力",
    "description": "水锤类型 · 水击压力 · 允许值复核",
    "source": "《水利大算盘》第四章第6节",
    "fields": [
      {
        "key": "pipe_diameter",
        "label": "直径",
        "default": 1.2,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "管道或孔口直径。"
      },
      {
        "key": "wall_thickness",
        "label": "管壁厚度",
        "default": 1.0,
        "unit": "mm",
        "type": "number",
        "required": false,
        "help": "压力管道或钢管壁厚。"
      },
      {
        "key": "pipe_material_elastic_mpa",
        "label": "管材弹性模量",
        "default": 1.0,
        "unit": "MPa",
        "type": "number",
        "required": false,
        "help": "水锤波速计算采用的管材弹性模量。"
      },
      {
        "key": "water_bulk_modulus_mpa",
        "label": "水体体积弹性模量",
        "default": 1.0,
        "unit": "MPa",
        "type": "number",
        "required": false,
        "help": "水锤波速计算采用的水体体积弹性模量。"
      },
      {
        "key": "pipe_length",
        "label": "压力管道长度",
        "default": 500.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水锤计算采用的压力管道长度。"
      },
      {
        "key": "closing_time",
        "label": "阀门关闭时间",
        "default": 10.0,
        "unit": "s",
        "type": "number",
        "required": false,
        "help": "水锤计算采用的阀门关闭历时。"
      },
      {
        "key": "initial_velocity",
        "label": "初始流速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "水锤计算阀门动作前流速。"
      },
      {
        "key": "final_velocity",
        "label": "终止流速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "水锤计算阀门动作后流速。"
      },
      {
        "key": "steady_head",
        "label": "稳态水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水锤计算前压力管道稳态作用水头。"
      }
    ],
    "moduleKey": "6"
  },
  "6-07": {
    "programId": "6-07",
    "title": "压力管道水头损失",
    "description": "沿程损失 · 局部损失 · 总损失",
    "source": "《水利大算盘》第四章第7节",
    "fields": [
      {
        "key": "param_1",
        "label": "管径",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "压力管道水头损失采用的管径。"
      },
      {
        "key": "param_2",
        "label": "计算长度",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "压力管道水头损失采用的计算长度。"
      },
      {
        "key": "param_3",
        "label": "糙率 n",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "压力管道水头损失采用的糙率 n。"
      },
      {
        "key": "param_4",
        "label": "局部损失系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "压力管道水头损失采用的局部损失系数。"
      }
    ],
    "moduleKey": "6"
  },
  "7-01": {
    "programId": "7-01",
    "title": "水闸水力计算",
    "description": "开敞流宽度 · 闸室长度 · 门槽尺寸",
    "source": "《水利大算盘》第六章第1节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "upstream_head_m",
        "label": "上游水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水闸或堰流计算采用的上游作用水头。"
      },
      {
        "key": "downstream_head_m",
        "label": "下游水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "水闸或堰流计算采用的下游作用水头。"
      },
      {
        "key": "gate_design_head_m",
        "label": "闸门设计水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "闸门强度或水力计算采用的设计水头。"
      },
      {
        "key": "freeboard_m",
        "label": "安全超高",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "闸顶或建筑物顶高程复核采用的安全超高。"
      },
      {
        "key": "discharge_coefficient",
        "label": "流量系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "泄流能力计算采用的流量系数。"
      },
      {
        "key": "contraction_coefficient",
        "label": "收缩系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "闸孔或堰流计算采用的收缩系数。"
      },
      {
        "key": "submergence_coefficient",
        "label": "淹没系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "淹没出流计算采用的修正系数。"
      },
      {
        "key": "opening_count",
        "label": "孔口数量",
        "default": 1,
        "unit": "孔",
        "type": "number",
        "required": false,
        "help": "水闸、涵洞或泄洪建筑物孔口数量。"
      }
    ],
    "moduleKey": "7"
  },
  "7-02": {
    "programId": "7-02",
    "title": "溢流堰水力计算",
    "description": "堰上水头 · 水位 · 泄流能力",
    "source": "《水利大算盘》第六章第2节",
    "fields": [
      {
        "key": "weir_width_m",
        "label": "堰顶宽度",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "堰流计算采用的有效堰宽。"
      },
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 30.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "discharge_coefficient",
        "label": "流量系数",
        "default": 0.38,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "泄流能力计算采用的流量系数。"
      },
      {
        "key": "approach_velocity_m_s",
        "label": "进口流速",
        "default": 1.2,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "进口或上游接近断面平均流速。"
      },
      {
        "key": "approach_depth_m",
        "label": "进口水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "进口或上游接近断面水深。"
      },
      {
        "key": "diversion_angle_deg",
        "label": "夹角",
        "default": 90.0,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "水流、风向或轴线之间的夹角。"
      },
      {
        "key": "upstream_weir_head_m",
        "label": "堰上游水头",
        "default": 1.2,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "堰顶以上上游作用水头。"
      },
      {
        "key": "downstream_weir_head_m",
        "label": "堰下游水头",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "堰顶以上下游作用水头。"
      },
      {
        "key": "mode",
        "label": "出流型式",
        "default": "直角分水",
        "unit": "",
        "type": "select",
        "required": false,
        "options": [
          "锐角分水",
          "直角分水"
        ],
        "help": "自由出流、淹没出流等计算工况。"
      }
    ],
    "moduleKey": "7"
  },
  "7-03": {
    "programId": "7-03",
    "title": "正槽式溢洪道泄槽",
    "description": "泄槽水深 · 掺气水深 · 边墙高度",
    "source": "《水利大算盘》第六章第3节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "bottom_width_m",
        "label": "底宽",
        "default": 6.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "过水断面或建筑物底部宽度。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "side_slope",
        "label": "边坡系数",
        "default": 1.5,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "梯形断面边坡水平比垂直的系数。"
      },
      {
        "key": "aeration_coefficient",
        "label": "掺气修正系数",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "泄槽或高速水流计算采用的掺气修正系数。"
      }
    ],
    "moduleKey": "7"
  },
  "7-04": {
    "programId": "7-04",
    "title": "消力池和海漫",
    "description": "共轭水深 · 消力池深度 · 海漫长度",
    "source": "《水利大算盘》第六章第4节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 60.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "basin_width_m",
        "label": "消力池宽度",
        "default": 8.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "消力池水力计算采用的池宽。"
      },
      {
        "key": "upstream_depth_m",
        "label": "上游水深",
        "default": 3.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "上游控制断面水深。"
      },
      {
        "key": "approach_velocity_m_s",
        "label": "进口流速",
        "default": 2.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "进口或上游接近断面平均流速。"
      },
      {
        "key": "drop_height_m",
        "label": "跌差高度",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "消能计算采用的上下游能量差或跌差。"
      },
      {
        "key": "downstream_depth_m",
        "label": "下游水深",
        "default": 3.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "下游控制断面水深。"
      },
      {
        "key": "slope_ratio",
        "label": "坡比",
        "default": 5.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "斜坡或泄槽坡比。"
      },
      {
        "key": "velocity_coefficient",
        "label": "流速系数",
        "default": 0.95,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "消能或泄流计算采用的流速修正系数。"
      },
      {
        "key": "safety_submergence",
        "label": "安全淹没系数",
        "default": 1.1,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "消能防冲复核采用的安全淹没系数。"
      }
    ],
    "moduleKey": "7"
  },
  "7-05": {
    "programId": "7-05",
    "title": "陡坡水力",
    "description": "入口宽度 · 渐变长度 · 泄槽水深",
    "source": "《水利大算盘》第六章第5节",
    "fields": [
      {
        "key": "param_1",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "陡坡水力采用的设计流量。"
      },
      {
        "key": "param_2",
        "label": "坡度",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "陡坡水力采用的坡度。"
      },
      {
        "key": "param_3",
        "label": "底宽",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "陡坡水力采用的底宽。"
      },
      {
        "key": "param_4",
        "label": "糙率 n",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "陡坡水力采用的糙率 n。"
      }
    ],
    "moduleKey": "7"
  },
  "7-07": {
    "programId": "7-07",
    "title": "引水渡槽水力",
    "description": "槽身水深 · 速度 · 槽底高程 · 超高",
    "source": "《水利大算盘》第六章第7节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "trough_length_m",
        "label": "渡槽长度",
        "default": 100.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渡槽水力计算采用的槽身长度。"
      },
      {
        "key": "bed_slope",
        "label": "渠底比降",
        "default": 0.001,
        "unit": "‰",
        "type": "number",
        "required": false,
        "help": "渠道或河床底坡比降。"
      },
      {
        "key": "roughness",
        "label": "糙率 n",
        "default": 0.035,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "河床、渠道或构筑物过水表面的曼宁糙率。"
      },
      {
        "key": "upstream_channel_width_m",
        "label": "上游渠道宽度",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渡槽或倒虹吸进口上游渠道宽度。"
      },
      {
        "key": "upstream_channel_depth_m",
        "label": "上游渠道水深",
        "default": 2.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渡槽或倒虹吸进口上游渠道水深。"
      },
      {
        "key": "upstream_velocity_m_s",
        "label": "上游渠道流速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "渡槽或倒虹吸进口上游渠道平均流速。"
      },
      {
        "key": "upstream_bed_elevation_m",
        "label": "上游渠底高程",
        "default": 1200.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渡槽或倒虹吸进口上游渠底高程。"
      },
      {
        "key": "trough_bottom_width_m",
        "label": "渡槽底宽",
        "default": 5.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "渡槽槽身底部宽度。"
      }
    ],
    "moduleKey": "7"
  },
  "7-08": {
    "programId": "7-08",
    "title": "倒虹吸管水力",
    "description": "管径 · 水头损失 · 管壁厚度 · 进出口池",
    "source": "《水利大算盘》第六章第8节",
    "fields": [
      {
        "key": "flow_m3s",
        "label": "设计流量",
        "default": 40.0,
        "unit": "m³/s",
        "type": "number",
        "required": false,
        "help": "本项计算采用的设计流量。"
      },
      {
        "key": "design_velocity_m_s",
        "label": "设计流速",
        "default": 1.0,
        "unit": "m/s",
        "type": "number",
        "required": false,
        "help": "倒虹吸或压力管道采用的设计流速。"
      },
      {
        "key": "pipe_length_m",
        "label": "压力管道长度",
        "default": 100.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "压力管道或倒虹吸管线长度。"
      },
      {
        "key": "headloss_coefficient_sum",
        "label": "局部损失系数合计",
        "default": 0.85,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "进口、出口、弯头等局部水头损失系数之和。"
      },
      {
        "key": "friction_factor",
        "label": "沿程阻力系数",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "管道沿程水头损失计算采用的阻力系数。"
      },
      {
        "key": "upstream_bed_m",
        "label": "上游渠底高程",
        "default": 1.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "倒虹吸进口上游渠底高程。"
      },
      {
        "key": "upstream_depth_m",
        "label": "上游水深",
        "default": 1.2,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "上游控制断面水深。"
      },
      {
        "key": "downstream_depth_m",
        "label": "下游水深",
        "default": 2.5,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "下游控制断面水深。"
      },
      {
        "key": "allowable_stress_kg_cm2",
        "label": "材料许用应力",
        "default": 1.0,
        "unit": "kg/cm²",
        "type": "number",
        "required": false,
        "help": "管材或构件强度复核采用的许用应力。"
      },
      {
        "key": "design_head_m",
        "label": "设计水头",
        "default": 10.0,
        "unit": "m",
        "type": "number",
        "required": false,
        "help": "倒虹吸或压力管道强度复核采用的设计水头。"
      }
    ],
    "moduleKey": "7"
  },
  "7-09": {
    "programId": "7-09",
    "title": "桥孔水力",
    "description": "过流面积 · 总净宽 · 设计净高 · 过桥流量",
    "source": "《水利大算盘》第六章第9节",
    "fields": [
      {
        "key": "param_1",
        "label": "设计流量",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥孔水力采用的设计流量。"
      },
      {
        "key": "param_2",
        "label": "桥孔尺寸",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥孔水力采用的桥孔尺寸。"
      },
      {
        "key": "param_3",
        "label": "计算水深",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥孔水力采用的计算水深。"
      },
      {
        "key": "param_4",
        "label": "平均流速",
        "default": 1.0,
        "unit": "",
        "type": "number",
        "required": false,
        "help": "桥孔水力采用的平均流速。"
      }
    ],
    "moduleKey": "7"
  },
  "1-11": {
    "programId": "1-11",
    "title": "水文面积比拟法",
    "description": "Q设 = Q参 × (F设/F参)^n，可选 n 值线性回归",
    "source": "《水利水电工程设计洪水计算规范》",
    "fields": [
      {"key": "reference_area_km2", "label": "参证站面积 F参", "default": 100.0, "unit": "km²", "type": "number", "required": true, "help": "参证站控制面积。"},
      {"key": "design_area_km2", "label": "设计流域面积 F设", "default": 47.02, "unit": "km²", "type": "number", "required": true, "help": "设计流域控制面积。"},
      {"key": "unified_n", "label": "统一面积指数 n", "default": 0.667, "unit": "", "type": "number", "required": false, "help": "不按频率分别给 n 时使用统一值，默认 0.667。"},
      {"key": "stations_count", "label": "参与线性回归的参证站数量", "default": 0, "unit": "个", "type": "number", "required": false, "help": "填 2 个及以上时，按多参证站面积-洪峰关系线性回归计算 n；不启用时填 0。"},
      {"key": "station_1_name", "label": "回归参证站1名称", "default": "", "unit": "", "type": "text", "required": false, "help": "用于 n 值线性回归。"},
      {"key": "station_1_area", "label": "回归参证站1面积", "default": 0.0, "unit": "km²", "type": "number", "required": false, "help": "用于 n 值线性回归的控制面积。"},
      {"key": "station_1_freq", "label": "回归参证站1频率", "default": "100", "unit": "年", "type": "select", "required": false, "options": [{"value": "100", "label": "100年一遇"}, {"value": "50", "label": "50年一遇"}, {"value": "20", "label": "20年一遇"}, {"value": "10", "label": "10年一遇"}, {"value": "5", "label": "5年一遇"}, {"value": "2", "label": "2年一遇"}], "help": "该参证站洪峰流量对应的重现期。"},
      {"key": "station_1_q_ref", "label": "回归参证站1洪峰流量", "default": 0.0, "unit": "m³/s", "type": "number", "required": false, "help": "与所选频率对应的参证站洪峰。"},
      {"key": "station_2_name", "label": "回归参证站2名称", "default": "", "unit": "", "type": "text", "required": false, "help": "用于 n 值线性回归。"},
      {"key": "station_2_area", "label": "回归参证站2面积", "default": 0.0, "unit": "km²", "type": "number", "required": false, "help": "用于 n 值线性回归的控制面积。"},
      {"key": "station_2_freq", "label": "回归参证站2频率", "default": "100", "unit": "年", "type": "select", "required": false, "options": [{"value": "100", "label": "100年一遇"}, {"value": "50", "label": "50年一遇"}, {"value": "20", "label": "20年一遇"}, {"value": "10", "label": "10年一遇"}, {"value": "5", "label": "5年一遇"}, {"value": "2", "label": "2年一遇"}], "help": "该参证站洪峰流量对应的重现期。"},
      {"key": "station_2_q_ref", "label": "回归参证站2洪峰流量", "default": 0.0, "unit": "m³/s", "type": "number", "required": false, "help": "与所选频率对应的参证站洪峰。"},
      {"key": "reference_q_100", "label": "参证站 Q_100年", "default": 606.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 100 年一遇洪峰流量。"},
      {"key": "reference_q_50", "label": "参证站 Q_50年", "default": 512.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 50 年一遇洪峰流量。"},
      {"key": "reference_q_20", "label": "参证站 Q_20年", "default": 343.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 20 年一遇洪峰流量。"},
      {"key": "reference_q_10", "label": "参证站 Q_10年", "default": 210.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 10 年一遇洪峰流量。"},
      {"key": "reference_q_5", "label": "参证站 Q_5年", "default": 0.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 5 年一遇洪峰流量，无则填 0。"},
      {"key": "reference_q_2", "label": "参证站 Q_2年", "default": 0.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站 2 年一遇洪峰流量，无则填 0。"}
    ],
    "moduleKey": "1"
  },
  "1-12": {
    "programId": "1-12",
    "title": "双对数内插法",
    "description": "在 log(F)-log(Q) 坐标上按两个参证站逐频率线性内插",
    "source": "《水文计算手册》对数内插",
    "fields": [
      {"key": "station_a_name", "label": "参证站A名称", "default": "参证站A", "unit": "", "type": "text", "required": false, "help": "面积较小的参证站。"},
      {"key": "station_a_area", "label": "参证站A面积", "default": 100.0, "unit": "km²", "type": "number", "required": true, "help": "参证站A控制面积。"},
      {"key": "station_a_q_100", "label": "站A Q_100年", "default": 606.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站A 100年一遇洪峰。"},
      {"key": "station_a_q_50", "label": "站A Q_50年", "default": 512.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站A 50年一遇洪峰。"},
      {"key": "station_a_q_20", "label": "站A Q_20年", "default": 343.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站A 20年一遇洪峰。"},
      {"key": "station_a_q_10", "label": "站A Q_10年", "default": 210.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站A 10年一遇洪峰。"},
      {"key": "station_b_name", "label": "参证站B名称", "default": "参证站B", "unit": "", "type": "text", "required": false, "help": "面积较大的参证站。"},
      {"key": "station_b_area", "label": "参证站B面积", "default": 300.0, "unit": "km²", "type": "number", "required": true, "help": "参证站B控制面积。"},
      {"key": "station_b_q_100", "label": "站B Q_100年", "default": 1300.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站B 100年一遇洪峰。"},
      {"key": "station_b_q_50", "label": "站B Q_50年", "default": 1100.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站B 50年一遇洪峰。"},
      {"key": "station_b_q_20", "label": "站B Q_20年", "default": 800.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站B 20年一遇洪峰。"},
      {"key": "station_b_q_10", "label": "站B Q_10年", "default": 500.0, "unit": "m³/s", "type": "number", "required": false, "help": "参证站B 10年一遇洪峰。"},
      {"key": "design_area_km2", "label": "设计流域面积 F设", "default": 200.0, "unit": "km²", "type": "number", "required": true, "help": "设计流域控制面积。"}
    ],
    "moduleKey": "1"
  },
  "1-13": {
    "programId": "1-13",
    "title": "水文频率适线计算",
    "description": "基于 SL 44-2006 附录A P-III 型曲线，矩法估计参数，支持绝对/相对离差平方和适线",
    "source": "SL 44-2006 附录A",
    "fields": [
      {"key": "samples", "label": "洪水样本系列", "default": "1246,890,650,420,380,310,280,250,220,180,150", "unit": "", "type": "textarea", "required": true, "help": "输入历年洪峰流量，用逗号或换行分隔。至少3个样本。"},
      {"key": "cs_method", "label": "Cs估计方法", "default": "ratio", "unit": "", "type": "select", "options": [{"value": "ratio", "label": "按Cs/Cv倍比"}, {"value": "fixed", "label": "直接输入Cs"}], "required": false, "help": "默认按Cs/Cv倍比，也可直接指定Cs值。"},
      {"key": "cs_fixed", "label": "直接指定 Cs", "default": 1.0, "unit": "", "type": "number", "required": false, "help": "仅选择直接输入 Cs 时生效；当前支持 Cs>0。"},
      {"key": "cs_cv_ratio", "label": "Cs/Cv 倍比", "default": 2.5, "unit": "", "type": "number", "required": false, "help": "Cs = (Cs/Cv) × Cv，常用 2.0~3.5。"},
      {"key": "fit_cs_cv_ratio", "label": "适线调整 Cs/Cv", "default": 2.5, "unit": "", "type": "number", "required": false, "help": "适线时手动调整 Cs/Cv 比值；与上方一致表示不调整。"},
      {"key": "criterion", "label": "适线准则", "default": "absolute", "unit": "", "type": "select", "options": [{"value": "absolute", "label": "绝对离差平方和最小"}, {"value": "relative", "label": "相对离差平方和最小"}], "required": false, "help": "绝对准则适合大洪水控制，相对准则适合全系列拟合。"},
      {"key": "design_freqs", "label": "设计频率", "default": "0.1,0.2,0.5,1,2,5,10,20,50", "unit": "%", "type": "text", "required": false, "help": "输出理论频率曲线的频率点，逗号分隔。"}
    ],
    "moduleKey": "1"
  }
};

// These hydraulic adapters consume dimensionless slopes, not per-mille values.
for (const id of ['3-02','3-09','3-10','3-11','3-14','3-16','4-02','7-03','7-07']) {
  for (const field of window.PROGRAM_FORM_CONFIGS[id].fields) {
    if (['slope','bed_slope','water_surface_slope','natural_water_surface_slope'].includes(field.key)) {
      field.unit = 'm/m';
      field.help += ' 输入小数比值：1‰ 请填 0.001；1% 请填 0.01。';
      field.min = 0;
    }
  }
}
for (const field of window.PROGRAM_FORM_CONFIGS['4-02'].fields) {
  if (field.key === 'roughness_n') field.default = 0.035;
  if (field.key === 'name') field.default = '设计断面';
  if (field.key === 'slope') field.default = 0.001;
}
for (const field of window.PROGRAM_FORM_CONFIGS['5-04'].fields) {
  if (field.key === 'upstream_slope') { field.default = 2.5; field.help = '上游坝坡水平距离与垂直距离之比 m；1:2.5 坝坡填 2.5。'; }
}
for (const field of window.PROGRAM_FORM_CONFIGS['1-13'].fields) {
  if (field.key === 'fit_cs_cv_ratio') {
    field.default = ''; field.required = false;
    field.label = '最终采用 Cs/Cv（可选修订）';
    field.help = '留空沿用上方Cs/Cv；填写后明确覆盖上方倍比。不用于直接指定Cs模式。';
  }
  if (field.key === 'criterion') {
    field.label = '偏差评价方式';
    field.options = [{value:'absolute',label:'绝对离差平方和'}, {value:'relative',label:'相对离差平方和'}];
    field.help = '评价矩法估计与手动调参的拟合偏差；不执行自动最优化。';
  }
}
window.PROGRAM_FORM_CONFIGS['1-11'].fields.push({key:'stations_json',label:'多站回归资料（可选）',type:'textarea',default:'',required:false,unit:'面积km²；流量m³/s',help:'优先于两站表单。示例格式：[{"name":"A","area":100,"flows":{"100":200}},{"name":"B","area":200,"flows":{"100":320}}]；支持多个站和多个重现期，同一频率至少两个不同面积。'});
for (const cfg of Object.values(window.PROGRAM_FORM_CONFIGS)) {
  for (const field of cfg.fields) {
    if (field.key === 'elevation_storage_curve') {
      field.unit = '水位 m，库容 m³';
      field.help = '按 水位,库容 录入；库容以立方米填写，100万m³ 填1000000。';
    }
  }
}

// Restored desktop-program entries.  Their detailed schemas stay in the page
// configuration so the form remains usable even before the desktop bridge is
// available; the bridge still supplies authoritative calculator fields where
// a dataclass contract exists.
Object.assign(window.PROGRAM_FORM_CONFIGS, {
  "3-23": {
    programId: "3-23",
    title: "河道演变分析",
    description: "河相关系 · 稳定河宽 · 纵横向稳定 · 冲淤趋势",
    source: "导入《水利大算盘》前的独立河道演变程序",
    moduleKey: "3",
    fields: [
      {key:"method",label:"分析方法",type:"select",required:true,default:"河相关系-格鲁什科夫宽深公式",unit:"",help:"按已有水文、断面和泥沙资料选择；每种经验关系均独立保留。",options:[
        {value:"河相关系-格鲁什科夫宽深公式",label:"河相关系-格鲁什科夫宽深公式"},{value:"河相关系-量纲分析公式",label:"河相关系-量纲分析公式"},{value:"稳定河宽-阿尔图宁公式",label:"稳定河宽-阿尔图宁公式"},{value:"纵向稳定系数-希尔兹数倒数法",label:"纵向稳定系数-希尔兹数倒数法"},{value:"纵向稳定系数-洛赫庆系数法",label:"纵向稳定系数-洛赫庆系数法"},{value:"横向稳定系数-方法一",label:"横向稳定系数-方法一"},{value:"横向稳定系数-方法二",label:"横向稳定系数-方法二"},{value:"综合稳定系数",label:"综合稳定系数"},{value:"冲淤判别系数",label:"冲淤判别系数"}
      ]},
      {key:"bankfull_width_b",label:"平滩水面宽 B",type:"number",required:true,default:"",unit:"m",help:"河相关系和横向稳定方法使用；应取同一代表期实测断面。",visibleWhen:{method:["河相关系-格鲁什科夫宽深公式","河相关系-量纲分析公式","横向稳定系数-方法一","横向稳定系数-方法二"]}},
      {key:"average_depth_h",label:"平均水深 h",type:"number",required:true,default:"",unit:"m",help:"河相关系及纵向稳定系数使用。",visibleWhen:{method:["河相关系-格鲁什科夫宽深公式","河相关系-量纲分析公式","纵向稳定系数-希尔兹数倒数法"]}},
      {key:"sediment_d",label:"床沙平均粒径 d",type:"number",required:true,default:"",unit:"mm",help:"按床沙级配代表粒径取值；不要把单位 m 直接填入。",visibleWhen:{method:["河相关系-量纲分析公式","纵向稳定系数-希尔兹数倒数法","纵向稳定系数-洛赫庆系数法"]}},
      {key:"formative_flow_q",label:"造床/平滩流量 Q",type:"number",required:true,default:"",unit:"m³/s",help:"稳定河宽和横向稳定方法使用。",visibleWhen:{method:["稳定河宽-阿尔图宁公式","横向稳定系数-方法一"]}},
      {key:"slope_j",label:"河道综合比降 J",type:"number",required:true,default:"",unit:"m/m",help:"输入小数比降，1‰ 填 0.001。",visibleWhen:{method:["稳定河宽-阿尔图宁公式","纵向稳定系数-希尔兹数倒数法","纵向稳定系数-洛赫庆系数法","横向稳定系数-方法一"]}},
      {key:"stable_width_a",label:"稳定河宽系数 A",type:"number",required:true,default:"",unit:"",help:"按河段类型和历史资料选取。",visibleWhen:{method:["稳定河宽-阿尔图宁公式"]}},
      {key:"low_water_width_b",label:"枯水河宽 b",type:"number",required:true,default:"",unit:"m",help:"横向稳定方法二使用。",visibleWhen:{method:["横向稳定系数-方法二"]}},
      {key:"longitudinal_phi_h1",label:"纵向稳定系数 φh1",type:"number",required:true,default:"",unit:"",help:"综合稳定系数方法使用，应来自本模块纵向稳定计算。",visibleWhen:{method:["综合稳定系数"]}},
      {key:"lateral_phi_b1",label:"横向稳定系数 φb1",type:"number",required:true,default:"",unit:"",help:"综合稳定系数方法使用，应来自本模块横向稳定计算。",visibleWhen:{method:["综合稳定系数"]}},
      {key:"inlet_velocity_v0",label:"进口断面流速 v0",type:"number",required:true,default:"",unit:"m/s",help:"冲淤判别方法使用。",visibleWhen:{method:["冲淤判别系数"]}},
      {key:"outlet_velocity_vi",label:"出口断面流速 vi",type:"number",required:true,default:"",unit:"m/s",help:"冲淤判别方法使用。",visibleWhen:{method:["冲淤判别系数"]}},
      {key:"inlet_depth_h0",label:"进口断面水深 h0",type:"number",required:true,default:"",unit:"m",help:"冲淤判别方法使用。",visibleWhen:{method:["冲淤判别系数"]}},
      {key:"outlet_depth_hi",label:"出口断面水深 hi",type:"number",required:true,default:"",unit:"m",help:"冲淤判别方法使用。",visibleWhen:{method:["冲淤判别系数"]}}
    ]
  },
  "3-24": {
    programId: "3-24",
    title: "规范分项冲刷计算",
    description: "护岸 · 丁坝 · 桥下一般冲刷 · 桥墩局部冲刷",
    source: "导入《水利大算盘》前的规范分项冲刷程序",
    moduleKey: "3",
    fields: [
      {key:"method_key",label:"规范公式",type:"select",required:true,default:"jtg_64_2_nonc_simplified",unit:"",help:"每项公式保留独立适用条件；切换公式后按下方参数格式填入该公式全部参数。",options:[
        {value:"slt_parallel_bank",label:"SLT A.3.4-1 平行岸坡局部冲刷"},{value:"slt_oblique_bank",label:"SLT A.3.4-2 斜冲护岸冲刷"},{value:"slt_wetland_vj",label:"SLT A.3.4-3 滩地局部冲刷流速"},{value:"slt_no_floodplain_vj",label:"SLT A.3.4-4 无滩地局部冲刷流速"},{value:"slt_groyne_non_submerged",label:"SLT A.3.4-5 非淹没丁坝冲刷"},{value:"slt_groyne_fine_bed",label:"SLT A.3.4-8 细颗粒河床丁坝冲刷"},{value:"jtg_64_1_nonc_channel",label:"JTG 64-1 非粘性土河槽一般冲刷"},{value:"jtg_64_2_nonc_simplified",label:"JTG 64-2 非粘性土河槽一般冲刷"},{value:"slt_bridge_nonc_floodplain",label:"SLT A.3.5-4 非粘性土河滩一般冲刷"},{value:"slt_bridge_cohesive_channel",label:"SLT A.3.5-6 粘性土河槽一般冲刷"},{value:"slt_bridge_cohesive_floodplain",label:"SLT A.3.5-7 粘性土河滩一般冲刷"},{value:"jtg_65_nonc_pier_auto",label:"JTG 65-1/65-2 非粘性土桥墩局部冲刷"},{value:"jtg_65_2_nonc_pier_original",label:"JTG 65-2 原式桥墩局部冲刷"},{value:"slt_pier_cohesive_auto",label:"SLT A.3.5-13/14 粘性土桥墩局部冲刷"}
      ]},
      {key:"method_parameters",label:"所选公式参数",type:"textarea",required:true,default:"",unit:"每行 参数名=数值",help:"逐行填写所选规范公式的全部参数，例如 Qp=650、Qc=500。计算后输出完整参数清单、公式、中间量和自动分支；项目资料不得套用示例值。"}
    ]
  },
  "3-25": {
    programId: "3-25",
    title: "桥孔最小净长度计算",
    description: "桥孔净宽 · 河段分类 · 河槽压缩控制",
    source: "JTG C30 桥孔设计第 7.2.1 节；导入前既有桥孔程序",
    moduleKey: "3",
    fields: [
      {key:"method",label:"河段类型",type:"select",required:true,default:"开阔、顺直微弯河段",unit:"",help:"按桥位河段实测地形和滩槽特征选择；峡谷河段按地形布孔，不强行套用净长度公式。",options:[
        {value:"峡谷河段",label:"峡谷河段"},{value:"开阔、顺直微弯河段",label:"开阔、顺直微弯河段"},{value:"分汊、弯曲河段",label:"分汊、弯曲河段"},{value:"滩、槽可分的不稳定河段",label:"滩、槽可分的不稳定河段"},{value:"宽滩河段",label:"宽滩河段"},{value:"滩、槽难分的不稳定河段",label:"滩、槽难分的不稳定河段"}
      ]},
      {key:"design_flow_qp",label:"设计流量 Qp",type:"number",required:true,default:1000,unit:"m³/s",help:"与桥位设计洪水采用值一致。",visibleWhen:{method:["开阔、顺直微弯河段","分汊、弯曲河段","滩、槽可分的不稳定河段","宽滩河段","滩、槽难分的不稳定河段"]}},
      {key:"channel_flow_qc",label:"河槽流量 Qc",type:"number",required:true,default:800,unit:"m³/s",help:"对应设计洪水下河槽分配流量。",visibleWhen:{method:["开阔、顺直微弯河段","分汊、弯曲河段","滩、槽可分的不稳定河段","宽滩河段"]}},
      {key:"channel_width_bc",label:"河槽宽度 Bc",type:"number",required:true,default:120,unit:"m",help:"取桥位代表断面河槽宽度。",visibleWhen:{method:["开阔、顺直微弯河段","分汊、弯曲河段","滩、槽可分的不稳定河段"]}},
      {key:"floodplain_flow_qt",label:"河滩流量 Qt",type:"number",required:true,default:300,unit:"m³/s",help:"宽滩河段的设计洪水河滩分配流量。",visibleWhen:{method:["宽滩河段"]}},
      {key:"average_unit_discharge_qc",label:"河槽平均单宽流量 qc",type:"number",required:true,default:8,unit:"m³/(s·m)",help:"宽滩河段河槽平均单宽流量。",visibleWhen:{method:["宽滩河段"]}},
      {key:"annual_mean_max_flow_qbar",label:"年最大流量均值 Qbar",type:"number",required:true,default:500,unit:"m³/s",help:"由实测年最大洪水系列统计。",visibleWhen:{method:["滩、槽难分的不稳定河段"]}},
      {key:"bed_sediment_dbar_mm",label:"河床泥沙平均粒径 dbar",type:"number",required:true,default:2,unit:"mm",help:"按 mm 填写，程序自动换算为 JTG 原式所需 m。",visibleWhen:{method:["滩、槽难分的不稳定河段"]}},
      {key:"flood_flow_q2_percent",label:"2% 洪水流量 Q2%",type:"number",required:true,default:1200,unit:"m³/s",help:"频率为 2% 的桥位洪水流量。",visibleWhen:{method:["滩、槽难分的不稳定河段"]}}
    ]
  },
  "4-04": {
    programId: "4-04",
    title: "波浪高度计算",
    description: "平均波高 · 设计波高 · 波长 · 最小风时",
    source: "GB 50286-2013 表 C.1.3、莆田试验站波浪公式",
    moduleKey: "4",
    fields: [
      {key:"wind_speed_ms",label:"计算风速 V",type:"number",required:true,default:20,unit:"m/s",help:"按设计风速或相应频率风速取值。"},
      {key:"fetch_length_m",label:"风区长度 F/D",type:"number",required:true,default:1000,unit:"m",help:"沿风向有效吹程。"},
      {key:"average_depth_m",label:"平均水深 d",type:"number",required:true,default:3,unit:"m",help:"波浪计算采用的平均水深。"},
      {key:"height_factor",label:"波高换算系数 Kp",type:"number",required:true,default:1,unit:"",help:"按项目采用的设计波高标准取值；历史版默认 1.0。"},
      {key:"gravity",label:"重力加速度 g",type:"number",required:true,default:9.81,unit:"m/s²",help:"通常取 9.81。"}
    ]
  },
  "4-05": {
    programId: "4-05",
    title: "风壅水位计算",
    description: "风壅增水 · 方向折减 · 风后叠加水位",
    source: "风壅水面高度常用近似式；导入前既有独立风壅水位程序",
    moduleKey: "4",
    fields: [
      {key:"base_water_level_m",label:"静水位 Z0",type:"number",required:true,default:100,unit:"m",help:"计算风壅后的叠加水位基准。"},
      {key:"wind_speed_ms",label:"计算风速 V",type:"number",required:true,default:20,unit:"m/s",help:"按设计风速或相应频率风速取值。"},
      {key:"fetch_length_m",label:"风区长度 D",type:"number",required:true,default:1000,unit:"m",help:"沿风向有效吹程。"},
      {key:"average_depth_m",label:"平均水深 Hm",type:"number",required:true,default:3,unit:"m",help:"风壅计算采用的平均水深。"},
      {key:"wind_angle_deg",label:"风向夹角 beta",type:"number",required:true,default:0,unit:"°",min:0,max:90,help:"0° 为正向吹向计算岸段，90° 为沿岸风。"},
      {key:"wind_stress_coefficient",label:"风壅综合摩阻系数 k",type:"number",required:true,default:0.0000036,unit:"",help:"常用默认值为 3.6E-6，应按项目规范或试验资料复核。"},
      {key:"gravity",label:"重力加速度 g",type:"number",required:true,default:9.81,unit:"m/s²",help:"通常取 9.81。"}
    ]
  }
});

window.PROGRAM_FORM_CONFIGS['4-02'].description = '设计流量反算水位 · 全断面水位流量关系 · 频率水位';
for (const field of window.PROGRAM_FORM_CONFIGS['4-02'].fields) {
  if (field.key === 'design_flow_m3s') {
    field.default = ''; field.required = false; field.min = 0;
    field.label = '设计流量 Q（可空）';
    field.help = '留空且未填频率流量时计算全断面关系；有流量时反算水位。0 不是空值，反算流量须大于 0。';
    field.visibleWhen = {manning_mode:['auto','design']};
  }
  if (field.key === 'points') {
    field.type = 'textarea'; field.required = true; field.unit = '横距 m，高程 m';
    field.help = '可从 Excel 粘贴横距、高程两列多行数据（允许首行中文表头）；也兼容 x,z; x,z。横距不得重复。';
  }
  if (field.key === 'roughness_n') field.help = '采用全断面单一曼宁糙率；本入口尚不支持分段糙率输水能力叠加。';
}
window.PROGRAM_FORM_CONFIGS['4-02'].fields.unshift(
  {key:'manning_mode',label:'计算模式',type:'select',default:'auto',required:true,unit:'',options:[
    {value:'auto',label:'自动选择'}, {value:'curve',label:'全断面水位流量关系'}, {value:'design',label:'设计及频率流量反算水位'}
  ],help:'自动模式按是否填写流量选择；全断面模式只生成关系表，不采用草稿中保留的流量。'}
);
window.PROGRAM_FORM_CONFIGS['4-02'].fields.push(
  {key:'rating_step_m',label:'水位计算步长',type:'number',default:0.2,required:true,unit:'m',min:0.01,max:5,help:'按历史版本逐级生成全断面水位—流量关系；常用 0.10 至 0.50 m。'},
  {key:'rating_max_depth_m',label:'关系表最大水深（可空）',type:'number',default:'',required:false,unit:'m',min:0.01,help:'留空覆盖全断面高程及设计水位；填写后指定表格范围，至少覆盖所有设计水位及曲线余高。表格不随图区裁剪，最多2000行。'},
  {key:'rating_headroom_m',label:'最高设计水位以上曲线余高',type:'number',default:'',required:false,unit:'m',min:0,visibleWhen:{manning_mode:['auto','design']},help:'留空取 0.5 m 与最高设计水深15%的较大者；0 表示绘至最高设计水位。此值只控制绘图上限，不裁掉完整关系表。'},
  {key:'frequency_flows',label:'各频率设计流量（可空）',type:'textarea',default:'',required:false,unit:'%或年 : m³/s',visibleWhen:{manning_mode:['auto','design']},help:'每行或分号分隔。1%:650 表示1%频率；100年:650 表示100年一遇。旧草稿 100:650 仍按100年一遇，绝不按100%。多个频率在同图标注。'}
);

for (const id of ['4-01', '4-03']) {
  const cfg = window.PROGRAM_FORM_CONFIGS[id];
  for (const field of cfg.fields) {
    if (field.key === 'flow_regime') Object.assign(field, {
      type:'select', label:'计算流态与控制方向', required:true,
      options:[{value:'subcritical',label:'亚临界流（下游控制）'}, {value:'supercritical',label:'超临界流（上游控制）'}],
      help:'两断面或多断面均按所选流态求解，不支持混合流与水跃。',
    });
    if (field.key === 'friction_method') Object.assign(field, {
      type:'select', options:[{value:'average_conveyance',label:'平均流量模数法'}, {value:'average_friction_slope',label:'平均摩阻坡降法'}],
    });
    if (field.key === 'downstream_water_level_m') Object.assign(field, {required:true,visibleWhen:{flow_regime:['subcritical']}});
    if (field.key === 'sections_json') Object.assign(field, {type:'textarea',help:'按下游至上游顺序输入断面，每个断面给出name、roughness_n、points横距高程点列；两断面即为两断面能量方程。'});
  }
  cfg.fields.push(
    {key:'upstream_water_level_m',label:'上游控制水位',type:'number',default:'',required:true,unit:'m',visibleWhen:{flow_regime:['supercritical']},help:'超临界流采用上游控制，自上而下推算。'},
    {key:'normal_depth_slope',label:'正常水深复核采用河床比降',type:'number',default:'',required:false,unit:'m/m',min:0,help:'可选，仅用于正常水深复核，1‰填0.001。留空不计算正常水深。'}
  );
}

// The bridge supplies the concrete dataclass fields for these restored
// programs. Keep a complete fallback page identity here so a transient bridge
// load failure never turns a valid calculation page into "缺少页面配置".
for (const [programId, title, moduleKey] of [
  ['3-18', '渠道侧墙稳定与配筋校核', '3'], ['3-19', '复式断面渠道水力计算', '3'],
  ['3-20', 'U形渠道水力计算', '3'], ['3-21', '渠道钢筋工程量与含钢量统计', '3'],
  ['3-22', '渠道纵断面设计高程', '3'], ['6-08', '压力钢管抗外压稳定', '6'],
  ['6-09', '输电导线经济截面与载流量校核', '6'], ['6-10', '主变压器容量校核', '6'],
  ['6-11', '电力负荷预测与供发电最大负荷', '6'], ['7-06', '跌水水力与消能尺寸', '7'],
  ['7-10', '隧洞过流断面水力', '7'], ['7-11', '涵洞泄流断面水力', '7'], ['7-12', '侧堰分水与泄流能力', '7']
]) {
  if (!window.PROGRAM_FORM_CONFIGS[programId]) {
    window.PROGRAM_FORM_CONFIGS[programId] = {
      programId, title, moduleKey, fields: [],
      description: '参数、公式、中间过程、成果表和计算书由对应历史计算程序提供。',
      source: '导入《水利大算盘》前的既有计算程序'
    };
  }
}
