| | |
| | | <span class="form-tip">多块玻璃之间的物理间隔空隙,默认200mm</span> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="默认玻璃长度(mm)"> |
| | | <el-input-number |
| | | v-model="config.defaultGlassLength" |
| | | :min="100" |
| | | :max="10000" |
| | | :step="100" |
| | | style="width: 100%;" |
| | | @change="emitConfigUpdate" |
| | | /> |
| | | <span class="form-tip">当玻璃未提供长度时使用的默认值</span> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row :gutter="20"> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="最大重试次数"> |
| | | <el-input-number |
| | | v-model="config.maxRetryCount" |
| | | :min="0" |
| | | :max="10" |
| | | :step="1" |
| | | style="width: 100%;" |
| | | @change="emitConfigUpdate" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-form-item label="位置映射"> |
| | | <div class="position-mapping"> |
| | | <div |
| | |
| | | vehicleCapacity: 6000, |
| | | vehicleSpeed: 1.0, |
| | | glassGap: 200, |
| | | defaultGlassLength: 2000, |
| | | homePosition: 0, |
| | | minRange: 1, |
| | | maxRange: 100, |
| | |
| | | taskMonitorIntervalMs: 1000, |
| | | mesConfirmTimeoutMs: 30000, |
| | | autoFeed: true, |
| | | maxRetryCount: 5, |
| | | positionMapping: {} |
| | | }) |
| | | |
| | |
| | | vehicleCapacity: newVal.vehicleCapacity ?? 6000, |
| | | vehicleSpeed: newVal.vehicleSpeed ?? 1.0, |
| | | glassGap: newVal.glassGap ?? 200, |
| | | defaultGlassLength: newVal.defaultGlassLength ?? 2000, |
| | | homePosition: newVal.homePosition ?? 0, |
| | | minRange: newVal.minRange ?? 1, |
| | | maxRange: newVal.maxRange ?? 100, |
| | |
| | | taskMonitorIntervalMs: newVal.taskMonitorIntervalMs ?? 1000, |
| | | mesConfirmTimeoutMs: newVal.mesConfirmTimeoutMs ?? 30000, |
| | | autoFeed: newVal.autoFeed ?? true, |
| | | maxRetryCount: newVal.maxRetryCount ?? 5, |
| | | positionMapping: newVal.positionMapping || {} |
| | | } |
| | | // 将毫秒转换为秒用于显示 |