Skip to main content

AtmosErrorEnum

enum class AtmosErrorEnum

Description: Atmos state defined here

enum class AtmosErrorEnum (var value: Int) {

/**
* normal
*/
NORMAL(0),
/**
* Communication failed
*/
COMMUNICATION_FAIL(1),
/**
* wrong address
*/
ADDRESS_ERROR(2),
/**
* 3- register error
*/
REGISTER_ERROR(3),
/**
* 4-MODBUS command error code 01
*/
MODBUS1_ERROR(4),
/**
* 5-MODBUS command error code 02
*/
MODBUS2_ERROR(5),
/**
* 6-MODBUS command error code
*/
MODBUS3_ERROR(6),
/**
* 7-MODBUS command error code 04
*/
MODBUS4_ERROR(7),
UNKNOWN(-1);
}