mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
Merge branch '37-biomek-i5i7' of https://github.com/dptech-corp/Uni-Lab-OS into 37-biomek-i5i7
This commit is contained in:
@@ -268,7 +268,66 @@ class LiquidHandlerBiomek:
|
||||
transfer_params["TipLocation"] = tip_rack
|
||||
self.temp_protocol["steps"].append(transfer_params)
|
||||
|
||||
return
|
||||
return
|
||||
|
||||
def move_biomek(
|
||||
self,
|
||||
source: str,
|
||||
target: str,
|
||||
):
|
||||
"""
|
||||
处理Biomek移动板子的操作。
|
||||
|
||||
"""
|
||||
|
||||
move_params = {
|
||||
"Pod": "Pod1",
|
||||
"GripSide": "A1 near",
|
||||
"Source": source,
|
||||
"Target": target,
|
||||
"LeaveBottomLabware": False,
|
||||
}
|
||||
self.temp_protocol["steps"].append(move_params)
|
||||
|
||||
return
|
||||
|
||||
def incubation_biomek(
|
||||
self,
|
||||
time: int,
|
||||
):
|
||||
"""
|
||||
处理Biomek的孵育操作。
|
||||
"""
|
||||
incubation_params = {
|
||||
"BarcodeInput?": False,
|
||||
"DeckItems": {},
|
||||
"Layout": "Multichannel",
|
||||
"Pause?": True,
|
||||
"PodSetup": {},
|
||||
"SplitterPosition": 206,
|
||||
"VerifyPodSetup?": True
|
||||
}
|
||||
self.temp_protocol["steps"].append(incubation_params)
|
||||
|
||||
return
|
||||
|
||||
def oscillation_biomek(
|
||||
self,
|
||||
rpm: int,
|
||||
time: int,
|
||||
):
|
||||
"""
|
||||
处理Biomek的振荡操作。
|
||||
"""
|
||||
oscillation_params = {
|
||||
'Device': 'OrbitalShaker0',
|
||||
'Parameters': (str(rpm), '2', str(time), 'CounterClockwise'),
|
||||
'Command': 'Timed Shake'
|
||||
}
|
||||
self.temp_protocol["steps"].append(oscillation_params)
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user