]> git.basschouten.com Git - openhab-addons.git/blob
15f27e3537f32a010f4979b58054401a3778c514
[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.teleinfo.internal.dto.cbetm;
14
15 import org.openhab.binding.teleinfo.internal.dto.common.Ptec;
16
17 /**
18  * The {@link FrameCbetmLong} class defines common attributes for CBETM Long Teleinfo frames.
19  *
20  * @author Nicolas SIBERIL - Initial contribution
21  */
22 public abstract class FrameCbetmLong extends FrameCbetm {
23
24     private static final long serialVersionUID = -2527584397688316017L;
25
26     private int isousc;
27     private Integer imax1; // ampères
28     private Integer imax2; // ampères
29     private Integer imax3; // ampères
30     private Ptec ptec;
31     private int pmax; // W
32     private int papp; // Volt.ampères
33     private String motdetat;
34     private String ppot;
35
36     public FrameCbetmLong() {
37         // default constructor
38     }
39
40     public int getIsousc() {
41         return isousc;
42     }
43
44     public void setIsousc(int isousc) {
45         this.isousc = isousc;
46     }
47
48     public Integer getImax1() {
49         return imax1;
50     }
51
52     public void setImax1(Integer imax1) {
53         this.imax1 = imax1;
54     }
55
56     public Integer getImax2() {
57         return imax2;
58     }
59
60     public void setImax2(Integer imax2) {
61         this.imax2 = imax2;
62     }
63
64     public Integer getImax3() {
65         return imax3;
66     }
67
68     public void setImax3(Integer imax3) {
69         this.imax3 = imax3;
70     }
71
72     public Ptec getPtec() {
73         return ptec;
74     }
75
76     public void setPtec(Ptec ptec) {
77         this.ptec = ptec;
78     }
79
80     public int getPmax() {
81         return pmax;
82     }
83
84     public void setPmax(int pmax) {
85         this.pmax = pmax;
86     }
87
88     public int getPapp() {
89         return papp;
90     }
91
92     public void setPapp(int papp) {
93         this.papp = papp;
94     }
95
96     public String getMotdetat() {
97         return motdetat;
98     }
99
100     public void setMotdetat(String motdetat) {
101         this.motdetat = motdetat;
102     }
103
104     public String getPpot() {
105         return ppot;
106     }
107
108     public void setPpot(String ppot) {
109         this.ppot = ppot;
110     }
111 }