| | 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):` |