mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-01 21:36:25 -06:00
Close #7022
Add a new power connector type for selection in netbox: CEE 7/16, Type C (also known as Europlug).
This commit is contained in:
parent
13e633778a
commit
893260a2ae
@ -246,6 +246,8 @@ class ConsolePortSpeedChoices(ChoiceSet):
|
|||||||
|
|
||||||
class PowerPortTypeChoices(ChoiceSet):
|
class PowerPortTypeChoices(ChoiceSet):
|
||||||
|
|
||||||
|
# CEE 7/16
|
||||||
|
TYPE_CEE_7_16_TYPE_C = 'cee-7-16-type-c'
|
||||||
# IEC 60320
|
# IEC 60320
|
||||||
TYPE_IEC_C6 = 'iec-60320-c6'
|
TYPE_IEC_C6 = 'iec-60320-c6'
|
||||||
TYPE_IEC_C8 = 'iec-60320-c8'
|
TYPE_IEC_C8 = 'iec-60320-c8'
|
||||||
@ -346,6 +348,9 @@ class PowerPortTypeChoices(ChoiceSet):
|
|||||||
TYPE_HARDWIRED = 'hardwired'
|
TYPE_HARDWIRED = 'hardwired'
|
||||||
|
|
||||||
CHOICES = (
|
CHOICES = (
|
||||||
|
('CEE 7/16', (
|
||||||
|
(TYPE_CEE_7_16_TYPE_C, 'CEE 7/16 Europlug'),
|
||||||
|
)),
|
||||||
('IEC 60320', (
|
('IEC 60320', (
|
||||||
(TYPE_IEC_C6, 'C6'),
|
(TYPE_IEC_C6, 'C6'),
|
||||||
(TYPE_IEC_C8, 'C8'),
|
(TYPE_IEC_C8, 'C8'),
|
||||||
|
Loading…
Reference in New Issue
Block a user