/**
 * Copyright (c) 2010-2019 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.seneye.internal;

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

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.smarthome.core.thing.ThingTypeUID;

/**
 * The {@link SeneyeBinding} class defines common constants, which are
 * used across the whole binding.
 *
 * @author Niko Tanghe - Initial contribution
 */
@NonNullByDefault
public class SeneyeBindingConstants {

    public static final String BINDING_ID = "seneye";

    // List of all Thing Type UIDs
    public final static ThingTypeUID THING_TYPE_SENEYE = new ThingTypeUID(BINDING_ID, "monitor");

    // List of all Channel ids
    public final static String CHANNEL_TEMPERATURE = "temperature";
    public final static String CHANNEL_PH = "ph";
    public final static String CHANNEL_NH3 = "nh3";
    public final static String CHANNEL_NH4 = "nh4";
    public final static String CHANNEL_O2 = "O2";
    public final static String CHANNEL_LUX = "lux";
    public final static String CHANNEL_PAR = "par";
    public final static String CHANNEL_KELVIN = "kelvin";
    public final static String CHANNEL_LASTREADING = "lastreading";
    public final static String CHANNEL_SLIDEEXPIRES = "slideexpires";
    public final static String CHANNEL_WRONGSLIDE = "wrongslide";
    public final static String CHANNEL_SLIDESERIAL = "slideserial";
    public final static String CHANNEL_OUTOFWATER = "outofwater";
    public final static String CHANNEL_DISCONNECTED = "disconnected";

    // List of all Parameters
    public final static String PARAMETER_AQUARIUMNAME = "aquariumname";
    public final static String PARAMETER_USERNAME = "username";
    public final static String PARAMETER_PASSWORD = "password";
    public final static String PARAMETER_POLLTIME = "polltime";

    public final static Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Collections.singleton(THING_TYPE_SENEYE);

}
