Add AC Hardwire option to PowerPortTypeChoices

Resolves FR #6785
This commit is contained in:
Brian Ellwood 2021-07-22 14:11:11 -04:00 committed by GitHub
parent a038e8bba4
commit 1740ee91ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,6 +337,8 @@ class PowerPortTypeChoices(ChoiceSet):
TYPE_USB_MICRO_B = 'usb-micro-b'
TYPE_USB_3_B = 'usb-3-b'
TYPE_USB_3_MICROB = 'usb-3-micro-b'
# Alternating current (AC)
TYPE_AC = 'ac-hardwire'
# Direct current (DC)
TYPE_DC = 'dc-terminal'
# Proprietary
@ -441,6 +443,9 @@ class PowerPortTypeChoices(ChoiceSet):
(TYPE_USB_3_B, 'USB 3.0 Type B'),
(TYPE_USB_3_MICROB, 'USB 3.0 Micro B'),
)),
('AC', (
(TYPE_AC, 'AC Hardwire'),
)),
('DC', (
(TYPE_DC, 'DC Terminal'),
)),