Add optional event implemented and event detect kwords to attribute and AttrData classes
Closes #548 (closed)
I added optional kwords
alarm_event_implemented = False
alarm_event_detect = False
archive_event_implemented = False
archive_event_detect = False
change_event_implemented = False
change_event_detect = False
data_ready_event_implemented = False
to the attribute and AttrData classes, so now we can inform tango core, that events are emitted by code at the time we create attributes. E.g.
@attribute(
alarm_event_implemented=True,
archive_event_implemented=True,
change_event_implemented=True,
data_ready_event_implemented=True,
)
def attr_decorator_with_kwords(self) -> int:
return 0
attr_class_with_kwords = attribute(
alarm_event_implemented=True,
archive_event_implemented=True,
change_event_implemented=True,
data_ready_event_implemented=True,
)
def read_attr_class_with_kwords(self) -> int:
return 0