2 * Copyright (c) 2010-2021 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.teleinfo.internal.dto.cbetm;
15 import org.openhab.binding.teleinfo.internal.dto.common.FrameTempoOption;
16 import org.openhab.binding.teleinfo.internal.dto.common.Hhphc;
19 * The {@link FrameCbetmLongTempoOption} class defines a CBETM Teleinfo frame with Tempo option.
21 * @author Nicolas SIBERIL - Initial contribution
23 public class FrameCbetmLongTempoOption extends FrameCbetmLong implements FrameTempoOption {
25 private static final long serialVersionUID = 333018110121838463L;
33 private CouleurDemain demain;
35 private ProgrammeCircuit1 programmeCircuit1;
36 private ProgrammeCircuit2 programmeCircuit2;
38 public FrameCbetmLongTempoOption() {
39 // default constructor
43 public int getBbrhpjr() {
48 public int getBbrhcjr() {
53 public int getBbrhpjw() {
58 public int getBbrhcjw() {
63 public int getBbrhpjb() {
68 public int getBbrhcjb() {
73 public CouleurDemain getDemain() {
78 public void setBbrhpjr(int bbrhpjr) {
79 this.bbrhpjr = bbrhpjr;
83 public void setBbrhcjr(int bbrhcjr) {
84 this.bbrhcjr = bbrhcjr;
88 public void setBbrhpjw(int bbrhpjw) {
89 this.bbrhpjw = bbrhpjw;
93 public void setBbrhcjw(int bbrhcjw) {
94 this.bbrhcjw = bbrhcjw;
98 public void setBbrhpjb(int bbrhpjb) {
99 this.bbrhpjb = bbrhpjb;
103 public void setBbrhcjb(int bbrhcjb) {
104 this.bbrhcjb = bbrhcjb;
108 public void setDemain(CouleurDemain demain) {
109 this.demain = demain;
113 public Hhphc getHhphc() {
118 public void setHhphc(Hhphc hhphc) {
123 public ProgrammeCircuit1 getProgrammeCircuit1() {
124 return programmeCircuit1;
128 public void setProgrammeCircuit1(ProgrammeCircuit1 programmeCircuit1) {
129 this.programmeCircuit1 = programmeCircuit1;
133 public ProgrammeCircuit2 getProgrammeCircuit2() {
134 return programmeCircuit2;
138 public void setProgrammeCircuit2(ProgrammeCircuit2 programmeCircuit2) {
139 this.programmeCircuit2 = programmeCircuit2;