]> git.basschouten.com Git - openhab-addons.git/blob
8bd743f4dac89194e2c6025dcd0527cfbceb948a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.caddx.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Configuration class for the Caddx Partition Thing.
19  *
20  * @author Georgios Moutsos - Initial contribution
21  */
22 @NonNullByDefault
23 public class CaddxPartitionConfiguration {
24
25     // Partition Thing constants
26     public static final String PARTITION_NUMBER = "partitionNumber";
27
28     /**
29      * The Partition Number. Can be in the range of 1-8. This is a required parameter for a partition.
30      */
31     private int partitionNumber;
32
33     /**
34      * The User Number of the user that will execute commands against the partition.
35      */
36     private int userNumber;
37
38     public int getPartitionNumber() {
39         return partitionNumber;
40     }
41
42     public int getUserNumber() {
43         return userNumber;
44     }
45 }