41 lines
814 B
Python
41 lines
814 B
Python
# constants declarated for all proyect
|
|
|
|
|
|
STR_XSM_SIZE = 16
|
|
STR_SM_SIZE = 32
|
|
STR_SIZE = 64
|
|
STR_BIG_SIZE = 128
|
|
STR_EXTEND_SIZE = 256
|
|
|
|
|
|
# Algorithms for build hids
|
|
HID_ALGO1 = [
|
|
"manufacturer",
|
|
"model",
|
|
"chassis",
|
|
"serialNumber",
|
|
"sku"
|
|
]
|
|
|
|
ALGOS = {
|
|
"hidalgo1": HID_ALGO1,
|
|
}
|
|
|
|
|
|
CHASSIS_DH = {
|
|
'Tower': {'desktop', 'low-profile', 'tower', 'server'},
|
|
'Docking': {'docking'},
|
|
'AllInOne': {'all-in-one'},
|
|
'Microtower': {'mini-tower', 'space-saving', 'mini'},
|
|
'PizzaBox': {'pizzabox'},
|
|
'Lunchbox': {'lunchbox'},
|
|
'Stick': {'stick'},
|
|
'Netbook': {'notebook', 'sub-notebook'},
|
|
'Handheld': {'handheld'},
|
|
'Laptop': {'portable', 'laptop'},
|
|
'Convertible': {'convertible'},
|
|
'Detachable': {'detachable'},
|
|
'Tablet': {'tablet'},
|
|
'Virtual': {'_virtual'},
|
|
}
|