PMC panel.  
 More...
import"Panel.idl";
PMC panel. 
A panel contains:
- a three-phase power meter
 
- a configurable number of branch meter channels
 
- a configurable number of circuit positions
 
- configurable logical circuits combining multiple positions 
 
 
◆ LabelingScheme
Mapping of physical circuit positions (0-based) to logical labels. 
| Enumerator | 
|---|
| SEQUENTIAL  | Circuit positions 0..2 are labeled 1, 2 and 3.  
 | 
| ODD_EVEN  | Circuit positions 0..2 are labeled 1, 3 and 5 (two columns)  
 | 
 
 
◆ createCircuit()
Create a new circuit. 
- Parameters
 - 
  
    | circuit | Result: Newly created instance  | 
    | config | New circuit config  | 
    | settings | New circuit settings | 
  
   
- Returns
 - 0 if OK 
 
- 
1 if the circuit config or settings are invalid 
 
 
 
◆ deleteCircuit()
      
        
          | int pdumodel::Panel::deleteCircuit  | 
          ( | 
          in int  | 
          position | ) | 
           | 
        
      
 
Delete a circuit. 
- Parameters
 - 
  
    | position | Position of circuit to be deleted | 
  
   
- Returns
 - 0 if OK 
 
- 
1 if the circuit position is invalid 
 
 
 
◆ getCircuits()
      
        
          | map<int, Circuit> pdumodel::Panel::getCircuits  | 
          ( | 
           | ) | 
           | 
        
      
 
Retrieve the list of circuits. 
- Returns
 - Configured circuits by position 
 
 
 
◆ getPanelSettings()
Retrieve the panel settings. 
- Returns
 - Panel settings 
 
 
 
◆ setPanelSettings()
      
        
          | int pdumodel::Panel::setPanelSettings  | 
          ( | 
          in PanelSettings  | 
          settings | ) | 
           | 
        
      
 
Change the panel settings. 
- Parameters
 - 
  
    | settings | New panel settings | 
  
   
- Returns
 - 0 if OK 
 
- 
1 if any parameters are invalid 
 
 
 
The documentation for this interface was generated from the following file: