# Path: yaya/common/enum.py
# class Enum(object):
#     """ Enumerated type. """
# 
#     def __init__(self, *keys, **kwargs):
#         """ Create an enumeration instance. """
# 
#         value_type = kwargs.get('value_type', EnumValue)
#         enum_name = kwargs.get('enum_name', None)
#         assert enum_name is not None
#         self.__dict__['enum_name'] = enum_name
#         if not keys:
#             raise EnumEmptyError()
# 
#         keys = tuple(keys)
#         values = [None] * len(keys)
# 
#         for i, key in enumerate(keys):
#             value = value_type(self, i, key)
#             values[i] = value
#             try:
#                 super(Enum, self).__setattr__(key, value)
#             except TypeError:
#                 raise EnumBadKeyError(key)
# 
#         self.__dict__['_keys'] = keys
#         self.__dict__['_values'] = values
# 
#     def __setattr__(self, name, value):
#         raise EnumImmutableError(name)
# 
#     def __delattr__(self, name):
#         raise EnumImmutableError(name)
# 
#     def __len__(self):
#         return len(self._values)
# 
#     def __getitem__(self, index):
#         # tony 添加，添加从字符型枚举名到变量值的转换
#         if isinstance(index, str) or isinstance(index, unicode) :
#             return self.__getattribute__(index)
#         else:
#             return self._values[index]
# 
#     def __setitem__(self, index, value):
#         raise EnumImmutableError(index)
# 
#     def __delitem__(self, index):
#         raise EnumImmutableError(index)
# 
#     def __iter__(self):
#         return iter(self._values)
# 
#     def __contains__(self, value):
#         is_member = False
#         if isinstance(value, basestring):
#             is_member = (value in self._keys)
#         else:
#             is_member = (value in self._values)
#         return is_member


from yaya.common.enum import Enum
    "LCMCDD",
    "LCMCID",
    "LCMCMD",
    "LCMD",
    "LCMJCICD",
    "LCMJD",
    "LCPCJCD",
    "LCPD",
    "LCPMD",
    "LCPPCD",
    "LD",
    "LDCCD",
    "LDCD",
    "LDCLCD",
    "LDCLCDCD",
    "LDCPD",
    "LDD",
    "LDDD",
    "LDLCCCCD",
    "LFCD",
    "LFCFD",
    "LFD",
    "LFPPPCCD",
    "LGCD",
    "LGD",
    "LGGCCCD",
    "LGGCD",
    "LGJCD",
    "LGJLCD",
    "LGJLD",

# Path: yaya/common/enum.py
# class Enum(object):
#     """ Enumerated type. """
# 
#     def __init__(self, *keys, **kwargs):
#         """ Create an enumeration instance. """
# 
#         value_type = kwargs.get('value_type', EnumValue)
#         enum_name = kwargs.get('enum_name', None)
#         assert enum_name is not None
#         self.__dict__['enum_name'] = enum_name
#         if not keys:
#             raise EnumEmptyError()
# 
#         keys = tuple(keys)
#         values = [None] * len(keys)
# 
#         for i, key in enumerate(keys):
#             value = value_type(self, i, key)
#             values[i] = value
#             try:
#                 super(Enum, self).__setattr__(key, value)
#             except TypeError:
#                 raise EnumBadKeyError(key)
# 
#         self.__dict__['_keys'] = keys
#         self.__dict__['_values'] = values
# 
#     def __setattr__(self, name, value):
#         raise EnumImmutableError(name)
# 
#     def __delattr__(self, name):
#         raise EnumImmutableError(name)
# 
#     def __len__(self):
#         return len(self._values)
# 
#     def __getitem__(self, index):
#         # tony 添加，添加从字符型枚举名到变量值的转换
#         if isinstance(index, str) or isinstance(index, unicode) :
#             return self.__getattribute__(index)
#         else:
#             return self._values[index]
# 
#     def __setitem__(self, index, value):
#         raise EnumImmutableError(index)
# 
#     def __delitem__(self, index):
#         raise EnumImmutableError(index)
# 
#     def __iter__(self):
#         return iter(self._values)
# 
#     def __contains__(self, value):
#         is_member = False
#         if isinstance(value, basestring):
#             is_member = (value in self._keys)
#         else:
#             is_member = (value in self._values)
#         return is_member


# Path: yaya/common/nt.py
from yaya.common.enum import Enum

    "LCMCDD",
    "LCMCID",
    "LCMCMD",
    "LCMD",
    "LCMJCICD",
    "LCMJD",
    "LCPCJCD",
    "LCPD",
    "LCPMD",
    "LCPPCD",
    "LD",
    "LDCCD",
    "LDCD",
    "LDCLCD",
    "LDCLCDCD",
    "LDCPD",
    "LDD",
    "LDDD",
    "LDLCCCCD",
    "LFCD",
    "LFCFD",
    "LFD",
    "LFPPPCCD",
    "LGCD",
    "LGD",
    "LGGCCCD",
    "LGGCD",
    "LGJCD",
    "LGJLCD",
    "LGJLD",

    "LICCCD",