mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-05-25 10:30:01 +00:00
feat: 更新Neware电池测试系统驱动及电芯组装工作站相关文件
- 更新 neware_battery_test_system 驱动及设备配置 - 新增 generate_xml_content.py 工具脚本 - 更新 bioyond_cell_workstation 工作站实现 - 更新 coin_cell_assembly 扣式电池组装逻辑 - 更新相关注册表 YAML 配置:neware_battery_test_system、coin_cell_workstation、bioyond_cell
This commit is contained in:
@@ -1039,7 +1039,11 @@ class BioyondCellWorkstation(BioyondWorkstation):
|
||||
logger.warning(f"[create_orders_formulation] 第 {idx + 1} 个配方无有效物料,跳过")
|
||||
continue
|
||||
|
||||
item_mix_time = mix_time[idx] if idx < len(mix_time) else 0
|
||||
raw_mix_time = mix_time[idx] if idx < len(mix_time) else None
|
||||
try:
|
||||
item_mix_time = int(raw_mix_time) if raw_mix_time not in (None, "", "null") else 0
|
||||
except (ValueError, TypeError):
|
||||
item_mix_time = 0
|
||||
logger.info(f"[create_orders_formulation] 第 {idx + 1} 个配方: orderName={order_name}, "
|
||||
f"coinCellVolume={coin_cell_volume}, pouchCellVolume={pouch_cell_volume}, "
|
||||
f"conductivityVolume={conductivity_volume}, totalMass={total_mass}, "
|
||||
|
||||
Reference in New Issue
Block a user