21 # |
21 # |
22 # You should have received a copy of the GNU General Public License |
22 # You should have received a copy of the GNU General Public License |
23 # along with this program; if not, write to the Free Software |
23 # along with this program; if not, write to the Free Software |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
25 |
25 |
|
26 |
|
27 from __future__ import absolute_import |
26 import wx |
28 import wx |
27 |
29 |
28 from graphics.GraphicCommons import CONTACT_NORMAL, CONTACT_REVERSE, \ |
30 from graphics.GraphicCommons import CONTACT_NORMAL, CONTACT_REVERSE, \ |
29 CONTACT_RISING, CONTACT_FALLING, COIL_NORMAL, COIL_REVERSE, COIL_SET, \ |
31 CONTACT_RISING, CONTACT_FALLING, COIL_NORMAL, COIL_REVERSE, COIL_SET, \ |
30 COIL_RESET, COIL_RISING, COIL_FALLING |
32 COIL_RESET, COIL_RISING, COIL_FALLING |
31 from graphics.LD_Objects import LD_Contact, LD_Coil |
33 from graphics.LD_Objects import LD_Contact, LD_Coil |
32 from BlockPreviewDialog import BlockPreviewDialog |
34 from dialogs.BlockPreviewDialog import BlockPreviewDialog |
33 |
35 |
34 # ------------------------------------------------------------------------------- |
36 # ------------------------------------------------------------------------------- |
35 # Set Ladder Element Parmeters Dialog |
37 # Set Ladder Element Parmeters Dialog |
36 # ------------------------------------------------------------------------------- |
38 # ------------------------------------------------------------------------------- |
37 |
39 |