#ifndef __DISPLAY__H__
#define __DISPLAY__H__

#include "types.h"

#define CN_COP_PWD (321)
#define CN_USER_PWD (700)
#define CN_SUPER_PWD (620)

enum _REV_TYPE_
{
    EN_REV_FREE,
    EN_REV_FORCE
};

enum _SET_SIDE_TYPE_
{
    EN_SIDE_START = 0,
    EN_SIDE_BASIC,
    EN_SIDE_DEVINF,
    EN_SIDE_COP,
    EN_SIDE_MATRIX,
    EN_SIDE_ALL,
    EN_SIDE_HIGH,
    EN_SIDE_MED1,
    EN_SIDE_MED2,
    EN_SIDE_LOW1,
    EN_SIDE_LOW2,
    EN_SIDE_LK,
    EN_SIDE_Z,
    EN_SIDE_DEF,
    EN_SIDE_NONE = 0xFF
};

enum _SOFT_TYPE_NUMBER
{
    EN_SOFT_PRO = 0,
    EN_SOFT_GOOSE,
    EN_SOFT_MU,
    EN_SOFT_SWITCH,
    EN_SOFT_BAK,
    EN_SOFT_TYPE_END
};



enum _INDEX_VALUE_TYPE_
{
    EN_SOFT_SET,
    EN_FIGURE_SET
};

enum _ANA_PARA_
{
    EN_ANA_0 = 1,
    EN_ANA_1
};

enum _INPUT_PARA_
{
    EN_INPUT_0 = 1,
    EN_INPUT_1
};

enum _ANA_TYPE_
{
    EN_TYPE_DIF_CURRENT = 0,
    EN_TYPE_UNIT_CURRENT,
    EN_TYPE_UNIT_VOLTAGE
};

enum _NO_USER_PASSWORD_
{
    EN_NO_USER_PWD = 0x55
};
enum _FACTORY_PASSWORD_
{
    EN_FACTORY_PASSWORD = 0x55
};

enum _REC_TYPE_
{
    EN_ACT_REC = 0,
    EN_ALM_REC,
    EN_CHK_REC,
    EN_SOE_REC,
    EN_COS_REC,
    EN_LOCK_REC,
    EN_OVER_REC,
    EN_START_REC,
    EN_RUN_REC,
    EN_INPUT_REC,
    EN_ONOFF_REC,
    EN_OPT_REC,
    EN_YK_REC,
    EN_SC_REC,
    EN_SCSTEPINFO_REC,
    EN_FAULT_REC,
    EN_ACTWAVE_REC,
    EN_STARTWAVE_REC,
    EN_HANDWAVE_REC,
    EN_FAULT_NO,
    EN_ALL_REC = 0xFF,
    EN_NO_REC = 0xFFFF
};

#endif
