mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 05:15:10 +00:00
* 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.
21 lines
493 B
Python
21 lines
493 B
Python
from unilabos.resources.itemized_carrier import Bottle
|
|
|
|
|
|
def POST_PROCESS_PolymerStation_Reagent_Bottle(
|
|
name: str,
|
|
diameter: float = 70.0,
|
|
height: float = 120.0,
|
|
max_volume: float = 500000.0, # 500mL
|
|
barcode: str = None,
|
|
) -> Bottle:
|
|
"""创建试剂瓶"""
|
|
return Bottle(
|
|
name=name,
|
|
diameter=diameter,
|
|
height=height,
|
|
max_volume=max_volume,
|
|
barcode=barcode,
|
|
model="POST_PROCESS_PolymerStation_Reagent_Bottle",
|
|
)
|
|
|