#ifndef INC_ERA_PARSE_KEY_HPP_
#define INC_ERA_PARSE_KEY_HPP_

#define MODBUS_BAUD_SPEED_KEY               "bs"

#define MODBUS_VERSION_KEY                  "v"

#define MODBUS_SENSORS_KEY                  "s"
#define MODBUS_SENSOR_ADDRESS_KEY           "a"
#define MODBUS_SENSOR_DELAY_KEY             "d"
#define MODBUS_SENSOR_TYPE_KEY              "ct"
#define MODBUS_SENSOR_IP_KEY                "is"
#define MODBUS_SENSOR_PORT_KEY              "ps"
#define MODBUS_SENSOR_CONFIGS_KEY           "c"
#define MODBUS_SENSOR_ALIAS_CONFIGS_KEY     "ac"

#define MODBUS_PARAM_ID_KEY                 "i"
#define MODBUS_PARAM_FUNCTION_KEY           "f"
#define MODBUS_PARAM_REGISTER_KEY           "s"
#define MODBUS_PARAM_LENGTH_KEY             "l"
#define MODBUS_PARAM_REG1_KEY               "s2"
#define MODBUS_PARAM_REG2_KEY               "s3"
#define MODBUS_PARAM_LEN1_KEY               "l2"
#define MODBUS_PARAM_LEN2_KEY               "l3"
#define MODBUS_PARAM_EXTRA_KEY              "e"
#define MODBUS_PARAM_CONFIG_ID_KEY          "c"
#define MODBUS_PARAM_SCALE_KEY              "s4"
#define MODBUS_PARAM_SCALE_WRITE_KEY        "sw"
#define MODBUS_PARAM_TRANSFORMER_KEY        "t"
#define MODBUS_PARAM_AI_MAX_VALUE           "atmv"
#define MODBUS_PARAM_AI_MIN_VALUE           "atmv2"
#define MODBUS_PARAM_AI_RAW_MAX_VALUE       "atmri"
#define MODBUS_PARAM_AI_RAW_MIN_VALUE       "atmri2"

#define MODBUS_ACTION_ID_KEY                "i"
#define MODBUS_ACTION_KEY_KEY               "k"
#define MODBUS_ACTION_ITEMS_KEY             "ai"

#define MODBUS_ACTION_ITEM_ID_KEY           "i"
#define MODBUS_ACTION_ITEM_CONFIG_ID_KEY    "ci"
#define MODBUS_ACTION_ITEM_LENGTH_KEY       "l"
#define MODBUS_ACTION_ITEM_LEN1_KEY         "l2"
#define MODBUS_ACTION_ITEM_LEN2_KEY         "l3"
#define MODBUS_ACTION_ITEM_EXTRA_KEY        "e"
#define MODBUS_ACTION_ITEM_DELAY_KEY        "d"

#endif /* INC_ERA_PARSE_KEY_HPP_ */
