Exemplo n.º 1
0
    def __init__(self, iso_request_layout, attribute_name, number_sectors,
                 regard_controls, parent=None):
        """
        Constructor.

        :param bool regard_controls: Flag indicating if control positions
            should be considered (floating positions are always considered).
        :param int number_sectors: The number of rack sectors.
        :default number_sectors: *4*
        """
        ValueDeterminer.__init__(self, iso_request_layout, attribute_name,
                                 number_sectors, parent=parent)
        #: Shall controls (Fixed) position be regarded?
        self.regard_controls = regard_controls
Exemplo n.º 2
0
Arquivo: iso.py Projeto: papagr/TheLMA
    def __init__(self,
                 iso_request_layout,
                 attribute_name,
                 number_sectors,
                 regard_controls,
                 parent=None):
        """
        Constructor.

        :param bool regard_controls: Flag indicating if control positions
            should be considered (floating positions are always considered).
        :param int number_sectors: The number of rack sectors.
        :default number_sectors: *4*
        """
        ValueDeterminer.__init__(self,
                                 iso_request_layout,
                                 attribute_name,
                                 number_sectors,
                                 parent=parent)
        #: Shall controls (Fixed) position be regarded?
        self.regard_controls = regard_controls