Changeset 62 for addons/isp/isp.py


Ignore:
Timestamp:
Mar 23, 2012, 7:38:34 AM (13 years ago)
Author:
chronos
Message:
  • Přidáno: Evidence využitých frekvencí v modulu ISP.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • addons/isp/isp.py

    r43 r62  
    7474        'full_duplex': fields.boolean('Full duplex'),
    7575        'color': fields.integer('Color'),
     76        'wireless': fields.boolean('Wireless'),
    7677    }
    7778network_interface_type()
     
    186187    }
    187188network_service()
     189
     190class network_frequency(osv.osv):
     191    _name = "network.frequency"
     192    _columns = {
     193        'name': fields.char('Name', size=32, required=True, translate=True),
     194        'ssid': fields.char('SSID', size=32),
     195        'frequency': fields.integer('Frequency', help='Frequency in MHz'),
     196        'channel_width': fields.integer('Channel width', help='Channel width in MHz'),
     197        'channel_width_upper': fields.integer('Upper channel width', help='Upper side channel width in MHz'),
     198        'channel_width_lower': fields.integer('Lower channel width', help='Lower side channel width in MHz'),
     199        'device_id': fields.many2one('network.device', 'Device'),
     200        'link_type_id': fields.many2one('network.interface.type', 'Link type'),
     201    }
     202network_frequency()
Note: See TracChangeset for help on using the changeset viewer.