PvKitComponent
Represents a component used in a PV kit and its quantity.
Attributes:
Name | Type | Description |
---|---|---|
component |
Component
|
The component included in the PV kit. |
quantity |
int
|
The quantity of the component used in the PV kit. |
from_dict(data)
classmethod
Creates an instance of PvKitComponent from a dictionary.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data |
dict
|
A dictionary containing component information. |
required |
Returns:
Name | Type | Description |
---|---|---|
PvKitComponent |
PvKit
|
An instance of the PvKitComponent class. |