plcopen/__init__.py
changeset 2 93bc4c2cf376
parent 0 b622defdfd98
child 58 39cd981ff242
equal deleted inserted replaced
1:e9d01d824086 2:93bc4c2cf376
     7 #Copyright (C): Edouard TISSERANT and Laurent BESSARD
     7 #Copyright (C): Edouard TISSERANT and Laurent BESSARD
     8 #
     8 #
     9 #See COPYING file for copyrights details.
     9 #See COPYING file for copyrights details.
    10 #
    10 #
    11 #This library is free software; you can redistribute it and/or
    11 #This library is free software; you can redistribute it and/or
    12 #modify it under the terms of the GNU Lesser General Public
    12 #modify it under the terms of the GNU General Public
    13 #License as published by the Free Software Foundation; either
    13 #License as published by the Free Software Foundation; either
    14 #version 2.1 of the License, or (at your option) any later version.
    14 #version 2.1 of the License, or (at your option) any later version.
    15 #
    15 #
    16 #This library is distributed in the hope that it will be useful,
    16 #This library is distributed in the hope that it will be useful,
    17 #but WITHOUT ANY WARRANTY; without even the implied warranty of
    17 #but WITHOUT ANY WARRANTY; without even the implied warranty of
    18 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    18 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    19 #Lesser General Public License for more details.
    19 #Lesser General Public License for more details.
    20 #
    20 #
    21 #You should have received a copy of the GNU Lesser General Public
    21 #You should have received a copy of the GNU General Public
    22 #License along with this library; if not, write to the Free Software
    22 #License along with this library; if not, write to the Free Software
    23 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    23 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    24 
    24 
    25 # Package initialisation
    25 # Package initialisation
    26 
    26 
    29 for classname, cls in plcopen.PLCOpenClasses.items():
    29 for classname, cls in plcopen.PLCOpenClasses.items():
    30     plcopen.__dict__[classname] = cls
    30     plcopen.__dict__[classname] = cls
    31 for typename, typ in plcopen.PLCOpenTypes.items():
    31 for typename, typ in plcopen.PLCOpenTypes.items():
    32     plcopen.__dict__[typename] = typ
    32     plcopen.__dict__[typename] = typ
    33 from plcopen import VarOrder
    33 from plcopen import VarOrder
    34 from plcopen import HolePseudoFile
       
    35 
    34 
    36 from structures import *
    35 from structures import *
    37 from docpdf import *
    36 from docpdf import *