ZiWei
81b28cef71
Merge branch 'dev' into pr/169
...
# Conflicts:
# unilabos/device_comms/opcua_client/client.py
# unilabos/device_comms/opcua_client/node/uniopcua.py
# unilabos/registry/devices/post_process_station.yaml
2025-12-25 13:55:22 +08:00
ZiWei
d57e5ffdae
Refactor bioyond_dispensing_station and reaction_station_bioyond YAML configurations
...
- Removed redundant action value mappings from bioyond_dispensing_station.
- Updated goal properties in bioyond_dispensing_station to use enums for target_stack and other parameters.
- Changed data types for end_point and start_point in reaction_station_bioyond to use string enums (Start, End).
- Simplified descriptions and updated measurement units from μL to mL where applicable.
- Removed unused commands from reaction_station_bioyond to streamline the configuration.
2025-12-25 12:19:37 +08:00
ZiWei
d5e0d76311
fix: 修复添加物料时数据格式错误
2025-12-25 11:23:59 +08:00
ZiWei
beaa1d7213
feat: 添加任务状态事件发布功能,监控并报告任务运行、超时、完成和错误状态
2025-12-25 09:58:03 +08:00
ZiWei
1e5f6b0c04
feat:添加实验报告简化功能,去除冗余信息并保留关键信息
2025-12-24 11:28:40 +08:00
xyc
8a0f000bab
add camera driver ( #191 )
...
* add camera driver
* add init.py file to cameraSII driver
2025-12-23 18:41:43 +08:00
Xie Qiming
2ffeb49acb
增强新威电池测试系统 OSS 上传功能 / Enhanced Neware Battery Test System OSS Upload ( #196 )
...
* feat: neware-oss-upload-enhancement
* feat(neware): enhance OSS upload with metadata and workflow handles
2025-12-23 18:41:15 +08:00
Roy
5fec753fb9
Add post process station and related resources ( #195 )
...
* Add post process station and related resources
- Created JSON configuration for post_process_station and its child post_process_deck.
- Added YAML definitions for post_process_station, bottle carriers, bottles, and deck resources.
- Implemented Python classes for bottle carriers, bottles, decks, and warehouses to manage resources in the post process.
- Established a factory method for creating warehouses with customizable dimensions and layouts.
- Defined the structure and behavior of the post_process_deck and its associated warehouses.
* feat(post_process): add post_process_station and related warehouse functionality
- Introduced post_process_station.json to define the post-processing station structure.
- Implemented post_process_warehouse.py to create warehouse configurations with customizable layouts.
- Added warehouses.py for specific warehouse configurations (4x3x1).
- Updated post_process_station.yaml to reflect new module paths for OpcUaClient.
- Refactored bottle carriers and bottles YAML files to point to the new module paths.
- Adjusted deck.yaml to align with the new organizational structure for post_process_deck.
2025-12-23 18:40:09 +08:00
shuchang
acbaff7bb7
prcxi resource ( #202 )
...
* prcxi resource
* prcxi_resource
* Fix upload error not showing.
Support str type category.
---------
Co-authored-by: Xuwznln <18435084+Xuwznln@users.noreply.github.com >
2025-12-23 15:08:04 +08:00
ZiWei
5ae89d8607
fix:更新奔曜错误处理报送为物料变更报送,调整日志记录和响应消息
2025-12-23 10:55:25 +08:00
ZiWei
74d0ea3379
fix:在添加物料时处理字符串和字典返回值,确保正确更新缓存
2025-12-22 14:37:04 +08:00
ZiWei
97788b4e07
feat: introduce wait_time command and configurable device communication timeout.
2025-12-19 18:02:38 +08:00
ZiWei
39cc280c91
feat: Add SyringePump (SY-03B) driver with unified serial/TCP transport for chinwe device, including registry and test configurations.
2025-12-19 03:05:11 +08:00
ZiWei
440c9965fd
fix:自动更新物料缓存功能,添加物料时更新缓存并在删除时移除缓存项
2025-12-18 11:40:59 +08:00
ZiWei
9cac852bc3
添加时间约束功能及相关配置
2025-12-16 13:03:01 +08:00
ZiWei
de662a42aa
Merge branch 'dev' into hrdev
2025-12-16 10:03:13 +08:00
Xuwznln
ef14737839
update "laiyu" missing init file.
2025-12-14 13:08:27 +08:00
Xuwznln
5d5569121c
fix "laiyu" missing init file.
2025-12-14 12:55:25 +08:00
Xianwei Qi
6ac510dcd2
mix
...
修改了mix,仿真流程报错问题
2025-12-11 23:26:11 +08:00
ZiWei
632f9b90d1
feat: remove commented workflow synchronization from reaction_station.py.
2025-12-10 17:43:16 +08:00
ZiWei
d7c970d244
fix:同步工作流序列
2025-12-10 17:32:11 +08:00
ZiWei
2c69e663a7
fix:兼容 BioyondReactionStation 中 workflow_sequence 被重写为 property
2025-12-10 11:10:57 +08:00
ZiWei
8efbbbe72a
添加从 Bioyond 系统自动同步工作流序列的功能,并更新相关配置
2025-12-08 16:37:01 +08:00
ZiWei
4a23b05abc
添加调度器启动功能,合并物料参数配置,优化物料参数处理逻辑
2025-12-01 14:00:58 +08:00
ZiWei
6d8884a2c7
Merge remote-tracking branch 'upstream/dev' into hrdev
2025-11-28 22:51:09 +08:00
Xuwznln
cf7032fa81
Auto dump logs, fix workstation input schema
2025-11-27 14:24:50 +08:00
Harry Liu
9f4a69ddf5
Transfer_liquid ( #176 )
...
* change 9320 desk row number to 4
* Updated 9320 host address
* Updated 9320 host address
* Add **kwargs in classes: PRCXI9300Deck and PRCXI9300Container
* Removed all sample_id in prcxi_9320.json to avoid KeyError
* 9320 machine testing settings
* Typo
* Typo in base_device_node.py
* Enhance liquid handling functionality by adding support for multiple transfer modes (one-to-many, one-to-one, many-to-one) and improving parameter validation. Default channel usage is set when not specified. Adjusted mixing logic to ensure it only occurs when valid conditions are met. Updated documentation for clarity.
2025-11-26 19:30:42 +08:00
ZiWei
dbe129caab
feat(bioyond): 优化调度器启动功能,添加异常处理并更新相关配置
2025-11-26 16:32:10 +08:00
ZiWei
7250995891
feat(bioyond): 添加调度器启动功能,支持任务队列执行并处理异常
2025-11-26 16:09:16 +08:00
Xuwznln
343e87df0d
Add result schema and add TypedDict conversion.
...
(cherry picked from commit 8fa3407649 )
2025-11-25 15:22:18 +08:00
ZiWei
32bd234176
feat(bioyond): 添加设置反应器温度功能,支持温度范围和异常处理
2025-11-23 17:16:51 +08:00
ZiWei
3d62e8bf6c
feat(bioyond): 优化任务创建流程,确保无论成功与否都清理任务队列以避免重复累积
2025-11-23 13:27:31 +08:00
ZiWei
0f7366f3ee
feat(bioyond): 添加计算实验设计功能,支持化合物配比和滴定比例参数
2025-11-20 12:10:18 +08:00
Xuwznln
9feadd68c6
Update oss config
...
(cherry picked from commit d39662f65f )
2025-11-19 14:22:26 +08:00
ZiWei
49073f2c77
feat(bioyond_studio): 添加项目API接口支持及优化物料管理功能
...
添加通用项目API接口方法(_post_project_api, _delete_project_api)用于与LIMS系统交互
实现compute_experiment_design方法用于实验设计计算
新增brief_step_parameters等订单相关接口方法
优化物料转移逻辑,增加异步任务处理
扩展BioyondV1RPC类,添加批量物料操作、订单状态管理等功能
2025-11-18 18:57:47 +08:00
Xuwznln
653e6e1ac3
liquid_handler default use chatterbox instead of rviz backend
2025-11-18 18:43:28 +08:00
ZiWei
2c774bcd1d
feat(反应站): 添加反应器子设备支持
...
- 在设备注册表中添加反应器子设备配置
- 实现BioyondReactor类用于处理反应器数据
- 更新反应站主设备以支持子设备数据同步
- 在测试配置中添加5个反应器实例
2025-11-18 18:43:28 +08:00
ZiWei
db1b5a869f
feat(workstation): 添加温度/粘度报送处理功能
...
- 在反应站设备配置中添加温度/粘度相关状态类型
- 实现温度/粘度报送处理逻辑并添加ROS消息发布
- 扩展HTTP服务支持温度/粘度报送端点
- 添加HTTP请求日志记录功能
2025-11-16 14:35:53 +08:00
ZiWei
64f02ff129
添加物料转移到反应站的功能,支持多组转移任务的配置与执行
2025-11-15 17:49:59 +08:00
ZiWei
7d097b8222
添加从报告中提取实际加料量的功能,支持液体进料滴定的自动公式计算
2025-11-15 13:30:22 +08:00
Xuwznln
31ebff8e37
Update devices
2025-11-15 03:10:05 +08:00
WenzheG
2132895ba2
nmr
2025-11-15 03:02:23 +08:00
ZiWei
850eeae55a
HR物料同步,前端展示位置修复 ( #135 )
...
* 更新Bioyond工作站配置,添加新的物料类型映射和载架定义,优化物料查询逻辑
* 添加Bioyond实验配置文件,定义物料类型映射和设备配置
* 更新bioyond_warehouse_reagent_stack方法,修正试剂堆栈尺寸和布局描述
* 更新Bioyond实验配置,修正物料类型映射,优化设备配置
* 更新Bioyond资源同步逻辑,优化物料入库流程,增强错误处理和日志记录
* 更新Bioyond资源,添加配液站和反应站专用载架,优化仓库工厂函数的排序方式
* 更新Bioyond资源,添加配液站和反应站相关载架,优化试剂瓶和样品瓶配置
* 更新Bioyond实验配置,修正试剂瓶载架ID,确保与设备匹配
* 更新Bioyond资源,移除反应站单烧杯载架,添加反应站单烧瓶载架分类
* Refactor Bioyond resource synchronization and update bottle carrier definitions
- Removed traceback printing in error handling for Bioyond synchronization.
- Enhanced logging for existing Bioyond material ID usage during synchronization.
- Added new bottle carrier definitions for single flask and updated existing ones.
- Refactored dispensing station and reaction station bottle definitions for clarity and consistency.
- Improved resource mapping and error handling in graphio for Bioyond resource conversion.
- Introduced layout parameter in warehouse factory for better warehouse configuration.
* 更新Bioyond仓库工厂,添加排序方式支持,优化坐标计算逻辑
* 更新Bioyond载架和甲板配置,调整样品板尺寸和仓库坐标
* 更新Bioyond资源同步,增强占用位置日志信息,修正坐标转换逻辑
* 更新Bioyond反应站和分配站配置,调整材料类型映射和ID,移除不必要的项
* support name change during materials change
* fix json dumps
* correct tip
* 优化调度器API路径,更新相关方法描述
* 更新 BIOYOND 载架相关文档,调整 API 以支持自带试剂瓶的载架类型,修复资源获取时的子物料处理逻辑
* 实现资源删除时的同步处理,优化出库操作逻辑
* 修复 ItemizedCarrier 中的可见性逻辑
* 保存 Bioyond 原始信息到 unilabos_extra,以便出库时查询
* 根据 resource.capacity 判断是试剂瓶(载架)还是多瓶载架,走不同的奔曜转换
* Fix bioyond bottle_carriers ordering
* 优化 Bioyond 物料同步逻辑,增强坐标解析和位置更新处理
* disable slave connect websocket
* correct remove_resource stats
* change uuid logger to trace level
* enable slave mode
* refactor(bioyond): 统一资源命名并优化物料同步逻辑
- 将DispensingStation和ReactionStation资源统一为PolymerStation命名
- 优化物料同步逻辑,支持耗材类型(typeMode=0)的查询
- 添加物料默认参数配置功能
- 调整仓库坐标布局
- 清理废弃资源定义
* feat(warehouses): 为仓库函数添加col_offset和layout参数
* refactor: 更新实验配置中的物料类型映射命名
将DispensingStation和ReactionStation的物料类型映射统一更名为PolymerStation,保持命名一致性
* fix: 更新实验配置中的载体名称从6VialCarrier到6StockCarrier
* feat(bioyond): 实现物料创建与入库分离逻辑
将物料同步流程拆分为两个独立阶段:transfer阶段只创建物料,add阶段执行入库
简化状态检查接口,仅返回连接状态
* fix(reaction_station): 修正液体进料烧杯体积单位并增强返回结果
将液体进料烧杯的体积单位从μL改为g以匹配实际使用场景
在返回结果中添加merged_workflow和order_params字段,提供更完整的工作流信息
* feat(dispensing_station): 在任务创建返回结果中添加order_params信息
在create_order方法返回结果中增加order_params字段,以便调用方获取完整的任务参数
* fix(dispensing_station): 修改90%物料分配逻辑从分成3份改为直接使用
原逻辑将主称固体平均分成3份作为90%物料,现改为直接使用main_portion
* feat(bioyond): 添加任务编码和任务ID的输出,支持批量任务创建后的状态监控
* refactor(registry): 简化设备配置中的任务结果处理逻辑
将多个单独的任务编码和ID字段合并为统一的return_info字段
更新相关描述以反映新的数据结构
* feat(工作站): 添加HTTP报送服务和任务完成状态跟踪
- 在graphio.py中添加API必需字段
- 实现工作站HTTP服务启动和停止逻辑
- 添加任务完成状态跟踪字典和等待方法
- 重写任务完成报送处理方法记录状态
- 支持批量任务完成等待和报告获取
* refactor(dispensing_station): 移除wait_for_order_completion_and_get_report功能
该功能已被wait_for_multiple_orders_and_get_reports替代,简化代码结构
* fix: 更新任务报告API错误
* fix(workstation_http_service): 修复状态查询中device_id获取逻辑
处理状态查询时安全获取device_id,避免因属性不存在导致的异常
* fix(bioyond_studio): 改进物料入库失败时的错误处理和日志记录
在物料入库API调用失败时,添加更详细的错误信息打印
同时修正station.py中对空响应和失败情况的判断逻辑
* refactor(bioyond): 优化瓶架载体的分配逻辑和注释说明
重构瓶架载体的分配逻辑,使用嵌套循环替代硬编码索引分配
添加更详细的坐标映射说明,明确PLR与Bioyond坐标的对应关系
* fix(bioyond_rpc): 修复物料入库成功时无data字段返回空的问题
当API返回成功但无data字段时,返回包含success标识的字典而非空字典
---------
Co-authored-by: Xuwznln <18435084+Xuwznln@users.noreply.github.com >
Co-authored-by: Junhan Chang <changjh@dp.tech >
2025-11-15 02:57:48 +08:00
xyc
d869c14233
add new laiyu liquid driver, yaml and json files ( #164 )
2025-11-15 02:52:19 +08:00
q434343
a599eb70e5
3d sim ( #97 )
...
* 修改lh的json启动
* 修改lh的json启动
* 修改backend,做成sim的通用backend
* 修改yaml的地址,3D模型适配网页生产环境
* 添加laiyu硬件连接
* 修改移液枪的状态判断方法,
修改移液枪的状态判断方法,
添加三轴的表定点与零点之间的转换
添加三轴真实移动的backend
* 修改laiyu移液站
简化移动方法,
取消软件限制位置,
修改当值使用Z轴时也需要重新复位Z轴的问题
* 更新lh以及laiyu workshop
1,现在可以直接通过修改backend,适配其他的移液站,主类依旧使用LiquidHandler,不用重新编写
2,修改枪头判断标准,使用枪头自身判断而不是类的判断,
3,将归零参数用毫米计算,方便手动调整,
4,修改归零方式,上电使用机械归零,确定机械零点,手动归零设置工作区域零点方便计算,二者互不干涉
* 修改枪头动作
* 修改虚拟仿真方法
---------
Co-authored-by: zhangshixiang <@zhangshixiang>
Co-authored-by: Junhan Chang <changjh@dp.tech >
2025-11-15 02:50:17 +08:00
Harry Liu
c36f53791c
PRCXI Reset Error Correction ( #166 )
...
* change 9320 desk row number to 4
* Updated 9320 host address
* Updated 9320 host address
* Add **kwargs in classes: PRCXI9300Deck and PRCXI9300Container
* Removed all sample_id in prcxi_9320.json to avoid KeyError
* 9320 machine testing settings
* Typo
* Rewrite setup logic to clear error code
* 初始化 step_mode 属性
2025-11-15 02:48:46 +08:00
Xuwznln
eb4d2d96c5
bump version to 0.10.9
2025-11-15 02:28:59 +08:00
Xuwznln
0dfd4ce8a8
correct bioyond config
2025-11-15 02:27:32 +08:00
WenzheG
7953b3820e
添加Raman和xrd相关代码
2025-11-15 02:23:09 +08:00
Guangxin Zhang
eed233fa76
封膜仪、撕膜仪、耗材站接口
2025-11-15 02:14:45 +08:00