Andy6M
99ee27bfc2
Revert "Revert "fix(neware): add coin_cell_code input handle to battery_transfer_confirm""
...
This reverts commit 201b1064d7 .
2026-04-22 18:18:24 +08:00
Andy6M
e8f54d50f9
fix(neware): remove output_dir from submit_auto_export_excel input handles
...
Made-with: Cursor
2026-04-22 18:13:45 +08:00
Andy6M
201b1064d7
Revert "fix(neware): add coin_cell_code input handle to battery_transfer_confirm"
...
This reverts commit 2ebe35e70e .
2026-04-22 18:13:32 +08:00
Andy6M
2ebe35e70e
fix(neware): add coin_cell_code input handle to battery_transfer_confirm
...
Made-with: Cursor
2026-04-22 18:06:37 +08:00
Andy6M
717f236332
feat(neware): submit_auto_export_excel add manual backup path and electrolyte_code
...
- Add output_dir param, backup dir derived from user input (xml_dir/backup_dir auto-created)
- Add electrolyte_code param, backup file name format: coin_cell_code-electrolyte_code-devid-subdevid-chlid
- manual_confirm return value adds electrolyte_code field for downstream passthrough
- YAML: manual_confirm output handles add electrolyte_code
- YAML: submit_auto_export_excel goal/schema/goal_default/handles add output_dir and electrolyte_code
- YAML: battery_transfer_confirm output changed to empty list
Made-with: Cursor
2026-04-22 17:29:28 +08:00
Xie Qiming
79c0815b70
fix(neware): 修复 submit_auto_export_excel 因 resource=[] 导致 0 下发 + filetype kwarg
...
问题:
- 日志中 submit_auto_export_excel 收到 resource=[](工作流本身不传成品电池资源,
电池由人工搬运),原代码 n = len(resource) = 0 → 整个循环跳过 →
"共 0 颗电池,成功下发 0 颗"。
- neware_driver.start_test 原来不接收 filetype kwarg,导致 TypeError 阻塞下发。
修复:
1. submit_auto_export_excel 改为由 mount_resource 驱动循环长度:
- 新签名以 mount_resource 为主,resource/pole_weight/coin_cell_code 均可选
- 新增 coin_cell_code 入参,coin_id 优先级 coin_cell_code > resource.name > fallback
- n==0 时提前返回并给出明确错误信息
2. manual_confirm 的返回值与 YAML handles/output 新增 coin_cell_code
(从已解包的 assembly_data 直接取)
3. submit_auto_export_excel YAML goal/schema/goal_default/handles.input
新增 coin_cell_code;required 中移除 resource(不再强制)
4. neware_driver.build_start_command / start_test 增加 filetype:int=1 参数,
动态嵌入 XML backup 配置,消除 TypeError
Made-with: Cursor
2026-04-22 16:24:35 +08:00
Xie Qiming
f431d61d85
Fix neware test dispatch and manual_confirm CSV archival
...
- neware_driver: default backup filetype="1" so Neware BTS produces Excel
backups out of the box (matches submit_*_export_excel semantics).
- submit_auto_export_excel: pass filetype=1 to align with function name
and the newly default Excel backup.
- manual_confirm: prefix Channel_Name with a single quote when writing
the integrated CSV so Excel keeps it as text (e.g. "6-10-2") instead
of auto-coercing to a date (e.g. "2006/10/2"). The on-disk value is
archival only and submit_auto_export_excel never reads it, so the
live workflow is unaffected either way.
- neware yaml: declare explicit item properties for manual_confirm's
formulations and assembly_data arrays so the orchestrator schema
projection keeps the 7/9 upstream fields intact.
Made-with: Cursor
2026-04-22 15:21:15 +08:00
Xie Qiming
3af86a07f2
Trim manual_confirm outputs and fix resource uuid lookup
...
- neware manual_confirm: drop formulations/assembly_data from result and output handles (they only feed internal CSV export and should not be passed downstream); return dict no longer carries those two keys
- base_device_node.loop_find_with_uuid consumer: iterate all figured_resources instead of breaking after first attempt; raise explicit error when uuid cannot be resolved
Made-with: Cursor
2026-04-22 11:18:45 +08:00
Xie Qiming
d1713fcca1
Wire bioyond/coin-cell/neware param passing and add manual-confirm CSV export
...
- coin_cell_assembly: align battery_info to 9 fields (Time/open_circuit_voltage/pole_weight/assembly_time/assembly_pressure/electrolyte_volume/data_coin_type/electrolyte_code/coin_cell_code); expose assembly_data single array; rename CSV column coin_num -> data_coin_type
- coin_cell_workstation.yaml: add assembly_data_output handle for auto-func_sendbottle_allpack_multi
- neware manual_confirm: accept formulations + assembly_data + csv_export_dir, unpack to parallel lists, export merged CSV to {csv_export_dir}/{date}/date_{date}.csv, output pole_weight for downstream
- neware transfer -> battery_transfer_confirm with manual_confirm node_type, timeout_seconds, assignee_user_ids
- neware test -> submit_auto_export_excel, accept pole_weight input; relabel battery_system as xml工步
Made-with: Cursor
2026-04-21 20:01:49 +08:00
Xie Qiming
52b460466d
Update neware battery test system driver and registry
...
- Expand neware_battery_test_system.py with new actions and logic
- Update generate_xml_content.py with additional XML generation support
- Extend neware_battery_test_system.yaml registry with new action schemas
- Update OSS upload READMEs and device.json
- Add electrode_sheet.py resource fields
Made-with: Cursor
2026-04-21 17:30:56 +08:00
Xuwznln
20342c6484
Change uni-lab. to leap-lab.
...
Support unit in pylabrobot
2026-04-21 11:58:02 +08:00
Xuwznln
008c355754
Support async func.
2026-04-21 11:57:48 +08:00
Xuwznln
0895252bc1
change to leap-lab backend. Support feedback interval. Reduce cocurrent lags.
2026-04-21 11:56:13 +08:00
Andy6M
73add2dc06
feat: implement electrolyte CSV export and barcode tracking
...
- add CSV export for order data in bioyond_cell
- extract prep and vial bottles from order_finish report
- update bioyond_cell registry with csv_export_path
- update coin_cell_assembly to export new bottle barcodes and mass ratios
- add 260415csv_export_walkthrough.md
2026-04-15 12:07:01 +08:00
Andy6M
e11c3533c7
Merge origin/dev into backup/local-0.10.18-20260324
2026-04-09 18:21:14 +08:00
Andy6M
ed952e8a44
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
2026-04-09 14:16:49 +08:00
Andy6M
467f0b1115
feat: update coin cell assembly, bioyond cell workstation, and resource configs
2026-03-25 23:31:06 +08:00
Xuwznln
dbf5df6e4d
add placeholder keys
2026-03-25 12:11:10 +08:00
Xuwznln
d956b27e9f
update registry
2026-03-24 23:10:57 +08:00
Xuwznln
ff1e21fcd8
新增manual_confirm
2026-03-24 23:04:00 +08:00
Andy6M
91928a87ac
Merge remote-tracking branch 'origin/dev' into backup/local-0.10.18-20260324
2026-03-24 12:26:03 +08:00
Junhan Chang
dff70bd72b
add formulation action
2026-03-24 11:12:05 +08:00
Andy6M
41a018febc
chore: 鏈湴淇敼瀛樻。 - 0.10.18 鍩虹鐗堟湰澶囦唤 (2026-03-24)
...
Made-with: Cursor
2026-03-24 10:54:59 +08:00
Junhan Chang
d776550a4b
add virtual_sample_demo 样品追踪测试设备
2026-03-23 16:43:20 +08:00
Xuwznln
3d8123849a
add external devices param
...
fix registry upload missing type
2026-03-23 15:01:16 +08:00
Xuwznln
d8922884b1
fast registry load
2026-03-22 04:14:47 +08:00
Xuwznln
427afe83d4
minor fix on skill & registry
2026-03-22 03:36:28 +08:00
Xuwznln
23c2e3b2f7
stripe ros2 schema desc
...
add create-device-skill
2026-03-22 03:21:13 +08:00
Xuwznln
59c26265e9
new registry system backwards to yaml
2026-03-22 02:19:54 +08:00
Xuwznln
4c2adea55a
remove not exist resource
2026-03-21 23:35:51 +08:00
Xuwznln
0f6264503a
new registry sys
...
exp. support with add device
2026-03-21 19:26:24 +08:00
Andy6M
7505e024f3
fix: 物料系统标准化重构 + 多轮运行期 Bug 修复 (2026-03-12)
...
- MagazineHolder: klasses=None,解耦极片子节点初始化
- Magazine: 重写 serialize/deserialize,截断旧极片脏数据
- bottle_carriers: 移除 YIHUA_Electrolyte_12VialCarrier 初始化填瓶
- decks.py: BIOYOND_YB_Deck→BioyondElectrolyteDeck,移除 setup 参数
- YB_YH_materials.py: CoincellDeck→YihuaCoinCellDeck,新增 electrolyte_buffer 槽位
- resource_tracker.py: Container 状态键预填 + 重复 UUID 自动修复 + 树级名称去重
- itemized_carrier.py: XY 近似坐标匹配,修复 Z 偏移问题
- bioyond_cell_workstation.py: 跨站转运改用真实资源 + 类型映射双模式查找
- station.py: sync_to_external 属性访问路径修复
- coin_cell_assembly.py: 新增 10 个 Modbus 余量属性
- CSV/JSON/YAML 配置同步更新(类名重命名 + 移除 setup)
- 新增 changelog_2026-03-12.md
2026-03-19 00:41:26 +08:00
Xuwznln
3155b2f97e
ret info fix revert
2026-03-10 16:04:27 +08:00
Xuwznln
e5e30a1c7d
ret info fix
2026-03-10 16:00:24 +08:00
Xuwznln
95d3456214
add create_resource schema
2026-03-10 15:27:39 +08:00
Xuwznln
3f160c2049
更新prcxi deck & 新增 unilabos_resource_slot
2026-03-03 11:40:23 +08:00
Xuwznln
f9ed6cb3fb
add test_resource_schema
2026-02-11 14:02:21 +08:00
Xuwznln
699a0b3ce7
fix test resource schema
2026-02-10 23:08:29 +08:00
Xuwznln
cf3a20ae79
registry update & workflow update
2026-02-10 22:46:07 +08:00
Xuwznln
9a7d5c7c82
add registry name & add always free
2026-02-07 02:11:43 +08:00
Xuwznln
341a1b537c
Adapt to new scheduler, sampels, and edge upload format ( #230 )
...
* add sample_material
* adapt to new samples sys
* fix pump transfer. fix resource update when protocol & ros callback
* Adapt to new scheduler.
2026-02-06 00:49:53 +08:00
Xuwznln
e8d1263488
workflow upload & prcxi transfer liquid
2026-02-03 18:10:32 +08:00
Xuwznln
380b39100d
lh liquid
2026-02-03 15:15:57 +08:00
Xuwznln
56eb7e2ab4
speed up registry load
2026-02-02 20:01:04 +08:00
Xuwznln
23ce145f74
workflow upload & set liquid fix & add set liquid with plate
2026-02-02 18:23:33 +08:00
hanhua@dp.tech
dadfdf3d8d
add unilabos_class
2026-01-30 18:07:53 +08:00
Xuwznln
3f63c36505
transfer liquid handles
2026-01-28 11:45:45 +08:00
Xuwznln
7eacae6442
Fix OT2 & ReAdd Virtual Devices
2026-01-28 01:05:32 +08:00
Xuwznln
216f19fb62
Workbench example, adjust log level, and ci check ( #220 )
...
* TestLatency Return Value Example & gitignore update
* Adjust log level & Add workbench virtual example & Add not action decorator & Add check_mode &
* Add CI Check
2026-01-26 02:15:13 +08:00
Xuwznln
ec7ca6a1fe
Fix/workstation yb revision ( #217 )
...
* Revert log change & update registry
* Revert opcua client & move electrolyte node
2026-01-17 16:50:20 +08:00