def __init__(self): super().__init__( key=6, scope=1 ) self.__device_status = pylon.resources.enumerations.device_status_t.device_status_t( ) self._register(('device_status', self.__device_status)) self.__start_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('start_time', self.__start_time)) self.__restart_reason = pylon.resources.enumerations.restart_reason_t.restart_reason_t( ) self._register(('restart_reason', self.__restart_reason)) self.__restart_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('restart_time', self.__restart_time)) self.__error_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('error_time', self.__error_time)) self.__restore_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('restore_time', self.__restore_time)) self.__backup_and_restore_state = pylon.resources.enumerations.backup_and_restore_states_t.backup_and_restore_states_t( ) self._register(('backup_and_restore_state', self.__backup_and_restore_state)) self._original_name = 'UNVT_iot_dev_status' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=4, scope=1) self.__present_value = pylon.resources.base.Float( single=True, minimum=-3.40282E+038, maximum=3.40282E+038) self._register(('present_value', self.__present_value)) self.__priority = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority', self.__priority)) self.__update_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('update_time', self.__update_time)) self.__status_flags = pylon.resources.datapoints.iot_status_flags.iot_status_flags( ) self._register(('status_flags', self.__status_flags)) self.__event_state = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state', self.__event_state)) self.__reliability = pylon.resources.enumerations.reliability_t.reliability_t( ) self._register(('reliability', self.__reliability)) self.__units = pylon.resources.enumerations.engineering_units_t.engineering_units_t( ) self._register(('units', self.__units)) self._original_name = 'UNVT_iot_analog' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=7, scope=1 ) self.__encoding = pylon.resources.enumerations.char_encoding_t.char_encoding_t( ) self._register(('encoding', self.__encoding)) self.__name = pylon.resources.base.Array( [ pylon.resources.base.Scaled( size=1, signed=False, minimum=0, maximum=255 ) for i in range(120) ] ) self._register(('name', self.__name)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' self._original_name = 'UCPTiotLocation' self._property_scope, self._property_key = 1, 7 self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=11, scope=1) self.__standard_heartbeat = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('standard_heartbeat', self.__standard_heartbeat)) self.__standard_randomization = pylon.resources.datapoints.time_sec.time_sec( ) self._register( ('standard_randomization', self.__standard_randomization)) self.__fast_heartbeat = pylon.resources.datapoints.time_sec.time_sec() self._register(('fast_heartbeat', self.__fast_heartbeat)) self.__fast_randomization = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('fast_randomization', self.__fast_randomization)) self.__throttle = pylon.resources.datapoints.time_sec.time_sec() self._register(('throttle', self.__throttle)) self.__min_delta = pylon.resources.datapoints.lev_percent.lev_percent() self._register(('min_delta', self.__min_delta)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00' self._original_name = 'UCPTnetworkTiming' self._property_scope, self._property_key = 1, 11 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=11, scope=1 ) self.__standard_heartbeat = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('standard_heartbeat', self.__standard_heartbeat)) self.__standard_randomization = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('standard_randomization', self.__standard_randomization)) self.__fast_heartbeat = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('fast_heartbeat', self.__fast_heartbeat)) self.__fast_randomization = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('fast_randomization', self.__fast_randomization)) self.__throttle = pylon.resources.datapoints.time_sec.time_sec( ) self._register(('throttle', self.__throttle)) self.__min_delta = pylon.resources.datapoints.lev_percent.lev_percent( ) self._register(('min_delta', self.__min_delta)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00' self._original_name = 'UCPTnetworkTiming' self._property_scope, self._property_key = 1, 11 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=3, scope=1 ) self.__object_id = iot_alarm_ack.object_idType( ) self._register(('object_id', self.__object_id)) self.__event_state_acknowledged = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state_acknowledged', self.__event_state_acknowledged)) self.__alarm_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('alarm_time', self.__alarm_time)) self.__acknowledgement_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('acknowledgement_time', self.__acknowledgement_time)) self.__acknowledgement_source = iot_alarm_ack.acknowledgement_sourceType( ) self._register(('acknowledgement_source', self.__acknowledgement_source)) self.__acknowledgement_result = pylon.resources.enumerations.boolean_t.boolean_t( ) self._register(('acknowledgement_result', self.__acknowledgement_result)) self.__result_error_type = pylon.resources.enumerations.alarm_ack_result_t.alarm_ack_result_t( ) self._register(('result_error_type', self.__result_error_type)) self._original_name = 'UNVT_iot_alarm_ack' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=8, scope=1) self.__encoding = pylon.resources.enumerations.char_encoding_t.char_encoding_t( ) self._register(('encoding', self.__encoding)) self.__name = pylon.resources.base.Array([ pylon.resources.base.Scaled(size=1, signed=False, minimum=0, maximum=255) for i in range(120) ]) self._register(('name', self.__name)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' self._original_name = 'UCPTiotName' self._property_scope, self._property_key = 1, 8 self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=1, scope=1) self.__alarm_type = pylon.resources.enumerations.alarm_type_t.alarm_type_t( ) self._register(('alarm_type', self.__alarm_type)) self.__priority_level = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority_level', self.__priority_level)) self.__event_state = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state', self.__event_state)) self.__alarm_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('alarm_time', self.__alarm_time)) self.__sequence_number = pylon.resources.base.Scaled(size=1, signed=False, invalid=255, minimum=0, maximum=254) self._register(('sequence_number', self.__sequence_number)) self.__object_id = iot_alarm.object_idType() self._register(('object_id', self.__object_id)) self.__text_description = iot_alarm.text_descriptionType() self._register(('text_description', self.__text_description)) self._original_name = 'UNVT_iot_alarm' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=6, scope=1) self.__device_status = pylon.resources.enumerations.device_status_t.device_status_t( ) self._register(('device_status', self.__device_status)) self.__start_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('start_time', self.__start_time)) self.__restart_reason = pylon.resources.enumerations.restart_reason_t.restart_reason_t( ) self._register(('restart_reason', self.__restart_reason)) self.__restart_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('restart_time', self.__restart_time)) self.__error_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('error_time', self.__error_time)) self.__restore_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('restore_time', self.__restore_time)) self.__backup_and_restore_state = pylon.resources.enumerations.backup_and_restore_states_t.backup_and_restore_states_t( ) self._register( ('backup_and_restore_state', self.__backup_and_restore_state)) self._original_name = 'UNVT_iot_dev_status' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=3, scope=1 ) self.__button_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('button_number', self.__button_number)) self.__action_qualifier = pylon.resources.enumerations.button_qualifier_t.button_qualifier_t( ) self._register(('action_qualifier', self.__action_qualifier)) self.__state_qualifier = pylon.resources.base.Scaled( size=1, signed=False, invalid=255, minimum=0, maximum=254 ) self._register(('state_qualifier', self.__state_qualifier)) self.__scene_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('scene_number', self.__scene_number)) self.__button_icon = iotButtonAction.button_iconType( ) self._register(('button_icon', self.__button_icon)) self.__repeat_delay = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('repeat_delay', self.__repeat_delay)) self.__repeat_interval = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('repeat_interval', self.__repeat_interval)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00' self._original_name = 'UCPTiotButtonAction' self._property_scope, self._property_key = 1, 3 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=7, scope=1, prefix='EVS_' ) self._original_name = 'event_state_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=1, scope=1, prefix='AL_' ) self._original_name = 'alarm_ack_result_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=9, scope=1, prefix='OCCM_' ) self._original_name = 'occupancy_mode_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=6, scope=1, prefix='UOM_' ) self._original_name = 'engineering_units_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__() self._override_scope(1) self._override_key(2) self._default_bytes = b'\x00' self._original_name = 'UCPTeventDetectionEnable' self._property_scope, self._property_key = 1, 2 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=2, scope=1, prefix='BRS_' ) self._original_name = 'backup_and_restore_states_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__(single=False, minimum=-1.79769E+308, maximum=1.79769E+308, scope=1, key=2) self._original_name = 'UNVT_iot_timestamp' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=10, scope=1, prefix='DVR_' ) self._original_name = 'reliability_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__() self._override_scope(1) self._override_key(14) self._default_bytes = b'\x00' self._original_name = 'UCPTreliabilityEvaluationInhibit' self._property_scope, self._property_key = 1, 14 self._definition = userdefined.add(self)
def __init__(self): super().__init__() self._override_scope(1) self._override_key(12) self._default_bytes = b'\x00' self._original_name = 'UCPToccupancyMode' self._property_scope, self._property_key = 1, 12 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=5, scope=1, prefix='DVS_' ) self._original_name = 'device_status_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=11, scope=1, prefix='SCOPE_' ) self._original_name = 'resource_scope_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=3, scope=1, prefix='BTQ_' ) self._original_name = 'button_qualifier_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=8, scope=1, prefix='LOAD_' ) self._original_name = 'load_control_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__( ) self._override_scope(1) self._override_key(1) self._default_bytes = b'\x00' self._original_name = 'UCPTeventAlgorithmInhibit' self._property_scope, self._property_key = 1, 1 self._definition = userdefined.add(self)
def __init__(self): super().__init__( ) self._override_scope(1) self._override_key(12) self._default_bytes = b'\x00' self._original_name = 'UCPToccupancyMode' self._property_scope, self._property_key = 1, 12 self._definition = userdefined.add(self)
def __init__(self): super().__init__( ) self._override_scope(1) self._override_key(2) self._default_bytes = b'\x00' self._original_name = 'UCPTeventDetectionEnable' self._property_scope, self._property_key = 1, 2 self._definition = userdefined.add(self)
def __init__(self): super().__init__( ) self._override_scope(1) self._override_key(14) self._default_bytes = b'\x00' self._original_name = 'UCPTreliabilityEvaluationInhibit' self._property_scope, self._property_key = 1, 14 self._definition = userdefined.add(self)
def __init__(self): super().__init__(single=True, minimum=0, maximum=3.40282E+038, scope=1, key=15) self._default_bytes = b'\x00\x00\x00\x00' self._original_name = 'UCPTruntimeLimit1' self._property_scope, self._property_key = 1, 15 self._definition = userdefined.add(self)
def __init__(self): super().__init__( single=False, minimum=-1.79769E+308, maximum=1.79769E+308, scope=1, key=2 ) self._original_name = 'UNVT_iot_timestamp' self._definition = userdefined.add(self)
def __init__(self): super().__init__( single=True, minimum=0, maximum=3.40282E+038, scope=1, key=13 ) self._default_bytes = b'\x00\x00\x00\x00' self._original_name = 'UCPToccupancyModeTimeout' self._property_scope, self._property_key = 1, 13 self._definition = userdefined.add(self)
def __init__(self): super().__init__( single=True, minimum=0, maximum=3.40282E+038, scope=1, key=5 ) self._default_bytes = b'\x00\x00\x00\x00' self._original_name = 'UCPTiotFeedbackDelay' self._property_scope, self._property_key = 1, 5 self._definition = userdefined.add(self)
def __init__(self): super().__init__( single=True, minimum=0, maximum=3.40282E+038, scope=1, key=16 ) self._default_bytes = b'\x00\x00\x00\x00' self._original_name = 'UCPTruntimeLimit2' self._property_scope, self._property_key = 1, 16 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=5, scope=1 ) self.___bf00 = pylon.resources.base.Scaled( size=1, signed=False ) self._register(('___bf00', self.___bf00)) self._original_name = 'UNVT_iot_status_flags' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=3, scope=1) self.__button_number = pylon.resources.base.Scaled(size=2, signed=False, invalid=65535, minimum=0, maximum=65534) self._register(('button_number', self.__button_number)) self.__action_qualifier = pylon.resources.enumerations.button_qualifier_t.button_qualifier_t( ) self._register(('action_qualifier', self.__action_qualifier)) self.__state_qualifier = pylon.resources.base.Scaled(size=1, signed=False, invalid=255, minimum=0, maximum=254) self._register(('state_qualifier', self.__state_qualifier)) self.__scene_number = pylon.resources.base.Scaled(size=2, signed=False, invalid=65535, minimum=0, maximum=65534) self._register(('scene_number', self.__scene_number)) self.__button_icon = iotButtonAction.button_iconType() self._register(('button_icon', self.__button_icon)) self.__repeat_delay = pylon.resources.base.Float(single=True, minimum=0, maximum=3.40282E+038) self._register(('repeat_delay', self.__repeat_delay)) self.__repeat_interval = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038) self._register(('repeat_interval', self.__repeat_interval)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00' self._original_name = 'UCPTiotButtonAction' self._property_scope, self._property_key = 1, 3 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=6, scope=1 ) self.__flags = pylon.resources.base.Array( [ pylon.resources.base.Scaled( size=1, signed=False, minimum=0, maximum=255 ) for i in range(8) ] ) self._register(('flags', self.__flags)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00' self._original_name = 'UCPTiotLoadGroupMembership' self._property_scope, self._property_key = 1, 6 self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=1, scope=1 ) self.__alarm_type = pylon.resources.enumerations.alarm_type_t.alarm_type_t( ) self._register(('alarm_type', self.__alarm_type)) self.__priority_level = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority_level', self.__priority_level)) self.__event_state = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state', self.__event_state)) self.__alarm_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('alarm_time', self.__alarm_time)) self.__sequence_number = pylon.resources.base.Scaled( size=1, signed=False, invalid=255, minimum=0, maximum=254 ) self._register(('sequence_number', self.__sequence_number)) self.__object_id = iot_alarm.object_idType( ) self._register(('object_id', self.__object_id)) self.__text_description = iot_alarm.text_descriptionType( ) self._register(('text_description', self.__text_description)) self._original_name = 'UNVT_iot_alarm' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=4, scope=1 ) self.__present_value = pylon.resources.base.Float( single=True, minimum=-3.40282E+038, maximum=3.40282E+038 ) self._register(('present_value', self.__present_value)) self.__priority = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority', self.__priority)) self.__update_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('update_time', self.__update_time)) self.__status_flags = pylon.resources.datapoints.iot_status_flags.iot_status_flags( ) self._register(('status_flags', self.__status_flags)) self.__event_state = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state', self.__event_state)) self.__reliability = pylon.resources.enumerations.reliability_t.reliability_t( ) self._register(('reliability', self.__reliability)) self.__units = pylon.resources.enumerations.engineering_units_t.engineering_units_t( ) self._register(('units', self.__units)) self._original_name = 'UNVT_iot_analog' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=9, scope=1 ) self.__scene_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('scene_number', self.__scene_number)) self.__unoccupied_scene_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('unoccupied_scene_number', self.__unoccupied_scene_number)) self.__standby_scene_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('standby_scene_number', self.__standby_scene_number)) self.__next_scene__number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('next_scene__number', self.__next_scene__number)) self.__action = iotScene.actionType( ) self._register(('action', self.__action)) self.__control = pylon.resources.enumerations.load_control_t.load_control_t( ) self._register(('control', self.__control)) self.__state = pylon.resources.base.Scaled( size=1, signed=False, invalid=255, minimum=0, maximum=254 ) self._register(('state', self.__state)) self.__level = pylon.resources.base.Float( single=True, minimum=0, maximum=100 ) self._register(('level', self.__level)) self.__angle = pylon.resources.base.Float( single=True, minimum=0, maximum=360 ) self._register(('angle', self.__angle)) self.__color = pylon.resources.datapoints.color_2.color_2( ) self._register(('color', self.__color)) self.__level_multiplier = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('level_multiplier', self.__level_multiplier)) self.__reduction_multiplier = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('reduction_multiplier', self.__reduction_multiplier)) self.__area_occupancy = pylon.resources.datapoints.occupancy.occupancy( ) self._register(('area_occupancy', self.__area_occupancy)) self.__delay = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('delay', self.__delay)) self.__fade = pylon.resources.base.Float( single=True, minimum=0, maximum=255 ) self._register(('fade', self.__fade)) self.__hold = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('hold', self.__hold)) self.__duration = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('duration', self.__duration)) self.__priority = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority', self.__priority)) self.__load_groups = iotScene.load_groupsType( ) self._register(('load_groups', self.__load_groups)) self._default_bytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' \ b'\x00\x00\x00' self._original_name = 'UCPTiotScene' self._property_scope, self._property_key = 1, 9 self._definition = userdefined.add(self)
def __init__(self): super().__init__() self._override_scope(1) self.datapoints[ 'nvoDeviceStatus'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT device status. """, name='nvoDeviceStatus', profile=self, number=1, datatype=pylon.resources.datapoints.iot_dev_status. iot_dev_status, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpnDeviceStatus': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoDeviceStatus output.""", name='cpnDeviceStatus', profile=self, number=8, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True) }) self.datapoints[ 'nviIotAlarmAck'] = pylon.resources.base.Profile.DatapointMember( doc="""Alarm acknowledgement. """, name='nviIotAlarmAck', profile=self, number=2, datatype=pylon.resources.datapoints.iot_alarm_ack. iot_alarm_ack, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT) self.datapoints[ 'nvoIotAckResult'] = pylon.resources.base.Profile.DatapointMember( doc="""Alarm acknowledgement result. """, name='nvoIotAckResult', profile=self, number=3, datatype=pylon.resources.datapoints.iot_alarm_ack. iot_alarm_ack, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT) self.properties[ 'cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text description of the device.""", name='cpDescription', profile=self, number=1, datatype=pylon.resources.properties.iotDescription. iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLoadGroupName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text load group name. Name for a load group to be used by optional user interface applications; used to create an array of load group names.""", name='cpLoadGroupName', profile=self, number=2, datatype=pylon.resources.properties.loadGroupName. loadGroupName, array_size_min=2, array_size_max=64, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=False) self.properties[ 'cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc="""Text location name. Text location of the device.""", name='cpLocation', profile=self, number=3, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name for the device.""", name='cpName', profile=self, number=4, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpRuntimeLimit1'] = pylon.resources.base.Profile.PropertyMember( doc="""First runtime limit. """, name='cpRuntimeLimit1', profile=self, number=5, datatype=pylon.resources.properties.runtimeLimit1. runtimeLimit1, default=b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpRuntimeLimit2'] = pylon.resources.base.Profile.PropertyMember( doc="""Second runtime limit. """, name='cpRuntimeLimit2', profile=self, number=6, datatype=pylon.resources.properties.runtimeLimit2. runtimeLimit2, default=b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpSceneName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text scene names.""", name='cpSceneName', profile=self, number=7, datatype=pylon.resources.properties.iotSceneName.iotSceneName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=False) self.properties[ 'cpnIotAlarm'] = pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoIotAlarm output.""", name='cpnIotAlarm', profile=self, number=9, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=False) self._original_name = 'UFPTiotNodeObject' self._mark_obsolete() self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__(key=1, scope=1, prefix='AL_') self._original_name = 'alarm_ack_result_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=3, scope=1, prefix='BTQ_') self._original_name = 'button_qualifier_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=9, scope=1, prefix='OCCM_') self._original_name = 'occupancy_mode_t' self._definition = userdefined.add(self)
def __init__(self): super().__init__(key=20003, scope=1, principal='nviLoadControl') self.datapoints[ 'nviLoadControl'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Load control input value.""", name='nviLoadControl', profile=self, number=1, datatype=pylon.resources.datapoints.iot_load_control. iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT, properties={ 'cpDefaultInput': pylon.resources.base.Profile.PropertyMember( doc="""Default input. The control value the load should adopt when expected updates are not received and at power-on reset.""", name='cpDefaultInput', profile=self, number=1, datatype=pylon.resources.properties.defInput.defInput, default=b'\x00\x00\x00\x00', mandatory=True), 'cpnLoadControl': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nviLoadControl input.""", name='cpnLoadControl', profile=self, number=12, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True) }) self.datapoints[ 'nvoLoadStatus'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Load control status output.""", name='nvoLoadStatus', profile=self, number=2, datatype=pylon.resources.datapoints.iot_load_control. iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpnLoadStatus': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoLoadStatus output.""", name='cpnLoadStatus', profile=self, number=13, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True) }) self.properties[ 'cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text description of the load control.""", name='cpDescription', profile=self, number=2, datatype=pylon.resources.properties.iotDescription. iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpEventAlgorithmInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Event algorithm inhibit. Inhibit the event algorithm if true.""", name='cpEventAlgorithmInhibit', profile=self, number=3, datatype=pylon.resources.properties.eventAlgorithmInhibit. eventAlgorithmInhibit, default=b'\x00', mandatory=True) self.properties[ 'cpEventDetectionEnable'] = pylon.resources.base.Profile.PropertyMember( doc="""Event detection enable. Enable event detection if true.""", name='cpEventDetectionEnable', profile=self, number=4, datatype=pylon.resources.properties.eventDetectionEnable. eventDetectionEnable, default=b'\x00', mandatory=True) self.properties[ 'cpFeedbackDelay'] = pylon.resources.base.Profile.PropertyMember( doc="""Feedback delay. The time period after the last update in a succession of changes to the input, before the feedback output is updated.""", name='cpFeedbackDelay', profile=self, number=5, datatype=pylon.resources.properties.iotFeedbackDelay. iotFeedbackDelay, default=b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLoadControlOffset'] = pylon.resources.base.Profile.PropertyMember( doc="""Load control offsets. Offsets to be used during standby (area in unoccupied state but building occupied, or sleep mode) and demand-response modes.""", name='cpLoadControlOffset', profile=self, number=6, datatype=pylon.resources.properties.loadControlOffset. loadControlOffset, default=b'\x00\x00\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLoadGroups'] = pylon.resources.base.Profile.PropertyMember( doc="""Load group membership. Active load groups.""", name='cpLoadGroups', profile=self, number=7, datatype=pylon.resources.properties.iotLoadGroupMembership. iotLoadGroupMembership, default=b'\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc="""Text location name. Location of the load.""", name='cpLocation', profile=self, number=8, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name of the load control.""", name='cpName', profile=self, number=9, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpReliabilityEvaluationInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Reliability evaluation inhibit. Inhibit reliability evaluation if true.""", name='cpReliabilityEvaluationInhibit', profile=self, number=10, datatype=pylon.resources.properties. reliabilityEvaluationInhibit.reliabilityEvaluationInhibit, default=b'\x00', mandatory=True) self.properties[ 'cpScene'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT scene. Scene table defining the scenes that map a scene number to a load setting.""", name='cpScene', profile=self, number=11, datatype=pylon.resources.properties.iotScene.iotScene, array_size_min=2, array_size_max=1000, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00', mandatory=True) self._original_name = 'UFPTiotLoad' self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__() self._override_scope(1) self.datapoints['nvoDeviceStatus'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT device status. """, name='nvoDeviceStatus', profile=self, number=1, datatype=pylon.resources.datapoints.iot_dev_status.iot_dev_status, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpnDeviceStatus': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoDeviceStatus output.""", name='cpnDeviceStatus', profile=self, number=8, datatype=pylon.resources.properties.networkTiming.networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True ) } ) self.datapoints['nviIotAlarmAck'] = pylon.resources.base.Profile.DatapointMember( doc="""Alarm acknowledgement. """, name='nviIotAlarmAck', profile=self, number=2, datatype=pylon.resources.datapoints.iot_alarm_ack.iot_alarm_ack, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT ) self.datapoints['nvoIotAckResult'] = pylon.resources.base.Profile.DatapointMember( doc="""Alarm acknowledgement result. """, name='nvoIotAckResult', profile=self, number=3, datatype=pylon.resources.datapoints.iot_alarm_ack.iot_alarm_ack, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT ) self.properties['cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text description of the device.""", name='cpDescription', profile=self, number=1, datatype=pylon.resources.properties.iotDescription.iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpLoadGroupName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text load group name. Name for a load group to be used by optional user interface applications; used to create an array of load group names.""", name='cpLoadGroupName', profile=self, number=2, datatype=pylon.resources.properties.loadGroupName.loadGroupName, array_size_min=2, array_size_max=64, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=False ) self.properties['cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc="""Text location name. Text location of the device.""", name='cpLocation', profile=self, number=3, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name for the device.""", name='cpName', profile=self, number=4, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpRuntimeLimit1'] = pylon.resources.base.Profile.PropertyMember( doc="""First runtime limit. """, name='cpRuntimeLimit1', profile=self, number=5, datatype=pylon.resources.properties.runtimeLimit1.runtimeLimit1, default=b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpRuntimeLimit2'] = pylon.resources.base.Profile.PropertyMember( doc="""Second runtime limit. """, name='cpRuntimeLimit2', profile=self, number=6, datatype=pylon.resources.properties.runtimeLimit2.runtimeLimit2, default=b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpSceneName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text scene names.""", name='cpSceneName', profile=self, number=7, datatype=pylon.resources.properties.iotSceneName.iotSceneName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=False ) self.properties['cpnIotAlarm'] = pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoIotAlarm output.""", name='cpnIotAlarm', profile=self, number=9, datatype=pylon.resources.properties.networkTiming.networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=False ) self._original_name = 'UFPTiotNodeObject' self._mark_obsolete() self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__( key=20004, scope=1, principal='nvoOccupancy' ) self.datapoints['nvoOccupancy'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Occupancy sensor reading; includes a field that reports local occupancy reported by the sensor with a hold time, and a second field that reports calculated occupancy based on local occupancy plus occupancy inputs from all connected occupancy sensors.""", name='nvoOccupancy', profile=self, number=1, datatype=pylon.resources.datapoints.iot_load_control.iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpDebounce': pylon.resources.base.Profile.PropertyMember( doc="""Debounce time. The interval after a change to the occupied state that the occupancy sensor input is ignored.""", name='cpDebounce', profile=self, number=1, datatype=pylon.resources.properties.debounce.debounce, default=b'\x00\x00', mandatory=True ) } ) self.datapoints['nviOccupancyIn'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Occupancy input from all connected occupancy sensors.""", name='nviOccupancyIn', profile=self, number=2, datatype=pylon.resources.datapoints.iot_load_control.iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT ) self.properties['cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text descripton of the occupancy sensor.""", name='cpDescription', profile=self, number=2, datatype=pylon.resources.properties.iotDescription.iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpEventAlgorithmInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Event algorithm inhibit. Inhibit the event algorithm if true.""", name='cpEventAlgorithmInhibit', profile=self, number=3, datatype=pylon.resources.properties.eventAlgorithmInhibit.eventAlgorithmInhibit, default=b'\x00', mandatory=True ) self.properties['cpEventDetectionEnable'] = pylon.resources.base.Profile.PropertyMember( doc="""Event detection enable. Enable event detection if true.""", name='cpEventDetectionEnable', profile=self, number=4, datatype=pylon.resources.properties.eventDetectionEnable.eventDetectionEnable, default=b'\x00', mandatory=True ) self.properties['cpFeedbackDelay'] = pylon.resources.base.Profile.PropertyMember( doc="""Feedback delay. The time period after the last update in a succession of changes to the input, before the feedback output is updated.""", name='cpFeedbackDelay', profile=self, number=5, datatype=pylon.resources.properties.iotFeedbackDelay.iotFeedbackDelay, default=b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpHoldTime'] = pylon.resources.base.Profile.PropertyMember( doc="""Hold time. Hold time for the nvoOccupancy occupied state after there is no occupancy detected; the hold time timer is retriggered each time the sensor reports the area as occupied.""", name='cpHoldTime', profile=self, number=6, datatype=pylon.resources.properties.holdTime.holdTime, minimum=b'\x00\x0a', default=b'\x01\x2c', mandatory=True ) self.properties['cpLoadGroups'] = pylon.resources.base.Profile.PropertyMember( doc="""Load group membership. Active load groups for the occupancy sensor.""", name='cpLoadGroups', profile=self, number=7, datatype=pylon.resources.properties.iotLoadGroupMembership.iotLoadGroupMembership, default=b'\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True ) self.properties['cpMode'] = pylon.resources.base.Profile.PropertyMember( doc="""Occupancy mode. """, name='cpMode', profile=self, number=8, datatype=pylon.resources.properties.occupancyMode.occupancyMode, default=b'\x00', mandatory=True ) self.properties['cpModeTimeout'] = pylon.resources.base.Profile.PropertyMember( doc="""Occupancy mode timeout. Maximum time to hold an occupancy mode before returning to Auto mode.""", name='cpModeTimeout', profile=self, number=9, datatype=pylon.resources.properties.occupancyModeTimeout.occupancyModeTimeout, default=b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc="""Text location name. Location of the occupancy sensor.""", name='cpLocation', profile=self, number=10, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name of the occupancy sensor.""", name='cpName', profile=self, number=11, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpReliabilityEvaluationInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Reliability evaluation inhibit. Inhibit reliability evaluation if true.""", name='cpReliabilityEvaluationInhibit', profile=self, number=12, datatype=pylon.resources.properties.reliabilityEvaluationInhibit.reliabilityEvaluationInhibit, default=b'\x00', mandatory=True ) self.properties['cpnOccupancy'] = pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoOccupancy output.""", name='cpnOccupancy', profile=self, number=13, datatype=pylon.resources.properties.networkTiming.networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True ) self._original_name = 'UFPTiotOccupancySensor' self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__( key=7, scope=1 ) self.__control = pylon.resources.enumerations.load_control_t.load_control_t( ) self._register(('control', self.__control)) self.__state = pylon.resources.base.Scaled( size=1, signed=False, invalid=255, minimum=0, maximum=254 ) self._register(('state', self.__state)) self.__level = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('level', self.__level)) self.__angle = pylon.resources.base.Float( single=True, minimum=0, maximum=360 ) self._register(('angle', self.__angle)) self.__color = pylon.resources.datapoints.color_2.color_2( ) self._register(('color', self.__color)) self.__level_multiplier = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('level_multiplier', self.__level_multiplier)) self.__target_reduction = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('target_reduction', self.__target_reduction)) self.__area_occupancy = pylon.resources.datapoints.occupancy.occupancy( ) self._register(('area_occupancy', self.__area_occupancy)) self.__local_occupancy = pylon.resources.datapoints.occupancy.occupancy( ) self._register(('local_occupancy', self.__local_occupancy)) self.__delay = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('delay', self.__delay)) self.__fade = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('fade', self.__fade)) self.__duration = pylon.resources.base.Float( single=True, minimum=0, maximum=3.40282E+038 ) self._register(('duration', self.__duration)) self.__button = pylon.resources.base.Scaled( size=1, signed=False, invalid=255, minimum=0, maximum=254 ) self._register(('button', self.__button)) self.__priority = pylon.resources.enumerations.command_priority_t.command_priority_t( ) self._register(('priority', self.__priority)) self.__scene_number = pylon.resources.base.Scaled( size=2, signed=False, invalid=65535, minimum=0, maximum=65534 ) self._register(('scene_number', self.__scene_number)) self.__load_groups = iot_load_control.load_groupsType( ) self._register(('load_groups', self.__load_groups)) self.__update_time = pylon.resources.datapoints.iot_timestamp.iot_timestamp( ) self._register(('update_time', self.__update_time)) self.__status_flags = pylon.resources.datapoints.iot_status_flags.iot_status_flags( ) self._register(('status_flags', self.__status_flags)) self.__event_state = pylon.resources.enumerations.event_state_t.event_state_t( ) self._register(('event_state', self.__event_state)) self.__reliability = pylon.resources.enumerations.reliability_t.reliability_t( ) self._register(('reliability', self.__reliability)) self._original_name = 'UNVT_iot_load_control' self._definition = userdefined.add(self)
def __init__(self): super().__init__( key=20003, scope=1, principal='nviLoadControl' ) self.datapoints['nviLoadControl'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Load control input value.""", name='nviLoadControl', profile=self, number=1, datatype=pylon.resources.datapoints.iot_load_control.iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT, properties={ 'cpDefaultInput': pylon.resources.base.Profile.PropertyMember( doc="""Default input. The control value the load should adopt when expected updates are not received and at power-on reset.""", name='cpDefaultInput', profile=self, number=1, datatype=pylon.resources.properties.defInput.defInput, default=b'\x00\x00\x00\x00', mandatory=True ), 'cpnLoadControl': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nviLoadControl input.""", name='cpnLoadControl', profile=self, number=12, datatype=pylon.resources.properties.networkTiming.networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True ) } ) self.datapoints['nvoLoadStatus'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Load control status output.""", name='nvoLoadStatus', profile=self, number=2, datatype=pylon.resources.datapoints.iot_load_control.iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpnLoadStatus': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoLoadStatus output.""", name='cpnLoadStatus', profile=self, number=13, datatype=pylon.resources.properties.networkTiming.networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True ) } ) self.properties['cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text description of the load control.""", name='cpDescription', profile=self, number=2, datatype=pylon.resources.properties.iotDescription.iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpEventAlgorithmInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Event algorithm inhibit. Inhibit the event algorithm if true.""", name='cpEventAlgorithmInhibit', profile=self, number=3, datatype=pylon.resources.properties.eventAlgorithmInhibit.eventAlgorithmInhibit, default=b'\x00', mandatory=True ) self.properties['cpEventDetectionEnable'] = pylon.resources.base.Profile.PropertyMember( doc="""Event detection enable. Enable event detection if true.""", name='cpEventDetectionEnable', profile=self, number=4, datatype=pylon.resources.properties.eventDetectionEnable.eventDetectionEnable, default=b'\x00', mandatory=True ) self.properties['cpFeedbackDelay'] = pylon.resources.base.Profile.PropertyMember( doc="""Feedback delay. The time period after the last update in a succession of changes to the input, before the feedback output is updated.""", name='cpFeedbackDelay', profile=self, number=5, datatype=pylon.resources.properties.iotFeedbackDelay.iotFeedbackDelay, default=b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpLoadControlOffset'] = pylon.resources.base.Profile.PropertyMember( doc="""Load control offsets. Offsets to be used during standby (area in unoccupied state but building occupied, or sleep mode) and demand-response modes.""", name='cpLoadControlOffset', profile=self, number=6, datatype=pylon.resources.properties.loadControlOffset.loadControlOffset, default=b'\x00\x00\x00\x00\x00\x00', mandatory=True ) self.properties['cpLoadGroups'] = pylon.resources.base.Profile.PropertyMember( doc="""Load group membership. Active load groups.""", name='cpLoadGroups', profile=self, number=7, datatype=pylon.resources.properties.iotLoadGroupMembership.iotLoadGroupMembership, default=b'\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True ) self.properties['cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc="""Text location name. Location of the load.""", name='cpLocation', profile=self, number=8, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name of the load control.""", name='cpName', profile=self, number=9, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True ) self.properties['cpReliabilityEvaluationInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Reliability evaluation inhibit. Inhibit reliability evaluation if true.""", name='cpReliabilityEvaluationInhibit', profile=self, number=10, datatype=pylon.resources.properties.reliabilityEvaluationInhibit.reliabilityEvaluationInhibit, default=b'\x00', mandatory=True ) self.properties['cpScene'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT scene. Scene table defining the scenes that map a scene number to a load setting.""", name='cpScene', profile=self, number=11, datatype=pylon.resources.properties.iotScene.iotScene, array_size_min=2, array_size_max=1000, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00', mandatory=True ) self._original_name = 'UFPTiotLoad' self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__(key=20004, scope=1, principal='nvoOccupancy') self.datapoints[ 'nvoOccupancy'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Occupancy sensor reading; includes a field that reports local occupancy reported by the sensor with a hold time, and a second field that reports calculated occupancy based on local occupancy plus occupancy inputs from all connected occupancy sensors.""", name='nvoOccupancy', profile=self, number=1, datatype=pylon.resources.datapoints.iot_load_control. iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.OUTPUT, properties={ 'cpDebounce': pylon.resources.base.Profile.PropertyMember( doc="""Debounce time. The interval after a change to the occupied state that the occupancy sensor input is ignored.""", name='cpDebounce', profile=self, number=1, datatype=pylon.resources.properties.debounce.debounce, default=b'\x00\x00', mandatory=True) }) self.datapoints[ 'nviOccupancyIn'] = pylon.resources.base.Profile.DatapointMember( doc="""IoT load control. Occupancy input from all connected occupancy sensors.""", name='nviOccupancyIn', profile=self, number=2, datatype=pylon.resources.datapoints.iot_load_control. iot_load_control, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT) self.properties[ 'cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text descripton of the occupancy sensor.""", name='cpDescription', profile=self, number=2, datatype=pylon.resources.properties.iotDescription. iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpEventAlgorithmInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Event algorithm inhibit. Inhibit the event algorithm if true.""", name='cpEventAlgorithmInhibit', profile=self, number=3, datatype=pylon.resources.properties.eventAlgorithmInhibit. eventAlgorithmInhibit, default=b'\x00', mandatory=True) self.properties[ 'cpEventDetectionEnable'] = pylon.resources.base.Profile.PropertyMember( doc="""Event detection enable. Enable event detection if true.""", name='cpEventDetectionEnable', profile=self, number=4, datatype=pylon.resources.properties.eventDetectionEnable. eventDetectionEnable, default=b'\x00', mandatory=True) self.properties[ 'cpFeedbackDelay'] = pylon.resources.base.Profile.PropertyMember( doc="""Feedback delay. The time period after the last update in a succession of changes to the input, before the feedback output is updated.""", name='cpFeedbackDelay', profile=self, number=5, datatype=pylon.resources.properties.iotFeedbackDelay. iotFeedbackDelay, default=b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpHoldTime'] = pylon.resources.base.Profile.PropertyMember( doc="""Hold time. Hold time for the nvoOccupancy occupied state after there is no occupancy detected; the hold time timer is retriggered each time the sensor reports the area as occupied.""", name='cpHoldTime', profile=self, number=6, datatype=pylon.resources.properties.holdTime.holdTime, minimum=b'\x00\x0a', default=b'\x01\x2c', mandatory=True) self.properties[ 'cpLoadGroups'] = pylon.resources.base.Profile.PropertyMember( doc="""Load group membership. Active load groups for the occupancy sensor.""", name='cpLoadGroups', profile=self, number=7, datatype=pylon.resources.properties.iotLoadGroupMembership. iotLoadGroupMembership, default=b'\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True) self.properties['cpMode'] = pylon.resources.base.Profile.PropertyMember( doc="""Occupancy mode. """, name='cpMode', profile=self, number=8, datatype=pylon.resources.properties.occupancyMode.occupancyMode, default=b'\x00', mandatory=True) self.properties[ 'cpModeTimeout'] = pylon.resources.base.Profile.PropertyMember( doc="""Occupancy mode timeout. Maximum time to hold an occupancy mode before returning to Auto mode.""", name='cpModeTimeout', profile=self, number=9, datatype=pylon.resources.properties.occupancyModeTimeout. occupancyModeTimeout, default=b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc= """Text location name. Location of the occupancy sensor.""", name='cpLocation', profile=self, number=10, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name of the occupancy sensor.""", name='cpName', profile=self, number=11, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpReliabilityEvaluationInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Reliability evaluation inhibit. Inhibit reliability evaluation if true.""", name='cpReliabilityEvaluationInhibit', profile=self, number=12, datatype=pylon.resources.properties. reliabilityEvaluationInhibit.reliabilityEvaluationInhibit, default=b'\x00', mandatory=True) self.properties[ 'cpnOccupancy'] = pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nvoOccupancy output.""", name='cpnOccupancy', profile=self, number=13, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', mandatory=True) self._original_name = 'UFPTiotOccupancySensor' self._definition = userdefined.add(self) self.finalize()
def __init__(self): super().__init__(key=20001, scope=1, principal='nviAnalog') self.datapoints[ 'nviAnalog'] = pylon.resources.base.Profile.DatapointMember( doc="""Analog datapoint. Analog value with units, timestamp, status, and priority.""", name='nviAnalog', profile=self, number=1, datatype=pylon.resources.datapoints.iot_analog.iot_analog, mandatory=True, direction=pylon.resources.base.Profile.DatapointMember.INPUT, properties={ 'cpDefaultInput': pylon.resources.base.Profile.PropertyMember( doc="""Default input. The level the analog input should adopt when expected updates are not received and at power-on reset.""", name='cpDefaultInput', profile=self, number=1, datatype=pylon.resources.properties.defInput.defInput, default=b'\x00\x00\x00\x00', mandatory=True), 'cpHighLimitDelay': pylon.resources.base.Profile.PropertyMember( doc="""High limit delay. The time limit during normal operation before a high alarm is recognized.""", name='cpHighLimitDelay', profile=self, number=5, datatype=pylon.resources.properties.highLimDly. highLimDly, default=b'\x00\x00', mandatory=True), 'cpHighLimit1': pylon.resources.base.Profile.PropertyMember( doc="""High limit 1. The alarm first high limit against which the present_value field of the output value is tested for alarm conditions.""", name='cpHighLimit1', profile=self, number=6, datatype=pylon.resources.properties.highLimit1. highLimit1, default=b'\x00\x00\x00\x00', mandatory=True), 'cpHighLimit1Enable': pylon.resources.base.Profile.PropertyMember( doc="""High limit 1 Enable. Controls whether high limit 1 is in effect.""", name='cpHighLimit1Enable', profile=self, number=7, datatype=pylon.resources.properties.highLimit1Enable. highLimit1Enable, default=b'\x00', mandatory=True), 'cpHighLimit2': pylon.resources.base.Profile.PropertyMember( doc="""High limit 2. The alarm second high limit against which the present_value field of the output value is tested for alarm conditions.""", name='cpHighLimit2', profile=self, number=8, datatype=pylon.resources.properties.highLimit2. highLimit2, default=b'\x00\x00\x00\x00', mandatory=True), 'cpHighLimit2Enable': pylon.resources.base.Profile.PropertyMember( doc="""High limit 2 Enable. Controls whether high limit 2 is in effect.""", name='cpHighLimit2Enable', profile=self, number=9, datatype=pylon.resources.properties.highLimit2Enable. highLimit2Enable, default=b'\x00', mandatory=True), 'cpLowLimitDelay': pylon.resources.base.Profile.PropertyMember( doc="""Low limit delay. The time limit during normal operation before a low alarm is recognized.""", name='cpLowLimitDelay', profile=self, number=10, datatype=pylon.resources.properties.lowLimDly. lowLimDly, default=b'\x00\x00', mandatory=True), 'cpLowLimit1': pylon.resources.base.Profile.PropertyMember( doc="""Low limit 1. The alarm first low limit against which the present_value field of the output value is tested for alarm conditions.""", name='cpLowLimit1', profile=self, number=11, datatype=pylon.resources.properties.lowLimit1. lowLimit1, default=b'\x00\x00\x00\x00', mandatory=True), 'cpLowLimit1Enable': pylon.resources.base.Profile.PropertyMember( doc="""Low limit 1 Enable. Controls whether low limit 1 is in effect.""", name='cpLowLimit1Enable', profile=self, number=12, datatype=pylon.resources.properties.lowLimit1Enable. lowLimit1Enable, default=b'\x00', mandatory=True), 'cpLowLimit2': pylon.resources.base.Profile.PropertyMember( doc="""Low limit 2. The alarm second low limit against which the present_value field of the output value is tested for alarm conditions.""", name='cpLowLimit2', profile=self, number=13, datatype=pylon.resources.properties.lowLimit2. lowLimit2, default=b'\x00\x00\x00\x00', mandatory=True), 'cpLowLimit2Enable': pylon.resources.base.Profile.PropertyMember( doc="""Low limit 2 Enable. Controls whether low limit 2 is in effect.""", name='cpLowLimit2Enable', profile=self, number=14, datatype=pylon.resources.properties.lowLimit2Enable. lowLimit2Enable, default=b'\x00', mandatory=True), 'cpnAnalog': pylon.resources.base.Profile.PropertyMember( doc="""Network timing. Application-layer network timing parameters for the nviAnalog input.""", name='cpnAnalog', profile=self, number=18, datatype=pylon.resources.properties.networkTiming. networkTiming, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00', mandatory=True) }) self.properties[ 'cpDescription'] = pylon.resources.base.Profile.PropertyMember( doc="""IoT description. Text description for the analog datapoint.""", name='cpDescription', profile=self, number=2, datatype=pylon.resources.properties.iotDescription. iotDescription, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpEventAlgorithmInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Event algorithm inhibit. Inhibit the event algorithm if true.""", name='cpEventAlgorithmInhibit', profile=self, number=3, datatype=pylon.resources.properties.eventAlgorithmInhibit. eventAlgorithmInhibit, default=b'\x00', mandatory=True) self.properties[ 'cpEventDetectionEnable'] = pylon.resources.base.Profile.PropertyMember( doc="""Event detection enable. Enable event detection if true.""", name='cpEventDetectionEnable', profile=self, number=4, datatype=pylon.resources.properties.eventDetectionEnable. eventDetectionEnable, default=b'\x00', mandatory=True) self.properties[ 'cpName'] = pylon.resources.base.Profile.PropertyMember( doc="""Text name. Text name for the analog datapoint.""", name='cpName', profile=self, number=15, datatype=pylon.resources.properties.iotName.iotName, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpLocation'] = pylon.resources.base.Profile.PropertyMember( doc= """Text location name. Location of the analog datapoint.""", name='cpLocation', profile=self, number=16, datatype=pylon.resources.properties.iotLocation.iotLocation, default=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' b'\x00\x00\x00\x00', mandatory=True) self.properties[ 'cpReliabilityEvaluationInhibit'] = pylon.resources.base.Profile.PropertyMember( doc="""Reliability evaluation inhibit. Inhibit reliability evaluation if true.""", name='cpReliabilityEvaluationInhibit', profile=self, number=17, datatype=pylon.resources.properties. reliabilityEvaluationInhibit.reliabilityEvaluationInhibit, default=b'\x00', mandatory=True) self._original_name = 'UFPTiotAnalogOutput' self._definition = userdefined.add(self) self.finalize()