{
  "eep": "A5-09-0C",
  "rorg_number": "0xA5",
  "telegram": "4BS",
  "func_number": "0x09",
  "type_number": "0x0C",
  "type_title": "VOC Sensor",
  "bidirectional": false,
  "objects": {
    "Conc": {
      "type": "state",
      "common": {
        "name": {
          "en": "Hydrogen concentration",
          "de": "Konzentration von Wasserstoff"
        },
        "role": "value.gas",
        "type": "number",
        "read": true,
        "write": false,
        "def": 0
      },
      "native": {}
    },
    "VOC_ID": {
      "type": "state",
      "common": {
        "name": {
          "en": "VOC identification",
          "de": "VOC Identifikation"
        },
        "role": "state",
        "type": "number",
        "read": true,
        "write": false,
        "states": {
          "1": "Formaldehyde",
          "2": "Benzene",
          "3": "Styrene",
          "4": "Toluene",
          "5": "Tetrachloroethylene",
          "6": "Xylene",
          "7": "n-Hexane",
          "8": "n-Octane",
          "9": "Cyclopentane",
          "10": "Methanol",
          "11": "Ethanol",
          "12": "1-Pentanol",
          "13": "Acetone",
          "14": "ethylene Oxide",
          "15": "Acetaldehyde ue",
          "16": "Acetic Acid",
          "17": "Propionice Acid",
          "18": "Valeric Acid",
          "19": "Butyric Acid",
          "20": "Ammoniac",
          "22": "Hydrogen Sulfide",
          "23": "Dimethylsulfide",
          "24": "2-Butanol (butyl Alcohol)",
          "25": "2-Methylpropanol",
          "26": "Diethyl ether",
          "27": "Naphthalene",
          "28": "4-Phenylcyclohexene",
          "29": "Limonene",
          "30": "Trichloroethylene",
          "31": "Isovaleric acid",
          "32": "Indole",
          "33": "Cadaverine",
          "34": "Putrescine",
          "35": "Caproic acid",
          "255": "Ozone",
          "00": "VOC Total"
        },
        "def": 0
      },
      "native": {}
    },
    "UN": {
      "type": "state",
      "common": {
        "name": {
          "en": "Unit",
          "de": "Einheit"
        },
        "role": "state",
        "type": "number",
        "read": true,
        "write": false,
        "states": {
          "0": "ppb",
          "1": "µg/m³"
        },
        "def": 0
      },
      "native": {}
    }
  },
  "case": [
    {
      "send": false,
      "datafield": [
        {
          "data": "VOC concentration",
          "shortcut": "Conc",
          "bitoffs": "0",
          "bitsize": "16",
          "secondArgument": {
            "bitoffs": "30",
            "bitsize": "2"
          },
          "value": {
            "if": [
              {
                "==": [
                  {
                    "var": "value2"
                  },
                  0
                ]
              },
              {
                "*": [
                  {
                    "var": "value"
                  },
                  0.01
                ]
              },
              {
                "==": [
                  {
                    "var": "value2"
                  },
                  1
                ]
              },
              {
                "*": [
                  {
                    "var": "value"
                  },
                  0.1
                ]
              },
              {
                "==": [
                  {
                    "var": "value2"
                  },
                  2
                ]
              },
              {
                "*": [
                  {
                    "var": "value"
                  },
                  1
                ]
              },
              {
                "==": [
                  {
                    "var": "value2"
                  },
                  3
                ]
              },
              {
                "*": [
                  {
                    "var": "value"
                  },
                  10
                ]
              }
            ]
          }
        },
        {
          "data": "VOC identification",
          "shortcut": "VOC_ID",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "Unit",
          "shortcut": "UN",
          "bitoffs": "21",
          "bitsize": "3",
          "value": {
            "var": "value"
          }
        }
      ]
    }
  ]
}