text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _PropertyResponse2 = require('../PropertyResponse');
  
  var _PropertyResponse3 = _interopRequireDefault(_PropertyResponse2);
  
  var _PropertyDecoder = require('../PropertyDecoder');
  
  var _PropertyDecoder2 = _interopRequireDefault(_PropertyDecoder);
  
  var _helpers = require('../helpers');
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  
  var FuelingResponse = function (_PropertyResponse) {
    _inherits(FuelingResponse, _PropertyResponse);
  
    /**
     * @property {String} gasFlapLock (string 'unlocked|locked') Gas flap lock
     * @property {String} gasFlapPosition (string 'closed|opened|intermediate') Gas flap position
     *
     * @example FuelingResponse
      {
        gasFlapLock: {
          value: 'unlocked'
        },
        gasFlapPosition: {
          value: 'opened'
        },
      }
     */
    function FuelingResponse(data, config) {
      _classCallCheck(this, FuelingResponse);
  
      var _this = _possibleConstructorReturn(this, (FuelingResponse.__proto__ || Object.getPrototypeOf(FuelingResponse)).call(this));
  
      var properties = [new _PropertyDecoder2.default(0x02, 'gasFlapLock').setDecoder((0, _helpers.switchDecoder)({
        0x00: 'unlocked',
        0x01: 'locked'
      })), new _PropertyDecoder2.default(0x03, 'gasFlapPosition').setDecoder((0, _helpers.switchDecoder)({
        0x00: 'closed',
        0x01: 'opened',
        0x02: 'intermediate'
      }))];
  
      _this.parse(data, properties, config);
      return _this;
    }
  
    return FuelingResponse;
  }(_PropertyResponse3.default);
  
  FuelingResponse.identifier = [0x00, 0x40];
  exports.default = FuelingResponse;