52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
<div class="modal hidden" id="unitModal">
|
|
<div class="modal-content modal-sm">
|
|
<div class="modal-head">
|
|
<h3>控制单元配置</h3>
|
|
<button class="secondary" id="closeUnitModal">X</button>
|
|
</div>
|
|
<form id="unitForm" class="form">
|
|
<input type="hidden" id="unitId" />
|
|
<label>
|
|
编码
|
|
<input id="unitCode" required />
|
|
</label>
|
|
<label>
|
|
名称
|
|
<input id="unitName" required />
|
|
</label>
|
|
<label>
|
|
说明
|
|
<input id="unitDescription" />
|
|
</label>
|
|
<label class="check-row">
|
|
<input type="checkbox" id="unitEnabled" checked />
|
|
<span>启用</span>
|
|
</label>
|
|
<label>
|
|
投煤运行时间(秒)
|
|
<input id="unitRunTimeSec" type="number" min="0" value="0" />
|
|
</label>
|
|
<label>
|
|
投煤停止时间(秒)
|
|
<input id="unitStopTimeSec" type="number" min="0" value="0" />
|
|
</label>
|
|
<label>
|
|
投煤累计阈值(秒)
|
|
<input id="unitAccTimeSec" type="number" min="0" value="0" />
|
|
</label>
|
|
<label>
|
|
布料机运行时间(秒)
|
|
<input id="unitBlTimeSec" type="number" min="0" value="0" />
|
|
</label>
|
|
<label class="check-row">
|
|
<input type="checkbox" id="unitManualAck" checked />
|
|
<span>故障恢复后需人工确认</span>
|
|
</label>
|
|
<div class="form-actions">
|
|
<button type="button" class="secondary" id="unitReset">清空</button>
|
|
<button type="submit" id="unitSubmit">保存</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|