magfield: add persistent_limit parameter

- use update_switch_heater instead of write_switch_heater
  for detecting switch time
- switch_time split into switch_on_time/switch_off_time

Change-Id: Id90a8b2c2520e24f3ee4a34aee25d41210e5d6d4
This commit is contained in:
2022-08-16 10:02:57 +02:00
parent b81fc7b122
commit 2f6954c4f3
2 changed files with 29 additions and 16 deletions

View File

@ -87,7 +87,6 @@ class Field(MercuryChannel, Magfield):
return self.query('PSU:SIG:SWHT', off_on)
def write_switch_heater(self, value):
super().write_switch_heater(value)
return self.change('PSU:SIG:SWHT', value, off_on)
def read_atob(self):