Skip to main content

TecErrorEnum

enum class TecErrorEnum

Description: Nest tech error enum defined

enum class TecErrorEnum(var value: Int) {
/**
*normal
*/
NORMAL(0),

/**
*communication failure
*/
COMMUNICATION_FAIL(1),

/**
*wrong address
*/
ADDRESS_ERROR(2),

/**
*register error
*/
REGISTER_ERROR(3),

/**
*MODBUS1 instruction error code
*/
MODBUS1_ERROR(4),

/**
*MODBUS2 command error code
*/
MODBUS2_ERROR(5),

/**
*MODBUS3 command error code
*/
MODBUS3_ERROR(6),

/**
*MODBUS4 command error code
*/
MODBUS4_ERROR(7),

/**
*Heating on bit
*/
HEAT_POSITION(8),

/**
*Cooling on
*/
REFRIGERATION_POSITION(9),

/**
*unknown
*/
UNKNOWN(-1);
}