]> git.basschouten.com Git - openhab-addons.git/blob
5ff4bfc48484793e16385f5987f31b544d1e9c41
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.teleinfo.internal.dto.cbemm.evoicc;
14
15 import org.openhab.binding.teleinfo.internal.dto.common.FrameHcOption;
16 import org.openhab.binding.teleinfo.internal.dto.common.Hhphc;
17
18 /**
19  * The {@link FrameCbemmEvolutionIccHcOption} class defines a CBEMM Evolution ICC Teleinfo frame with HC option.
20  *
21  * @author Nicolas SIBERIL - Initial contribution
22  */
23 public class FrameCbemmEvolutionIccHcOption extends FrameCbemmEvolutionIcc implements FrameHcOption {
24
25     private static final long serialVersionUID = 3133144820515675037L;
26
27     private int hchc;
28     private int hchp;
29     private Hhphc hhphc;
30
31     public FrameCbemmEvolutionIccHcOption() {
32         // default constructor
33     }
34
35     @Override
36     public int getHchc() {
37         return hchc;
38     }
39
40     @Override
41     public void setHchc(int hchc) {
42         this.hchc = hchc;
43     }
44
45     @Override
46     public int getHchp() {
47         return hchp;
48     }
49
50     @Override
51     public void setHchp(int hchp) {
52         this.hchp = hchp;
53     }
54
55     @Override
56     public Hhphc getHhphc() {
57         return hhphc;
58     }
59
60     @Override
61     public void setHhphc(Hhphc hhphc) {
62         this.hhphc = hhphc;
63     }
64 }