]> git.basschouten.com Git - openhab-addons.git/blob
eadb35d2f09d035c43fcedb479153d4034172f53
[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.cbemm;
14
15 import org.openhab.binding.teleinfo.internal.dto.common.FrameAdco;
16 import org.openhab.binding.teleinfo.internal.dto.common.Ptec;
17
18 /**
19  * The {@link FrameCbemm} class defines common attributes for CBEMM Teleinfo frames.
20  *
21  * @author Nicolas SIBERIL - Initial contribution
22  */
23 public abstract class FrameCbemm extends FrameAdco {
24
25     private static final long serialVersionUID = -8500010131430582841L;
26
27     private int isousc;
28     private int iinst; // ampères
29     private Integer adps; // ampères
30     private Integer imax; // ampères
31     private Ptec ptec;
32     private String motdetat;
33
34     public FrameCbemm() {
35         // default constructor
36     }
37
38     public int getIsousc() {
39         return isousc;
40     }
41
42     public void setIsousc(int isousc) {
43         this.isousc = isousc;
44     }
45
46     public int getIinst() {
47         return iinst;
48     }
49
50     public void setIinst(int iinst) {
51         this.iinst = iinst;
52     }
53
54     public Integer getAdps() {
55         return adps;
56     }
57
58     public void setAdps(Integer adps) {
59         this.adps = adps;
60     }
61
62     public Integer getImax() {
63         return imax;
64     }
65
66     public void setImax(Integer imax) {
67         this.imax = imax;
68     }
69
70     public Ptec getPtec() {
71         return ptec;
72     }
73
74     public void setPtec(Ptec ptec) {
75         this.ptec = ptec;
76     }
77
78     public String getMotdetat() {
79         return motdetat;
80     }
81
82     public void setMotdetat(String motdetat) {
83         this.motdetat = motdetat;
84     }
85 }