Files
X10SA/script/pretend_dry.py
2023-04-25 16:33:00 +02:00

22 lines
648 B
Python

###
### run this file to replace the real dry() function
### with this fake version when TESTING ONLY!!!!!!
###
def dry(heat_time=None, speed=None, wait_cold = None):
"""run this file to replace the real dry() function
with this fake version when TESTING ONLY!!!!!!
"""
print "#################################"
print "## PRETENDING to DRY real fast ##"
print "#################################"
def _test_update_mount_counts(count=0):
global samples_info
for _s in samples_info:
_s["sampleMountCount"] = count
print "sample %s mounted %d times" % (_s["puckAddress"], _s["sampleMountCount"])