/**
 * Copyright (c) 2010-2020 Contributors to the openHAB project
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package org.openhab.binding.knx.internal.channel;

import static org.openhab.binding.knx.internal.KNXBindingConstants.*;

import java.util.Collections;
import java.util.Set;

import org.eclipse.jdt.annotation.NonNullByDefault;

/**
 * number channel type description
 * 
 * @author Simon Kaufmann - initial contribution and API.
 *
 */
@NonNullByDefault
class TypeNumber extends KNXChannelType {

    TypeNumber() {
        super(CHANNEL_NUMBER, CHANNEL_NUMBER_CONTROL);
    }

    @Override
    protected String getDefaultDPT(String gaConfigKey) {
        return "9.001";
    }

    @Override
    protected Set<String> getAllGAKeys() {
        return Collections.singleton(GA);
    }
}
