2 * Copyright (c) 2010-2020 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.Ptec;
18 * The {@link FrameCbetmLong} class defines common attributes for CBETM Long Teleinfo frames.
20 * @author Nicolas SIBERIL - Initial contribution
22 public abstract class FrameCbetmLong extends FrameCbetm {
24 private static final long serialVersionUID = -2527584397688316017L;
27 private Integer imax1; // ampères
28 private Integer imax2; // ampères
29 private Integer imax3; // ampères
31 private int pmax; // W
32 private int papp; // Volt.ampères
33 private String motdetat;
36 public FrameCbetmLong() {
37 // default constructor
40 public int getIsousc() {
44 public void setIsousc(int isousc) {
48 public Integer getImax1() {
52 public void setImax1(Integer imax1) {
56 public Integer getImax2() {
60 public void setImax2(Integer imax2) {
64 public Integer getImax3() {
68 public void setImax3(Integer imax3) {
72 public Ptec getPtec() {
76 public void setPtec(Ptec ptec) {
80 public int getPmax() {
84 public void setPmax(int pmax) {
88 public int getPapp() {
92 public void setPapp(int papp) {
96 public String getMotdetat() {
100 public void setMotdetat(String motdetat) {
101 this.motdetat = motdetat;
104 public String getPpot() {
108 public void setPpot(String ppot) {