This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#Tue Jan 15 11:47:52 CET 2019
|
||||
#Thu Jan 24 14:24:44 CET 2019
|
||||
autoSaveScanData=true
|
||||
commandExecutionEvents=false
|
||||
createSessionFiles=true
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#Wed Jan 23 17:07:28 CET 2019
|
||||
#Thu Jan 24 14:40:47 CET 2019
|
||||
barcode_reader_scan_pucks=false
|
||||
dry_mount_counter=0
|
||||
dry_timestamp=1.548248191529E9
|
||||
force_dry_mount_count=0
|
||||
dry_timestamp=1.548326732257E9
|
||||
force_dry_mount_count=20
|
||||
force_dry_timeout=0
|
||||
imaging_enabled=false
|
||||
led_level=0.0
|
||||
mounted_sample_position=A17
|
||||
puck_types=true
|
||||
room_temperature_enabled=false
|
||||
|
||||
Binary file not shown.
@@ -22,6 +22,8 @@ run("setup/Layout")
|
||||
IMAGING_ENABLED_PREFERENCE = "imaging_enabled"
|
||||
PUCK_TYPES_PREFERENCE = "puck_types"
|
||||
BARCODE_READER_SCAN_PUCKS = "barcode_reader_scan_pucks"
|
||||
ROOM_TEMPERATURE_ENABLED_PREFERENCE = "room_temperature_enabled"
|
||||
BEAMLINE_STATUS_ENABLED_PREFERENCE = "beamline_status_enabled"
|
||||
|
||||
def is_imaging_enabled():
|
||||
setting = get_setting(IMAGING_ENABLED_PREFERENCE)
|
||||
@@ -78,6 +80,19 @@ if force_dry_timeout is None:
|
||||
|
||||
|
||||
|
||||
def is_room_temperature_enabled():
|
||||
setting = get_setting(ROOM_TEMPERATURE_ENABLED_PREFERENCE)
|
||||
return str(setting).lower() == 'true'
|
||||
|
||||
set_setting(ROOM_TEMPERATURE_ENABLED_PREFERENCE, is_room_temperature_enabled())
|
||||
|
||||
|
||||
def is_beamline_status_enabled():
|
||||
setting = get_setting(BEAMLINE_STATUS_ENABLED_PREFERENCE)
|
||||
return str(setting).lower() == 'true'
|
||||
|
||||
set_setting(ROOM_TEMPERATURE_ENABLED_PREFERENCE, is_beamline_status_enabled())
|
||||
|
||||
###################################################################################################
|
||||
# Scripted devices and pseudo-devices
|
||||
###################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user