mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 13:31:20 +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:
@@ -270,6 +270,65 @@ class LiquidHandlerBiomek:
|
|||||||
|
|
||||||
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__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user