features.py
changeset 2192 09d5d1456616
parent 2165 02a2b5dee5e3
child 2244 42566291b9bc
equal deleted inserted replaced
2191:b579e2155d02 2192:09d5d1456616
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python
     2 # -*- coding: utf-8 -*-
     2 # -*- coding: utf-8 -*-
     3 
     3 
     4 # This file is part of Beremiz, a Integrated Development Environment for
     4 # This file is part of Beremiz
     5 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
       
     6 #
     5 #
     7 # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
     6 # Copyright (C) 2007: Laurent BESSARD
       
     7 # Copyright (C) 2007-2018: Edouard TISSERANT
     8 #
     8 #
     9 # See COPYING file for copyrights details.
     9 # See COPYING file for copyrights details.
    10 #
       
    11 # This program is free software; you can redistribute it and/or
       
    12 # modify it under the terms of the GNU General Public License
       
    13 # as published by the Free Software Foundation; either version 2
       
    14 # of the License, or (at your option) any later version.
       
    15 #
       
    16 # This program is distributed in the hope that it will be useful,
       
    17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    19 # GNU General Public License for more details.
       
    20 #
       
    21 # You should have received a copy of the GNU General Public License
       
    22 # along with this program; if not, write to the Free Software
       
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
       
    24 
    10 
    25 libraries = [
    11 libraries = [
    26     ('Native', 'NativeLib.NativeLibrary'),
    12     ('Native', 'NativeLib.NativeLibrary'),
    27     ('Python', 'py_ext.PythonLibrary'),
    13     ('Python', 'py_ext.PythonLibrary'),
       
    14     ('Etherlab', 'etherlab.EthercatMaster.EtherlabLibrary'),
    28     ('SVGUI', 'svgui.SVGUILibrary')]
    15     ('SVGUI', 'svgui.SVGUILibrary')]
    29 
    16 
    30 catalog = [
    17 catalog = [
    31     ('canfestival', _('CANopen support'), _('Map located variables over CANopen'), 'canfestival.canfestival.RootClass'),
    18     ('canfestival', _('CANopen support'), _('Map located variables over CANopen'), 'canfestival.canfestival.RootClass'),
    32     ('bacnet', _('Bacnet support'), _('Map located variables over Bacnet'), 'bacnet.bacnet.RootClass'),
    19     ('bacnet', _('Bacnet support'), _('Map located variables over Bacnet'), 'bacnet.bacnet.RootClass'),
       
    20     ('etherlab', _('EtherCAT master'), _('Map located variables over EtherCAT'), 'etherlab.etherlab.RootClass'),
    33     ('modbus', _('Modbus support'), _('Map located variables over Modbus'), 'modbus.modbus.RootClass'),
    21     ('modbus', _('Modbus support'), _('Map located variables over Modbus'), 'modbus.modbus.RootClass'),
    34     ('c_ext', _('C extension'), _('Add C code accessing located variables synchronously'), 'c_ext.CFile'),
    22     ('c_ext', _('C extension'), _('Add C code accessing located variables synchronously'), 'c_ext.CFile'),
    35     ('py_ext', _('Python file'), _('Add Python code executed asynchronously'), 'py_ext.PythonFile'),
    23     ('py_ext', _('Python file'), _('Add Python code executed asynchronously'), 'py_ext.PythonFile'),
    36     ('wxglade_hmi', _('WxGlade GUI'), _('Add a simple WxGlade based GUI.'), 'wxglade_hmi.WxGladeHMI'),
    24     ('wxglade_hmi', _('WxGlade GUI'), _('Add a simple WxGlade based GUI.'), 'wxglade_hmi.WxGladeHMI'),
    37     ('svgui', _('SVGUI'), _('Experimental web based HMI'), 'svgui.SVGUI')]
    25     ('svgui', _('SVGUI'), _('Experimental web based HMI'), 'svgui.SVGUI')]