Merge pull request #6789 from bellwood/patch-1

Add AC Hardwire option to PowerPortTypeChoices
This commit is contained in:
Jeremy Stretch
2021-07-27 16:14:01 -04:00
committed by GitHub

View File

@@ -341,6 +341,8 @@ class PowerPortTypeChoices(ChoiceSet):
TYPE_DC = 'dc-terminal' TYPE_DC = 'dc-terminal'
# Proprietary # Proprietary
TYPE_SAF_D_GRID = 'saf-d-grid' TYPE_SAF_D_GRID = 'saf-d-grid'
# Other
TYPE_HARDWIRED = 'hardwired'
CHOICES = ( CHOICES = (
('IEC 60320', ( ('IEC 60320', (
@@ -447,6 +449,9 @@ class PowerPortTypeChoices(ChoiceSet):
('Proprietary', ( ('Proprietary', (
(TYPE_SAF_D_GRID, 'Saf-D-Grid'), (TYPE_SAF_D_GRID, 'Saf-D-Grid'),
)), )),
('Other', (
(TYPE_HARDWIRED, 'Hardwired'),
)),
) )