Skip to main content

TempErrorEnum

enum class TempErrorEnum

Description: Error enumeration

enum class TempErrorEnum(var value: Int) {
/**
* describe:
*/
NORMAL(0),

/**
*1 Communication failed
*/
COMMUNICATION_FAIL(1),

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

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

/**
*4 MODBUS command error code
*/
MODBUS1_ERROR(4),

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

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

/**
*7 MODBUS command error code
*/
MODBUS4_ERROR(7),
UNKNOWN(-1);
}