Changes between Version 17 and Version 18 of v1
- Timestamp:
- Jul 19, 2010, 2:00:07 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
- 
      v1v17 v18 38 38 = Classes = 39 39 40 * '''1. DbConn Objects: ''' aDbConn object is responsible of database connection management and all the interactions with it40 '''1. DbConn Objects: ''' A DbConn object is responsible of database connection management and all the interactions with it 41 41 42 42 Constructor: 43 43 44 **class** DbConn(dbName,dbType,username,password,host,port)44 - **class** DbConn(dbName,dbType,username,password,host,port) 45 45 `dbName,dbType,username,password,host,port` are string arguments specified in the configuration file : f_config_pdu.cfg on section //default// 46 46 47 47 In PowerMon V1, "dbType" is either 'sqlite' or 'mysql' : other types may also be supported provided that they are supported by sqlAlchemy and that this constructor is appropriately modified 48 48 49 * ''' class PDU: ''' Allows to be connected to a supervisable pdu and extract machines' power consumption data 49 All class methods: 50 51 52 53 54 55 56 57 58 '''2. PDU Objects: ''' A PDU object allows connexion to a supervisable pdu and extraction of machines' power consumption data 59 60 Constructor: 61 62 - **class* PDU() 
![(please configure the [header_logo] section in trac.ini)](/PowerMon/chrome/site/your_project_logo.png)
