Changes between Version 22 and Version 23 of v1


Ignore:
Timestamp:
Aug 3, 2010, 10:09:19 PM (15 years ago)
Author:
naitabde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • v1

    v22 v23  
    5959* `viewDb():` Prints the contents of tables : Outlet, machine and PDU
    6060
    61 * `storeCons(self,nomMachine,cons,date):`
     61* `storeCons(self,nomMachine,cons,date):` Inserts a new line in the table powerCons 
    6262
     63* `viewTableMachine():`* Display only the table : machine
     64
     65* `viewMachineCons(nomMachine):` Prints the power consumption values of the machine "nomMachine" whith the corresponding dates
     66
     67* `getPDUs():` Returns a list of python dictionaries , representing the PDUs registred in the database
     68
     69* `getNomMachine(numOutlet,IdPDU):` Get the machine pluged-in on the outlet number "numOutlet" of the PDU whose Id is "IdPDU"
     70
     71* `getMachines_Names():` Returns a list of all machines' names registred in the database
     72
     73* `getPduMachines(pduName):` Returns a set of machines' names correspondint to the connected machines to PDU "pduName"
     74
     75* `getCons(nomMachine,start_date,end_date):`
    6376
    6477