{% extends 'base.html' %} {% block title %}端口联通总览{% endblock %} {% block body %} {% if refresh %}{% endif %} {% set c = st.get('config', {}) %} {% set p = st.get('points', {}) %} {% set t = st.get('totals', {}) %} {% set bad_n = counts.get('静默', 0) + counts.get('无连接', 0) + counts.get('未监听', 0) + counts.get('状态过期', 0) %} {% set idle_n = counts.get('停用', 0) + counts.get('库里没有', 0) %}
| 端口 | 状态 | 风场 | 机组 | 测点 | 标准点 | 连接 | 对端地址 | 最后收数 | 静默(s) | 收数行 | 未匹配 | 时标异常 | 名称 / 备注 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.port }} | {{ r.state }}{% if r.gi_open %} 总召中{% endif %} | {% for x in r.farms_list %}{{ x.l }}{{ '、' if not loop.last }}{% endfor %}{% if not r.farms_list %}机组台账里没挂风场{% endif %} | {{ r.turbines }} | {{ r.points|num }} | {{ r.algo_points|num }} | {{ r.conns }}{% if r.listening is false %} 未监听{% endif %} | {{ r.peer or '-' }} | {{ r.last_rx }} | {{ '%.0f' % r.silent_s if r.silent_s is not none else '-' }} | {{ r.rows|num }} | {{ r.unmapped|num }} | {{ r.skew|num }} | {{ r.disp_name or '-' }}{% if r.note %} {{ r.note }}{% endif %} {% if not r.in_db %}库里没有{% endif %} |