#include "device.h"
#include "cali.h"

#define BITMAP_GAS_ADDR  (0x080A0000)
#define BITMAP_MAIN_ADDR (BITMAP_GAS_ADDR + 20 * 1024 * 4)

#define OFFSET_MAIN (0x0000 * 2)
#define OFFSET_GAS1 (0x0100 * 2)
#define OFFSET_GAS2 (0x0200 * 2)
#define OFFSET_GAS3 (0x0300 * 2)
#define OFFSET_GAS4 (0x0400 * 2)
#define OFFSET_DATA (0x0500 * 2)
#define OFFSET_STAT (0x0600 * 2)

const struct bitmap_main_s * const bitmap_main = (struct bitmap_main_s *)BITMAP_MAIN_ADDR;
const struct bitmap_gas_s (* const bitmap_gas)[4] = (struct bitmap_gas_s (*)[4])BITMAP_GAS_ADDR;
struct device_data_s device_data __attribute__((section(".bss_ccm")));
struct device_status_s device_status;
struct flag_s flag __attribute__((section(".bss_ccm")));

const uint8_t num_tab_ro[] = {
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
    0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F,
    0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F,
    0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F,
    0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F,
    0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F,
    0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F,
    0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F,
    0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
    0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9A, 0x9B, 0x9C, 0x9D, 0x9E, 0x9F,
    0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
    0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7, 0xB8, 0xB9, 0xBA, 0xBB, 0xBC, 0xBD, 0xBE, 0xBF,
    0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF,
    0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF,
    0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
    0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
};

const uint8_t * const modbus_map_ro[] = {
    [OFFSET_MAIN + 0] = bitmap_main->bitmap_version + 0,
    [OFFSET_MAIN + 1] = bitmap_main->bitmap_version + 1,
    [OFFSET_MAIN + 2] = bitmap_main->bitmap_version + 2,
    [OFFSET_MAIN + 3] = bitmap_main->bitmap_version + 3,
    [OFFSET_MAIN + 4] = (uint8_t *)(&bitmap_main->sensor_type_id) + 3,
    [OFFSET_MAIN + 5] = (uint8_t *)(&bitmap_main->sensor_type_id) + 2,
    [OFFSET_MAIN + 6] = (uint8_t *)(&bitmap_main->sensor_type_id) + 1,
    [OFFSET_MAIN + 7] = (uint8_t *)(&bitmap_main->sensor_type_id) + 0,
    [OFFSET_MAIN + 8] = bitmap_main->sn + 0,
    [OFFSET_MAIN + 9] = bitmap_main->sn + 1,
    [OFFSET_MAIN + 10] = bitmap_main->sn + 2,
    [OFFSET_MAIN + 11] = bitmap_main->sn + 3,
    [OFFSET_MAIN + 12] = bitmap_main->sn + 4,
    [OFFSET_MAIN + 13] = bitmap_main->sn + 5,
    [OFFSET_MAIN + 14] = bitmap_main->sn + 6,
    [OFFSET_MAIN + 15] = bitmap_main->sn + 7,
    [OFFSET_MAIN + 16] = bitmap_main->sn + 8,
    [OFFSET_MAIN + 17] = bitmap_main->sn + 9,
    [OFFSET_MAIN + 18] = bitmap_main->sn + 10,
    [OFFSET_MAIN + 19] = bitmap_main->sn + 11,
    [OFFSET_MAIN + 20] = bitmap_main->sn + 12,
    [OFFSET_MAIN + 21] = bitmap_main->sn + 13,
    [OFFSET_MAIN + 22] = bitmap_main->sn + 14,
    [OFFSET_MAIN + 23] = bitmap_main->sn + 15,
    [OFFSET_MAIN + 24] = bitmap_main->produce_date + 0,
    [OFFSET_MAIN + 25] = bitmap_main->produce_date + 1,
    [OFFSET_MAIN + 26] = bitmap_main->produce_date + 2,
    [OFFSET_MAIN + 27] = bitmap_main->produce_date + 3,
    [OFFSET_MAIN + 28] = bitmap_main->produce_date + 4,
    [OFFSET_MAIN + 29] = bitmap_main->produce_date + 5,
    [OFFSET_MAIN + 30] = bitmap_main->produce_date + 6,
    [OFFSET_MAIN + 31] = bitmap_main->produce_date + 7,
    [OFFSET_MAIN + 32] = bitmap_main->expire_date + 0,
    [OFFSET_MAIN + 33] = bitmap_main->expire_date + 1,
    [OFFSET_MAIN + 34] = bitmap_main->expire_date + 2,
    [OFFSET_MAIN + 35] = bitmap_main->expire_date + 3,
    [OFFSET_MAIN + 36] = bitmap_main->expire_date + 4,
    [OFFSET_MAIN + 37] = bitmap_main->expire_date + 5,
    [OFFSET_MAIN + 38] = bitmap_main->expire_date + 6,
    [OFFSET_MAIN + 39] = bitmap_main->expire_date + 7,
    [OFFSET_MAIN + 40] = bitmap_main->manu_cali_date + 0,
    [OFFSET_MAIN + 41] = bitmap_main->manu_cali_date + 1,
    [OFFSET_MAIN + 42] = bitmap_main->manu_cali_date + 2,
    [OFFSET_MAIN + 43] = bitmap_main->manu_cali_date + 3,
    [OFFSET_MAIN + 44] = bitmap_main->manu_cali_date + 4,
    [OFFSET_MAIN + 45] = bitmap_main->manu_cali_date + 5,
    [OFFSET_MAIN + 46] = bitmap_main->manu_cali_date + 6,
    [OFFSET_MAIN + 47] = bitmap_main->manu_cali_date + 7,
    [OFFSET_MAIN + 48] = bitmap_main->user_cali_date + 0,
    [OFFSET_MAIN + 49] = bitmap_main->user_cali_date + 1,
    [OFFSET_MAIN + 50] = bitmap_main->user_cali_date + 2,
    [OFFSET_MAIN + 51] = bitmap_main->user_cali_date + 3,
    [OFFSET_MAIN + 52] = bitmap_main->user_cali_date + 4,
    [OFFSET_MAIN + 53] = bitmap_main->user_cali_date + 5,
    [OFFSET_MAIN + 54] = bitmap_main->user_cali_date + 6,
    [OFFSET_MAIN + 55] = bitmap_main->user_cali_date + 7,
    [OFFSET_MAIN + 56] = (uint8_t *)(&bitmap_main->ir_source_freq) + 3,
    [OFFSET_MAIN + 57] = (uint8_t *)(&bitmap_main->ir_source_freq) + 2,
    [OFFSET_MAIN + 58] = (uint8_t *)(&bitmap_main->ir_source_freq) + 1,
    [OFFSET_MAIN + 59] = (uint8_t *)(&bitmap_main->ir_source_freq) + 0,
    [OFFSET_MAIN + 60] = (uint8_t *)(&bitmap_main->gasn_avail_bitmap) + 3,
    [OFFSET_MAIN + 61] = (uint8_t *)(&bitmap_main->gasn_avail_bitmap) + 2,
    [OFFSET_MAIN + 62] = (uint8_t *)(&bitmap_main->gasn_avail_bitmap) + 1,
    [OFFSET_MAIN + 63] = (uint8_t *)(&bitmap_main->gasn_avail_bitmap) + 0,
    [OFFSET_MAIN + 64] = (uint8_t *)(&flag.gas_fault) + 3,
    [OFFSET_MAIN + 65] = (uint8_t *)(&flag.gas_fault) + 2,
    [OFFSET_MAIN + 66] = (uint8_t *)(&flag.gas_fault) + 1,
    [OFFSET_MAIN + 67] = (uint8_t *)(&flag.gas_fault) + 0,
    [(OFFSET_MAIN + 68) ... (OFFSET_MAIN + 511)] = num_tab_ro + 0,

    [OFFSET_GAS1 + 0] = (uint8_t *)(&bitmap_main->gas1_sub_id) + 3,
    [OFFSET_GAS1 + 1] = (uint8_t *)(&bitmap_main->gas1_sub_id) + 2,
    [OFFSET_GAS1 + 2] = (uint8_t *)(&bitmap_main->gas1_sub_id) + 1,
    [OFFSET_GAS1 + 3] = (uint8_t *)(&bitmap_main->gas1_sub_id) + 0,
    [OFFSET_GAS1 + 4] = bitmap_main->gas1_gas_name + 0,
    [OFFSET_GAS1 + 5] = bitmap_main->gas1_gas_name + 1,
    [OFFSET_GAS1 + 6] = bitmap_main->gas1_gas_name + 2,
    [OFFSET_GAS1 + 7] = bitmap_main->gas1_gas_name + 3,
    [OFFSET_GAS1 + 8] = bitmap_main->gas1_gas_name + 4,
    [OFFSET_GAS1 + 9] = bitmap_main->gas1_gas_name + 5,
    [OFFSET_GAS1 + 10] = bitmap_main->gas1_gas_name + 6,
    [OFFSET_GAS1 + 11] = bitmap_main->gas1_gas_name + 7,
    [OFFSET_GAS1 + 12] = bitmap_main->gas1_gas_name + 8,
    [OFFSET_GAS1 + 13] = bitmap_main->gas1_gas_name + 9,
    [OFFSET_GAS1 + 14] = bitmap_main->gas1_gas_name + 10,
    [OFFSET_GAS1 + 15] = bitmap_main->gas1_gas_name + 11,
    [OFFSET_GAS1 + 16] = (uint8_t *)(&bitmap_main->gas1_unit_code) + 3,
    [OFFSET_GAS1 + 17] = (uint8_t *)(&bitmap_main->gas1_unit_code) + 2,
    [OFFSET_GAS1 + 18] = (uint8_t *)(&bitmap_main->gas1_unit_code) + 1,
    [OFFSET_GAS1 + 19] = (uint8_t *)(&bitmap_main->gas1_unit_code) + 0,
    [OFFSET_GAS1 + 20] = bitmap_main->gas1_unit_name + 0,
    [OFFSET_GAS1 + 21] = bitmap_main->gas1_unit_name + 1,
    [OFFSET_GAS1 + 22] = bitmap_main->gas1_unit_name + 2,
    [OFFSET_GAS1 + 23] = bitmap_main->gas1_unit_name + 3,
    [OFFSET_GAS1 + 24] = bitmap_main->gas1_unit_name + 4,
    [OFFSET_GAS1 + 25] = bitmap_main->gas1_unit_name + 5,
    [OFFSET_GAS1 + 26] = bitmap_main->gas1_unit_name + 6,
    [OFFSET_GAS1 + 27] = bitmap_main->gas1_unit_name + 7,
    [OFFSET_GAS1 + 28] = (uint8_t *)&((*bitmap_gas)[0].head.range1) + 3,
    [OFFSET_GAS1 + 29] = (uint8_t *)&((*bitmap_gas)[0].head.range1) + 2,
    [OFFSET_GAS1 + 30] = (uint8_t *)&((*bitmap_gas)[0].head.range1) + 1,
    [OFFSET_GAS1 + 31] = (uint8_t *)&((*bitmap_gas)[0].head.range1) + 0,
    [OFFSET_GAS1 + 32] = (uint8_t *)&((*bitmap_gas)[0].head.range2) + 3,
    [OFFSET_GAS1 + 33] = (uint8_t *)&((*bitmap_gas)[0].head.range2) + 2,
    [OFFSET_GAS1 + 34] = (uint8_t *)&((*bitmap_gas)[0].head.range2) + 1,
    [OFFSET_GAS1 + 35] = (uint8_t *)&((*bitmap_gas)[0].head.range2) + 0,
    [OFFSET_GAS1 + 36] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit1) + 3,
    [OFFSET_GAS1 + 37] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit1) + 2,
    [OFFSET_GAS1 + 38] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit1) + 1,
    [OFFSET_GAS1 + 39] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit1) + 0,
    [OFFSET_GAS1 + 40] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit2) + 3,
    [OFFSET_GAS1 + 41] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit2) + 2,
    [OFFSET_GAS1 + 42] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit2) + 1,
    [OFFSET_GAS1 + 43] = (uint8_t *)&((*bitmap_gas)[0].head.alarm_limit2) + 0,
    [OFFSET_GAS1 + 44] = (uint8_t *)&((*bitmap_gas)[0].head.stel_limit) + 3,
    [OFFSET_GAS1 + 45] = (uint8_t *)&((*bitmap_gas)[0].head.stel_limit) + 2,
    [OFFSET_GAS1 + 46] = (uint8_t *)&((*bitmap_gas)[0].head.stel_limit) + 1,
    [OFFSET_GAS1 + 47] = (uint8_t *)&((*bitmap_gas)[0].head.stel_limit) + 0,
    [OFFSET_GAS1 + 48] = (uint8_t *)&((*bitmap_gas)[0].head.twa_limit) + 3,
    [OFFSET_GAS1 + 49] = (uint8_t *)&((*bitmap_gas)[0].head.twa_limit) + 2,
    [OFFSET_GAS1 + 50] = (uint8_t *)&((*bitmap_gas)[0].head.twa_limit) + 1,
    [OFFSET_GAS1 + 51] = (uint8_t *)&((*bitmap_gas)[0].head.twa_limit) + 0,
    [OFFSET_GAS1 + 52] = (uint8_t *)&((*bitmap_gas)[0].head.signal_polarity) + 3,
    [OFFSET_GAS1 + 53] = (uint8_t *)&((*bitmap_gas)[0].head.signal_polarity) + 2,
    [OFFSET_GAS1 + 54] = (uint8_t *)&((*bitmap_gas)[0].head.signal_polarity) + 1,
    [OFFSET_GAS1 + 55] = (uint8_t *)&((*bitmap_gas)[0].head.signal_polarity) + 0,
    [OFFSET_GAS1 + 56] = (uint8_t *)&((*bitmap_gas)[0].head.drift_limit) + 3,
    [OFFSET_GAS1 + 57] = (uint8_t *)&((*bitmap_gas)[0].head.drift_limit) + 2,
    [OFFSET_GAS1 + 58] = (uint8_t *)&((*bitmap_gas)[0].head.drift_limit) + 1,
    [OFFSET_GAS1 + 59] = (uint8_t *)&((*bitmap_gas)[0].head.drift_limit) + 0,
    [OFFSET_GAS1 + 60] = (uint8_t *)&((*bitmap_gas)[0].head.reading_divide_factor) + 3,
    [OFFSET_GAS1 + 61] = (uint8_t *)&((*bitmap_gas)[0].head.reading_divide_factor) + 2,
    [OFFSET_GAS1 + 62] = (uint8_t *)&((*bitmap_gas)[0].head.reading_divide_factor) + 1,
    [OFFSET_GAS1 + 63] = (uint8_t *)&((*bitmap_gas)[0].head.reading_divide_factor) + 0,
    [OFFSET_GAS1 + 64] = (uint8_t *)&((*bitmap_gas)[0].head.display_resolution) + 3,
    [OFFSET_GAS1 + 65] = (uint8_t *)&((*bitmap_gas)[0].head.display_resolution) + 2,
    [OFFSET_GAS1 + 66] = (uint8_t *)&((*bitmap_gas)[0].head.display_resolution) + 1,
    [OFFSET_GAS1 + 67] = (uint8_t *)&((*bitmap_gas)[0].head.display_resolution) + 0,
    [OFFSET_GAS1 + 68] = (uint8_t *)&((*bitmap_gas)[0].head.decimal_point) + 3,
    [OFFSET_GAS1 + 69] = (uint8_t *)&((*bitmap_gas)[0].head.decimal_point) + 2,
    [OFFSET_GAS1 + 70] = (uint8_t *)&((*bitmap_gas)[0].head.decimal_point) + 1,
    [OFFSET_GAS1 + 71] = (uint8_t *)&((*bitmap_gas)[0].head.decimal_point) + 0,
    [OFFSET_GAS1 + 72] = (uint8_t *)&((*bitmap_gas)[0].head.cali_type) + 3,
    [OFFSET_GAS1 + 73] = (uint8_t *)&((*bitmap_gas)[0].head.cali_type) + 2,
    [OFFSET_GAS1 + 74] = (uint8_t *)&((*bitmap_gas)[0].head.cali_type) + 1,
    [OFFSET_GAS1 + 75] = (uint8_t *)&((*bitmap_gas)[0].head.cali_type) + 0,
    [OFFSET_GAS1 + 76] = (uint8_t *)&((*bitmap_gas)[0].head.min_cali_value) + 3,
    [OFFSET_GAS1 + 77] = (uint8_t *)&((*bitmap_gas)[0].head.min_cali_value) + 2,
    [OFFSET_GAS1 + 78] = (uint8_t *)&((*bitmap_gas)[0].head.min_cali_value) + 1,
    [OFFSET_GAS1 + 79] = (uint8_t *)&((*bitmap_gas)[0].head.min_cali_value) + 0,
    [OFFSET_GAS1 + 80] = (uint8_t *)&((*bitmap_gas)[0].head.warmup_time) + 3,
    [OFFSET_GAS1 + 81] = (uint8_t *)&((*bitmap_gas)[0].head.warmup_time) + 2,
    [OFFSET_GAS1 + 82] = (uint8_t *)&((*bitmap_gas)[0].head.warmup_time) + 1,
    [OFFSET_GAS1 + 83] = (uint8_t *)&((*bitmap_gas)[0].head.warmup_time) + 0,
    [OFFSET_GAS1 + 84] = (uint8_t *)&((*bitmap_gas)[0].user_cali.avail_bitmap) + 3,
    [OFFSET_GAS1 + 85] = (uint8_t *)&((*bitmap_gas)[0].user_cali.avail_bitmap) + 2,
    [OFFSET_GAS1 + 86] = (uint8_t *)&((*bitmap_gas)[0].user_cali.avail_bitmap) + 1,
    [OFFSET_GAS1 + 87] = (uint8_t *)&((*bitmap_gas)[0].user_cali.avail_bitmap) + 0,
    [OFFSET_GAS1 + 88] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[0]) + 3,
    [OFFSET_GAS1 + 89] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[0]) + 2,
    [OFFSET_GAS1 + 90] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[0]) + 1,
    [OFFSET_GAS1 + 91] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[0]) + 0,
    [OFFSET_GAS1 + 92] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[1]) + 3,
    [OFFSET_GAS1 + 93] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[1]) + 2,
    [OFFSET_GAS1 + 94] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[1]) + 1,
    [OFFSET_GAS1 + 95] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[1]) + 0,
    [OFFSET_GAS1 + 96] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[2]) + 3,
    [OFFSET_GAS1 + 97] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[2]) + 2,
    [OFFSET_GAS1 + 98] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[2]) + 1,
    [OFFSET_GAS1 + 99] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[2]) + 0,
    [OFFSET_GAS1 + 100] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[3]) + 3,
    [OFFSET_GAS1 + 101] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[3]) + 2,
    [OFFSET_GAS1 + 102] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[3]) + 1,
    [OFFSET_GAS1 + 103] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[3]) + 0,
    [OFFSET_GAS1 + 104] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[4]) + 3,
    [OFFSET_GAS1 + 105] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[4]) + 2,
    [OFFSET_GAS1 + 106] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[4]) + 1,
    [OFFSET_GAS1 + 107] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[4]) + 0,
    [OFFSET_GAS1 + 108] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[5]) + 3,
    [OFFSET_GAS1 + 109] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[5]) + 2,
    [OFFSET_GAS1 + 110] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[5]) + 1,
    [OFFSET_GAS1 + 111] = (uint8_t *)&((*bitmap_gas)[0].user_cali.zero_data[5]) + 0,
    [OFFSET_GAS1 + 112] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][0]) + 3,
    [OFFSET_GAS1 + 113] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][0]) + 2,
    [OFFSET_GAS1 + 114] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][0]) + 1,
    [OFFSET_GAS1 + 115] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][0]) + 0,
    [OFFSET_GAS1 + 116] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][1]) + 3,
    [OFFSET_GAS1 + 117] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][1]) + 2,
    [OFFSET_GAS1 + 118] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][1]) + 1,
    [OFFSET_GAS1 + 119] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][1]) + 0,
    [OFFSET_GAS1 + 120] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][2]) + 3,
    [OFFSET_GAS1 + 121] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][2]) + 2,
    [OFFSET_GAS1 + 122] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][2]) + 1,
    [OFFSET_GAS1 + 123] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][2]) + 0,
    [OFFSET_GAS1 + 124] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][3]) + 3,
    [OFFSET_GAS1 + 125] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][3]) + 2,
    [OFFSET_GAS1 + 126] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][3]) + 1,
    [OFFSET_GAS1 + 127] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][3]) + 0,
    [OFFSET_GAS1 + 128] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][4]) + 3,
    [OFFSET_GAS1 + 129] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][4]) + 2,
    [OFFSET_GAS1 + 130] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][4]) + 1,
    [OFFSET_GAS1 + 131] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][4]) + 0,
    [OFFSET_GAS1 + 132] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][5]) + 3,
    [OFFSET_GAS1 + 133] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][5]) + 2,
    [OFFSET_GAS1 + 134] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][5]) + 1,
    [OFFSET_GAS1 + 135] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][5]) + 0,
    [OFFSET_GAS1 + 136] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][6]) + 3,
    [OFFSET_GAS1 + 137] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][6]) + 2,
    [OFFSET_GAS1 + 138] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][6]) + 1,
    [OFFSET_GAS1 + 139] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[0][6]) + 0,
    [OFFSET_GAS1 + 140] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][0]) + 3,
    [OFFSET_GAS1 + 141] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][0]) + 2,
    [OFFSET_GAS1 + 142] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][0]) + 1,
    [OFFSET_GAS1 + 143] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][0]) + 0,
    [OFFSET_GAS1 + 144] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][1]) + 3,
    [OFFSET_GAS1 + 145] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][1]) + 2,
    [OFFSET_GAS1 + 146] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][1]) + 1,
    [OFFSET_GAS1 + 147] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][1]) + 0,
    [OFFSET_GAS1 + 148] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][2]) + 3,
    [OFFSET_GAS1 + 149] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][2]) + 2,
    [OFFSET_GAS1 + 150] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][2]) + 1,
    [OFFSET_GAS1 + 151] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][2]) + 0,
    [OFFSET_GAS1 + 152] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][3]) + 3,
    [OFFSET_GAS1 + 153] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][3]) + 2,
    [OFFSET_GAS1 + 154] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][3]) + 1,
    [OFFSET_GAS1 + 155] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][3]) + 0,
    [OFFSET_GAS1 + 156] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][4]) + 3,
    [OFFSET_GAS1 + 157] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][4]) + 2,
    [OFFSET_GAS1 + 158] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][4]) + 1,
    [OFFSET_GAS1 + 159] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][4]) + 0,
    [OFFSET_GAS1 + 160] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][5]) + 3,
    [OFFSET_GAS1 + 161] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][5]) + 2,
    [OFFSET_GAS1 + 162] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][5]) + 1,
    [OFFSET_GAS1 + 163] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][5]) + 0,
    [OFFSET_GAS1 + 164] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][6]) + 3,
    [OFFSET_GAS1 + 165] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][6]) + 2,
    [OFFSET_GAS1 + 166] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][6]) + 1,
    [OFFSET_GAS1 + 167] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[1][6]) + 0,
    [OFFSET_GAS1 + 168] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][0]) + 3,
    [OFFSET_GAS1 + 169] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][0]) + 2,
    [OFFSET_GAS1 + 170] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][0]) + 1,
    [OFFSET_GAS1 + 171] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][0]) + 0,
    [OFFSET_GAS1 + 172] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][1]) + 3,
    [OFFSET_GAS1 + 173] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][1]) + 2,
    [OFFSET_GAS1 + 174] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][1]) + 1,
    [OFFSET_GAS1 + 175] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][1]) + 0,
    [OFFSET_GAS1 + 176] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][2]) + 3,
    [OFFSET_GAS1 + 177] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][2]) + 2,
    [OFFSET_GAS1 + 178] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][2]) + 1,
    [OFFSET_GAS1 + 179] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][2]) + 0,
    [OFFSET_GAS1 + 180] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][3]) + 3,
    [OFFSET_GAS1 + 181] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][3]) + 2,
    [OFFSET_GAS1 + 182] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][3]) + 1,
    [OFFSET_GAS1 + 183] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][3]) + 0,
    [OFFSET_GAS1 + 184] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][4]) + 3,
    [OFFSET_GAS1 + 185] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][4]) + 2,
    [OFFSET_GAS1 + 186] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][4]) + 1,
    [OFFSET_GAS1 + 187] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][4]) + 0,
    [OFFSET_GAS1 + 188] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][5]) + 3,
    [OFFSET_GAS1 + 189] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][5]) + 2,
    [OFFSET_GAS1 + 190] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][5]) + 1,
    [OFFSET_GAS1 + 191] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][5]) + 0,
    [OFFSET_GAS1 + 192] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][6]) + 3,
    [OFFSET_GAS1 + 193] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][6]) + 2,
    [OFFSET_GAS1 + 194] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][6]) + 1,
    [OFFSET_GAS1 + 195] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[2][6]) + 0,
    [OFFSET_GAS1 + 196] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][0]) + 3,
    [OFFSET_GAS1 + 197] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][0]) + 2,
    [OFFSET_GAS1 + 198] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][0]) + 1,
    [OFFSET_GAS1 + 199] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][0]) + 0,
    [OFFSET_GAS1 + 200] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][1]) + 3,
    [OFFSET_GAS1 + 201] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][1]) + 2,
    [OFFSET_GAS1 + 202] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][1]) + 1,
    [OFFSET_GAS1 + 203] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][1]) + 0,
    [OFFSET_GAS1 + 204] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][2]) + 3,
    [OFFSET_GAS1 + 205] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][2]) + 2,
    [OFFSET_GAS1 + 206] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][2]) + 1,
    [OFFSET_GAS1 + 207] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][2]) + 0,
    [OFFSET_GAS1 + 208] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][3]) + 3,
    [OFFSET_GAS1 + 209] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][3]) + 2,
    [OFFSET_GAS1 + 210] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][3]) + 1,
    [OFFSET_GAS1 + 211] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][3]) + 0,
    [OFFSET_GAS1 + 212] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][4]) + 3,
    [OFFSET_GAS1 + 213] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][4]) + 2,
    [OFFSET_GAS1 + 214] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][4]) + 1,
    [OFFSET_GAS1 + 215] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][4]) + 0,
    [OFFSET_GAS1 + 216] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][5]) + 3,
    [OFFSET_GAS1 + 217] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][5]) + 2,
    [OFFSET_GAS1 + 218] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][5]) + 1,
    [OFFSET_GAS1 + 219] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][5]) + 0,
    [OFFSET_GAS1 + 220] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][6]) + 3,
    [OFFSET_GAS1 + 221] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][6]) + 2,
    [OFFSET_GAS1 + 222] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][6]) + 1,
    [OFFSET_GAS1 + 223] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[3][6]) + 0,
    [OFFSET_GAS1 + 224] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][0]) + 3,
    [OFFSET_GAS1 + 225] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][0]) + 2,
    [OFFSET_GAS1 + 226] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][0]) + 1,
    [OFFSET_GAS1 + 227] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][0]) + 0,
    [OFFSET_GAS1 + 228] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][1]) + 3,
    [OFFSET_GAS1 + 229] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][1]) + 2,
    [OFFSET_GAS1 + 230] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][1]) + 1,
    [OFFSET_GAS1 + 231] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][1]) + 0,
    [OFFSET_GAS1 + 232] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][2]) + 3,
    [OFFSET_GAS1 + 233] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][2]) + 2,
    [OFFSET_GAS1 + 234] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][2]) + 1,
    [OFFSET_GAS1 + 235] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][2]) + 0,
    [OFFSET_GAS1 + 236] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][3]) + 3,
    [OFFSET_GAS1 + 237] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][3]) + 2,
    [OFFSET_GAS1 + 238] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][3]) + 1,
    [OFFSET_GAS1 + 239] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][3]) + 0,
    [OFFSET_GAS1 + 240] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][4]) + 3,
    [OFFSET_GAS1 + 241] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][4]) + 2,
    [OFFSET_GAS1 + 242] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][4]) + 1,
    [OFFSET_GAS1 + 243] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][4]) + 0,
    [OFFSET_GAS1 + 244] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][5]) + 3,
    [OFFSET_GAS1 + 245] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][5]) + 2,
    [OFFSET_GAS1 + 246] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][5]) + 1,
    [OFFSET_GAS1 + 247] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][5]) + 0,
    [OFFSET_GAS1 + 248] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][6]) + 3,
    [OFFSET_GAS1 + 249] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][6]) + 2,
    [OFFSET_GAS1 + 250] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][6]) + 1,
    [OFFSET_GAS1 + 251] = (uint8_t *)&((*bitmap_gas)[0].user_cali.span_data[4][6]) + 0,
    [(OFFSET_GAS1 + 252) ... (OFFSET_GAS1 + 511)] = num_tab_ro + 0,

    [OFFSET_GAS2 + 0] = (uint8_t *)(&bitmap_main->gas2_sub_id) + 3,
    [OFFSET_GAS2 + 1] = (uint8_t *)(&bitmap_main->gas2_sub_id) + 2,
    [OFFSET_GAS2 + 2] = (uint8_t *)(&bitmap_main->gas2_sub_id) + 1,
    [OFFSET_GAS2 + 3] = (uint8_t *)(&bitmap_main->gas2_sub_id) + 0,
    [OFFSET_GAS2 + 4] = bitmap_main->gas2_gas_name + 0,
    [OFFSET_GAS2 + 5] = bitmap_main->gas2_gas_name + 1,
    [OFFSET_GAS2 + 6] = bitmap_main->gas2_gas_name + 2,
    [OFFSET_GAS2 + 7] = bitmap_main->gas2_gas_name + 3,
    [OFFSET_GAS2 + 8] = bitmap_main->gas2_gas_name + 4,
    [OFFSET_GAS2 + 9] = bitmap_main->gas2_gas_name + 5,
    [OFFSET_GAS2 + 10] = bitmap_main->gas2_gas_name + 6,
    [OFFSET_GAS2 + 11] = bitmap_main->gas2_gas_name + 7,
    [OFFSET_GAS2 + 12] = bitmap_main->gas2_gas_name + 8,
    [OFFSET_GAS2 + 13] = bitmap_main->gas2_gas_name + 9,
    [OFFSET_GAS2 + 14] = bitmap_main->gas2_gas_name + 10,
    [OFFSET_GAS2 + 15] = bitmap_main->gas2_gas_name + 11,
    [OFFSET_GAS2 + 16] = (uint8_t *)(&bitmap_main->gas2_unit_code) + 3,
    [OFFSET_GAS2 + 17] = (uint8_t *)(&bitmap_main->gas2_unit_code) + 2,
    [OFFSET_GAS2 + 18] = (uint8_t *)(&bitmap_main->gas2_unit_code) + 1,
    [OFFSET_GAS2 + 19] = (uint8_t *)(&bitmap_main->gas2_unit_code) + 0,
    [OFFSET_GAS2 + 20] = bitmap_main->gas2_unit_name + 0,
    [OFFSET_GAS2 + 21] = bitmap_main->gas2_unit_name + 1,
    [OFFSET_GAS2 + 22] = bitmap_main->gas2_unit_name + 2,
    [OFFSET_GAS2 + 23] = bitmap_main->gas2_unit_name + 3,
    [OFFSET_GAS2 + 24] = bitmap_main->gas2_unit_name + 4,
    [OFFSET_GAS2 + 25] = bitmap_main->gas2_unit_name + 5,
    [OFFSET_GAS2 + 26] = bitmap_main->gas2_unit_name + 6,
    [OFFSET_GAS2 + 27] = bitmap_main->gas2_unit_name + 7,
    [OFFSET_GAS2 + 28] = (uint8_t *)&((*bitmap_gas)[1].head.range1) + 3,
    [OFFSET_GAS2 + 29] = (uint8_t *)&((*bitmap_gas)[1].head.range1) + 2,
    [OFFSET_GAS2 + 30] = (uint8_t *)&((*bitmap_gas)[1].head.range1) + 1,
    [OFFSET_GAS2 + 31] = (uint8_t *)&((*bitmap_gas)[1].head.range1) + 0,
    [OFFSET_GAS2 + 32] = (uint8_t *)&((*bitmap_gas)[1].head.range2) + 3,
    [OFFSET_GAS2 + 33] = (uint8_t *)&((*bitmap_gas)[1].head.range2) + 2,
    [OFFSET_GAS2 + 34] = (uint8_t *)&((*bitmap_gas)[1].head.range2) + 1,
    [OFFSET_GAS2 + 35] = (uint8_t *)&((*bitmap_gas)[1].head.range2) + 0,
    [OFFSET_GAS2 + 36] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit1) + 3,
    [OFFSET_GAS2 + 37] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit1) + 2,
    [OFFSET_GAS2 + 38] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit1) + 1,
    [OFFSET_GAS2 + 39] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit1) + 0,
    [OFFSET_GAS2 + 40] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit2) + 3,
    [OFFSET_GAS2 + 41] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit2) + 2,
    [OFFSET_GAS2 + 42] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit2) + 1,
    [OFFSET_GAS2 + 43] = (uint8_t *)&((*bitmap_gas)[1].head.alarm_limit2) + 0,
    [OFFSET_GAS2 + 44] = (uint8_t *)&((*bitmap_gas)[1].head.stel_limit) + 3,
    [OFFSET_GAS2 + 45] = (uint8_t *)&((*bitmap_gas)[1].head.stel_limit) + 2,
    [OFFSET_GAS2 + 46] = (uint8_t *)&((*bitmap_gas)[1].head.stel_limit) + 1,
    [OFFSET_GAS2 + 47] = (uint8_t *)&((*bitmap_gas)[1].head.stel_limit) + 0,
    [OFFSET_GAS2 + 48] = (uint8_t *)&((*bitmap_gas)[1].head.twa_limit) + 3,
    [OFFSET_GAS2 + 49] = (uint8_t *)&((*bitmap_gas)[1].head.twa_limit) + 2,
    [OFFSET_GAS2 + 50] = (uint8_t *)&((*bitmap_gas)[1].head.twa_limit) + 1,
    [OFFSET_GAS2 + 51] = (uint8_t *)&((*bitmap_gas)[1].head.twa_limit) + 0,
    [OFFSET_GAS2 + 52] = (uint8_t *)&((*bitmap_gas)[1].head.signal_polarity) + 3,
    [OFFSET_GAS2 + 53] = (uint8_t *)&((*bitmap_gas)[1].head.signal_polarity) + 2,
    [OFFSET_GAS2 + 54] = (uint8_t *)&((*bitmap_gas)[1].head.signal_polarity) + 1,
    [OFFSET_GAS2 + 55] = (uint8_t *)&((*bitmap_gas)[1].head.signal_polarity) + 0,
    [OFFSET_GAS2 + 56] = (uint8_t *)&((*bitmap_gas)[1].head.drift_limit) + 3,
    [OFFSET_GAS2 + 57] = (uint8_t *)&((*bitmap_gas)[1].head.drift_limit) + 2,
    [OFFSET_GAS2 + 58] = (uint8_t *)&((*bitmap_gas)[1].head.drift_limit) + 1,
    [OFFSET_GAS2 + 59] = (uint8_t *)&((*bitmap_gas)[1].head.drift_limit) + 0,
    [OFFSET_GAS2 + 60] = (uint8_t *)&((*bitmap_gas)[1].head.reading_divide_factor) + 3,
    [OFFSET_GAS2 + 61] = (uint8_t *)&((*bitmap_gas)[1].head.reading_divide_factor) + 2,
    [OFFSET_GAS2 + 62] = (uint8_t *)&((*bitmap_gas)[1].head.reading_divide_factor) + 1,
    [OFFSET_GAS2 + 63] = (uint8_t *)&((*bitmap_gas)[1].head.reading_divide_factor) + 0,
    [OFFSET_GAS2 + 64] = (uint8_t *)&((*bitmap_gas)[1].head.display_resolution) + 3,
    [OFFSET_GAS2 + 65] = (uint8_t *)&((*bitmap_gas)[1].head.display_resolution) + 2,
    [OFFSET_GAS2 + 66] = (uint8_t *)&((*bitmap_gas)[1].head.display_resolution) + 1,
    [OFFSET_GAS2 + 67] = (uint8_t *)&((*bitmap_gas)[1].head.display_resolution) + 0,
    [OFFSET_GAS2 + 68] = (uint8_t *)&((*bitmap_gas)[1].head.decimal_point) + 3,
    [OFFSET_GAS2 + 69] = (uint8_t *)&((*bitmap_gas)[1].head.decimal_point) + 2,
    [OFFSET_GAS2 + 70] = (uint8_t *)&((*bitmap_gas)[1].head.decimal_point) + 1,
    [OFFSET_GAS2 + 71] = (uint8_t *)&((*bitmap_gas)[1].head.decimal_point) + 0,
    [OFFSET_GAS2 + 72] = (uint8_t *)&((*bitmap_gas)[1].head.cali_type) + 3,
    [OFFSET_GAS2 + 73] = (uint8_t *)&((*bitmap_gas)[1].head.cali_type) + 2,
    [OFFSET_GAS2 + 74] = (uint8_t *)&((*bitmap_gas)[1].head.cali_type) + 1,
    [OFFSET_GAS2 + 75] = (uint8_t *)&((*bitmap_gas)[1].head.cali_type) + 0,
    [OFFSET_GAS2 + 76] = (uint8_t *)&((*bitmap_gas)[1].head.min_cali_value) + 3,
    [OFFSET_GAS2 + 77] = (uint8_t *)&((*bitmap_gas)[1].head.min_cali_value) + 2,
    [OFFSET_GAS2 + 78] = (uint8_t *)&((*bitmap_gas)[1].head.min_cali_value) + 1,
    [OFFSET_GAS2 + 79] = (uint8_t *)&((*bitmap_gas)[1].head.min_cali_value) + 0,
    [OFFSET_GAS2 + 80] = (uint8_t *)&((*bitmap_gas)[1].head.warmup_time) + 3,
    [OFFSET_GAS2 + 81] = (uint8_t *)&((*bitmap_gas)[1].head.warmup_time) + 2,
    [OFFSET_GAS2 + 82] = (uint8_t *)&((*bitmap_gas)[1].head.warmup_time) + 1,
    [OFFSET_GAS2 + 83] = (uint8_t *)&((*bitmap_gas)[1].head.warmup_time) + 0,
    // [OFFSET_GAS2 + 84] = (uint8_t *)&((*bitmap_gas)[1].user_cali.avail_bitmap) + 3,
    // [OFFSET_GAS2 + 85] = (uint8_t *)&((*bitmap_gas)[1].user_cali.avail_bitmap) + 2,
    // [OFFSET_GAS2 + 86] = (uint8_t *)&((*bitmap_gas)[1].user_cali.avail_bitmap) + 1,
    // [OFFSET_GAS2 + 87] = (uint8_t *)&((*bitmap_gas)[1].user_cali.avail_bitmap) + 0,
    // [OFFSET_GAS2 + 88] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[0]) + 3,
    // [OFFSET_GAS2 + 89] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[0]) + 2,
    // [OFFSET_GAS2 + 90] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[0]) + 1,
    // [OFFSET_GAS2 + 91] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[0]) + 0,
    // [OFFSET_GAS2 + 92] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[1]) + 3,
    // [OFFSET_GAS2 + 93] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[1]) + 2,
    // [OFFSET_GAS2 + 94] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[1]) + 1,
    // [OFFSET_GAS2 + 95] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[1]) + 0,
    // [OFFSET_GAS2 + 96] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[2]) + 3,
    // [OFFSET_GAS2 + 97] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[2]) + 2,
    // [OFFSET_GAS2 + 98] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[2]) + 1,
    // [OFFSET_GAS2 + 99] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[2]) + 0,
    [OFFSET_GAS2 + 84] = (uint8_t *)&(data_cali_ram.bitmap[0]) + 3,
    [OFFSET_GAS2 + 85] = (uint8_t *)&(data_cali_ram.bitmap[0]) + 2,
    [OFFSET_GAS2 + 86] = (uint8_t *)&(data_cali_ram.bitmap[0]) + 1,
    [OFFSET_GAS2 + 87] = (uint8_t *)&(data_cali_ram.bitmap[0]) + 0,
    [OFFSET_GAS2 + 88] = (uint8_t *)&(data_cali_ram.sig_zero[0]) + 3,
    [OFFSET_GAS2 + 89] = (uint8_t *)&(data_cali_ram.sig_zero[0]) + 2,
    [OFFSET_GAS2 + 90] = (uint8_t *)&(data_cali_ram.sig_zero[0]) + 1,
    [OFFSET_GAS2 + 91] = (uint8_t *)&(data_cali_ram.sig_zero[0]) + 0,
    [OFFSET_GAS2 + 92] = (uint8_t *)&(data_cali_ram.ref_zero[0]) + 3,
    [OFFSET_GAS2 + 93] = (uint8_t *)&(data_cali_ram.ref_zero[0]) + 2,
    [OFFSET_GAS2 + 94] = (uint8_t *)&(data_cali_ram.ref_zero[0]) + 1,
    [OFFSET_GAS2 + 95] = (uint8_t *)&(data_cali_ram.ref_zero[0]) + 0,
    [OFFSET_GAS2 + 96] = num_tab_ro + 0,
    [OFFSET_GAS2 + 97] = num_tab_ro + 0,
    [OFFSET_GAS2 + 98] = (uint8_t *)&(data_cali_ram.temperature_zero[0]) + 1,
    [OFFSET_GAS2 + 99] = (uint8_t *)&(data_cali_ram.temperature_zero[0]) + 0,
    [OFFSET_GAS2 + 100] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[3]) + 3,
    [OFFSET_GAS2 + 101] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[3]) + 2,
    [OFFSET_GAS2 + 102] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[3]) + 1,
    [OFFSET_GAS2 + 103] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[3]) + 0,
    [OFFSET_GAS2 + 104] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[4]) + 3,
    [OFFSET_GAS2 + 105] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[4]) + 2,
    [OFFSET_GAS2 + 106] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[4]) + 1,
    [OFFSET_GAS2 + 107] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[4]) + 0,
    [OFFSET_GAS2 + 108] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[5]) + 3,
    [OFFSET_GAS2 + 109] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[5]) + 2,
    [OFFSET_GAS2 + 110] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[5]) + 1,
    [OFFSET_GAS2 + 111] = (uint8_t *)&((*bitmap_gas)[1].user_cali.zero_data[5]) + 0,
    // [OFFSET_GAS2 + 112] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][0]) + 3,
    // [OFFSET_GAS2 + 113] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][0]) + 2,
    // [OFFSET_GAS2 + 114] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][0]) + 1,
    // [OFFSET_GAS2 + 115] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][0]) + 0,
    // [OFFSET_GAS2 + 116] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][1]) + 3,
    // [OFFSET_GAS2 + 117] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][1]) + 2,
    // [OFFSET_GAS2 + 118] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][1]) + 1,
    // [OFFSET_GAS2 + 119] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][1]) + 0,
    // [OFFSET_GAS2 + 120] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][2]) + 3,
    // [OFFSET_GAS2 + 121] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][2]) + 2,
    // [OFFSET_GAS2 + 122] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][2]) + 1,
    // [OFFSET_GAS2 + 123] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][2]) + 0,
    // [OFFSET_GAS2 + 124] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][3]) + 3,
    // [OFFSET_GAS2 + 125] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][3]) + 2,
    // [OFFSET_GAS2 + 126] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][3]) + 1,
    // [OFFSET_GAS2 + 127] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][3]) + 0,
    [OFFSET_GAS2 + 112] = (uint8_t *)(&(data_cali_ram.concentration[0])) + 3,
    [OFFSET_GAS2 + 113] = (uint8_t *)(&(data_cali_ram.concentration[0])) + 2,
    [OFFSET_GAS2 + 114] = (uint8_t *)(&(data_cali_ram.concentration[0])) + 1,
    [OFFSET_GAS2 + 115] = (uint8_t *)(&(data_cali_ram.concentration[0])) + 0,
    [OFFSET_GAS2 + 116] = (uint8_t *)(&(data_cali_ram.sig_span[0])) + 3,
    [OFFSET_GAS2 + 117] = (uint8_t *)(&(data_cali_ram.sig_span[0])) + 2,
    [OFFSET_GAS2 + 118] = (uint8_t *)(&(data_cali_ram.sig_span[0])) + 1,
    [OFFSET_GAS2 + 119] = (uint8_t *)(&(data_cali_ram.sig_span[0])) + 0,
    [OFFSET_GAS2 + 120] = (uint8_t *)(&(data_cali_ram.ref_span[0])) + 3,
    [OFFSET_GAS2 + 121] = (uint8_t *)(&(data_cali_ram.ref_span[0])) + 2,
    [OFFSET_GAS2 + 122] = (uint8_t *)(&(data_cali_ram.ref_span[0])) + 1,
    [OFFSET_GAS2 + 123] = (uint8_t *)(&(data_cali_ram.ref_span[0])) + 0,
    [OFFSET_GAS2 + 124] = num_tab_ro + 0,
    [OFFSET_GAS2 + 125] = num_tab_ro + 0,
    [OFFSET_GAS2 + 126] = (uint8_t *)(&(data_cali_ram.temperature_span[0])) + 1,
    [OFFSET_GAS2 + 127] = (uint8_t *)(&(data_cali_ram.temperature_span[0])) + 0,
    [OFFSET_GAS2 + 128] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][4]) + 3,
    [OFFSET_GAS2 + 129] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][4]) + 2,
    [OFFSET_GAS2 + 130] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][4]) + 1,
    [OFFSET_GAS2 + 131] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][4]) + 0,
    [OFFSET_GAS2 + 132] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][5]) + 3,
    [OFFSET_GAS2 + 133] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][5]) + 2,
    [OFFSET_GAS2 + 134] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][5]) + 1,
    [OFFSET_GAS2 + 135] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][5]) + 0,
    [OFFSET_GAS2 + 136] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][6]) + 3,
    [OFFSET_GAS2 + 137] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][6]) + 2,
    [OFFSET_GAS2 + 138] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][6]) + 1,
    [OFFSET_GAS2 + 139] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[0][6]) + 0,
    [OFFSET_GAS2 + 140] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][0]) + 3,
    [OFFSET_GAS2 + 141] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][0]) + 2,
    [OFFSET_GAS2 + 142] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][0]) + 1,
    [OFFSET_GAS2 + 143] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][0]) + 0,
    [OFFSET_GAS2 + 144] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][1]) + 3,
    [OFFSET_GAS2 + 145] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][1]) + 2,
    [OFFSET_GAS2 + 146] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][1]) + 1,
    [OFFSET_GAS2 + 147] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][1]) + 0,
    [OFFSET_GAS2 + 148] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][2]) + 3,
    [OFFSET_GAS2 + 149] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][2]) + 2,
    [OFFSET_GAS2 + 150] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][2]) + 1,
    [OFFSET_GAS2 + 151] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][2]) + 0,
    [OFFSET_GAS2 + 152] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][3]) + 3,
    [OFFSET_GAS2 + 153] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][3]) + 2,
    [OFFSET_GAS2 + 154] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][3]) + 1,
    [OFFSET_GAS2 + 155] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][3]) + 0,
    [OFFSET_GAS2 + 156] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][4]) + 3,
    [OFFSET_GAS2 + 157] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][4]) + 2,
    [OFFSET_GAS2 + 158] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][4]) + 1,
    [OFFSET_GAS2 + 159] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][4]) + 0,
    [OFFSET_GAS2 + 160] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][5]) + 3,
    [OFFSET_GAS2 + 161] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][5]) + 2,
    [OFFSET_GAS2 + 162] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][5]) + 1,
    [OFFSET_GAS2 + 163] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][5]) + 0,
    [OFFSET_GAS2 + 164] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][6]) + 3,
    [OFFSET_GAS2 + 165] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][6]) + 2,
    [OFFSET_GAS2 + 166] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][6]) + 1,
    [OFFSET_GAS2 + 167] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[1][6]) + 0,
    [OFFSET_GAS2 + 168] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][0]) + 3,
    [OFFSET_GAS2 + 169] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][0]) + 2,
    [OFFSET_GAS2 + 170] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][0]) + 1,
    [OFFSET_GAS2 + 171] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][0]) + 0,
    [OFFSET_GAS2 + 172] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][1]) + 3,
    [OFFSET_GAS2 + 173] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][1]) + 2,
    [OFFSET_GAS2 + 174] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][1]) + 1,
    [OFFSET_GAS2 + 175] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][1]) + 0,
    [OFFSET_GAS2 + 176] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][2]) + 3,
    [OFFSET_GAS2 + 177] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][2]) + 2,
    [OFFSET_GAS2 + 178] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][2]) + 1,
    [OFFSET_GAS2 + 179] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][2]) + 0,
    [OFFSET_GAS2 + 180] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][3]) + 3,
    [OFFSET_GAS2 + 181] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][3]) + 2,
    [OFFSET_GAS2 + 182] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][3]) + 1,
    [OFFSET_GAS2 + 183] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][3]) + 0,
    [OFFSET_GAS2 + 184] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][4]) + 3,
    [OFFSET_GAS2 + 185] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][4]) + 2,
    [OFFSET_GAS2 + 186] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][4]) + 1,
    [OFFSET_GAS2 + 187] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][4]) + 0,
    [OFFSET_GAS2 + 188] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][5]) + 3,
    [OFFSET_GAS2 + 189] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][5]) + 2,
    [OFFSET_GAS2 + 190] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][5]) + 1,
    [OFFSET_GAS2 + 191] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][5]) + 0,
    [OFFSET_GAS2 + 192] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][6]) + 3,
    [OFFSET_GAS2 + 193] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][6]) + 2,
    [OFFSET_GAS2 + 194] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][6]) + 1,
    [OFFSET_GAS2 + 195] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[2][6]) + 0,
    [OFFSET_GAS2 + 196] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][0]) + 3,
    [OFFSET_GAS2 + 197] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][0]) + 2,
    [OFFSET_GAS2 + 198] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][0]) + 1,
    [OFFSET_GAS2 + 199] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][0]) + 0,
    [OFFSET_GAS2 + 200] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][1]) + 3,
    [OFFSET_GAS2 + 201] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][1]) + 2,
    [OFFSET_GAS2 + 202] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][1]) + 1,
    [OFFSET_GAS2 + 203] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][1]) + 0,
    [OFFSET_GAS2 + 204] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][2]) + 3,
    [OFFSET_GAS2 + 205] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][2]) + 2,
    [OFFSET_GAS2 + 206] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][2]) + 1,
    [OFFSET_GAS2 + 207] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][2]) + 0,
    [OFFSET_GAS2 + 208] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][3]) + 3,
    [OFFSET_GAS2 + 209] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][3]) + 2,
    [OFFSET_GAS2 + 210] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][3]) + 1,
    [OFFSET_GAS2 + 211] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][3]) + 0,
    [OFFSET_GAS2 + 212] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][4]) + 3,
    [OFFSET_GAS2 + 213] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][4]) + 2,
    [OFFSET_GAS2 + 214] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][4]) + 1,
    [OFFSET_GAS2 + 215] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][4]) + 0,
    [OFFSET_GAS2 + 216] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][5]) + 3,
    [OFFSET_GAS2 + 217] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][5]) + 2,
    [OFFSET_GAS2 + 218] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][5]) + 1,
    [OFFSET_GAS2 + 219] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][5]) + 0,
    [OFFSET_GAS2 + 220] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][6]) + 3,
    [OFFSET_GAS2 + 221] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][6]) + 2,
    [OFFSET_GAS2 + 222] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][6]) + 1,
    [OFFSET_GAS2 + 223] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[3][6]) + 0,
    [OFFSET_GAS2 + 224] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][0]) + 3,
    [OFFSET_GAS2 + 225] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][0]) + 2,
    [OFFSET_GAS2 + 226] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][0]) + 1,
    [OFFSET_GAS2 + 227] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][0]) + 0,
    [OFFSET_GAS2 + 228] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][1]) + 3,
    [OFFSET_GAS2 + 229] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][1]) + 2,
    [OFFSET_GAS2 + 230] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][1]) + 1,
    [OFFSET_GAS2 + 231] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][1]) + 0,
    [OFFSET_GAS2 + 232] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][2]) + 3,
    [OFFSET_GAS2 + 233] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][2]) + 2,
    [OFFSET_GAS2 + 234] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][2]) + 1,
    [OFFSET_GAS2 + 235] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][2]) + 0,
    [OFFSET_GAS2 + 236] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][3]) + 3,
    [OFFSET_GAS2 + 237] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][3]) + 2,
    [OFFSET_GAS2 + 238] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][3]) + 1,
    [OFFSET_GAS2 + 239] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][3]) + 0,
    [OFFSET_GAS2 + 240] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][4]) + 3,
    [OFFSET_GAS2 + 241] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][4]) + 2,
    [OFFSET_GAS2 + 242] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][4]) + 1,
    [OFFSET_GAS2 + 243] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][4]) + 0,
    [OFFSET_GAS2 + 244] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][5]) + 3,
    [OFFSET_GAS2 + 245] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][5]) + 2,
    [OFFSET_GAS2 + 246] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][5]) + 1,
    [OFFSET_GAS2 + 247] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][5]) + 0,
    [OFFSET_GAS2 + 248] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][6]) + 3,
    [OFFSET_GAS2 + 249] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][6]) + 2,
    [OFFSET_GAS2 + 250] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][6]) + 1,
    [OFFSET_GAS2 + 251] = (uint8_t *)&((*bitmap_gas)[1].user_cali.span_data[4][6]) + 0,
    [(OFFSET_GAS2 + 252) ... (OFFSET_GAS2 + 511)] = num_tab_ro + 0,

    [OFFSET_GAS3 + 0] = (uint8_t *)(&bitmap_main->gas3_sub_id) + 3,
    [OFFSET_GAS3 + 1] = (uint8_t *)(&bitmap_main->gas3_sub_id) + 2,
    [OFFSET_GAS3 + 2] = (uint8_t *)(&bitmap_main->gas3_sub_id) + 1,
    [OFFSET_GAS3 + 3] = (uint8_t *)(&bitmap_main->gas3_sub_id) + 0,
    [OFFSET_GAS3 + 4] = bitmap_main->gas3_gas_name + 0,
    [OFFSET_GAS3 + 5] = bitmap_main->gas3_gas_name + 1,
    [OFFSET_GAS3 + 6] = bitmap_main->gas3_gas_name + 2,
    [OFFSET_GAS3 + 7] = bitmap_main->gas3_gas_name + 3,
    [OFFSET_GAS3 + 8] = bitmap_main->gas3_gas_name + 4,
    [OFFSET_GAS3 + 9] = bitmap_main->gas3_gas_name + 5,
    [OFFSET_GAS3 + 10] = bitmap_main->gas3_gas_name + 6,
    [OFFSET_GAS3 + 11] = bitmap_main->gas3_gas_name + 7,
    [OFFSET_GAS3 + 12] = bitmap_main->gas3_gas_name + 8,
    [OFFSET_GAS3 + 13] = bitmap_main->gas3_gas_name + 9,
    [OFFSET_GAS3 + 14] = bitmap_main->gas3_gas_name + 10,
    [OFFSET_GAS3 + 15] = bitmap_main->gas3_gas_name + 11,
    [OFFSET_GAS3 + 16] = (uint8_t *)(&bitmap_main->gas3_unit_code) + 3,
    [OFFSET_GAS3 + 17] = (uint8_t *)(&bitmap_main->gas3_unit_code) + 2,
    [OFFSET_GAS3 + 18] = (uint8_t *)(&bitmap_main->gas3_unit_code) + 1,
    [OFFSET_GAS3 + 19] = (uint8_t *)(&bitmap_main->gas3_unit_code) + 0,
    [OFFSET_GAS3 + 20] = bitmap_main->gas3_unit_name + 0,
    [OFFSET_GAS3 + 21] = bitmap_main->gas3_unit_name + 1,
    [OFFSET_GAS3 + 22] = bitmap_main->gas3_unit_name + 2,
    [OFFSET_GAS3 + 23] = bitmap_main->gas3_unit_name + 3,
    [OFFSET_GAS3 + 24] = bitmap_main->gas3_unit_name + 4,
    [OFFSET_GAS3 + 25] = bitmap_main->gas3_unit_name + 5,
    [OFFSET_GAS3 + 26] = bitmap_main->gas3_unit_name + 6,
    [OFFSET_GAS3 + 27] = bitmap_main->gas3_unit_name + 7,
    [OFFSET_GAS3 + 28] = (uint8_t *)&((*bitmap_gas)[2].head.range1) + 3,
    [OFFSET_GAS3 + 29] = (uint8_t *)&((*bitmap_gas)[2].head.range1) + 2,
    [OFFSET_GAS3 + 30] = (uint8_t *)&((*bitmap_gas)[2].head.range1) + 1,
    [OFFSET_GAS3 + 31] = (uint8_t *)&((*bitmap_gas)[2].head.range1) + 0,
    [OFFSET_GAS3 + 32] = (uint8_t *)&((*bitmap_gas)[2].head.range2) + 3,
    [OFFSET_GAS3 + 33] = (uint8_t *)&((*bitmap_gas)[2].head.range2) + 2,
    [OFFSET_GAS3 + 34] = (uint8_t *)&((*bitmap_gas)[2].head.range2) + 1,
    [OFFSET_GAS3 + 35] = (uint8_t *)&((*bitmap_gas)[2].head.range2) + 0,
    [OFFSET_GAS3 + 36] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit1) + 3,
    [OFFSET_GAS3 + 37] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit1) + 2,
    [OFFSET_GAS3 + 38] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit1) + 1,
    [OFFSET_GAS3 + 39] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit1) + 0,
    [OFFSET_GAS3 + 40] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit2) + 3,
    [OFFSET_GAS3 + 41] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit2) + 2,
    [OFFSET_GAS3 + 42] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit2) + 1,
    [OFFSET_GAS3 + 43] = (uint8_t *)&((*bitmap_gas)[2].head.alarm_limit2) + 0,
    [OFFSET_GAS3 + 44] = (uint8_t *)&((*bitmap_gas)[2].head.stel_limit) + 3,
    [OFFSET_GAS3 + 45] = (uint8_t *)&((*bitmap_gas)[2].head.stel_limit) + 2,
    [OFFSET_GAS3 + 46] = (uint8_t *)&((*bitmap_gas)[2].head.stel_limit) + 1,
    [OFFSET_GAS3 + 47] = (uint8_t *)&((*bitmap_gas)[2].head.stel_limit) + 0,
    [OFFSET_GAS3 + 48] = (uint8_t *)&((*bitmap_gas)[2].head.twa_limit) + 3,
    [OFFSET_GAS3 + 49] = (uint8_t *)&((*bitmap_gas)[2].head.twa_limit) + 2,
    [OFFSET_GAS3 + 50] = (uint8_t *)&((*bitmap_gas)[2].head.twa_limit) + 1,
    [OFFSET_GAS3 + 51] = (uint8_t *)&((*bitmap_gas)[2].head.twa_limit) + 0,
    [OFFSET_GAS3 + 52] = (uint8_t *)&((*bitmap_gas)[2].head.signal_polarity) + 3,
    [OFFSET_GAS3 + 53] = (uint8_t *)&((*bitmap_gas)[2].head.signal_polarity) + 2,
    [OFFSET_GAS3 + 54] = (uint8_t *)&((*bitmap_gas)[2].head.signal_polarity) + 1,
    [OFFSET_GAS3 + 55] = (uint8_t *)&((*bitmap_gas)[2].head.signal_polarity) + 0,
    [OFFSET_GAS3 + 56] = (uint8_t *)&((*bitmap_gas)[2].head.drift_limit) + 3,
    [OFFSET_GAS3 + 57] = (uint8_t *)&((*bitmap_gas)[2].head.drift_limit) + 2,
    [OFFSET_GAS3 + 58] = (uint8_t *)&((*bitmap_gas)[2].head.drift_limit) + 1,
    [OFFSET_GAS3 + 59] = (uint8_t *)&((*bitmap_gas)[2].head.drift_limit) + 0,
    [OFFSET_GAS3 + 60] = (uint8_t *)&((*bitmap_gas)[2].head.reading_divide_factor) + 3,
    [OFFSET_GAS3 + 61] = (uint8_t *)&((*bitmap_gas)[2].head.reading_divide_factor) + 2,
    [OFFSET_GAS3 + 62] = (uint8_t *)&((*bitmap_gas)[2].head.reading_divide_factor) + 1,
    [OFFSET_GAS3 + 63] = (uint8_t *)&((*bitmap_gas)[2].head.reading_divide_factor) + 0,
    [OFFSET_GAS3 + 64] = (uint8_t *)&((*bitmap_gas)[2].head.display_resolution) + 3,
    [OFFSET_GAS3 + 65] = (uint8_t *)&((*bitmap_gas)[2].head.display_resolution) + 2,
    [OFFSET_GAS3 + 66] = (uint8_t *)&((*bitmap_gas)[2].head.display_resolution) + 1,
    [OFFSET_GAS3 + 67] = (uint8_t *)&((*bitmap_gas)[2].head.display_resolution) + 0,
    [OFFSET_GAS3 + 68] = (uint8_t *)&((*bitmap_gas)[2].head.decimal_point) + 3,
    [OFFSET_GAS3 + 69] = (uint8_t *)&((*bitmap_gas)[2].head.decimal_point) + 2,
    [OFFSET_GAS3 + 70] = (uint8_t *)&((*bitmap_gas)[2].head.decimal_point) + 1,
    [OFFSET_GAS3 + 71] = (uint8_t *)&((*bitmap_gas)[2].head.decimal_point) + 0,
    [OFFSET_GAS3 + 72] = (uint8_t *)&((*bitmap_gas)[2].head.cali_type) + 3,
    [OFFSET_GAS3 + 73] = (uint8_t *)&((*bitmap_gas)[2].head.cali_type) + 2,
    [OFFSET_GAS3 + 74] = (uint8_t *)&((*bitmap_gas)[2].head.cali_type) + 1,
    [OFFSET_GAS3 + 75] = (uint8_t *)&((*bitmap_gas)[2].head.cali_type) + 0,
    [OFFSET_GAS3 + 76] = (uint8_t *)&((*bitmap_gas)[2].head.min_cali_value) + 3,
    [OFFSET_GAS3 + 77] = (uint8_t *)&((*bitmap_gas)[2].head.min_cali_value) + 2,
    [OFFSET_GAS3 + 78] = (uint8_t *)&((*bitmap_gas)[2].head.min_cali_value) + 1,
    [OFFSET_GAS3 + 79] = (uint8_t *)&((*bitmap_gas)[2].head.min_cali_value) + 0,
    [OFFSET_GAS3 + 80] = (uint8_t *)&((*bitmap_gas)[2].head.warmup_time) + 3,
    [OFFSET_GAS3 + 81] = (uint8_t *)&((*bitmap_gas)[2].head.warmup_time) + 2,
    [OFFSET_GAS3 + 82] = (uint8_t *)&((*bitmap_gas)[2].head.warmup_time) + 1,
    [OFFSET_GAS3 + 83] = (uint8_t *)&((*bitmap_gas)[2].head.warmup_time) + 0,
    // [OFFSET_GAS3 + 84] = (uint8_t *)&((*bitmap_gas)[2].user_cali.avail_bitmap) + 3,
    // [OFFSET_GAS3 + 85] = (uint8_t *)&((*bitmap_gas)[2].user_cali.avail_bitmap) + 2,
    // [OFFSET_GAS3 + 86] = (uint8_t *)&((*bitmap_gas)[2].user_cali.avail_bitmap) + 1,
    // [OFFSET_GAS3 + 87] = (uint8_t *)&((*bitmap_gas)[2].user_cali.avail_bitmap) + 0,
    // [OFFSET_GAS3 + 88] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[0]) + 3,
    // [OFFSET_GAS3 + 89] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[0]) + 2,
    // [OFFSET_GAS3 + 90] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[0]) + 1,
    // [OFFSET_GAS3 + 91] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[0]) + 0,
    // [OFFSET_GAS3 + 92] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[1]) + 3,
    // [OFFSET_GAS3 + 93] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[1]) + 2,
    // [OFFSET_GAS3 + 94] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[1]) + 1,
    // [OFFSET_GAS3 + 95] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[1]) + 0,
    // [OFFSET_GAS3 + 96] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[2]) + 3,
    // [OFFSET_GAS3 + 97] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[2]) + 2,
    // [OFFSET_GAS3 + 98] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[2]) + 1,
    // [OFFSET_GAS3 + 99] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[2]) + 0,
    [OFFSET_GAS3 + 84] = (uint8_t *)&(data_cali_ram.bitmap[1]) + 3,
    [OFFSET_GAS3 + 85] = (uint8_t *)&(data_cali_ram.bitmap[1]) + 2,
    [OFFSET_GAS3 + 86] = (uint8_t *)&(data_cali_ram.bitmap[1]) + 1,
    [OFFSET_GAS3 + 87] = (uint8_t *)&(data_cali_ram.bitmap[1]) + 0,
    [OFFSET_GAS3 + 88] = (uint8_t *)&(data_cali_ram.sig_zero[1]) + 3,
    [OFFSET_GAS3 + 89] = (uint8_t *)&(data_cali_ram.sig_zero[1]) + 2,
    [OFFSET_GAS3 + 90] = (uint8_t *)&(data_cali_ram.sig_zero[1]) + 1,
    [OFFSET_GAS3 + 91] = (uint8_t *)&(data_cali_ram.sig_zero[1]) + 0,
    [OFFSET_GAS3 + 92] = (uint8_t *)&(data_cali_ram.ref_zero[1]) + 3,
    [OFFSET_GAS3 + 93] = (uint8_t *)&(data_cali_ram.ref_zero[1]) + 2,
    [OFFSET_GAS3 + 94] = (uint8_t *)&(data_cali_ram.ref_zero[1]) + 1,
    [OFFSET_GAS3 + 95] = (uint8_t *)&(data_cali_ram.ref_zero[1]) + 0,
    [OFFSET_GAS3 + 96] = num_tab_ro + 0,
    [OFFSET_GAS3 + 97] = num_tab_ro + 0,
    [OFFSET_GAS3 + 98] = (uint8_t *)&(data_cali_ram.temperature_zero[1]) + 1,
    [OFFSET_GAS3 + 99] = (uint8_t *)&(data_cali_ram.temperature_zero[1]) + 0,
    [OFFSET_GAS3 + 100] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[3]) + 3,
    [OFFSET_GAS3 + 101] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[3]) + 2,
    [OFFSET_GAS3 + 102] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[3]) + 1,
    [OFFSET_GAS3 + 103] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[3]) + 0,
    [OFFSET_GAS3 + 104] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[4]) + 3,
    [OFFSET_GAS3 + 105] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[4]) + 2,
    [OFFSET_GAS3 + 106] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[4]) + 1,
    [OFFSET_GAS3 + 107] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[4]) + 0,
    [OFFSET_GAS3 + 108] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[5]) + 3,
    [OFFSET_GAS3 + 109] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[5]) + 2,
    [OFFSET_GAS3 + 110] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[5]) + 1,
    [OFFSET_GAS3 + 111] = (uint8_t *)&((*bitmap_gas)[2].user_cali.zero_data[5]) + 0,
    // [OFFSET_GAS3 + 112] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][0]) + 3,
    // [OFFSET_GAS3 + 113] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][0]) + 2,
    // [OFFSET_GAS3 + 114] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][0]) + 1,
    // [OFFSET_GAS3 + 115] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][0]) + 0,
    // [OFFSET_GAS3 + 116] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][1]) + 3,
    // [OFFSET_GAS3 + 117] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][1]) + 2,
    // [OFFSET_GAS3 + 118] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][1]) + 1,
    // [OFFSET_GAS3 + 119] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][1]) + 0,
    // [OFFSET_GAS3 + 120] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][2]) + 3,
    // [OFFSET_GAS3 + 121] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][2]) + 2,
    // [OFFSET_GAS3 + 122] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][2]) + 1,
    // [OFFSET_GAS3 + 123] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][2]) + 0,
    // [OFFSET_GAS3 + 124] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][3]) + 3,
    // [OFFSET_GAS3 + 125] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][3]) + 2,
    // [OFFSET_GAS3 + 126] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][3]) + 1,
    // [OFFSET_GAS3 + 127] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][3]) + 0,
    [OFFSET_GAS3 + 112] = (uint8_t *)(&(data_cali_ram.concentration[1])) + 3,
    [OFFSET_GAS3 + 113] = (uint8_t *)(&(data_cali_ram.concentration[1])) + 2,
    [OFFSET_GAS3 + 114] = (uint8_t *)(&(data_cali_ram.concentration[1])) + 1,
    [OFFSET_GAS3 + 115] = (uint8_t *)(&(data_cali_ram.concentration[1])) + 0,
    [OFFSET_GAS3 + 116] = (uint8_t *)(&(data_cali_ram.sig_span[1])) + 3,
    [OFFSET_GAS3 + 117] = (uint8_t *)(&(data_cali_ram.sig_span[1])) + 2,
    [OFFSET_GAS3 + 118] = (uint8_t *)(&(data_cali_ram.sig_span[1])) + 1,
    [OFFSET_GAS3 + 119] = (uint8_t *)(&(data_cali_ram.sig_span[1])) + 0,
    [OFFSET_GAS3 + 120] = (uint8_t *)(&(data_cali_ram.ref_span[1])) + 3,
    [OFFSET_GAS3 + 121] = (uint8_t *)(&(data_cali_ram.ref_span[1])) + 2,
    [OFFSET_GAS3 + 122] = (uint8_t *)(&(data_cali_ram.ref_span[1])) + 1,
    [OFFSET_GAS3 + 123] = (uint8_t *)(&(data_cali_ram.ref_span[1])) + 0,
    [OFFSET_GAS3 + 124] = num_tab_ro + 0,
    [OFFSET_GAS3 + 125] = num_tab_ro + 0,
    [OFFSET_GAS3 + 126] = (uint8_t *)(&(data_cali_ram.temperature_span[1])) + 1,
    [OFFSET_GAS3 + 127] = (uint8_t *)(&(data_cali_ram.temperature_span[1])) + 0,
    [OFFSET_GAS3 + 128] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][4]) + 3,
    [OFFSET_GAS3 + 129] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][4]) + 2,
    [OFFSET_GAS3 + 130] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][4]) + 1,
    [OFFSET_GAS3 + 131] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][4]) + 0,
    [OFFSET_GAS3 + 132] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][5]) + 3,
    [OFFSET_GAS3 + 133] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][5]) + 2,
    [OFFSET_GAS3 + 134] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][5]) + 1,
    [OFFSET_GAS3 + 135] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][5]) + 0,
    [OFFSET_GAS3 + 136] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][6]) + 3,
    [OFFSET_GAS3 + 137] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][6]) + 2,
    [OFFSET_GAS3 + 138] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][6]) + 1,
    [OFFSET_GAS3 + 139] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[0][6]) + 0,
    [OFFSET_GAS3 + 140] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][0]) + 3,
    [OFFSET_GAS3 + 141] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][0]) + 2,
    [OFFSET_GAS3 + 142] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][0]) + 1,
    [OFFSET_GAS3 + 143] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][0]) + 0,
    [OFFSET_GAS3 + 144] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][1]) + 3,
    [OFFSET_GAS3 + 145] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][1]) + 2,
    [OFFSET_GAS3 + 146] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][1]) + 1,
    [OFFSET_GAS3 + 147] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][1]) + 0,
    [OFFSET_GAS3 + 148] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][2]) + 3,
    [OFFSET_GAS3 + 149] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][2]) + 2,
    [OFFSET_GAS3 + 150] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][2]) + 1,
    [OFFSET_GAS3 + 151] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][2]) + 0,
    [OFFSET_GAS3 + 152] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][3]) + 3,
    [OFFSET_GAS3 + 153] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][3]) + 2,
    [OFFSET_GAS3 + 154] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][3]) + 1,
    [OFFSET_GAS3 + 155] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][3]) + 0,
    [OFFSET_GAS3 + 156] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][4]) + 3,
    [OFFSET_GAS3 + 157] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][4]) + 2,
    [OFFSET_GAS3 + 158] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][4]) + 1,
    [OFFSET_GAS3 + 159] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][4]) + 0,
    [OFFSET_GAS3 + 160] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][5]) + 3,
    [OFFSET_GAS3 + 161] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][5]) + 2,
    [OFFSET_GAS3 + 162] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][5]) + 1,
    [OFFSET_GAS3 + 163] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][5]) + 0,
    [OFFSET_GAS3 + 164] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][6]) + 3,
    [OFFSET_GAS3 + 165] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][6]) + 2,
    [OFFSET_GAS3 + 166] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][6]) + 1,
    [OFFSET_GAS3 + 167] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[1][6]) + 0,
    [OFFSET_GAS3 + 168] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][0]) + 3,
    [OFFSET_GAS3 + 169] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][0]) + 2,
    [OFFSET_GAS3 + 170] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][0]) + 1,
    [OFFSET_GAS3 + 171] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][0]) + 0,
    [OFFSET_GAS3 + 172] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][1]) + 3,
    [OFFSET_GAS3 + 173] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][1]) + 2,
    [OFFSET_GAS3 + 174] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][1]) + 1,
    [OFFSET_GAS3 + 175] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][1]) + 0,
    [OFFSET_GAS3 + 176] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][2]) + 3,
    [OFFSET_GAS3 + 177] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][2]) + 2,
    [OFFSET_GAS3 + 178] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][2]) + 1,
    [OFFSET_GAS3 + 179] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][2]) + 0,
    [OFFSET_GAS3 + 180] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][3]) + 3,
    [OFFSET_GAS3 + 181] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][3]) + 2,
    [OFFSET_GAS3 + 182] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][3]) + 1,
    [OFFSET_GAS3 + 183] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][3]) + 0,
    [OFFSET_GAS3 + 184] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][4]) + 3,
    [OFFSET_GAS3 + 185] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][4]) + 2,
    [OFFSET_GAS3 + 186] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][4]) + 1,
    [OFFSET_GAS3 + 187] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][4]) + 0,
    [OFFSET_GAS3 + 188] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][5]) + 3,
    [OFFSET_GAS3 + 189] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][5]) + 2,
    [OFFSET_GAS3 + 190] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][5]) + 1,
    [OFFSET_GAS3 + 191] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][5]) + 0,
    [OFFSET_GAS3 + 192] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][6]) + 3,
    [OFFSET_GAS3 + 193] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][6]) + 2,
    [OFFSET_GAS3 + 194] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][6]) + 1,
    [OFFSET_GAS3 + 195] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[2][6]) + 0,
    [OFFSET_GAS3 + 196] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][0]) + 3,
    [OFFSET_GAS3 + 197] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][0]) + 2,
    [OFFSET_GAS3 + 198] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][0]) + 1,
    [OFFSET_GAS3 + 199] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][0]) + 0,
    [OFFSET_GAS3 + 200] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][1]) + 3,
    [OFFSET_GAS3 + 201] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][1]) + 2,
    [OFFSET_GAS3 + 202] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][1]) + 1,
    [OFFSET_GAS3 + 203] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][1]) + 0,
    [OFFSET_GAS3 + 204] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][2]) + 3,
    [OFFSET_GAS3 + 205] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][2]) + 2,
    [OFFSET_GAS3 + 206] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][2]) + 1,
    [OFFSET_GAS3 + 207] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][2]) + 0,
    [OFFSET_GAS3 + 208] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][3]) + 3,
    [OFFSET_GAS3 + 209] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][3]) + 2,
    [OFFSET_GAS3 + 210] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][3]) + 1,
    [OFFSET_GAS3 + 211] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][3]) + 0,
    [OFFSET_GAS3 + 212] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][4]) + 3,
    [OFFSET_GAS3 + 213] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][4]) + 2,
    [OFFSET_GAS3 + 214] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][4]) + 1,
    [OFFSET_GAS3 + 215] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][4]) + 0,
    [OFFSET_GAS3 + 216] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][5]) + 3,
    [OFFSET_GAS3 + 217] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][5]) + 2,
    [OFFSET_GAS3 + 218] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][5]) + 1,
    [OFFSET_GAS3 + 219] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][5]) + 0,
    [OFFSET_GAS3 + 220] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][6]) + 3,
    [OFFSET_GAS3 + 221] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][6]) + 2,
    [OFFSET_GAS3 + 222] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][6]) + 1,
    [OFFSET_GAS3 + 223] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[3][6]) + 0,
    [OFFSET_GAS3 + 224] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][0]) + 3,
    [OFFSET_GAS3 + 225] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][0]) + 2,
    [OFFSET_GAS3 + 226] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][0]) + 1,
    [OFFSET_GAS3 + 227] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][0]) + 0,
    [OFFSET_GAS3 + 228] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][1]) + 3,
    [OFFSET_GAS3 + 229] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][1]) + 2,
    [OFFSET_GAS3 + 230] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][1]) + 1,
    [OFFSET_GAS3 + 231] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][1]) + 0,
    [OFFSET_GAS3 + 232] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][2]) + 3,
    [OFFSET_GAS3 + 233] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][2]) + 2,
    [OFFSET_GAS3 + 234] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][2]) + 1,
    [OFFSET_GAS3 + 235] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][2]) + 0,
    [OFFSET_GAS3 + 236] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][3]) + 3,
    [OFFSET_GAS3 + 237] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][3]) + 2,
    [OFFSET_GAS3 + 238] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][3]) + 1,
    [OFFSET_GAS3 + 239] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][3]) + 0,
    [OFFSET_GAS3 + 240] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][4]) + 3,
    [OFFSET_GAS3 + 241] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][4]) + 2,
    [OFFSET_GAS3 + 242] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][4]) + 1,
    [OFFSET_GAS3 + 243] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][4]) + 0,
    [OFFSET_GAS3 + 244] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][5]) + 3,
    [OFFSET_GAS3 + 245] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][5]) + 2,
    [OFFSET_GAS3 + 246] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][5]) + 1,
    [OFFSET_GAS3 + 247] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][5]) + 0,
    [OFFSET_GAS3 + 248] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][6]) + 3,
    [OFFSET_GAS3 + 249] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][6]) + 2,
    [OFFSET_GAS3 + 250] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][6]) + 1,
    [OFFSET_GAS3 + 251] = (uint8_t *)&((*bitmap_gas)[2].user_cali.span_data[4][6]) + 0,
    [(OFFSET_GAS3 + 252) ... (OFFSET_GAS3 + 511)] = num_tab_ro + 0,

    [OFFSET_GAS4 + 0] = (uint8_t *)(&bitmap_main->gas4_sub_id) + 3,
    [OFFSET_GAS4 + 1] = (uint8_t *)(&bitmap_main->gas4_sub_id) + 2,
    [OFFSET_GAS4 + 2] = (uint8_t *)(&bitmap_main->gas4_sub_id) + 1,
    [OFFSET_GAS4 + 3] = (uint8_t *)(&bitmap_main->gas4_sub_id) + 0,
    [OFFSET_GAS4 + 4] = bitmap_main->gas4_gas_name + 0,
    [OFFSET_GAS4 + 5] = bitmap_main->gas4_gas_name + 1,
    [OFFSET_GAS4 + 6] = bitmap_main->gas4_gas_name + 2,
    [OFFSET_GAS4 + 7] = bitmap_main->gas4_gas_name + 3,
    [OFFSET_GAS4 + 8] = bitmap_main->gas4_gas_name + 4,
    [OFFSET_GAS4 + 9] = bitmap_main->gas4_gas_name + 5,
    [OFFSET_GAS4 + 10] = bitmap_main->gas4_gas_name + 6,
    [OFFSET_GAS4 + 11] = bitmap_main->gas4_gas_name + 7,
    [OFFSET_GAS4 + 12] = bitmap_main->gas4_gas_name + 8,
    [OFFSET_GAS4 + 13] = bitmap_main->gas4_gas_name + 9,
    [OFFSET_GAS4 + 14] = bitmap_main->gas4_gas_name + 10,
    [OFFSET_GAS4 + 15] = bitmap_main->gas4_gas_name + 11,
    [OFFSET_GAS4 + 16] = (uint8_t *)(&bitmap_main->gas4_unit_code) + 3,
    [OFFSET_GAS4 + 17] = (uint8_t *)(&bitmap_main->gas4_unit_code) + 2,
    [OFFSET_GAS4 + 18] = (uint8_t *)(&bitmap_main->gas4_unit_code) + 1,
    [OFFSET_GAS4 + 19] = (uint8_t *)(&bitmap_main->gas4_unit_code) + 0,
    [OFFSET_GAS4 + 20] = bitmap_main->gas4_unit_name + 0,
    [OFFSET_GAS4 + 21] = bitmap_main->gas4_unit_name + 1,
    [OFFSET_GAS4 + 22] = bitmap_main->gas4_unit_name + 2,
    [OFFSET_GAS4 + 23] = bitmap_main->gas4_unit_name + 3,
    [OFFSET_GAS4 + 24] = bitmap_main->gas4_unit_name + 4,
    [OFFSET_GAS4 + 25] = bitmap_main->gas4_unit_name + 5,
    [OFFSET_GAS4 + 26] = bitmap_main->gas4_unit_name + 6,
    [OFFSET_GAS4 + 27] = bitmap_main->gas4_unit_name + 7,
    [OFFSET_GAS4 + 28] = (uint8_t *)&((*bitmap_gas)[3].head.range1) + 3,
    [OFFSET_GAS4 + 29] = (uint8_t *)&((*bitmap_gas)[3].head.range1) + 2,
    [OFFSET_GAS4 + 30] = (uint8_t *)&((*bitmap_gas)[3].head.range1) + 1,
    [OFFSET_GAS4 + 31] = (uint8_t *)&((*bitmap_gas)[3].head.range1) + 0,
    [OFFSET_GAS4 + 32] = (uint8_t *)&((*bitmap_gas)[3].head.range2) + 3,
    [OFFSET_GAS4 + 33] = (uint8_t *)&((*bitmap_gas)[3].head.range2) + 2,
    [OFFSET_GAS4 + 34] = (uint8_t *)&((*bitmap_gas)[3].head.range2) + 1,
    [OFFSET_GAS4 + 35] = (uint8_t *)&((*bitmap_gas)[3].head.range2) + 0,
    [OFFSET_GAS4 + 36] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit1) + 3,
    [OFFSET_GAS4 + 37] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit1) + 2,
    [OFFSET_GAS4 + 38] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit1) + 1,
    [OFFSET_GAS4 + 39] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit1) + 0,
    [OFFSET_GAS4 + 40] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit2) + 3,
    [OFFSET_GAS4 + 41] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit2) + 2,
    [OFFSET_GAS4 + 42] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit2) + 1,
    [OFFSET_GAS4 + 43] = (uint8_t *)&((*bitmap_gas)[3].head.alarm_limit2) + 0,
    [OFFSET_GAS4 + 44] = (uint8_t *)&((*bitmap_gas)[3].head.stel_limit) + 3,
    [OFFSET_GAS4 + 45] = (uint8_t *)&((*bitmap_gas)[3].head.stel_limit) + 2,
    [OFFSET_GAS4 + 46] = (uint8_t *)&((*bitmap_gas)[3].head.stel_limit) + 1,
    [OFFSET_GAS4 + 47] = (uint8_t *)&((*bitmap_gas)[3].head.stel_limit) + 0,
    [OFFSET_GAS4 + 48] = (uint8_t *)&((*bitmap_gas)[3].head.twa_limit) + 3,
    [OFFSET_GAS4 + 49] = (uint8_t *)&((*bitmap_gas)[3].head.twa_limit) + 2,
    [OFFSET_GAS4 + 50] = (uint8_t *)&((*bitmap_gas)[3].head.twa_limit) + 1,
    [OFFSET_GAS4 + 51] = (uint8_t *)&((*bitmap_gas)[3].head.twa_limit) + 0,
    [OFFSET_GAS4 + 52] = (uint8_t *)&((*bitmap_gas)[3].head.signal_polarity) + 3,
    [OFFSET_GAS4 + 53] = (uint8_t *)&((*bitmap_gas)[3].head.signal_polarity) + 2,
    [OFFSET_GAS4 + 54] = (uint8_t *)&((*bitmap_gas)[3].head.signal_polarity) + 1,
    [OFFSET_GAS4 + 55] = (uint8_t *)&((*bitmap_gas)[3].head.signal_polarity) + 0,
    [OFFSET_GAS4 + 56] = (uint8_t *)&((*bitmap_gas)[3].head.drift_limit) + 3,
    [OFFSET_GAS4 + 57] = (uint8_t *)&((*bitmap_gas)[3].head.drift_limit) + 2,
    [OFFSET_GAS4 + 58] = (uint8_t *)&((*bitmap_gas)[3].head.drift_limit) + 1,
    [OFFSET_GAS4 + 59] = (uint8_t *)&((*bitmap_gas)[3].head.drift_limit) + 0,
    [OFFSET_GAS4 + 60] = (uint8_t *)&((*bitmap_gas)[3].head.reading_divide_factor) + 3,
    [OFFSET_GAS4 + 61] = (uint8_t *)&((*bitmap_gas)[3].head.reading_divide_factor) + 2,
    [OFFSET_GAS4 + 62] = (uint8_t *)&((*bitmap_gas)[3].head.reading_divide_factor) + 1,
    [OFFSET_GAS4 + 63] = (uint8_t *)&((*bitmap_gas)[3].head.reading_divide_factor) + 0,
    [OFFSET_GAS4 + 64] = (uint8_t *)&((*bitmap_gas)[3].head.display_resolution) + 3,
    [OFFSET_GAS4 + 65] = (uint8_t *)&((*bitmap_gas)[3].head.display_resolution) + 2,
    [OFFSET_GAS4 + 66] = (uint8_t *)&((*bitmap_gas)[3].head.display_resolution) + 1,
    [OFFSET_GAS4 + 67] = (uint8_t *)&((*bitmap_gas)[3].head.display_resolution) + 0,
    [OFFSET_GAS4 + 68] = (uint8_t *)&((*bitmap_gas)[3].head.decimal_point) + 3,
    [OFFSET_GAS4 + 69] = (uint8_t *)&((*bitmap_gas)[3].head.decimal_point) + 2,
    [OFFSET_GAS4 + 70] = (uint8_t *)&((*bitmap_gas)[3].head.decimal_point) + 1,
    [OFFSET_GAS4 + 71] = (uint8_t *)&((*bitmap_gas)[3].head.decimal_point) + 0,
    [OFFSET_GAS4 + 72] = (uint8_t *)&((*bitmap_gas)[3].head.cali_type) + 3,
    [OFFSET_GAS4 + 73] = (uint8_t *)&((*bitmap_gas)[3].head.cali_type) + 2,
    [OFFSET_GAS4 + 74] = (uint8_t *)&((*bitmap_gas)[3].head.cali_type) + 1,
    [OFFSET_GAS4 + 75] = (uint8_t *)&((*bitmap_gas)[3].head.cali_type) + 0,
    [OFFSET_GAS4 + 76] = (uint8_t *)&((*bitmap_gas)[3].head.min_cali_value) + 3,
    [OFFSET_GAS4 + 77] = (uint8_t *)&((*bitmap_gas)[3].head.min_cali_value) + 2,
    [OFFSET_GAS4 + 78] = (uint8_t *)&((*bitmap_gas)[3].head.min_cali_value) + 1,
    [OFFSET_GAS4 + 79] = (uint8_t *)&((*bitmap_gas)[3].head.min_cali_value) + 0,
    [OFFSET_GAS4 + 80] = (uint8_t *)&((*bitmap_gas)[3].head.warmup_time) + 3,
    [OFFSET_GAS4 + 81] = (uint8_t *)&((*bitmap_gas)[3].head.warmup_time) + 2,
    [OFFSET_GAS4 + 82] = (uint8_t *)&((*bitmap_gas)[3].head.warmup_time) + 1,
    [OFFSET_GAS4 + 83] = (uint8_t *)&((*bitmap_gas)[3].head.warmup_time) + 0,
    // [OFFSET_GAS4 + 84] = (uint8_t *)&((*bitmap_gas)[3].user_cali.avail_bitmap) + 3,
    // [OFFSET_GAS4 + 85] = (uint8_t *)&((*bitmap_gas)[3].user_cali.avail_bitmap) + 2,
    // [OFFSET_GAS4 + 86] = (uint8_t *)&((*bitmap_gas)[3].user_cali.avail_bitmap) + 1,
    // [OFFSET_GAS4 + 87] = (uint8_t *)&((*bitmap_gas)[3].user_cali.avail_bitmap) + 0,
    // [OFFSET_GAS4 + 88] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[0]) + 3,
    // [OFFSET_GAS4 + 89] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[0]) + 2,
    // [OFFSET_GAS4 + 90] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[0]) + 1,
    // [OFFSET_GAS4 + 91] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[0]) + 0,
    // [OFFSET_GAS4 + 92] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[1]) + 3,
    // [OFFSET_GAS4 + 93] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[1]) + 2,
    // [OFFSET_GAS4 + 94] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[1]) + 1,
    // [OFFSET_GAS4 + 95] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[1]) + 0,
    // [OFFSET_GAS4 + 96] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[2]) + 3,
    // [OFFSET_GAS4 + 97] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[2]) + 2,
    // [OFFSET_GAS4 + 98] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[2]) + 1,
    // [OFFSET_GAS4 + 99] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[2]) + 0,
    [OFFSET_GAS4 + 84] = (uint8_t *)&(data_cali_ram.bitmap[2]) + 3,
    [OFFSET_GAS4 + 85] = (uint8_t *)&(data_cali_ram.bitmap[2]) + 2,
    [OFFSET_GAS4 + 86] = (uint8_t *)&(data_cali_ram.bitmap[2]) + 1,
    [OFFSET_GAS4 + 87] = (uint8_t *)&(data_cali_ram.bitmap[2]) + 0,
    [OFFSET_GAS4 + 88] = (uint8_t *)&(data_cali_ram.sig_zero[2]) + 3,
    [OFFSET_GAS4 + 89] = (uint8_t *)&(data_cali_ram.sig_zero[2]) + 2,
    [OFFSET_GAS4 + 90] = (uint8_t *)&(data_cali_ram.sig_zero[2]) + 1,
    [OFFSET_GAS4 + 91] = (uint8_t *)&(data_cali_ram.sig_zero[2]) + 0,
    [OFFSET_GAS4 + 92] = (uint8_t *)&(data_cali_ram.ref_zero[2]) + 3,
    [OFFSET_GAS4 + 93] = (uint8_t *)&(data_cali_ram.ref_zero[2]) + 2,
    [OFFSET_GAS4 + 94] = (uint8_t *)&(data_cali_ram.ref_zero[2]) + 1,
    [OFFSET_GAS4 + 95] = (uint8_t *)&(data_cali_ram.ref_zero[2]) + 0,
    [OFFSET_GAS4 + 96] = num_tab_ro + 0,
    [OFFSET_GAS4 + 97] = num_tab_ro + 0,
    [OFFSET_GAS4 + 98] = (uint8_t *)&(data_cali_ram.temperature_zero[2]) + 1,
    [OFFSET_GAS4 + 99] = (uint8_t *)&(data_cali_ram.temperature_zero[2]) + 0,
    [OFFSET_GAS4 + 100] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[3]) + 3,
    [OFFSET_GAS4 + 101] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[3]) + 2,
    [OFFSET_GAS4 + 102] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[3]) + 1,
    [OFFSET_GAS4 + 103] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[3]) + 0,
    [OFFSET_GAS4 + 104] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[4]) + 3,
    [OFFSET_GAS4 + 105] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[4]) + 2,
    [OFFSET_GAS4 + 106] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[4]) + 1,
    [OFFSET_GAS4 + 107] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[4]) + 0,
    [OFFSET_GAS4 + 108] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[5]) + 3,
    [OFFSET_GAS4 + 109] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[5]) + 2,
    [OFFSET_GAS4 + 110] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[5]) + 1,
    [OFFSET_GAS4 + 111] = (uint8_t *)&((*bitmap_gas)[3].user_cali.zero_data[5]) + 0,
    // [OFFSET_GAS4 + 112] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][0]) + 3,
    // [OFFSET_GAS4 + 113] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][0]) + 2,
    // [OFFSET_GAS4 + 114] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][0]) + 1,
    // [OFFSET_GAS4 + 115] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][0]) + 0,
    // [OFFSET_GAS4 + 116] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][1]) + 3,
    // [OFFSET_GAS4 + 117] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][1]) + 2,
    // [OFFSET_GAS4 + 118] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][1]) + 1,
    // [OFFSET_GAS4 + 119] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][1]) + 0,
    // [OFFSET_GAS4 + 120] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][2]) + 3,
    // [OFFSET_GAS4 + 121] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][2]) + 2,
    // [OFFSET_GAS4 + 122] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][2]) + 1,
    // [OFFSET_GAS4 + 123] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][2]) + 0,
    // [OFFSET_GAS4 + 124] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][3]) + 3,
    // [OFFSET_GAS4 + 125] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][3]) + 2,
    // [OFFSET_GAS4 + 126] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][3]) + 1,
    // [OFFSET_GAS4 + 127] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][3]) + 0,
    [OFFSET_GAS4 + 112] = (uint8_t *)(&(data_cali_ram.concentration[2])) + 3,
    [OFFSET_GAS4 + 113] = (uint8_t *)(&(data_cali_ram.concentration[2])) + 2,
    [OFFSET_GAS4 + 114] = (uint8_t *)(&(data_cali_ram.concentration[2])) + 1,
    [OFFSET_GAS4 + 115] = (uint8_t *)(&(data_cali_ram.concentration[2])) + 0,
    [OFFSET_GAS4 + 116] = (uint8_t *)(&(data_cali_ram.sig_span[2])) + 3,
    [OFFSET_GAS4 + 117] = (uint8_t *)(&(data_cali_ram.sig_span[2])) + 2,
    [OFFSET_GAS4 + 118] = (uint8_t *)(&(data_cali_ram.sig_span[2])) + 1,
    [OFFSET_GAS4 + 119] = (uint8_t *)(&(data_cali_ram.sig_span[2])) + 0,
    [OFFSET_GAS4 + 120] = (uint8_t *)(&(data_cali_ram.ref_span[2])) + 3,
    [OFFSET_GAS4 + 121] = (uint8_t *)(&(data_cali_ram.ref_span[2])) + 2,
    [OFFSET_GAS4 + 122] = (uint8_t *)(&(data_cali_ram.ref_span[2])) + 1,
    [OFFSET_GAS4 + 123] = (uint8_t *)(&(data_cali_ram.ref_span[2])) + 0,
    [OFFSET_GAS4 + 124] = num_tab_ro + 0,
    [OFFSET_GAS4 + 125] = num_tab_ro + 0,
    [OFFSET_GAS4 + 126] = (uint8_t *)(&(data_cali_ram.temperature_span[2])) + 1,
    [OFFSET_GAS4 + 127] = (uint8_t *)(&(data_cali_ram.temperature_span[2])) + 0,
    [OFFSET_GAS4 + 128] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][4]) + 3,
    [OFFSET_GAS4 + 129] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][4]) + 2,
    [OFFSET_GAS4 + 130] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][4]) + 1,
    [OFFSET_GAS4 + 131] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][4]) + 0,
    [OFFSET_GAS4 + 132] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][5]) + 3,
    [OFFSET_GAS4 + 133] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][5]) + 2,
    [OFFSET_GAS4 + 134] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][5]) + 1,
    [OFFSET_GAS4 + 135] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][5]) + 0,
    [OFFSET_GAS4 + 136] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][6]) + 3,
    [OFFSET_GAS4 + 137] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][6]) + 2,
    [OFFSET_GAS4 + 138] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][6]) + 1,
    [OFFSET_GAS4 + 139] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[0][6]) + 0,
    [OFFSET_GAS4 + 140] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][0]) + 3,
    [OFFSET_GAS4 + 141] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][0]) + 2,
    [OFFSET_GAS4 + 142] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][0]) + 1,
    [OFFSET_GAS4 + 143] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][0]) + 0,
    [OFFSET_GAS4 + 144] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][1]) + 3,
    [OFFSET_GAS4 + 145] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][1]) + 2,
    [OFFSET_GAS4 + 146] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][1]) + 1,
    [OFFSET_GAS4 + 147] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][1]) + 0,
    [OFFSET_GAS4 + 148] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][2]) + 3,
    [OFFSET_GAS4 + 149] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][2]) + 2,
    [OFFSET_GAS4 + 150] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][2]) + 1,
    [OFFSET_GAS4 + 151] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][2]) + 0,
    [OFFSET_GAS4 + 152] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][3]) + 3,
    [OFFSET_GAS4 + 153] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][3]) + 2,
    [OFFSET_GAS4 + 154] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][3]) + 1,
    [OFFSET_GAS4 + 155] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][3]) + 0,
    [OFFSET_GAS4 + 156] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][4]) + 3,
    [OFFSET_GAS4 + 157] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][4]) + 2,
    [OFFSET_GAS4 + 158] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][4]) + 1,
    [OFFSET_GAS4 + 159] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][4]) + 0,
    [OFFSET_GAS4 + 160] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][5]) + 3,
    [OFFSET_GAS4 + 161] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][5]) + 2,
    [OFFSET_GAS4 + 162] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][5]) + 1,
    [OFFSET_GAS4 + 163] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][5]) + 0,
    [OFFSET_GAS4 + 164] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][6]) + 3,
    [OFFSET_GAS4 + 165] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][6]) + 2,
    [OFFSET_GAS4 + 166] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][6]) + 1,
    [OFFSET_GAS4 + 167] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[1][6]) + 0,
    [OFFSET_GAS4 + 168] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][0]) + 3,
    [OFFSET_GAS4 + 169] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][0]) + 2,
    [OFFSET_GAS4 + 170] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][0]) + 1,
    [OFFSET_GAS4 + 171] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][0]) + 0,
    [OFFSET_GAS4 + 172] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][1]) + 3,
    [OFFSET_GAS4 + 173] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][1]) + 2,
    [OFFSET_GAS4 + 174] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][1]) + 1,
    [OFFSET_GAS4 + 175] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][1]) + 0,
    [OFFSET_GAS4 + 176] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][2]) + 3,
    [OFFSET_GAS4 + 177] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][2]) + 2,
    [OFFSET_GAS4 + 178] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][2]) + 1,
    [OFFSET_GAS4 + 179] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][2]) + 0,
    [OFFSET_GAS4 + 180] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][3]) + 3,
    [OFFSET_GAS4 + 181] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][3]) + 2,
    [OFFSET_GAS4 + 182] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][3]) + 1,
    [OFFSET_GAS4 + 183] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][3]) + 0,
    [OFFSET_GAS4 + 184] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][4]) + 3,
    [OFFSET_GAS4 + 185] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][4]) + 2,
    [OFFSET_GAS4 + 186] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][4]) + 1,
    [OFFSET_GAS4 + 187] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][4]) + 0,
    [OFFSET_GAS4 + 188] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][5]) + 3,
    [OFFSET_GAS4 + 189] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][5]) + 2,
    [OFFSET_GAS4 + 190] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][5]) + 1,
    [OFFSET_GAS4 + 191] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][5]) + 0,
    [OFFSET_GAS4 + 192] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][6]) + 3,
    [OFFSET_GAS4 + 193] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][6]) + 2,
    [OFFSET_GAS4 + 194] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][6]) + 1,
    [OFFSET_GAS4 + 195] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[2][6]) + 0,
    [OFFSET_GAS4 + 196] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][0]) + 3,
    [OFFSET_GAS4 + 197] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][0]) + 2,
    [OFFSET_GAS4 + 198] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][0]) + 1,
    [OFFSET_GAS4 + 199] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][0]) + 0,
    [OFFSET_GAS4 + 200] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][1]) + 3,
    [OFFSET_GAS4 + 201] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][1]) + 2,
    [OFFSET_GAS4 + 202] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][1]) + 1,
    [OFFSET_GAS4 + 203] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][1]) + 0,
    [OFFSET_GAS4 + 204] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][2]) + 3,
    [OFFSET_GAS4 + 205] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][2]) + 2,
    [OFFSET_GAS4 + 206] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][2]) + 1,
    [OFFSET_GAS4 + 207] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][2]) + 0,
    [OFFSET_GAS4 + 208] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][3]) + 3,
    [OFFSET_GAS4 + 209] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][3]) + 2,
    [OFFSET_GAS4 + 210] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][3]) + 1,
    [OFFSET_GAS4 + 211] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][3]) + 0,
    [OFFSET_GAS4 + 212] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][4]) + 3,
    [OFFSET_GAS4 + 213] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][4]) + 2,
    [OFFSET_GAS4 + 214] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][4]) + 1,
    [OFFSET_GAS4 + 215] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][4]) + 0,
    [OFFSET_GAS4 + 216] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][5]) + 3,
    [OFFSET_GAS4 + 217] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][5]) + 2,
    [OFFSET_GAS4 + 218] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][5]) + 1,
    [OFFSET_GAS4 + 219] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][5]) + 0,
    [OFFSET_GAS4 + 220] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][6]) + 3,
    [OFFSET_GAS4 + 221] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][6]) + 2,
    [OFFSET_GAS4 + 222] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][6]) + 1,
    [OFFSET_GAS4 + 223] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[3][6]) + 0,
    [OFFSET_GAS4 + 224] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][0]) + 3,
    [OFFSET_GAS4 + 225] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][0]) + 2,
    [OFFSET_GAS4 + 226] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][0]) + 1,
    [OFFSET_GAS4 + 227] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][0]) + 0,
    [OFFSET_GAS4 + 228] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][1]) + 3,
    [OFFSET_GAS4 + 229] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][1]) + 2,
    [OFFSET_GAS4 + 230] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][1]) + 1,
    [OFFSET_GAS4 + 231] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][1]) + 0,
    [OFFSET_GAS4 + 232] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][2]) + 3,
    [OFFSET_GAS4 + 233] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][2]) + 2,
    [OFFSET_GAS4 + 234] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][2]) + 1,
    [OFFSET_GAS4 + 235] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][2]) + 0,
    [OFFSET_GAS4 + 236] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][3]) + 3,
    [OFFSET_GAS4 + 237] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][3]) + 2,
    [OFFSET_GAS4 + 238] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][3]) + 1,
    [OFFSET_GAS4 + 239] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][3]) + 0,
    [OFFSET_GAS4 + 240] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][4]) + 3,
    [OFFSET_GAS4 + 241] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][4]) + 2,
    [OFFSET_GAS4 + 242] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][4]) + 1,
    [OFFSET_GAS4 + 243] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][4]) + 0,
    [OFFSET_GAS4 + 244] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][5]) + 3,
    [OFFSET_GAS4 + 245] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][5]) + 2,
    [OFFSET_GAS4 + 246] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][5]) + 1,
    [OFFSET_GAS4 + 247] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][5]) + 0,
    [OFFSET_GAS4 + 248] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][6]) + 3,
    [OFFSET_GAS4 + 249] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][6]) + 2,
    [OFFSET_GAS4 + 250] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][6]) + 1,
    [OFFSET_GAS4 + 251] = (uint8_t *)&((*bitmap_gas)[3].user_cali.span_data[4][6]) + 0,
    [(OFFSET_GAS4 + 252) ... (OFFSET_GAS4 + 511)] = num_tab_ro + 0,

    [OFFSET_DATA + 0] = (uint8_t *)&(device_data.detector_temperature) + 3,
    [OFFSET_DATA + 1] = (uint8_t *)&(device_data.detector_temperature) + 2,
    [OFFSET_DATA + 2] = (uint8_t *)&(device_data.detector_temperature) + 1,
    [OFFSET_DATA + 3] = (uint8_t *)&(device_data.detector_temperature) + 0,
    [OFFSET_DATA + 4] = (uint8_t *)&(device_data.lamp_temperature) + 3,
    [OFFSET_DATA + 5] = (uint8_t *)&(device_data.lamp_temperature) + 2,
    [OFFSET_DATA + 6] = (uint8_t *)&(device_data.lamp_temperature) + 1,
    [OFFSET_DATA + 7] = (uint8_t *)&(device_data.lamp_temperature) + 0,
    [OFFSET_DATA + 8] = (uint8_t *)&(device_data.air_pressure) + 3,
    [OFFSET_DATA + 9] = (uint8_t *)&(device_data.air_pressure) + 2,
    [OFFSET_DATA + 10] = (uint8_t *)&(device_data.air_pressure) + 1,
    [OFFSET_DATA + 11] = (uint8_t *)&(device_data.air_pressure) + 0,
    [OFFSET_DATA + 12] = (uint8_t *)&(device_data.gas_pressure) + 3,
    [OFFSET_DATA + 13] = (uint8_t *)&(device_data.gas_pressure) + 2,
    [OFFSET_DATA + 14] = (uint8_t *)&(device_data.gas_pressure) + 1,
    [OFFSET_DATA + 15] = (uint8_t *)&(device_data.gas_pressure) + 0,
    [OFFSET_DATA + 16] = (uint8_t *)&(device_data.gas_temperature) + 3,
    [OFFSET_DATA + 17] = (uint8_t *)&(device_data.gas_temperature) + 2,
    [OFFSET_DATA + 18] = (uint8_t *)&(device_data.gas_temperature) + 1,
    [OFFSET_DATA + 19] = (uint8_t *)&(device_data.gas_temperature) + 0,
    [OFFSET_DATA + 20] = (uint8_t *)&(device_data.gas_humidity) + 3,
    [OFFSET_DATA + 21] = (uint8_t *)&(device_data.gas_humidity) + 2,
    [OFFSET_DATA + 22] = (uint8_t *)&(device_data.gas_humidity) + 1,
    [OFFSET_DATA + 23] = (uint8_t *)&(device_data.gas_humidity) + 0,
    [OFFSET_DATA + 24] = (uint8_t *)&(device_data.lamp_voltage) + 3,
    [OFFSET_DATA + 25] = (uint8_t *)&(device_data.lamp_voltage) + 2,
    [OFFSET_DATA + 26] = (uint8_t *)&(device_data.lamp_voltage) + 1,
    [OFFSET_DATA + 27] = (uint8_t *)&(device_data.lamp_voltage) + 0,
    [OFFSET_DATA + 28] = (uint8_t *)&(device_data.lamp_current) + 3,
    [OFFSET_DATA + 29] = (uint8_t *)&(device_data.lamp_current) + 2,
    [OFFSET_DATA + 30] = (uint8_t *)&(device_data.lamp_current) + 1,
    [OFFSET_DATA + 31] = (uint8_t *)&(device_data.lamp_current) + 0,
    [OFFSET_DATA + 32] = (uint8_t *)&(device_data.gas_concentration[0]) + 3,
    [OFFSET_DATA + 33] = (uint8_t *)&(device_data.gas_concentration[0]) + 2,
    [OFFSET_DATA + 34] = (uint8_t *)&(device_data.gas_concentration[0]) + 1,
    [OFFSET_DATA + 35] = (uint8_t *)&(device_data.gas_concentration[0]) + 0,
    [OFFSET_DATA + 36] = (uint8_t *)&(device_data.gas_sig[0]) + 3,
    [OFFSET_DATA + 37] = (uint8_t *)&(device_data.gas_sig[0]) + 2,
    [OFFSET_DATA + 38] = (uint8_t *)&(device_data.gas_sig[0]) + 1,
    [OFFSET_DATA + 39] = (uint8_t *)&(device_data.gas_sig[0]) + 0,
    [(OFFSET_DATA + 40) ... (OFFSET_DATA + 47)] = num_tab_ro + 0,
    [OFFSET_DATA + 48] = (uint8_t *)&(device_data.gas_concentration[1]) + 3,
    [OFFSET_DATA + 49] = (uint8_t *)&(device_data.gas_concentration[1]) + 2,
    [OFFSET_DATA + 50] = (uint8_t *)&(device_data.gas_concentration[1]) + 1,
    [OFFSET_DATA + 51] = (uint8_t *)&(device_data.gas_concentration[1]) + 0,
    [OFFSET_DATA + 52] = (uint8_t *)&(device_data.gas_sig[1]) + 3,
    [OFFSET_DATA + 53] = (uint8_t *)&(device_data.gas_sig[1]) + 2,
    [OFFSET_DATA + 54] = (uint8_t *)&(device_data.gas_sig[1]) + 1,
    [OFFSET_DATA + 55] = (uint8_t *)&(device_data.gas_sig[1]) + 0,
    [(OFFSET_DATA + 56) ... (OFFSET_DATA + 63)] = num_tab_ro + 0,
    [OFFSET_DATA + 64] = (uint8_t *)&(device_data.gas_concentration[2]) + 3,
    [OFFSET_DATA + 65] = (uint8_t *)&(device_data.gas_concentration[2]) + 2,
    [OFFSET_DATA + 66] = (uint8_t *)&(device_data.gas_concentration[2]) + 1,
    [OFFSET_DATA + 67] = (uint8_t *)&(device_data.gas_concentration[2]) + 0,
    [OFFSET_DATA + 68] = (uint8_t *)&(device_data.gas_sig[2]) + 3,
    [OFFSET_DATA + 69] = (uint8_t *)&(device_data.gas_sig[2]) + 2,
    [OFFSET_DATA + 70] = (uint8_t *)&(device_data.gas_sig[2]) + 1,
    [OFFSET_DATA + 71] = (uint8_t *)&(device_data.gas_sig[2]) + 0,
    [(OFFSET_DATA + 72) ... (OFFSET_DATA + 79)] = num_tab_ro + 0,
    [OFFSET_DATA + 80] = (uint8_t *)&(device_data.gas_concentration[3]) + 3,
    [OFFSET_DATA + 81] = (uint8_t *)&(device_data.gas_concentration[3]) + 2,
    [OFFSET_DATA + 82] = (uint8_t *)&(device_data.gas_concentration[3]) + 1,
    [OFFSET_DATA + 83] = (uint8_t *)&(device_data.gas_concentration[3]) + 0,
    [OFFSET_DATA + 84] = (uint8_t *)&(device_data.gas_sig[3]) + 3,
    [OFFSET_DATA + 85] = (uint8_t *)&(device_data.gas_sig[3]) + 2,
    [OFFSET_DATA + 86] = (uint8_t *)&(device_data.gas_sig[3]) + 1,
    [OFFSET_DATA + 87] = (uint8_t *)&(device_data.gas_sig[3]) + 0,
    [(OFFSET_DATA + 88) ... (OFFSET_DATA + 95)] = num_tab_ro + 0,
    [OFFSET_DATA + 96] = (uint8_t *)&(device_data.gas_neg_concentration[0]) + 3,
    [OFFSET_DATA + 97] = (uint8_t *)&(device_data.gas_neg_concentration[0]) + 2,
    [OFFSET_DATA + 98] = (uint8_t *)&(device_data.gas_neg_concentration[0]) + 1,
    [OFFSET_DATA + 99] = (uint8_t *)&(device_data.gas_neg_concentration[0]) + 0,
    [OFFSET_DATA + 100] = (uint8_t *)&(device_data.gas_neg_concentration[1]) + 3,
    [OFFSET_DATA + 101] = (uint8_t *)&(device_data.gas_neg_concentration[1]) + 2,
    [OFFSET_DATA + 102] = (uint8_t *)&(device_data.gas_neg_concentration[1]) + 1,
    [OFFSET_DATA + 103] = (uint8_t *)&(device_data.gas_neg_concentration[1]) + 0,
    [OFFSET_DATA + 104] = (uint8_t *)&(device_data.gas_neg_concentration[2]) + 3,
    [OFFSET_DATA + 105] = (uint8_t *)&(device_data.gas_neg_concentration[2]) + 2,
    [OFFSET_DATA + 106] = (uint8_t *)&(device_data.gas_neg_concentration[2]) + 1,
    [OFFSET_DATA + 107] = (uint8_t *)&(device_data.gas_neg_concentration[2]) + 0,
    [OFFSET_DATA + 108] = (uint8_t *)&(device_data.gas_neg_concentration[3]) + 3,
    [OFFSET_DATA + 109] = (uint8_t *)&(device_data.gas_neg_concentration[3]) + 2,
    [OFFSET_DATA + 110] = (uint8_t *)&(device_data.gas_neg_concentration[3]) + 1,
    [OFFSET_DATA + 111] = (uint8_t *)&(device_data.gas_neg_concentration[3]) + 0,
    [(OFFSET_DATA + 112) ... (OFFSET_DATA + 511)] = num_tab_ro + 0,

    [OFFSET_STAT + 0] = (uint8_t *)&(device_status.cali_zero_record_status[0]) + 1,
    [OFFSET_STAT + 1] = (uint8_t *)&(device_status.cali_zero_record_status[0]) + 0,
    [OFFSET_STAT + 2] = (uint8_t *)&(device_status.cali_zero_record_status[1]) + 1,
    [OFFSET_STAT + 3] = (uint8_t *)&(device_status.cali_zero_record_status[1]) + 0,
    [OFFSET_STAT + 4] = (uint8_t *)&(device_status.cali_zero_record_status[2]) + 1,
    [OFFSET_STAT + 5] = (uint8_t *)&(device_status.cali_zero_record_status[2]) + 0,
    [OFFSET_STAT + 6] = (uint8_t *)&(device_status.cali_zero_record_status[3]) + 1,
    [OFFSET_STAT + 7] = (uint8_t *)&(device_status.cali_zero_record_status[3]) + 0,
    [OFFSET_STAT + 8] = (uint8_t *)&(device_status.cali_span_record_status[0]) + 1,
    [OFFSET_STAT + 9] = (uint8_t *)&(device_status.cali_span_record_status[0]) + 0,
    [OFFSET_STAT + 10] = (uint8_t *)&(device_status.cali_span_record_status[1]) + 1,
    [OFFSET_STAT + 11] = (uint8_t *)&(device_status.cali_span_record_status[1]) + 0,
    [OFFSET_STAT + 12] = (uint8_t *)&(device_status.cali_span_record_status[2]) + 1,
    [OFFSET_STAT + 13] = (uint8_t *)&(device_status.cali_span_record_status[2]) + 0,
    [OFFSET_STAT + 14] = (uint8_t *)&(device_status.cali_span_record_status[3]) + 1,
    [OFFSET_STAT + 15] = (uint8_t *)&(device_status.cali_span_record_status[3]) + 0,
    [OFFSET_STAT + 16] = (uint8_t *)&(device_status.cali_activate_status) + 1,
    [OFFSET_STAT + 17] = (uint8_t *)&(device_status.cali_activate_status) + 0,
    [OFFSET_STAT + 18] = (uint8_t *)&(device_status.cali_restore_status) + 1,
    [OFFSET_STAT + 19] = (uint8_t *)&(device_status.cali_restore_status) + 0,
    [OFFSET_STAT + 20] = (uint8_t *)&(device_status.heat_on_off_status) + 1,
    [OFFSET_STAT + 21] = (uint8_t *)&(device_status.heat_on_off_status) + 0,
    [(OFFSET_STAT + 22) ... (OFFSET_STAT + 511)] = num_tab_ro + 0,
};
